Skip to content

Instantly share code, notes, and snippets.

@bensonkb

bensonkb/hacktext.txt

Last active Jul 1, 2020
Embed
What would you like to do?
elementaryOS Open Terminal Here | File Manager UX Hack
To open a command line shell in the pantheon File Browser in elementary OS, you need to create a text file and paste code into it.
The location of the file which needs to be created is:
/usr/share/contractor/openinterminal.contract
One command you can use to edit it is:
sudo nano /usr/share/contractor/openinterminal.contract
On elementary OS 5.0 Juno
[Contractor Entry]
Name=Open terminal here
Icon=terminal
Description=Open terminal here
MimeType=inode;application/x-sh;application/x-executable;
Exec=io.elementary.terminal -w %U
Gettext-Domain=io.elementary.terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.