Tumbleweed,
Attempting to install the fvwm2 window manager, and then configure its selection.
After installing the fvwm2 package, it’s missing the necessary update-alternatives to enable its selection.
Attempting to create the alternative, but I can’t see what I’m doing wrong (been staring cross-eyed at it for awhile), hoping someone else can see what is wrong with the following install statement.
The screenshot shows the location of the selection followed by the install command and its error.
I’m not sure – it’s been a while since I tried that. But I think you need a “–slave” option to add an new choice to an existing alternatives entry.
I just install “fvwm” and the select it from the “lightdm” or “gdm” menu. It probably shows up in the menu for other login managers (such as “sddm” or “kdm”), but I haven’t checked those recently.
Thx.
But, I doubt that ordinarily a window manager should be selected as a display manager.
Also, because this is TW, we’re no longer supposed to configure the DM and WM through YaST or within /etc/systemctl/, it’s now supposed to be done by way of update-alternatives… which is why I need to figure this out if fvwm2 is to be configured (or submit a bug and wait for someone else to do it).
I don’t usually configure -slave entries except as a sub-setting of a main entry…
In this case, I’m pretty sure that it shouldn’t be configured as a slave entry because it’s a whole different symbolic link.
(Am welcome to be corrected if I’m mistaken)
But,
I normally configure alternatives to configure symbolic links to a binary.
This is the first time I’m trying to configure a symbolic link to a configuration so don’t know if it has anything to do with the error I’m getting.
Btw, I think DEFAULT_WM in /etc/sysconfig/windowmanager is still being respected if it exists.
(not DISPLAYMANAGER in /etc/sysconfig/displaymanager though, that is being ignored in any case)
For now until someone sorts out exactly what should really happen,
In another Forum thread I described what I found works…
If you’re using the SDDM DM (I haven’t tested with others),
You can ignore the YaST /etc/sysconfig module and possibly /etc/sysconfig altogether and update-alternatives likely doesn’t do anything at the moment, either. IN other words, whatever is in /etc/sysconfig is ignored and default is Plasma(Wayland).
Instead…
Install whatever Window Managers you want.
Disable auto-login.
When the SDDM login screen appears, select your WM at the bottom of the screen.
Continue to login.
To change WM, exit the existing WM so that the SDDM login screen displays, then select another WM and login.
Seems to work for me…
Tested with Plasma(Wayland), Plasma, fvwm2, awesome.
All the above WM work nicely on a KDE system, did not test any GNOME based WM but expect should not work differently.