LinuxSir.cn,穿越时空的Linuxsir!

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

关于xfce4.2的几个问题请教

[复制链接]
发表于 2005-1-24 11:49:02 | 显示全部楼层 |阅读模式
1.如何将任务烂嵌入面板中,我看论坛上的uzigi搞过,能否指教,我觉得将任务栏和面板分开太占空间了,我的屏幕空间本来就不大。
2.怎样汉化右键菜单,我照http://linux.hiweed.com中弯曲 ... 试过,不行。
3.升级后点退出按钮,只有退出当前会话,而重新启动计算机和关机都是灰的,不能直接关机。
请高手多指教。
发表于 2005-1-24 15:22:46 | 显示全部楼层
Post by erniu
1.如何将任务烂嵌入面板中,我看论坛上的uzigi搞过,能否指教,我觉得将任务栏和面板分开太占空间了,我的屏幕空间本来就不大。
2.怎样汉化右键菜单,我照http://linux.hiweed.com中弯曲 ... 试过,不行。
3.升级后点退出按钮,只有退出当前会话,而重新启动计算机和关机都是灰的,不能直接关机。
请高手多指教。



我也想知道怎么将任务栏和面板结合,请各位大大指教!
回复 支持 反对

使用道具 举报

发表于 2005-1-24 16:22:21 | 显示全部楼层
有一个xfce4-taskbar的panel插件(官方的), debian下应该是有个xfce goodies之类的meta包会包括xfce的基本上所有的插件
回复 支持 反对

使用道具 举报

发表于 2005-1-24 16:26:59 | 显示全部楼层
普通用户关机看这个帖子
http://linux.hiweed.com/node/1626
回复 支持 反对

使用道具 举报

发表于 2005-1-24 17:42:06 | 显示全部楼层
我的是XFCE4.2,点击 “退出” 按钮,倒是有注销、重启、关机这三个选项,但只有注销可选,别的两选项是灰色的,是不可选的,这是为什么,谢谢了 。
回复 支持 反对

使用道具 举报

发表于 2005-1-24 18:14:40 | 显示全部楼层
Post by erniu
1.如何将任务烂嵌入面板中,我看论坛上的uzigi搞过,能否指教,我觉得将任务栏和面板分开太占空间了,我的屏幕空间本来就不大。
2.怎样汉化右键菜单,我照http://linux.hiweed.com中弯曲 ... 试过,不行。
3.升级后点退出按钮,只有退出当前会话,而重新启动计算机和关机都是灰的,不能直接关机。
请高手多指教。


1.有一个包是xfce4-taskbar-plugin,安装之后就能在panel里面添加插件
2.这个我倒是没在意。。。
3.这个我猜测是不是你没有安装sudo。。。然后把你自己加入sudoers里面
回复 支持 反对

使用道具 举报

发表于 2005-1-24 18:47:36 | 显示全部楼层
怎么加入到sudoers里面?
回复 支持 反对

使用道具 举报

发表于 2005-1-24 19:15:27 | 显示全部楼层
man sudoers
如果比较懒的话,visudo(注意没有vi和sudo之间没有空格),然后照我下面的改吧。我让个人用户拥有root的全部权限,而且sudo的时候不用输入密码,注意这样不太安全。建议把NOPASS 去掉。

  1. root    ALL=(ALL) ALL
  2. yourname ALL=(ALL) NOPASSWD: ALL
复制代码
回复 支持 反对

使用道具 举报

发表于 2005-1-24 20:27:08 | 显示全部楼层
我的root用户重启和关机都不能选,他们都是灰色的。
回复 支持 反对

使用道具 举报

发表于 2005-1-25 04:16:55 | 显示全部楼层
xfce文档里面的:
fce4-session supports shutting down your computer when you log out of your desktop session. To be able to shutdown the computer, you have to be listed in the systems sudoers file, in particular, you must be allowed to execute the command ${libexecdir}/xfsm-shutdown-helper  (/usr/sbin/xfsm-shutdown-helper on Debian GNU/Linux) as user root (where ${libexecdir} is the libexec sub directory in the prefix you installed xfce4-session, for example /usr/local/libexec).

For example, lets say, you installed xfce4-session into /usr/local, your hostname is myhost and your user account is named myuser, then you would have to add the following line to your sudoers file (remember to use visudo to edit that file):

myuser myhost=/usr/local/libexec/xfsm-shutdown-helper

In Debian, the shutdown helper binary is not located in

/usr/libexec/xfsm-shutdown-helper

but in

/usr/sbin/xfsm-shutdown-helper
回复 支持 反对

使用道具 举报

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

本版积分规则

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