Tag Info

Hot answers tagged


The clean way would be to create a .desktop file for your script and then make it the default text editor. Create a file called /usr/share/applications/foo.desktop with the following contents: [Desktop Entry] Name=foo Exec=/usr/bin/foo.sh %U Terminal=false Type=Application MimeType=text/plain; Make it the default program for the text/plain mimetype: ...

Only top voted, non community-wiki answers of a minimum length are eligible