<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hello everybody,<br>
i'm on my way to deploy about 40 classroom installations of
kubuntu/neon with plasma5.6 and so far my first testsuspects (15
students) were amazed by the new plasma5<br>
especially the handling of widgets (long press to configure) and the
possibilty to undo changes (for example removing the main panel)
saves a lot of lifes :) (and of course the new looks)<br>
<br>
for the classrooms i strongly depend on the #kiosk framework.. i've
played around with it in kde4 and managed to lock down the classroom
desktops as much as possible<br>
(the prove that this was a success is one school year without any
support calls that relate to the user interface)<br>
<br>
here a small list of what i've done so far:<br>
<br>
<br>
i created a file called "kdeglobals" and placed it in /etc/kde4
-- this directory was read first and userconfigurations read later
were ignored<br>
<br>
[KDE Action Restrictions][$i]<br>
<br>
<br>
movable_toolbars=false<br>
<br>
run_command=false #disable krunner<br>
action/run_command=false #hide action in kontextmenu<br>
<br>
action/lock_screen=false #hide action screenlock in kontextmenu<br>
action/movable_toolbars=false #very important !!<br>
action/logout=false <br>
action/kwin_rmb=false<br>
action/options_configure_keybinding=false<br>
action/fullscreen=false #just in case someone doesn't know how to
get outathere<br>
<br>
<br>
plasma-desktop/add_activities=false #not working?<br>
plasma/containment_actions=false<br>
plasma/containment_context_menu=false<br>
plasma/allow_configure_when_locked=false<br>
plasma/plasma-desktop/unlockedDesktop=false<br>
<br>
<br>
since the /etc/kde4 directory is gone.. WHERE should i put this file
??<br>
<br>
<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???)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
-----------<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>
-------------------<br>
<br>
sudo echo -e "[\$i]\n $(cat
/home/student/.kde/share/config/plasma-desktoprc)" >
/etc/kde4/plasma-desktoprc<br>
echo -e "[\$i]\n $(cat
/home/student/.kde/share/config/plasma-desktoprc)" >
/home/student/.kde/share/config/plasma-desktoprc<br>
<br>
this file was renamed to plasmashellrc and moved to ~/.config <br>
-------------------<br>
<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>
<br>
------------------<br>
<br>
then i removed almost all keyboardshortcuts and kwin titlebar
actions resulting in a totally locked down desktop... the only thing
that could revive the desktop was a little script (password
protected)<br>
"unlock desktop" that would delete the content of /etc/kde4 get the
backups of the configuration files the "lockdesktop" script created
and copy them over the locked files.. killall Xorg will then do the
rest..<br>
<br>
________<br>
<br>
<br>
so here i am.. i already invested hours to find out what the #kiosk
framework can do and can not do.. and now i need to start over it
seems.<br>
there is a website <a class="moz-txt-link-freetext"
href="https://userbase.kde.org/KDE_System_Administration/Kiosk/Introduction">https://userbase.kde.org/KDE_System_Administration/Kiosk/Introduction</a>
and this site is so totally out of date - it hurts... also there
was a kiosk admin tool in kde3.. wonderful.. could someone please
revive this??<br>
<br>
<br>
WHAT WORKS SO FAR:<br>
##################<br>
placing [$i] at the end of a section in
plasma-org.kde.plasma.desktop-appletsrc<br>
<br>
like <br>
<br>
[ActionPlugins][0][$i]<br>
MidButton;NoModifier=org.kde.paste<br>
RightButton;NoModifier=org.kde.contextmenu<br>
wheel:Vertical;NoModifier=org.kde.switchdesktop<br>
<br>
will change the whole section (after a restart of the desktop) to
this :<br>
<br>
[ActionPlugins][0]<br>
MidButton;NoModifier[$i]=org.kde.paste<br>
RightButton;NoModifier[$i]=org.kde.contextmenu<br>
wheel:Vertical;NoModifier[$i]=org.kde.switchdesktop<br>
<br>
<br>
you will still be able to configure everything for the session but
the next time you log in the setting will be undone.. (not quite
what i wanted but still usable)<br>
i didn't try it for all sections of course.. but for this section it
works.. <br>
<br>
[Containments][1][Applets][21] you may change "favorites" but it
will revert back after a new login .. so again.. it would be better
to not be able to change anything but not saving the changes works
too..<br>
[Containments][1] (the panel) set "immutability" to 2 and you
will not see the "configure panel" kontextmenu entry..<br>
<br>
<br>
WHAT DOESN'T WORK:<br>
#################<br>
# "kdeglobals" and action restrictions could work (but i don't know
where to put them<br>
# do NOT [$i] the whole section [Containments][1] this will lead
to a blank panel... similar to placing a [$i] at the beginning of
the file<br>
# [Containments][1][Applets][21] this is org.kde.plasma.kicker -
i shouldn't be able to change the kicker icon for example but i
still am.. :( <br>
interestingly it doesn't change the value of custom image button
but i can disable the custom image button - it will then revert back
to the default K icon.<br>
<br>
<br>
<br>
more interesting than locking down every single bit of plasma would
be a way to disable rightclick on ALL containments at once..<br>
<br>
i will work on this list and test more of the #kiosk framework in
the next days.. hopefully someone of you has some experience or is
curious to help me figure this out..<br>
i guess a good list of what works and what not is a good starting
point for talking to the devs :-)<br>
<br>
thx<br>
have a nice day/night<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>