How to set default window manager for auto login?
I have Tumbleweed with the MATE desktop and autologin enabled, and also installed the Openbox WM. Now how could I autologin into Openbox instead of MATE? In YaST's /etc/sysconfig editor, in Desktop > Window manager > DEFAULT_WM, the possible values are: default, gnome, plasma5, lxde, xfce, twm, icewm, enlightenment or 'any value'. So openbox is not among the options, and if I enter 'openbox', it has no effect. I also tried 'update-alternatives --config default-xsession.desktop' as suggested in the sysconfig editor, but then I can only opt for mate.desktop or icewm-session.desktop.
On 28.07.2022 18:23, Siard wrote:
I have Tumbleweed with the MATE desktop and autologin enabled, and also installed the Openbox WM. Now how could I autologin into Openbox instead of MATE?
Openbox is window manager, not desktop environment. You could try instructions to change windows manager in MATE: https://wiki.archlinux.org/title/MATE#Use_a_different_window_manager
In YaST's /etc/sysconfig editor, in Desktop > Window manager > DEFAULT_WM, the possible values are: default, gnome, plasma5, lxde, xfce, twm, icewm, enlightenment or 'any value'. So openbox is not among the options, and if I enter 'openbox', it has no effect.
I also tried 'update-alternatives --config default-xsession.desktop' as suggested in the sysconfig editor, but then I can only opt for mate.desktop or icewm-session.desktop.
Andrei Borzenkov wrote:
On 28.07.2022 18:23, Siard wrote:
I have Tumbleweed with the MATE desktop and autologin enabled, and also installed the Openbox WM. Now how could I autologin into Openbox instead of MATE?
Openbox is window manager, not desktop environment. You could try instructions to change windows manager in MATE:
https://wiki.archlinux.org/title/MATE#Use_a_different_window_manager
Both methods that are mentioned, still log into MATE, and even worse, they destroy many MATE settings. Are you sure? Window manager or desktop environment, that should not make any difference in this case.
On 28.07.2022 18:54, Siard wrote:
Andrei Borzenkov wrote:
On 28.07.2022 18:23, Siard wrote:
I have Tumbleweed with the MATE desktop and autologin enabled, and also installed the Openbox WM. Now how could I autologin into Openbox instead of MATE?
Openbox is window manager, not desktop environment. You could try instructions to change windows manager in MATE:
https://wiki.archlinux.org/title/MATE#Use_a_different_window_manager
Both methods that are mentioned, still log into MATE,
Well, both methods apply to MATE desktop environment so it is expected that they log into MATE.
and even worse, they destroy many MATE settings.
You replace window manager so need to uses openbox configuration for any setting related to window management.
Are you sure?
Am sure about what? That openbox is window manager? I expect openbox developers know what they are talking about Openbox is a highly configurable, next generation *window manager*
Window manager or desktop environment, that should not make any difference in this case.
if you say so ... Anyway I installed openbox on a Leap 15.4 with lightdm as display manager and I get openbox offered as desktop environment choice. Not that it is very exciting (empty window with right click menu, no task bar etc), but I readily admit my ignorance :) Normally last selected desktop environment is remembered per user, so log out of your MATE session, select openbox in your display manager greeter and you should get it back on next reboot.
Andrei Borzenkov wrote:
On 28.07.2022 18:54, Siard wrote:
Andrei Borzenkov wrote:
On 28.07.2022 18:23, Siard wrote:
I have Tumbleweed with the MATE desktop and autologin enabled, and also installed the Openbox WM. Now how could I autologin into Openbox instead of MATE?
Openbox is window manager, not desktop environment. You could try instructions to change windows manager in MATE:
https://wiki.archlinux.org/title/MATE#Use_a_different_window_manager
Both methods that are mentioned, still log into MATE,
Well, both methods apply to MATE desktop environment so it is expected that they log into MATE.
and even worse, they destroy many MATE settings.
You replace window manager so need to uses openbox configuration for any setting related to window management.
My intention is to work with Openbox as an independent WM, not with MATE on top of it.
Are you sure?
Am sure about what? That openbox is window manager? I expect openbox developers know what they are talking about
That the methods mentioned in the Arch wiki are the right way to move from MATE to Openbox. It cannot be dependent on some setting in MATE.
Openbox is a highly configurable, next generation *window manager*
Window manager or desktop environment, that should not make any difference in this case.
if you say so ...
Anyway I installed openbox on a Leap 15.4 with lightdm as display manager and I get openbox offered as desktop environment choice. Not that it is very exciting (empty window with right click menu, no task bar etc), but I readily admit my ignorance :)
In the past I've worked with Blackbox and Fluxbox, which are similar WMs. Now that I'm used to it, nothing else works as quickly and easily. The absence of a task bar is an advantage, since it does not take space. I prefer switching between programs and desktops using key shortcuts. And there are many configuration options. Undecorating windows only for certain programs is just one of the many examples.
Normally last selected desktop environment is remembered per user, so log out of your MATE session, select openbox in your display manager greeter and you should get it back on next reboot.
No doubt I can log into Openbox via a display manager or from the console with startx. I'm just wondering if _autologin_ is possible with a window manager like Openbox.
On 28.07.2022 20:22, Siard wrote:
Normally last selected desktop environment is remembered per user, so log out of your MATE session, select openbox in your display manager greeter and you should get it back on next reboot.
No doubt I can log into Openbox via a display manager or from the console with startx. I'm just wondering if _autologin_ is possible with a window manager like Openbox.
Yes, it is.
Andrei Borzenkov:
On 28.07.2022 20:22, Siard wrote:
Normally last selected desktop environment is remembered per user, so log out of your MATE session, select openbox in your display manager greeter and you should get it back on next reboot.
No doubt I can log into Openbox via a display manager or from the console with startx. I'm just wondering if _autologin_ is possible with a window manager like Openbox.
Yes, it is.
Then the question is, how to achieve that. I have described how I tried to make Openbox the default WM with YaST's /etc/sysconfig editor, to no avail.
On 28.07.2022 22:02, Siard wrote:
Andrei Borzenkov:
On 28.07.2022 20:22, Siard wrote:
Normally last selected desktop environment is remembered per user, so log out of your MATE session, select openbox in your display manager greeter and you should get it back on next reboot.
No doubt I can log into Openbox via a display manager or from the console with startx. I'm just wondering if _autologin_ is possible with a window manager like Openbox.
Yes, it is.
Then the question is, how to achieve that.
What you did not understand in "login to openbox and this choice will be remembered"?
I have described how I tried to make Openbox the default WM with YaST's /etc/sysconfig editor, to no avail.
Andrei Borzenkov:
Siard:
Andrei Borzenkov:
Siard:
I'm just wondering if _autologin_ is possible with a window manager like Openbox.
Yes, it is.
Then the question is, how to achieve that.
What you did not understand in "login to openbox and this choice will be remembered"?
If I issue this command: update-alternatives --config default-displaymanager then I can see that lightdm is my default display manager. But this simple display manager, is this lightdm? https://postimg.cc/qgmTTd6X I am not offered any desktop environment choice, and it still logs into MATE. ??
On 29.07.2022 12:55, Siard wrote: ...
If I issue this command:
update-alternatives --config default-displaymanager
then I can see that lightdm is my default display manager.
But this simple display manager, is this lightdm?
Yes, this looks like lightdm
I am not offered any desktop environment choice, and it still logs into MATE. ??
The desktop choice is one of buttons on the taskbar on top of the screen (at least I have it on the top, I assume it is configurable). Anyway, earlier you said "No doubt I can log into Openbox via a display manager" which sounded like you knew how to do it.
participants (2)
-
Andrei Borzenkov
-
Siard