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

2018-03-09 Thread Zaiwen Gong
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

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

2018-03-12 Thread Kevin Krammer
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 li

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

2018-03-12 Thread Zaiwen Gong
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 Restr

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

2018-03-13 Thread René J . V . Bertin
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 actio

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

2018-03-13 Thread Kevin Krammer
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/ent

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

2018-03-13 Thread Zaiwen Gong
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/

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

2018-03-14 Thread Zaiwen Gong
Hi, I have got it to work with the help from KDE enterprise developer! First, the relevant file should be whatever kdeglobals file the command "kde4-config --path config" lists. Second, need to set the config to:     switch_user=false *as well as*     action/switch_user=false It is a bug

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

2018-03-14 Thread Kevin Krammer
Hi Zaiwen, On Mittwoch, 14. März 2018 17:11:57 CET Zaiwen Gong wrote: > Hi, > > I have got it to work with the help from KDE enterprise developer! Ah, great! Glad that tip turned out to be fruitful :-) Thanks for reporting the solution here as well! Cheers, Kevin > > First, the relevant fil