Comment 3 for bug 590040

Revision history for this message
olsman037 (olsman037) wrote :

I think this may help you, just create a .sh file in any folder with this code and call it from nautilus-action (display item in location context menu)

#!/bin/bash

SHOW=$(gconftool-2 --get /apps/nautilus/preferences/always_use_location_entry)

if [ $SHOW = "true" ] ; then
gconftool-2 --set /apps/nautilus/preferences/always_use_location_entry --type=bool false

else

gconftool-2 --set /apps/nautilus/preferences/always_use_location_entry --type=bool true

fi

When I was using nautilus, I was able to create my own icon in the toolbar for this script, but now just the context entry works.
I think this code is better than "Edit Location", because it's easier to come back to breadcrumb, and it allows you to navigate in text mode (entry goes to the folder, and you can stay in the text mode to continu searching in the folder..)
Is it possible to assign this script to "Edit Location" ?