#597 .desktop works on the desktop, doesn't from the menu

None
closed
nobody
lxpanel (269)
5
2014-09-04
2013-08-10
No

[reposted here from http://askubuntu.com/questions/330587/lubuntu-desktop-shortcut-works-on-the-desktop-but-doesnt-from-the-menu looks like a bug]

I've created a simple shortcut.desktop in my Lubuntu 13.04 /usr/share/applications:

[Desktop Entry]
Type=Application
Name=shockwave
Icon=/home/zane/Pictures/Evil Decepticons.png
Exec=/home/zane/Documents/Zane_Shockwave-RDP.sh
Terminal=true
MimeType=text/plain
Categories=GTK;WebBrowser;Network
The pointed sh contains just echo "it works".

If I double-click the .desktop it directly, the script runs and everything works as expected.

But if I click the menu entry from the desktop, I just get a "stuck", non-inputable Terminal.

Note: to workaround this bug https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/975152/comments/14 I've just "lxterminal" under PCManFM -> Prefernces -> Advanced, otherwise I can't run .sh at all.

Any ideas?

Edit I also tried these variant, but I always get the same result:

Exec=sh /home/zane/Documents/Zane_Shockwave-RDP.sh
Exec=lxterminal /home/zane/Documents/Zane_Shockwave-RDP.sh

Discussion

  • Lonely Stranger

    Lonely Stranger - 2013-08-15
    • labels: --> lxpanel
     
  • Henry Gebhardt

    Henry Gebhardt - 2013-08-25

    It works for me. Perhaps the problem is that lxpanel has a different application configured for terminal. On the panel, can you right-click and open the "Panel Settings"-dialog -> Advanced. What is in the "Terminal Emulator" field? Try changing that.

     
  • Dr. Gianluigi Zanettini

    Excellent thanks! It was "lxterminal -e". I changed it to "lxterminal" and now it works perfectly! Thanks again!

     
  • Lonely Stranger

    Lonely Stranger - 2014-08-21
    • status: open --> closed
    • Group: --> -
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks