Open terminal with a right click from your mouse

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0

If you want to open terminal easy way, you can do it by a right click from your mouse , so no need to open a from  application> accessories or system tools .

Follow these steps to add a terminal button to right click of your mouse menu.



Under your gnome home directory go to hidden directory gome2 then go nautilus-scripts

make new file then with name : gnome-terminal and add this script

vi  gnome-terminal

and add

#!/bin/sh

mydir=$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
if [ -d $mydir ]; then
cd $mydir
gnome-terminal
exit
fi

save and exit and make it executable with

chmod +x gnome_terminal

Now everywhere under your gnome with right click on you mouse , go under script and click gnome_terminal to start your shell ses

 

 

 

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0