Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1096  / 1 Year ago, wed, january 25, 2023, 10:08:27

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?



example



What would be the parameters for Nautilus Actions or can I realize this with Nautilus Scripts?


More From » nautilus

 Answers
1

I'm sure there are many ways to do this... but here goes...!



Install nautilus-actions and xdotool



Create a new script in your home folder called newpane and paste:



sleep 0.3
xdotool key ctrl+c
sleep 0.3
xdotool key F3
sleep 0.3
xdotool key Tab
sleep 0.3
xdotool key Right
sleep 0.3
xdotool key Return
sleep 0.3
xdotool key Down
sleep 0.3
xdotool key ctrl+l
sleep 0.3
xdotool key ctrl+v
sleep 0.3
xdotool key Return


Give the file execute rights:



chmod +x ~/newpane


Run nautilus-actions-config-tool



Choose edit - preferences and uncheck the options shown:



enter image description here



Create a new menu option:



enter image description here



execute your new script - n.b. give it the full path to your script and save it, before closing the application.



enter image description here



Restart nautilus:



nautilus -q


You'll now have a new option:



enter image description here


[#38757] Thursday, January 26, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
measord

Total Points: 259
Total Questions: 131
Total Answers: 106

Location: Venezuela
Member since Sun, Oct 2, 2022
2 Years ago
measord questions
Wed, Jul 14, 21, 21:39, 3 Years ago
Mon, May 16, 22, 21:12, 2 Years ago
Mon, Oct 11, 21, 03:11, 3 Years ago
Sun, Apr 17, 22, 21:22, 2 Years ago
;