LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]怎么编辑gnome里的右键菜单~??

[复制链接]
发表于 2006-7-12 18:47:03 | 显示全部楼层 |阅读模式
本人想在gnome里的右键菜单里添加我喜欢的动作,但是不知道应该怎么添加,
请知道的朋友说一下....






谢了~
发表于 2006-7-12 20:24:09 | 显示全部楼层
不知道。

如果想要添加“打开终端”菜单项,可以:
yum install nautilus-open-terminal

就这个最有用了。
回复 支持 反对

使用道具 举报

发表于 2006-7-13 07:26:18 | 显示全部楼层
firefoxmmx请你加入群3177541好吗?呵呵。我们都是热爱linux的人。看到你的照片很帅!
回复 支持 反对

使用道具 举报

发表于 2006-7-13 08:19:44 | 显示全部楼层
fc5 里有个 nautilus-actions,你可以试试,我没用过。
回复 支持 反对

使用道具 举报

发表于 2006-7-13 08:45:51 | 显示全部楼层
④使用鼠标右键来启用、禁用服务
编辑文件:


gedit ~/.gnome2/nautilus-scripts/aiglx

添加内容:


#!/bin/bash
title="Aiglx Service"
#Date: 3-19-2006
# Wriiten By: fedorajim@gmail.com
zenity --question --text "Do you want to turn On or Off the AIGLX Service? Yes=On / Cancel=Off" --title="$title"
if [ "$(echo $?)" == "1" ] #They clicked "no"
     then # Turn off the AIGLX Service
        gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool false
else
# turn on the AIGLX Service
        gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool true
fi

保存文件,使其可执行

chmod u+x ~/.gnome2/nautilus-scripts/aiglx
回复 支持 反对

使用道具 举报

发表于 2006-7-13 08:51:09 | 显示全部楼层
yum 升级后 suspend 没有了现在不知道怎么弄呀?
没次走都得关机,启动又时间
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-13 17:13:05 | 显示全部楼层
nautilus-actions这个东西还真的不错~~ 不比kde 的差~~~
很方便的拉~~

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

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

本版积分规则

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