<div dir="ltr">Just realised I had replied directly rather than to the ML. CC'ing now.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 11:01 PM, David Edmundson <span dir="ltr"><<a href="mailto:david@davidedmundson.co.uk" target="_blank">david@davidedmundson.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks for the email. <br><br></div>What version of Plasma-framework and Plasma are you running?<br><div><div><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<br>
since the /etc/kde4 directory is gone.. WHERE should i put this file
??<br>
<br></div></blockquote></span><div><br>The file should now be /etc/kde5rc <br><br></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<br>
-----------<br>
echo "disabling rightclick on desktop containment"<br>
echo -e "$(sed '/RightButton/d'
/home/student/.kde/share/config/plasma-desktop-appletsrc)" >
/home/student/.kde/share/config/plasma-desktop-appletsrc<br>
<br>
this config file has moved to ~/.config and was renamed to
"plasma-org.kde.plasma.desktop-appletsrc" (seriously???)
<br></div></blockquote><div><br></div></span><div>If you're disabling the right click to block unlocking widgets<br><br></div><div>put this in your /etc/kde5rc file<br></div><div><br>[KDE Action Restrictions][$i]<br>plasma/plasmashell/unlockedDesktop=false<br></div><div>plasma/allow_configure_when_locked=false<br><br></div></div></div></div></div></div></blockquote><div><br><div>prevent leaving and logout by adding to that file<br><br>actions/lock_screen=false<br></div><div>actions/leave=false<br></div><div>actions/switch_user=false<br></div><br>Is there any other lockdown features you need that I've missed?<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div class="gmail_extra"><div class="gmail_quote"><div></div></div><div class="gmail_quote"></div><div class="gmail_quote"><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
-----------<br>
<br>
echo "locking desktop...."<br>
sudo echo -e "[\$i]\n $(cat
/home/student/.kde/share/config/plasma-desktop-appletsrc)" >
/etc/kde4/plasma-desktop-appletsrc<br>
<br>
well..first of all the directory /etc/kde4 does not exist
anymore.. creating it and placing a kde configfile in it in order
to override the userconfig files is not working anymore<br>
further placing [$i] at the beginning of the file (which should make
everything immutable) leads to a blank desktop -- only the panel
containment is there.. everything else is gone..<br>
<br></div></blockquote></span><div>Yeah, that's not a good approach, we do need to save some things in that config file. You don't want to be blocking that being immutable.<br><br></div><div>Initial layouts come from a separate JS script on startup - though hopefully we won't need to delve into that if we just want to lock things down.<br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<br>
echo "removing cashew..."<br>
sudo chmod 600 /usr/lib/kde4/plasma_toolbox_desktoptoolbox.so<br>
sudo chmod -x /usr/bin/kmenuedit<br>
<br>
in kde4 this was the only way to get rid of the cashew.. and
dissalow editing the menu<br></div></blockquote><div><br></div><div></div></span><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">could someone please
revive this??</div></blockquote><br></span></div>Maybe, but the documentation is the main part missing, and the tool is only as good as the documentation it's showing. Sorting that should be our first priority.<span class=""><font color="#888888"><br><br></font></span></div><span class=""><font color="#888888"><div class="gmail_extra">David<br></div><div class="gmail_extra"><div class="gmail_quote"><div bgcolor="#FFFFFF" text="#000000"> <br>
<br></div></div><br></div></font></span></div></div></div>
</blockquote></div><br></div></div></div>