This forum has been archived. All content is frozen. Please use KDE Discuss instead.

dolphin & kiosk restrictions don't work.

Tags: None
(comma "," separated)
User avatar
hteles
Registered Member
Posts
38
Karma
0
OS
Hello dear users.

Does any one know if it possible to lock down dolphin?

dolphin doesn't seem to be following kiosk restrictions like shell access and others.

I would like to disable the following options:

    Disable Editable Url
    Disable show hidden files. It doesn't work
    Disable right menu button or at least:

      show all entries ( i would like users only to see the ones that i've specified at bookmarks.xml )
      unlock panels
      The biggest one - F4 key that opens a terminal


regards,
hteles
User avatar
hteles
Registered Member
Posts
38
Karma
0
OS
hteles wrote:Hello dear users.

show all entries ( i would like users only to see the ones that i've specified at bookmarks.xml )


I've managed to hide CD-Rom Drive and root partition in dolphin by the following dbus rule:

/etc/dbus-1/newpolicy/org.freedesktop.UDisks.conf

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
  <!-- Only root can own the service -->
  <policy user="root">
    <allow own="org.freedesktop.UDisks"/>
  </policy>

  <policy context="default">
    <deny send_destination="org.freedesktop.UDisks"/>
    <deny send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.DBus.Properties"/>
    <deny send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <deny send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.UDisks"/>
    <deny send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.UDisks.Device"/>
    <deny send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.UDisks.Adapter"/>
    <deny send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.UDisks.Expander"/>
    <deny send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.UDisks.Port"/>
  </policy>
</busconfig>



Still trying to resolve the other issues

regards,
hteles
User avatar
hteles
Registered Member
Posts
38
Karma
0
OS
hteles wrote:
The biggest one - F4 key that opens a terminal


Resolved with file permissions but this should be in kiosk features

for i in /usr/lib/kde4/libkonsolepart.so; do chown root:staff $i; chmod 640 $i; done


regards,
hteles


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee, Sogou [Bot]