LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 836|回复: 8

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

[复制链接]
发表于 2009-10-23 23:38:36 | 显示全部楼层 |阅读模式
xfce4面板工具不能正常执行,比如亮度调节工具,mount devices工具。感觉应该是这些工具的权限不够,不能控制屏幕亮度,挂载卸载盘符。

大家有没有遇到过这种情况?
 楼主| 发表于 2009-10-24 23:22:28 | 显示全部楼层
是不是我没描述清楚问题阿,怎么没人解答......胡乱说两句也好......

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

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

使用道具 举报

发表于 2009-10-25 15:41:05 | 显示全部楼层
出错信息是啥?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-25 21:00:24 | 显示全部楼层
以下是brightness插件出现的错误信息:

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

使用道具 举报

 楼主| 发表于 2009-10-25 21:02:16 | 显示全部楼层
执行mount panel plugin时候出现

umount: only root can unmount /dev/sda13 from /mnt/ubuntu
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-25 21:18:02 | 显示全部楼层
startxfce4 后出现一些信息,不能保存,不清楚启动xfce4的log在哪,截图上来。

大家帮忙看看

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2009-10-26 17:01:40 | 显示全部楼层
看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
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-26 21:27:01 | 显示全部楼层
谢谢解答

正在了解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
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-26 22:07:48 | 显示全部楼层
Post by lord007;2040073

至于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"
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表