Bonjour,
Quelqu'un d'entre vous a-t-il réussi à faire fonctionner kstart sous fedora 12. J'arrive bien à ouvrir une fenêtre mais je n'arrive pas à faire fonctionner l'option pour laquelle j'ai installé ce programme à savoir la possibilité d'ouvrir une fenêtre dans un autre espace de travail. Je précise que je suis sous gnome.
Voici la liste des options disponibles accessibles en faisant kstart --help
Usage: kstart [Qt-options] [KDE-options] [options] command
Utility to launch applications with special window properties
such as iconified, maximized, a certain virtual desktop, a special decoration
and so on.
Generic options:
--help Show help about options
--help-qt Show Qt specific options
--help-kde Show KDE specific options
--help-all Show all options
--author Show author information
-v, --version Show version information
--license Show license information
-- End of options
Arguments:
command Command to execute
Options:
--service <desktopfile> Alternative to <command>: desktop file to start. D-Bus service will be printed to stdout
--url <url> Optional URL to pass <desktopfile>, when using --service
--window <regexp> A regular expression matching the window title
--windowclass <class> A string matching the window class (WM_CLASS property)
The window class can be found out by running
'xprop | grep WM_CLASS' and clicking on a window
(use either both parts separated by a space or only the right part).
NOTE: If you specify neither window title nor window class,
then the very first window to appear will be taken;
omitting both options is NOT recommended.
--desktop <number> Desktop on which to make the window appear
--currentdesktop Make the window appear on the desktop that was active
when starting the application
--alldesktops Make the window appear on all desktops
--iconify Iconify the window
--maximize Maximize the window
--maximize-vertically Maximize the window vertically
--maximize-horizontally Maximize the window horizontally
--fullscreen Show window fullscreen
--type <type> The window type: Normal, Desktop, Dock, Toolbar,
Menu, Dialog, TopMenu or Override
--activate Jump to the window even if it is started on a
different virtual desktop
--ontop, --keepabove Try to keep the window above other windows
--onbottom, --keepbelow Try to keep the window below other windows
--skiptaskbar The window does not get an entry in the taskbar
--skippager The window does not get an entry on the pager
--tosystray The window is sent to the system tray in Kicker
Et voici le code que je tape dans un terminal:
kstart --window 'firefox' --windowclass "Firefox" --desktop 6 --maximize firefox
Et firefox ne se lance pas du tout dans mon desktop 6 mais dans le desktop actif.
Une idée?
D'avance merci!