在 Ubuntu 中,如果想要以 root 身份运行程序,需要打开终端使用 sudo 来获得权限,或者用 su 切换到 root 账户来运行。但平时使用 Nautilus 浏览一些没有权限的文件想临时编辑怎么办?在 LinuxTOY 上看到一个方法,只需要安装 nautilus-gksu nautilus-open-terminal 这两个脚本,右键中就会多出 “以管理员打开” 菜单,这样就方便多了。
安装方法:sudo apt-get install nautilus-gksu nautilus-open-terminal
Tonite it’s getting late but I wanted to post something that is useful for quickly getting to the shell from any GUI location. The package nautilus-open-terminal does just what you might guess it does. It allows you to launch a gnome-terminal from a right-click within nautilus.
You might remember I blogged about something similar long-long ago with nautilus scripts. This is based on the same idea, but now wrapped in a nice shiny deb package. From the package description:
Nautilus plugin for opening terminals in arbitrary local paths nautilus-open-terminal is a proof-of-concept Nautilus extension which allows you to open a terminal in arbitrary local folders.
To install this quick-launch to the terminal simply run:
sudo aptitude install nautilus-open-terminal
You may need to restart gnome / nautilus for the change to take effect, but afterwards you’ll have a “open terminal” button on your right-click menu anywhere within nautilus or gnome-desktop area. Enjoy.
2008年11月24日星期一
订阅:
博文评论 (Atom)
没有评论:
发表评论