maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   create shortcut with root access? (https://talk.maemo.org/showthread.php?t=45244)

mthmob 2010-02-20 17:02

create shortcut with root access?
 
hey, can anyone help me set up a desktop shortcut running an app with sudo gainroot enabled??

So far i managed to create this

Code:

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=GemRb
Exec=/usr/bin/gemrb
Icon=   
#X-Window-Icon=timerwidget
X-Window-Icon=   
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

How do i enable root for the app?

b666m 2010-02-20 17:15

Re: create shortcut with root access?
 
http://talk.maemo.org/showpost.php?p...9&postcount=25

download my zip-file and look at the exec line of rvid.desktop ;)

zwer 2010-02-20 17:49

Re: create shortcut with root access?
 
Try with:

Code:

echo /usr/bin/gemrb | sudo gainroot


All times are GMT. The time now is 11:13.

vBulletin® Version 3.8.8