Menu icon doesn't work

Please post all general support questions for LXDE here.
Locked
smd0665
Posts: 6
Joined: Mon Jun 22, 2009 1:48 am
Location: United States

Menu icon doesn't work

Post by smd0665 »

I had VLC installed, but I wasn't getting any sound. So, I uninstalled it and decided to compile it from scratch. Now, it works and there is an icon in the menu, but the icon does not start the program - I need to start it from a terminal. VLC was installed in /usr/local/bin. Could it be that the icon is pointing to a different directory? How can I check it and change it? Thank you.
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: Menu icon doesn't work

Post by Marty Jack »

The first thing to do is run the program from a terminal to make sure it is starting properly. If that works, then locate the .desktop file in /usr/share/applications and edit it to your liking. You will probably have to enable the Terminal=true setting if that is what you need.

We have a package lxshortcut. If you install that, there will be a right-click item on the menu item Properties that will bring up lxshortcut on the item so you can examine it. You need root privileges to change the file in /usr/share/applications however.
smd0665
Posts: 6
Joined: Mon Jun 22, 2009 1:48 am
Location: United States

Re: Menu icon doesn't work

Post by smd0665 »

That did the trick. Thank you very much!
RafalR
Posts: 3
Joined: Mon Oct 05, 2009 9:26 pm

encfs with lxshortcut

Post by RafalR »

Hi,

I am trying to set a shorcut / icon to mount an EncFS volume/filesystem. This needs opening terminal to type in the password opening EncFS.

I prepared everything as described above and in other threads, including the setting Terminal=true and it does not work (a click on icon produces nothing). Also changed manually (with sudo rights) the path to encfs and fusermount commands so that a full path is shown, also no cure.

Either lxshortcut is not properly recognizing the Terminal=true setting or the multi option command related to encfs

Code: Select all

encfs encrypted_volume_path decrypted_volume_path
Exactly the same command started by rightclicking shell script as below and choosing "run" - works perfectly (with terminal opening etc)

Code: Select all

#!/bin/bash
encfs encfs encrypted_volume_path decrypted_volume_path
Any ideas ?
------
Rafal
Ubuntu + LXDE
Locked