When I rightclick a folder in Nautilus I find these options "Open in New Window" and "Open in New Tab". Is it possible to add an option "Open in New Pane" which would open the selected folder in a new pane as it appears when I press F3?
What would be the parameters for Nautilus Actions or can I realize this with Nautilus Scripts?
First lets remember that Nautilus has the numbers of pane limited to 2.
You can create a script to do that.
1) First install xdotool and parcellite:
sudo apt-get install xdotool parcellite
2) Then open a file (
gedit /home/desgua/.gnome2/nautilus-scripts/Open\ In\ A\ New\ Pane
) and paste this:3) Save.
4) Make it executable (
chmod +x /home/desgua/.gnome2/nautilus-scripts/Open\ In\ A\ New\ Pane
)5) Right click over a folder and select "Scripts" > "Open In A New Pane".
Result:
If you are feeling lazy, just paste this into terminal and you're done:
This script open the folder in an existing pane:
1) First install xdotool and parcellite:
sudo apt-get install xdotool parcellite
2) Then open a file (
gedit /home/desgua/.gnome2/nautilus-scripts/Open\ In\ An\ Existing\ Pane
) and paste this:3) Save.
4) Make it executable (
chmod +x /home/desgua/.gnome2/nautilus-scripts/Open\ In\ An\ Existing\ Pane
)5) Right click over a folder and select "Scripts" > "Open In An Existing Pane".
I'm sure there are many ways to do this... but here goes...!
Install
nautilus-actions
andxdotool
Create a new script in your home folder called
newpane
and paste:Give the file execute rights:
Run
nautilus-actions-config-tool
Choose
edit - preferences
and uncheck the options shown:Create a new menu option:
execute your new script - n.b. give it the full path to your script and save it, before closing the application.
Restart nautilus:
You'll now have a new option: