Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.