+ -
当前位置:首页 → 问答吧 → xfce4面板工具不能执行(屏幕亮度调节工具,mount devices)

xfce4面板工具不能执行(屏幕亮度调节工具,mount devices)

时间:2009-10-24

来源:互联网

xfce4面板工具不能正常执行,比如亮度调节工具,mount devices工具。感觉应该是这些工具的权限不够,不能控制屏幕亮度,挂载卸载盘符。

大家有没有遇到过这种情况?

作者: zy_sunshine   发布时间: 2009-10-24

是不是我没描述清楚问题阿,怎么没人解答......胡乱说两句也好......

[sunshine@shine ~]$ groups
lp wheel dbus hal network video audio optical floppy storage power sunshine

我的用户所在组,感觉都全了。是不是应该在xfce4-panel启动的时候给予root权限,但是找来找去,不知道在哪配置。

作者: zy_sunshine   发布时间: 2009-10-25

出错信息是啥?

作者: lord007   发布时间: 2009-10-25

以下是brightness插件出现的错误信息:

**(xfce4-brightness-plugin:13374)**CRITICAL **: Error getting brightness level:
org.freedesktop.hal.power-management.lcd-panel no <-- (action,result)

作者: zy_sunshine   发布时间: 2009-10-26

执行mount panel plugin时候出现

umount: only root can unmount /dev/sda13 from /mnt/ubuntu

作者: zy_sunshine   发布时间: 2009-10-26

startxfce4 后出现一些信息,不能保存,不清楚启动xfce4的log在哪,截图上来。

大家帮忙看看
上传的图像
jietu.png (73.4 KB, 12 次查看)

作者: zy_sunshine   发布时间: 2009-10-26

看brightness信息,修改/etc/PolicyKit/PolicyKit.conf,在<config>中间添加:
<match user="your_name">
<match action="org.freedesktop.hal.power-management.lcd-panel">
<return result="yes"/>
</match>
</match>

至于x-xfce-module-path信息,好像是xfce的bug,可以修改
/usr/share/xfce4/panel-plugins/下的quicklauncher.desktop和smartbookmark.desktop,把类似内容修改成这样:
X-XFCE-Module=quicklauncher
X-XFCE-Module-Path=/usr/lib/xfce4/panel-plugins

作者: lord007   发布时间: 2009-10-26

谢谢解答

正在了解dbus prolicykit机制

但是,正常情况会蹦出对话框来询问用户密码。为什么我这个xfce4没有呢?

是不是org.freedesktop.PolicyKit.AuthenticationAgent没有xfce4相关配置呢?

gnome-org.freedesktop.PolicyKit.AuthenticationAgent.service
gnome-vfs-daemon.service
kde-org.freedesktop.PolicyKit.AuthenticationAgent.service
org.freedesktop.Akonadi.Control.service
org.freedesktop.Notifications.service
org.freedesktop.xesam.searcher.service
org.gnome.GConf.service
org.gnome.PolicyKit.AuthorizationManager.service
org.gnome.PolicyKit.service
org.gnome.keyring.service
org.kde.PolicyKit.service
org.kde.knotify.service
org.kde.krunner.service
org.kde.lancelot.service
org.xfce.FileManager.service
org.xfce.RunDialog.service
org.xfce.Thunar.service
org.xfce.Xfconf.service
org.xfce.calendar.service
org.xfce.orage.service
vandenoever.strigi.service

作者: zy_sunshine   发布时间: 2009-10-27

引用:
作者: lord007
至于x-xfce-module-path信息,好像是xfce的bug,可以修改
/usr/share/xfce4/panel-plugins/下的quicklauncher.desktop和smartbookmark.desktop,把类似内容修改成这样:
X-XFCE-Module=quicklauncher
X-XFCE-Module-Path=/usr/lib/xfce4/panel-plugins
根据这个修改后,还是出现
Failed to create plugin "quicklauncher"

Failed to create plugin "smartbookmark"

作者: zy_sunshine   发布时间: 2009-10-27