Author Topic: Adding An Icon To The Desktop  (Read 3092 times)

BarrySamuels

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://www.beenthere-donethat.org.uk
Adding An Icon To The Desktop
« on: November 22, 2005, 10:07:17 am »
I've given up trying to get kismet_qt to work   and decided to write a Bash script which starts kismet_server then starts kismet_qt.

It works but I'd like to be able to start it using an icon on the desktop. However if I try to set one up I keep getting the message 'That program cannot be found' or something very similar even if I use the full path to the script.

So - how is it be done?
Barry Samuels
http://www.beenthere-donethat.org.uk
The Unofficial Guide to Great Britain

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Adding An Icon To The Desktop
« Reply #1 on: November 22, 2005, 10:15:35 am »
.desktop files can only run things which are in /opt/QtPalmtop/bin/

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

BarrySamuels

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://www.beenthere-donethat.org.uk
Adding An Icon To The Desktop
« Reply #2 on: November 22, 2005, 10:54:39 am »
Quote
.desktop files can only run things which are in /opt/QtPalmtop/bin/

Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104541\"][{POST_SNAPBACK}][/a][/div]

The icon for kismet_qt runs a file in /home/root/usr/bin. How does it do that?

If I move my script to /opt/QtPalmtop/bin I can't set up an icon for that either using 'Tab Setting' on the 'Settings' tab.
Barry Samuels
http://www.beenthere-donethat.org.uk
The Unofficial Guide to Great Britain

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Adding An Icon To The Desktop
« Reply #3 on: November 22, 2005, 11:51:09 am »
Quote
The icon for kismet_qt runs a file in /home/root/usr/bin. How does it do that?

No idea. I didn't think this worked. I may be wrong.

Quote
If I move my script to /opt/QtPalmtop/bin I can't set up an icon for that either using 'Tab Setting' on the 'Settings' tab.

I'd just make my own .desktop file by hand in ~/Applications/* (I think that's the correct path...)


Si
« Last Edit: November 22, 2005, 11:51:26 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva