Reply
Thread Tools
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#81
in the desktop file on the line
Exec=

is that where you type what ever you want to execute?
__________________
Christopher Stobbs

My Blog
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#82
Originally Posted by stobbsc View Post
in the desktop file on the line
Exec=

is that where you type what ever you want to execute?
Yes - if it's command-line based then you'll need to evoke it via xterm though (see http://talk.maemo.org/showpost.php?p...5&postcount=24 for an example).
 
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#83
OMG this is cool
thank you guys for the help.

I've created a cool little script that lets me pick the repo I want to check and then it lists all the installs from that repo and I have a desktop short cut now.

Last question can images in the desktop file be at any path?
__________________
Christopher Stobbs

My Blog
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#84
Originally Posted by stobbsc View Post
OMG this is cool
thank you guys for the help.

I've created a cool little script that lets me pick the repo I want to check and then it lists all the installs from that repo and I have a desktop short cut now.

Last question can images in the desktop file be at any path?
For the icon? I'm not sure - generally it's just the icon name and the system then looks in the various icon directories to find it (/usr/share/icons/hicolor, ~/.local/share/icons/hicolor, etc). You may be able to put a full path in there, but I've never tried it.
 
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#85
cool thanks.

I have also noticed that the x-term window closed when my sh file is finished running how to make it stay open until the user closes it?
__________________
Christopher Stobbs

My Blog
 
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#86
Another thing I noticed is that if I remove the file myfile.desktop from the hildon folder that it sill exists in the add shortcut list.
How do I remove it completely
__________________
Christopher Stobbs

My Blog
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#87
Originally Posted by stobbsc View Post
I have also noticed that the x-term window closed when my sh file is finished running how to make it stay open until the user closes it?
Add a "read" command to the end of it, e.g:
Code:
read LINE
That'll wait for you to press enter before continuing (and exiting).

Originally Posted by stobbsc View Post
Another thing I noticed is that if I remove the file myfile.desktop from the hildon folder that it sill exists in the add shortcut list.
How do I remove it completely
I don't know - have you tried rebooting? It may cache the existence of the .desktop file.
 
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#88
yeah tried a reboot and the icon is still there to pick, but it doesn't run anything when you click it so seems taht the icons stays but the file is gone so no code, I'll play around and see what happens

thanks again

I assume the read LINE is in my sh file
__________________
Christopher Stobbs

My Blog
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#89
Originally Posted by stobbsc View Post
yI assume the read LINE is in my sh file
Yes, just stick it at the end.
 
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#90
oh by the way I pointed the icon= to a png file in my .images folder and it worked a dream :-)
__________________
Christopher Stobbs

My Blog
 

The Following User Says Thank You to stobbsc For This Useful Post:
Reply

Tags
odod eht oollol

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:34.