View Single Post
Posts: 70 | Thanked: 6 times | Joined on Oct 2009
#8
echo emelfm2 | sudo gainroot


works, but how can i make a desktop file?

i found this

desktop files are read from directory:

/usr/share/applications/hildon/

Example .desktop file for opening top in terminal:

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true true = opens xterm window where the application is run / i think false is better???
Name=topx the name that appears to menu
Exec=/usr/bin/osso-xterm top the command that is executed when / ???????? dont know

icon is clicked
Icon= Icon for shortcut
#X-Window-Icon=timerwidget
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true Show app in toolbar
X-Osso-Type=application/x-executable



what is the name of the file? xxx.desktop??



i tried

[Desktop Entry]
Encoding=UTF-8
Name=emelFM2
GenericName=emelFM
Exec=/usr/bin/osso-xterm echo emelfm2 | sudo gainroot
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=emelFM2


saved as emelfm.desktop in udf-8 format.

i cant find the shortcut :-(

Last edited by no mercy; 2010-01-18 at 19:59.