mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 19:02:51 +00:00

two things were not done properly before: - current window manager was not replaced if the window manager that would replace does not have --replace command (or alternative) - waiting for the window manager to become active now that that is done, any window manager can be started right away and more .desktop files may be added in the future also, something that occurred to me while writing the code for it - KWin replaces the window manager on the current screen only and it is possible to code the window manager chooser to start the replacing window manager on any screen (assuming it has --screen argument or something like that)
28 lines
1.2 KiB
Text
28 lines
1.2 KiB
Text
The list of window managers that the config module offers for using.
|
|
The format is normal .desktop files:
|
|
|
|
Name - required, name to display in the configuration dialog.
|
|
|
|
Exec - required, the command to execute to launch the window manager.
|
|
If launching fails for any reason, it must quit with non-zero exit
|
|
value and not do anything else (show an error dialog, try to run
|
|
a fallback, etc.).
|
|
|
|
TryExec - optional.
|
|
|
|
X-KDE-WindowManagerTestExec - optional, a command that will be run and if
|
|
the exit code is not 0, the window manager won't be used (can be used
|
|
e.g. to detect that a window manager which requires compositing support
|
|
cannot be run on systems without such support).
|
|
|
|
X-KDE-WindowManagerId - optional, the name under which the window manager
|
|
registers with the session manager (if different from the name
|
|
of the .desktop file)
|
|
|
|
X-KDE-WindowManagerConfigure - optional, the command to run to configure
|
|
the window manager
|
|
|
|
X-KDE-WindowManagerConfigureParentArgument - option, if present, this
|
|
argument and the X window id of the configuration dialog will be passed
|
|
to the configuration command (e.g. '--parent 13254543'). The configuration
|
|
tool may specify this window as the parent of its window.
|