Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Which GNU/Linux distro are you using? What application are you trying to run? etc, etc, etc.
Give more information relative to the problem, and you are more likely to get an answer.
I'm running Ubuntu (both Gutsy and Hardy beta on laptop/desktop).
I want to use SciTE text editor as my gnome-text-editor, but after installing SciTE using Synaptics, I do not have an option to select it when I run this code
I'm not really a ubuntu and/or debian-fan/-user, but ...
The man-page for the tool suggests two directories for you
to look at (you did read the man-page, right?).
Number 1:
/etc/alternatives
(holds links to the actual program to use, eg. editor is a
symlink to /usr/bin/vim)
Not a good place to start futzing around ...
Number 2:
/var/lib/dpkg/alternatives
Hmmm ... text-files, with content like:
Code:
auto
/usr/bin/gnome-text-editor
gnome-text-editor.1.gz
/usr/share/man/man1/gnome-text-editor.1.gz
/usr/bin/gedit
50
/usr/share/man/man1/gedit.1.gz
/usr/bin/vim.full
45
Hmmm ... might be a good place to start toying, of course I have
NO idea whether the maintainers of deb/*bunut share that view ;}
So for example... (Assuming Luajit is not available in the --config list for /usr/bin/lua)
If The link I'm updating is /usr/bin/lua, which provides lua-interpreter. I want to add Luajit, with a priority of 90, to the /usr/bin/lua link.
I'm providing the correct answer so it will be available, for anyone who lands here from Google. I hate having high relevancy results, not provide the appropriate information. I'm aware this is a 3+ years old thread.
BTW, update-alternatives is a Debian family specific command. I wouldn't need to be told explicitly which distro someone uses, to address something implicitly distro specific.
Last edited by gnuzilla; 12-07-2011 at 05:10 PM.
Reason: Bad title
It's like when you go to the hardware store and ask where the hammers are and the (insert rediculous job title like Industrial systems technical sales associate)says "duh... what are you going to do with it?" instead of the correct answer which would be "I don't know" or "isle 4"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.