related to this (SOLVED) topic:
the scripts run correctly clicking on the xxxx.desktop file from the FileManager.
Xterm pops up and the user interaction works like a charm
I also wanted them to be launched from the Menu and/or from a tray icon. So I copied them to the /usr/share/applications directory and used JWMDM to have the tray icons.
Now: the scripts start ok either by clicking on the menu item or the tray icon but no xterm window pops up.
I know they are running since they are listed in <top> (and I have to kill them as not having user interaction they will run forever)
here is an example of my desktop file:
Code: Select all
[Desktop Entry]
Version=1.0
Type=Application
Name=UDP Multicast Netstorm
GenericName=UDP Multicast Netstorm
Comment=UDP Multicast Netstorm
Categories=Network
Terminal=true
Exec=/root/NetstormUtil/UDPMulticast
Icon=/root/NetstormUtil/thndblt2.png