Page 1 of 1

root permission icons

Posted: Sun Jun 07, 2009 8:03 am
by aus9
hi mods feel free to move this as I am still new to LXDE

I often need to use root permission icons....such as for (now) leafpad and lxterminal

mainly as a note to myself...heh heh

here are the entries that work for me....YMMV

leafpad was opened to become

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=su-Leafpad
Comment=Simple text editor
Exec=su-to-root -X -c /usr/bin/leafpad
Icon=leafpad
Terminal=false
Type=Application
MimeType=text/plain
Categories=GTK;Utility;TextEditor;

The key for me was finding an entry that allowed this line
Exec=su-to-root -X -c /usr/(s)bin/(name of app)


2) Now I am a bit of weirdo...being aussie and have disabled kdesu and sudo. but you may be able to just use kdesu...app