最近,我将DE从Unity更改为XFCE。我真的很喜欢,但是电源经理不工作。当我试图从“设置”菜单打开它时,会出现以下错误:
Unable to connect to Xfce Power Manager
Did not receive a reply. Possible causes include:
the remote application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network connection was
broken.当我试图从命令行运行它时,它什么也不做。我找到了其他一些解决方案,人们说要尝试运行xfce4-power管理器-无守护进程(此处:xubuntu 13.10 xfce4-电源管理器不工作),但随后我得到以下消息:
(xfce4-power-manager:23973): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode
(xfce4-power-manager:23973): xfce4-power-manager-WARNING **: 'CheckAuthorization' failed with Action org.freedesktop.udisks.drive-set-spindown is not registered然后炮弹停下来,直到我击中ctrl+c。
然后,我读到这是一个已知的错误,最好的解决方案是降级到以前版本的电源管理器。我尝试在这方面使用智能,但它抱怨说,我想要的每个版本都不存在,即使我从xfce4-power-manager存储库中获取版本号。接下来我试着下载这个软件包并自己安装。但是,当我尝试配置时,脚本告诉我一些库丢失了,尽管它们已经安装:
*** The required package libxfconf-0 was not found on your system.
*** Please install libxfconf-0 (atleast version 4.6.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.有人告诉我,Ubuntu已经预装了图书馆。
然后我试着用侏儒能量管理器。即使安装了它,当我尝试从命令行运行它时,它说没有这样的程序。而且它也不会出现在我想要的XFCE设置菜单中。
发布于 2014-09-15 13:59:12
更新Xubuntu 14.04.1说明
首先移除旧的发射器
数独rm /etc/xdg/autostart/xfce4-power-manager.desktop
那就创造一个新的..。
设置管理器/系统/会话和启动
选择选项卡应用程序自动启动
在底部单击Add并输入以下内容:
名称: Xfce电源管理器(例如您的名称)
Description: Power manager startup新命令:xfce4-电源管理器-无守护进程
编辑是因为askubuntu接口破坏了CR/LF
发布于 2014-07-13 14:44:05
Xfce4-电源管理器未启动,applet不可见
删除>桌面配置文件:
/etc/xdg/autostart/xfce4-power-manager.desktop
设置管理器/会话和启动/启动应用程序
禁用物品:
能源管理(电力管理Xfce环境)
启用新项目:
Name: Xfce Power Manager (for example your name)
Description: Power manager startup
New command: xfce4-power-manager --no-daemonhttp://ubuntuset.url.ph/power_manager.html
https://askubuntu.com/questions/471713
复制相似问题