status of kde/plasma kiosk framework in kf5
David Edmundson
david at davidedmundson.co.uk
Thu May 12 12:07:07 UTC 2016
Just realised I had replied directly rather than to the ML. CC'ing now.
On Wed, May 11, 2016 at 11:01 PM, David Edmundson <
david at davidedmundson.co.uk> wrote:
> Thanks for the email.
>
> What version of Plasma-framework and Plasma are you running?
>
>>
>> since the /etc/kde4 directory is gone.. WHERE should i put this file ??
>>
>>
> The file should now be /etc/kde5rc
>
>
>> -----------
>> echo "disabling rightclick on desktop containment"
>> echo -e "$(sed '/RightButton/d'
>> /home/student/.kde/share/config/plasma-desktop-appletsrc)" >
>> /home/student/.kde/share/config/plasma-desktop-appletsrc
>>
>> this config file has moved to ~/.config and was renamed to
>> "plasma-org.kde.plasma.desktop-appletsrc" (seriously???)
>>
>
> If you're disabling the right click to block unlocking widgets
>
> put this in your /etc/kde5rc file
>
> [KDE Action Restrictions][$i]
> plasma/plasmashell/unlockedDesktop=false
> plasma/allow_configure_when_locked=false
>
>
prevent leaving and logout by adding to that file
actions/lock_screen=false
actions/leave=false
actions/switch_user=false
Is there any other lockdown features you need that I've missed?
>
> -----------
>>
>> echo "locking desktop...."
>> sudo echo -e "[\$i]\n $(cat
>> /home/student/.kde/share/config/plasma-desktop-appletsrc)" >
>> /etc/kde4/plasma-desktop-appletsrc
>>
>> 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
>> 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..
>>
>> 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.
>
> 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.
>
>
>>
>> echo "removing cashew..."
>> sudo chmod 600 /usr/lib/kde4/plasma_toolbox_desktoptoolbox.so
>> sudo chmod -x /usr/bin/kmenuedit
>>
>> in kde4 this was the only way to get rid of the cashew.. and dissalow
>> editing the menu
>>
>
> could someone please revive this??
>>
>
> 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.
>
> David
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/enterprise/attachments/20160512/a524fd1f/attachment.html>
More information about the Enterprise
mailing list