Am 03. Sep, 2003 schw=E4tzte Bill Warner so:
> On Tue, 2003-09-02 at 21:29, der.hans wrote:
> > Rather than changing .xinitrc look at update-alternatives for
> > x-window-manager if you want to make it a system-wide change.
>
> did you just mean to update alternatives? or is there a tool somewhere
> to interactively update-alternatives? I always thought Debian needed a
> good tool to update alternatives so each entry could have a list of
> installed suggestins, and maybe even not installed suggestins that could
> be installed. Guess I need to make a suggestin to the right place :)
$ update-alternatives --help
Debian update-alternatives 1.10.10.
Copyright (C) 1995 Ian Jackson.
Copyright (C) 2000-2002 Wichert Akkerman
This is free software; see the GNU General Public Licence
version 2 or later for copying conditions. There is NO warranty.
Usage: update-alternatives --install <link> <name> <path> <priority>
[--slave <link> <name> <path>] ...
update-alternatives --remove <name> <path>
update-alternatives --auto <name>
update-alternatives --display <name>
update-alternatives --list <name>
update-alternatives --config <name>
<name> is the name in /etc/alternatives.
<path> is the name referred to.
<link> is the link pointing to /etc/alternatives/<name>.
<priority> is an integer; options with higher numbers are chosen.
Options: --verbose|--quiet --test --help --version
--altdir <directory> --admindir <directory>
$ update-alternatives --display editor
editor - status is manual.
link currently points to /usr/bin/vim
/bin/ae - priority 20
slave editor.1.gz: /usr/man/man1/ae.1.gz
/usr/bin/nvi - priority 19
slave editor.1.gz: /usr/share/man/man1/nvi.1.gz
/bin/elvis-tiny - priority 10
slave editor.1.gz: /usr/share/man/man1/elvis-tiny.1.gz
/bin/ed - priority -100
slave editor.1.gz: /usr/share/man/man1/ed.1.gz
/usr/bin/vim - priority 120
slave editor.1.gz: /usr/share/man/man1/vim.1.gz
/usr/bin/pico - priority 40
slave editor.1.gz: /usr/man/man1/pico.1.gz
/usr/bin/e3em - priority 10
slave editor.1.gz: /usr/share/man/man1/e3em.1.gz
Current `best' version is /usr/bin/vim.
Use --config to change things.
ciao,
der.hans
--=20
# https://www.LuftHans.com/ http://www.AZOTO.org/
# "The illiterate of the 21st century will not be those who cannot read an=
d
# write, but those who cannot learn, unlearn, and relearn." -- Alvin Toffl=
er