Web lists-archives.com

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




Hi Kevin and René J.V. Bertin,

I did some tests.

With Plasma 5 (plasma-desktop-5.10.5-1.fc27.x86_64), I got it to work by appending the following lines to my "$HOME/.config/kdeglobals":

    [KDE Action Restrictions]
    action/start_new_session=false
    action/switch_user=false
    action/lock_screen=false

But I can't get it to work with Plasma 4.10. I tried $HOME/.config/kdeglobals", $HOME/.kde/share/config/kdeglobals, ksmserverrc, plasma-desktoprc,  plasma-desktop-appletsrc, none is working.

Not sure if it is not supported in Plasma 4 or is it because I don't install plasma 4 correctly?

Thanks,

Zaiwen



On 03/13/18 05:36, Kevin Krammer wrote:
On Dienstag, 13. März 2018 10:30:53 CET René J.V. Bertin wrote:
On Monday March 12 2018 10:05:46 Kevin Krammer wrote:

Hi,

[...]

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.
I've often tried to configure the "Leave" menu so it never includes the
Suspend-to-Disk option. Same advice, or is that something I should address
at a level below KDE?
I would say generally same advice (ask on kde-enterprise), but if you want to 
disable it globally then there might indeed be a system level option.

Zaiwen's problem was a bit different since only specific accounts should have 
the options disabled.

Cheers,
Kevin