How to get Nautilus-scripts (
Root Gedit) working on Ubuntu 13.04?
I copied those scripts to
.gnome2/nautilus-scripts folder but it dose not seem to work anymore
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
We may define our own right-click context menu items with nautilus-actions .
Run the Nautilus-Actions Configuration Tool either from the Dash, or from a terminal with
With this tool I was able to make a context menu item to open terminal here. I've followed these steps:
One thing to note... It didn't show up on toolbar, or I didn't know where to look for it. So you don't have to check those two boxes in the second screenshot.
The whole thing works nicely, and I can click on files/folders or empty space to open terminal on current folder. It took a little effort to find out that the correct variable for folder path was
When I was in
/home/loganif clicked on empty space
/home/logan/gamesif clicked on any file/folder under games folder
%d/%w seems to work for both empty space and on folder/file.
You may also need to logout and log back in, unless you restart nautilus to reload the context menu.
Just use Nautilus-Action script to implement this.
Install gksu and nautilus-actions from the Software Centre Then open the Nautilus-Action Configuration Tool
In the Nautilus-Action Configuration Tool create a new action
In the Action tab, type 'Open Folder As Root' in the Context label
In the Command tab, input the values '
gksu' and '
nautilus %d/%w' in Command Path and Parameters respectively.
Then Restart nautilus :