View Single Post
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#26
Originally Posted by timwatt View Post
slightly off topic, but it looks like the expertises exist here.
I want to run a command in xTerminal (ssh) i would like to create an icon on my desktop.

Please explain how to make a desktop icon to run a xTerminal command for dummy?
thanks Tim (ps I used "personal menu" on my n810 to do this)
An easy way to add an icon to a shortcut for let say, my post above, would be first to find/create a PNG image of dimension 48x48. google this. save file to /usr/share/icons/hicolor/48x48/hildon/

Modify the .desktop file to include the following line. The right side should be the name of file without the .png. (the name of my file was topx.png)
Code:
Icon=topx
Save the file and reboot to see the icon for the shortcut.

my topx.desktop shortcut-with-icon for 'top' looks like this:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=topx
Exec=/usr/bin/osso-xterm top
Icon=topx
X-Osso-Type=application/x-executable
HTH
Attached Images
  

Last edited by archebyte; 2009-12-11 at 19:07.
 

The Following 19 Users Say Thank You to archebyte For This Useful Post: