root permission icons

The standard theme switcher of LXDE - http://wiki.lxde.org/en/LXAppearance
Locked
aus9
Posts: 35
Joined: Tue Jun 02, 2009 8:42 am
Location: Australia

root permission icons

Post 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
Locked