PDA

View Full Version : [ubuntu] Custom terminal commands in Nautilus?



Christian Knudsen
February 6th, 2010, 05:31 PM
With Thunar in Xubuntu I was able to add my own custom right-click terminal commands, but I don't seem to be able to do this in Nautilus? I was able to add a command in Thunar that would automatically make a list.txt file with all the files in the current directory ("ls > list.txt"), which is really helpful for some work I'm doing. Is it possible to do this with Nautilus in Ubuntu? I tried nautilus-actions, but that only seems to allow you to call another program, not call terminal commands.

VCoolio
February 6th, 2010, 05:54 PM
You can do so with Nautilus scripts (https://help.ubuntu.com/community/NautilusScriptsHowto?highlight=%28%28NautilusScrip tsHowto%29%29). Put them in ~/.gnome2/nautilus-scripts and make them executable.

Christian Knudsen
February 6th, 2010, 06:01 PM
Thanks! I'll give it a try.