Monday, June 30, 2014

Kali Linux: How to add Root Terminal Here command in context menu

Hello friends,
This is a guide to add "Open Root Terminal Here" in the right click context menu.

Install Nautilus-Actions
sudo add-apt-repository ppa:dr3mro/nautilus-actions-extra
sudo apt-get update
sudo apt-get install nautilus-actions-extra
and restart nautilus using nautilus -q or logout and re-login.
Launch Nautilus Actions Configuration Tool
 Go to
Applications -> System Tools ->Nautilus Actions Configuration Tool

Adding Action
Click on "Define New Action" Icon

In the Action tab set the Context Label with appropreate name
eg: Open Root Terminal Here
 In the Command tab
type gksu in the Path text field
In parameters text field type /usr/bin/x-terminal-emulator %d
Type %d in the Working directory text field also.

Then, in the left pane item list right-click on the Item you just added.
and select Preferences;
in the Runtime Preferences tab
Un-check Create a root `Nautilus-Actions` menu
Un-check Create a root `About Nautilus-Actions` item in the Nautilus context menus
 Then press CTRL + S to save the action
Then close the Nautilus-Actions  Confuguration Tool

Then test your action in nautilus. Right click on a folder and click "Open toot terminal Here". You will be prompted for the password of the currrently logged user.

Then a root terminal will start.

Hope this helps to do your works faster.

See you later