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 会话
[xfce4-session] CustomizeSplash=ALL CustomizeChooser=ALL CustomizeLogout=ALL CustomizeCompatibility=%wheel Shutdown=%wheel CustomizeSecurity=NONE
这允许每个用户修改启动画面,chooser和注销设置,但只允许 wheel 组的用户自定义兼容性设置以及关闭系统。不允许任何人调整安全设置。
会话管理器支持下面的 KIOSK 功能:
- CustomizeSplash
是否允许用户自定义启动画面。
- CustomizeChooser
是否允许用户自定义 chooser 设置。
- CustomizeLogout
是否允许用户自定义注销设置。
- CustomizeCompatibility
是否允许用户自定义兼容性设置(KDE/Gnome 兼容)
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.