View Single Post
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#44
Originally Posted by b666m View Post
any chance of maybe doing a own shortcut like:

shown name: "root"
command if you click it: "sudo gainroot"

or just any other command you may use regularly?! (:
I have one just like that

in /usr/share/applications/hildon the desktop files live.

Make a copy of the one called xterm.desktop or sometging like that. I think it's osso-xterm or something.

Edit the exec line to add the command "root" without the quotes. Set the icon command to your Icon you want. Here's one I made for root.

Put your icon in the scalable and 48x48 directories.
Attached Images