Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Linux Mint and an application called anki (flash card app). The software repositories for Linux Mint are a few versions behind. When I download the new program it just runs from the directory. The problem is that when I launch it from the menu it opens the old version, not the new. I placed the folder in /usr/share/anki-1.2.9/, the old version is located in /usr/share/anki/. I tried replacing /usr/share/anki with the contents of anki-1.2.9 but then it wouldn't launch.

What I'm missing is how to tell the system to use "/usr/share/anki_1.2.9/" instead of "/usr/share/anki/" when the command, "anki" is executed. I'm fairly new to Linux but I'm sure it's something simple like editing a file in a directory somewhere. I just have no idea which file and where?

share|improve this question
up vote 2 down vote accepted

I don't have a running Linux Mint here but if you're using Gnome you should be able to do a right click over the menu icon (the icon you click to access the app list) and select "Edit Menus". There you can edit the old menu entry and point it to the new version.

share|improve this answer
I did try that. It runs the command, "anki %f" which launches the original version. I need it to launch the new version when that command is done. But thanks. – Alan B. Dee Aug 7 '11 at 22:35
try by entering the full path or change the path variable to include the directory in which the new binary is located. – DrNoone Aug 7 '11 at 22:36
I knew I would be something totally obvious, thanks. – Alan B. Dee Aug 7 '11 at 22:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.