![]() |
2009-12-11
, 17:52
|
Posts: 352 |
Thanked: 231 times |
Joined on Jul 2008
@ Vancouver
|
#22
|
![]() |
2009-12-11
, 18:08
|
|
Posts: 1,366 |
Thanked: 1,185 times |
Joined on Jan 2006
|
#23
|
![]() |
2009-12-11
, 18:23
|
Posts: 352 |
Thanked: 231 times |
Joined on Jul 2008
@ Vancouver
|
#25
|
rdesktop-cli -f -u username -p password host
![]() |
2009-12-11
, 19:05
|
Posts: 268 |
Thanked: 304 times |
Joined on Oct 2009
@ Orlando, USA
|
#26
|
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)
Icon=topx
[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
The Following 19 Users Say Thank You to archebyte For This Useful Post: | ||
![]() |
2009-12-11
, 19:21
|
Posts: 237 |
Thanked: 157 times |
Joined on Dec 2009
@ San Diego, CA
|
#27
|
For anyone as puzzled as I was by this, I think Andre is really talking about a different file... or maybe.
At least on my phone, I discovered the following commented-out stanza:
in /etc/systemui/systemui.xml while poking around.Code:<!-- <menuitem priority="20" name="Reboot"> <return>6</return> <po>osso-powerup-shutdown</po> </menuitem> <menuitem priority="10" name="Soft poweroff"> <return>7</return> <po>osso-powerup-shutdown</po> </menuitem> <menuitem priority="5" name="Top in XTerm"> <callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xter <argument type="string">/usr/bin/top</argument> </callback> </menuitem> -->
Edit: on a whim I uncommented it (removing the <!-- and --> lines) and it seems to work fine.
![]() |
2009-12-11
, 19:21
|
Posts: 1,283 |
Thanked: 370 times |
Joined on Sep 2009
@ South Florida
|
#28
|
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)
Save the file and reboot to see the icon for the shortcut.Code:Icon=topx
my topx.desktop shortcut-with-icon for 'top' looks like this:
HTHCode:[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
![]() |
2009-12-11
, 19:27
|
Posts: 21 |
Thanked: 56 times |
Joined on Oct 2009
@ Finland
|
#29
|
Glad you brought this up. I have a question about how the icon file is associated. I used a 26x26 file I made for a desktop shortcut. Would yours have worked if you had used a 26x26? I'm wondering about paths and icon directories and how they work. Also, my 26x26 works great for the shortcut but does not show up like yours does here in the main app menu. I just get a generic icon there??
There are a lot of icon directories in diff sizes and I'm trying to understand them.
![]() |
2009-12-11
, 19:44
|
Posts: 268 |
Thanked: 304 times |
Joined on Oct 2009
@ Orlando, USA
|
#30
|
when I say for dummies i mean it. I have created an icon file: