You are not logged in.
Pages: 1
Hello
Is there a way to activate kiosk mode for xfce4-panel in version 4.8 ? Or ANY other possibility to prevent a reaction after right-clicing the panel? I created the /etc/xdg/xfce4/kiosk/kioskrc file with
[xfce4-panel]
CustomizePanel=%root,root
but after reboot the panel is still displaying menu(s) after i click on it with the right mouse button.
Thnks in advance for reply - K
Offline
The old kiosk mode was dropped, it handles kiosk permissions through xfconf. See http://git.xfce.org/xfce/xfconf/tree/do … el-xml.txt. Note that in this only works if the panel config is in the readonly xdg directory.
Offline
You can put a lock on the main property (/) or per-panel (/panels/panel-0).
Offline
Hi Nick
Thanks very much for your fast reply. I have to admit I did not understand the instructions well .
I am using Lubuntu 10.10 and aded the xfce 4.8 panel from a repository. As far as I understand it, the settings are stored in HOME_DIR/.config/xfce4/xfconf/xfce-perchannel-xml. There is also a /etc/xdg/xfce4/xfconf/xfce-perchannel-xml directory with some shortcut bindings.
Here is my xfce-perchannel-xml configuration file :
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-panel" version="1.0">
<property name="panels" type="uint" value="1">
<property name="panel-0" type="empty">
<property name="position" type="string" value="p=6;x=0;y=0"/>
<property name="length" type="uint" value="100"/>
<property name="position-locked" type="bool" value="true"/>
<property name="plugin-ids" type="array">
<value type="int" value="1"/>
<value type="int" value="2"/>
<value type="int" value="3"/>
<value type="int" value="5"/>
<value type="int" value="4"/>
</property>
<property name="background-style" type="uint" value="2"/>
<property name="background-image" type="string" value="/home/babicka/panel_bg.jpg"/>
<property name="size" type="uint" value="35"/>
</property>
</property>
<property name="plugins" type="empty">
<property name="plugin-1" type="string" value="applicationsmenu"/>
<property name="plugin-5" type="string" value="clock">
<property name="digital-format" type="string" value="%A %d %B %Y - %R"/>
</property>
<property name="plugin-2" type="string" value="showdesktop"/>
<property name="plugin-3" type="string" value="separator">
<property name="expand" type="bool" value="true"/>
<property name="style" type="uint" value="0"/>
</property>
<property name="plugin-4" type="string" value="separator">
<property name="expand" type="bool" value="true"/>
<property name="style" type="uint" value="0"/>
</property>
</property>
</channel>
Could you be so nice and explain what should I change in order to prevent the panel from reacting after being clicked ?
Thank you very much K
Last edited by karlitos (2011-01-21 10:04:40)
Offline
Create a panel config and copy it over to the /etc/xdg location (readonly for users) and then change:
<channel name="xfce4-panel" version="1.0">
to
<channel name="xfce4-panel" version="1.0" locked="*" unlocked="root;@wheel">
Offline
cat /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-panel" version="1.0" locked="*" unlocked="root;@wheel">
<property name="panels" type="uint" value="1">
<property name="panel-0" type="empty">
<property name="position" type="string" value="p=6;x=0;y=0"/>
<property name="length" type="uint" value="100"/>
<property name="position-locked" type="bool" value="true"/>
<property name="plugin-ids" type="array">
<value type="int" value="1"/>
<value type="int" value="2"/>
<value type="int" value="3"/>
<value type="int" value="5"/>
<value type="int" value="4"/>
</property>
<property name="background-style" type="uint" value="2"/>
<property name="background-image" type="string" value="/home/babicka/panel_bg.jpg"/>
<property name="size" type="uint" value="35"/>
</property>
</property>
<property name="plugins" type="empty">
<property name="plugin-1" type="string" value="applicationsmenu"/>
<property name="plugin-5" type="string" value="clock">
<property name="digital-format" type="string" value="%A %d %B %Y - %R"/>
</property>
<property name="plugin-2" type="string" value="showdesktop"/>
<property name="plugin-3" type="string" value="separator">
<property name="expand" type="bool" value="true"/>
<property name="style" type="uint" value="0"/>
</property>
<property name="plugin-4" type="string" value="separator">
<property name="expand" type="bool" value="true"/>
<property name="style" type="uint" value="0"/>
</property>
</property>
</channel>
This configuration results in a blank panel without applets. The panel menu is unaccessible, but all the panel enries are gone . Anyway, is there a possibility to disable showing the help, about and logout entries ?
Offline
Create a panel config and copy it over to the /etc/xdg location (readonly for users) and then change:
<channel name="xfce4-panel" version="1.0">
to
<channel name="xfce4-panel" version="1.0" locked="*" unlocked="root;@wheel">
Really? Is it works? Sure? Did you test it? Really? Damn! You didn't test this!
This configuration results in a blank panel without applets.
cat .xsession-errors:
...
xfce4-panel-Message: Plugin "applicationsmenu-1" was not found und has been removed from the configuration
etc
...
Last edited by wtsch (2011-04-12 11:54:46)
Offline
True, was not tested in a while. Kiosk mode is fixed in master and the 4.8 branch.
Offline
True, was not tested in a while. Kiosk mode is fixed in master and the 4.8 branch.
Thank you. I'll test this
Great!!! It works. We need this feature for ~4.000 users in our firm Thank you once more.
Last edited by wtsch (2011-04-18 14:06:11)
Offline
Nice. If you experience more problems, please open a bug at bugzilla.xfce.org.
Offline
Pages: 1
[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 571.35 KiB (Peak: 588.2 KiB) ]