Xfce Wiki

Sub domains
 

This is an old revision of the document!


Kiosk 模式

Xfce 的一些组件支持 kiosk 模式。这可以创建和修改系统 kioskrc 文件来启用,它在下面路径:

${sysconfdir}/xdg/xfce4/kiosk/kioskrc

默认情况下,${sysconfdir} 指向 /etc

Xfce4 面板

[xfce4-panel]
CustomizePanel=%powerusers,foo
  • CustomizePanel

只允许 powerusers 组的用户和用户 foo 可以自定义它们的面板。

Xfce4 Session

[xfce4-session]
CustomizeSplash=ALL
CustomizeChooser=ALL
CustomizeLogout=ALL
CustomizeCompatibility=%wheel
Shutdown=%wheel
CustomizeSecurity=NONE

This allows all users to change their splash, chooser and logout settings, but allows only users in the group wheel to customize the compatibility settings and shutdown the system. No one will be allowed to adjust the security settings.

The session manager supports the following KIOSK capabilities:

  • CustomizeSplash

Whether or not the user is allowed to customize the splash screen.

  • CustomizeChooser

Whether or not the user is allowed to customize the session chooser settings.

  • CustomizeLogout

Whether or not the user is allowed to customize the logout settings.

  • CustomizeCompatibility

Whether or not the user is allowed to customize the compatibility settings (KDE/Gnome compat)

Xfce4 Desktop

[xfdesktop]
UserMenu=%wheel
CustomizeBackdrop=ALL
CustomizeDesktopMenu=%wheel
CustomizeWindowlist=NONE
CustomizeDesktopIcons=brian
  • UserMenu

Whether or not to allow user modifications to the desktop menu. If not, xfdesktop will ignore the menu.xml file in ~/.config/xfce4/desktop/ and use the system menu in $sysconfdir/xdg/xfce4/desktop/menu.xml.

  • CustomizeBackdrop

Whether or not to allow user modifications to the desktop backdrop. If not, the Backdrop settings panel will be greyed out.

  • CustomizeDesktopMenu

Whether or not to allow user modifications to the desktop menu. This includes showing or hiding application icons, as well as showing or hiding the menu itself.

  • CustomizeWindowlist

Whether or not to allow user modifications to the window list. This includes showing or hiding window icons, as well as showing or hiding the menu itself.

  • CustomizeDesktopIcons

Whether or not to allow the user to enable or disable the display of desktop icons, or change their style.