text="Sorry, only local directories can be used. # It's only possible to go to local directories Zenity -error -title="ERROR! Open terminal here" \ĭestination="`echo "$NAUTILUS_SCRIPT_CURRENT_URI" | sed 's/^file:\/\///'`" If more than one directory is selected, show error. # When a directory is selected, go there. 'open-in-terminal.sh') for any file or directory you click in nautilus. It will add a Scripts right click context menu item (with the name given e.g. Note: you need to also chg the permission of this new file to allow execution To check, nautilus-extension-gnome-terminal does provide the needed file on bionic.įor recent versions of Ubuntu (eg. If I had access to a machine running bionic (or could be bothered fiddling with the options for apt-file to use an alternative sources.list, I'd have used: apt-file search /usr/lib/nautilus/extensions-3.0/libterminal-nautilus.soĪs it is, I just used the online interface at. Unfortunately, /usr/lib/nautilus/extensions-3.0/libterminal-nautilus.so is no longer provided by gnome-terminal in bionic: The online list of files provided by the gnome-terminal package corroborates this: It seems that it's provided by the package gnome-terminal itself (which matches what I remember - I didn't have to install any special packages). Now, when I double click the shell script in Ubuntu 16.04 Nautilus I only can edit the shell script file. I just reinstalled Ubuntu Linux 16.04 with a LiveCD and ran sudo apt-get install mono-complete. usr/lib/nautilus/extensions-3.0/libterminal-nautilus.so seems the most likely candidate, as it's correctly located (within the nautilus/extensions-3.0 hierarchy) and reasonably named.Ĭheck what package provides it: dpkg -S /usr/lib/nautilus/extensions-3.0/libterminal-nautilus.so I used to get a dialog box asking whether I wanted to execute the shell script or edit it using gedit. The name of the file is likely to contain terminal so search for that: locate terminal | lessĪnd within less search for nautilus, as a first guess (if I were more confident I'd have just used grep). script, linked library or the like) is responsible for the feature on Xenial. I'm still on Xenial, which made some things easier, some harder.įirst, try to determine what specific file (i.e. Does the package nautilus-extension-gnome-terminal provide what you want? Method of determining the new package (in case it's of interest)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |