Skip to main content


Easily find program name from context menu/without terminal?


This entry was edited (7 months ago)
in reply to Jediwan

If you are interested in editing text files as root directly from nautilus, the package nautilus-admin may be helpful. Link

As I am using KDE, I know that Kate, the KDE text editor, prompts for the sudo password when saving an edited text files that is owned by root. I don't know if Gedit does the same.

This entry was edited (7 months ago)
in reply to Successful_Try543

Oh my gosh I can't believe after 56 comments from so called "experts" you bring up such a simple solution. Thank you!
in reply to Jediwan

Granted it's listed in a mimeapps.list file, you should easily be able to pull the program name out of there by querying against the file in question's mimetype.

And while "can't be easily done" may be generally true, don't call it quits; some file managers may offer less "not easy" than others. Don't end your customization exploration because the file manager you currently use can't do what you want, try fiddlin round with some others. The process for each file manager is going to be different, and getting the name of the program for any filetype is also going to differ depending on the syntax required for altering each different file manager.

Linux reshared this.