Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 02-20-2012, 11:43 PM   #1
Registered: Jun 2004
Location: Tacoma, WA
Distribution: Ubuntu
Posts: 37

Rep: Reputation: 15
Need clarification on priority in etc alternatives system

Man page says: ¨Each alternative has a priority associated with it. When a link group is in automatic mode, the alternatives pointed to by members of the group will be those which have the highest priority.¨

Simply put, which is considered the highest priority, 0 or 9999? Is there a 0 or does it start at 1?

Jim C.
Old 02-20-2012, 11:54 PM   #2
Registered: Jun 2004
Location: Tacoma, WA
Distribution: Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
executed this: update-alternatives --skip-auto --all

kdesu - auto mode
link currently points to /usr/bin/kdesudo
/usr/bin/kdesudo - priority 100
/usr/lib/kde4/libexec/kdesu-distrib/kdesu - priority 50
Current 'best' version is '/usr/bin/kdesudo'.

The block above and many others like it seem to indicate that 100 is a higher rank than 50 so I am rolling with that.


alternatives, priority

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
clean-system clarification Scott271 Slackware 3 03-05-2010 01:30 PM
How does the etc/alternatives system work? jcllings Linux - General 4 01-23-2010 01:33 PM
Grub - Operating System Boot Priority JamboUK Ubuntu 8 02-19-2007 09:05 AM
alternatives system nonexistant forgiste Linux - Newbie 4 07-19-2005 08:07 PM
Changing priority of Dual Boot System LinuxVirgIan Linux - Newbie 5 07-02-2004 05:45 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration