<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi David,</p>
<p>I have got it to work!</p>
<p>The reason it was not working was due to one file in the list of
"kde4-config --path config":</p>
<p><b>/usr/share/kde-settings/kde-profile/default/share/config/</b><b>kdeglobals</b></p>
<p>In this file, it contains one line which doesn't allow users to
change KDE Action:<br>
</p>
<p><b>[KDE Action Restrictions][$i]</b><br>
</p>
<p>After I remove this line from this file, everything works fine!</p>
Here is what I put in ~/home/zaiwen/.kde/share/config/kdeglobals:
<p>[KDE Action Restrictions]<br>
action/switch_user=false<br>
switch_user=false<br>
action/start_new_session=false<br>
start_new_session=false<br>
action/lock_screen=false<br>
lock_screen=false<br>
</p>
<p>Thanks a lot!</p>
<p>Zaiwen<br>
</p>
<br>
<br>
<div class="moz-cite-prefix">On 03/14/18 11:11, Zaiwen Gong wrote:<br>
</div>
<blockquote type="cite"
cite="mid:bfd462cb-69fd-4ca9-392e-285b283baa53@bnl.gov">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>Hi David,</p>
<p>Thank you very much for your reply.</p>
<p>On my machine, <br>
</p>
<p>kde4-config --path config</p>
<p>returns:<br>
</p>
<p><b>~/home/zaiwen/.kde/share/config/</b>:/etc/kde/:/usr/share/kde-settings/kde-profile/default/share/config/:/usr/share/config/<br>
</p>
<p>So I updated <b>~/home/zaiwen/.kde/share/config/</b><b>kdeglobals:<br>
</b></p>
[KDE Action Restrictions]<br>
action/switch_user=false<br>
switch_user=false<br>
action/lock_screen=false<br>
lock_screen=false<br>
<br>
<br>
Then I relogin, but it doesn't work. <br>
<br>
Did I miss anything? Please advise.<br>
<br>
<br>
<br>
Thanks,<br>
Zaiwen<br>
<br>
<div class="moz-cite-prefix">On 03/14/18 09:59, David Edmundson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGeFrHDO+VfYL8DQkFE3W14__gpN3ZJ4Ma6q=Y0aJ88W1D_r=g@mail.gmail.com">
<div dir="ltr">
<div>
<div>The relevant file should be whatever<br>
kde4-config --path config <br>
</div>
<div><br>
</div>
<div>lists<br>
</div>
<div><br>
</div>
+ kdeglobals<br>
</div>
<div><br>
</div>
<div>Looking at kde4 code set the config to:<br>
</div>
<br>
switch_user=false<br>
<br>
<div>
<div>*as well as* actions/switch_user=false<br>
</div>
<div><br>
</div>
<div>It is a bug in the underlying code, one of the many
things that got fixed properly when we redid everything in
Plasma5. It's much improved in this area.<br>
</div>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>