You are not logged in.
Hi,
I'm running XFCE on ArchLinux. Because I had trouble getting lxdm to work with plymouth, I recently switched to lightdm. I also switched from xscreensaver to xfce4-screensaver. I uninstalled both lxdm and xscreensaver.
Normal operation works fine, ther is just one thing I'd like to change:
Although I only have one user at userid 1000 or above, and additionally configured allow-user-switching=false in /etc/lightdm/lightdm.conf, I have a "switch user" button in the logout dialog and on the lockscreen.
Just out of curiosity, I tried what happens if I click them. It failed in both cases, which is kind of expected.
Is there a way to remove these buttons ?
Thanks
Last edited by tuxolero (2020-01-26 19:55:33)
Offline
Uncheck the corresponding option in the plugin settings.
Offline
I can't find the settings dialog you mentioned. Maybe it's because I'm using whisker menu. I did not expect it to matter, that's why I forgot to mention it in my original post.
However, I've found the whisker menu settings. There is a "Commands" tab where, I have found "switch user" being unchecked, but it's still there in the logout dialog. The command behind "Logout" is xfce4-session-logout.
Offline
I can't find the settings dialog you mentioned. Maybe it's because I'm using whisker menu. I did not expect it to matter, that's why I forgot to mention it in my original post.
However, I've found the whisker menu settings. There is a "Commands" tab where, I have found "switch user" being unchecked, but it's still there in the logout dialog. The command behind "Logout" is xfce4-session-logout.
Can you open your menu and go to Settings, then Session and Startup.
On the first tab, "General," is "Display chooser on login" selected?
If so, unselect it and see if that removes the option on login screen.
Offline
It is already unchaecked.
Offline
For the Xfce logout dialog, the following should disable the associated buttons:
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'
xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'
xfconf-query -c xfce4-session -np '/shutdown/ShowHybridSleep' -t 'bool' -s 'false'
xfconf-query -c xfce4-session -np '/shutdown/ShowSwitchUser' -t 'bool' -s 'false'
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
OK, that worked for the logout dialog.
I think for the lockscreen, I'll have to ask the light-locker folks.
Thanks a lot.
Offline
For the Xfce logout dialog, the following should disable the associated buttons:
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false' xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false' xfconf-query -c xfce4-session -np '/shutdown/ShowHybridSleep' -t 'bool' -s 'false' xfconf-query -c xfce4-session -np '/shutdown/ShowSwitchUser' -t 'bool' -s 'false'
Seems to work, except ShowHibernate and ShowHybridSleep does not have and effect in my Xubuntu 20.04 for some reason. I wonder, if these settings are documented somewhere?
Offline
Looks like still a work in progress.
There is the code. See: https://gitlab.xfce.org/xfce/xfce4-sess … log.c#L291.
What does the following return:
xfce4-power-manager --dump
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
It tells "Can hibernate: False" It tells nothing about HybridSleep the meaning of which is unknown to me. I wish the properties were at least created with their default values in Xfconf automatically. (That is not the case with Xubuntu 20.04.)
Offline
Hybrid sleep is basically suspend first then hibernate when power levels are lost (it basically keeps state in memory and on disk, so if you run out power, you don't lose anything). If your system doesn't support hibernate, it won't be able to support hybrid sleep either.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.011 seconds, 10 queries executed - Memory usage: 573.84 KiB (Peak: 590.69 KiB) ]