[Thunar-dev] Feature request: superuser mode

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Thu Aug 31 17:12:02 CEST 2006


tomás pollak wrote:
> I don't think it would be neccesary to span a whole new instance of
> Thunar just to edit some textfile. There could be an option when you
> right click over a file, to "Edit as Root", so that in stead of just
> opening mousepad, Thunar executed "gksudo mousepad %filename". In
> fact, anyone can do so now adding a new "Open With" option for some
> kind of file. But "Edit as Root" sounds better anyway.

That could easily be added as desktop action to mousepad.desktop, i.e.
append the following text to mousepad.desktop:

----
Actions=Edit As Root;

[Desktop Action Edit As Root]
Exec=sudo mousepad %f
Name=Edit as root
----

Now Mousepad will also need a "super user mode". ;-)

Erik, how about applying that patch? And adding a super user warning?

> Regards,
> Tomàs

Benedikt



More information about the Thunar-dev mailing list