Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    xterminal "top" shortcut

    Reply
    Page 9 of 10 | Prev |   7     8   9   10   | Next
    stobbsc | # 81 | 2010-04-08, 15:05 | Report

    in the desktop file on the line
    Exec=

    is that where you type what ever you want to execute?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 82 | 2010-04-08, 15:08 | Report

    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).

    Edit | Forward | Quote | Quick Reply | Thanks

     
    stobbsc | # 83 | 2010-04-08, 15:16 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 84 | 2010-04-08, 15:27 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    stobbsc | # 85 | 2010-04-08, 15:32 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    stobbsc | # 86 | 2010-04-08, 15:41 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 87 | 2010-04-08, 15:59 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    stobbsc | # 88 | 2010-04-08, 16:03 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 89 | 2010-04-08, 17:20 | Report

    Originally Posted by stobbsc View Post
    yI assume the read LINE is in my sh file
    Yes, just stick it at the end.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    stobbsc | # 90 | 2010-04-08, 18:11 | Report

    oh by the way I pointed the icon= to a png file in my .images folder and it worked a dream :-)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to stobbsc For This Useful Post:
    Rob1n

     
    Page 9 of 10 | Prev |   7     8   9   10   | Next
vBulletin® Version 3.8.8
Normal Logout