maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   create a launcher for terminal apps? (https://talk.maemo.org/showthread.php?t=60248)

zeltak 2010-08-13 01:03

create a launcher for terminal apps?
 
Hi guys

I was wondering how can one create a shortcut to run a cli app. i created a .desktop file at /home/user/.local/share/applications/hildon/
which worked well for gui apps but i cant do it for term apps. I have been using this as the command:

osso-xterm -e COMMAND

but that dosent seem to work

can anyone point me in the right direction?

thx

Zeltak

blue_led 2010-08-13 06:50

Re: create a launcher for terminal apps?
 
work for me :
make a script with your commands : my_app.sh
put shortcut
my_app.desktop in /usr/share/applications/hildon

Exec=/usr/bin/osso-xterm "nohup /home/user/my_app.sh "&""

zeltak 2010-08-13 11:06

Re: create a launcher for terminal apps?
 
thx blue led

i got it working :)...so i have another related question. the shortcuts do appear on the main app view list but when i want to add a shortcut app to the desktop the custom created apps do not appear..anyway to address that?

thx


zeltak

blue_led 2010-08-13 17:20

Re: create a launcher for terminal apps?
 
you can add a custom my_icon.png to ( be shure is square 64 pixels )
./opt/usr/share/icons/hicolor/64x64/hildon/

Icon=my_icon
Name=your_app_name

reboot always help :D
press Thanks button


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

vBulletin® Version 3.8.8