Web lists-archives.com

Re: KDE - How to disable the Switch User and Lock in Leave Menu ?




Hi Kevin,

Thank you very much for the reply.

I tried several files (kdeglobals, ksmserverrc, plasma-desktoprc,  plasma-desktop-appletsrc) with two formats, but none is working.

[KDE Action Restrictions][$i]
action/switch_user=false
action/start_new_session=false


[KDE Action Restrictions]
lock_session=false
switch_user=false
I will ask at the KDE Enterprise mailing list.

Thanks,

Zaiwen


On 03/12/18 05:05, Kevin Krammer wrote:
Hi,

On Freitag, 9. März 2018 21:55:52 CET Zaiwen Gong wrote:
Hi,

I am using KDE 4.10.

I would like to find out how to disable the Switch User and Lock in
Leave Menu.

I don't want to disable Switch User and Lock button in the Leave Menu at
system level.

Instead, I would like to do it at user level. That is, I would like to
configure a special user's .kde/share/config file and when this special
user logins, he will not see the Switch User and Lock button in the
Leave Menu.

I tried to put below contents in .kde/share/config/kdeglobals of
intended user.
You could also try ksmserverrc or plasmarc

Also consider asking at the KDE Enterprise mailinglist

https://mail.kde.org/mailman/listinfo/enterprise

It is used by sysadmins who manage KDE deployments and often discuss action 
restrictions.

Cheers,
Kevin