kde-workspace/kcontrol/componentchooser/windowmanagers
Ivailo Monev 2168e10dbc kcontrol: essentially window manager chooser rewrite
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)
2022-12-09 10:21:27 +02:00
..
CMakeLists.txt generic: replace installation paths with KDE4_ prefixed 2020-02-08 20:13:13 +00:00
compiz-custom.desktop kcontrol: essentially window manager chooser rewrite 2022-12-09 10:21:27 +02:00
compiz.desktop kcontrol: essentially window manager chooser rewrite 2022-12-09 10:21:27 +02:00
marco.desktop kcontrol: essentially window manager chooser rewrite 2022-12-09 10:21:27 +02:00
metacity.desktop kcontrol: essentially window manager chooser rewrite 2022-12-09 10:21:27 +02:00
openbox.desktop kcontrol: essentially window manager chooser rewrite 2022-12-09 10:21:27 +02:00
README kcontrol: essentially window manager chooser rewrite 2022-12-09 10:21:27 +02:00
xfwm4.desktop kcontrol: essentially window manager chooser rewrite 2022-12-09 10:21:27 +02:00

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.