On Mon, Aug 07, 2000 at 11:36:12PM -0300, Rogerio Brito wrote: > On Aug 07 2000, [email protected] wrote: > > Can someone give me an example or two for how to change perferences > > under /etc/alternatives using update-alternatives? > > Ok. To make a system work correctly, you'd do: > > apt-get update > apt-get -y install emacs20 :-) > update-alternatives --install /usr/bin/editor editor /usr/bin/emacs 1000 > > To break your system, you'd do something like: > > update-alternatives --remove editor /usr/bin/emacs > > :-) > > > Pointers? > > Seriously now, is that what you were asking for?
Not quite, I think.
The above will add "emacs" into the list of available alternatives for
"editor". By what divers black majik a particular application is chosen
I'm not sure.
In my current case, I want to specify an editor (vim) and a window
manager (windowmaker)
x-window-manager - status is auto.
link currently points to /usr/bin/X11/fvwm2
/usr/bin/X11/twm - priority 40
slave x-window-manager.1.gz: /usr/X11R6/man/man1/twm.1x.gz
/usr/bin/X11/fvwm2 - priority 50
slave x-window-manager.1.gz: /usr/X11R6/man/man1/fvwm2.1.gz
/usr/bin/kde - priority 10
/usr/bin/X11/vtwm - priority 40
slave x-window-manager.1.gz: /usr/X11R6/man/man1/vtwm.1x.gz
/usr/X11R6/bin/wmaker - priority 50
slave x-window-manager.1.gz: /usr/X11R6/man/man1/wmaker.1x.gz
/usr/bin/enlightenment - priority 50
slave x-window-manager.1.gz: /usr/share/man/man1/enlightenment.1.gz
/usr/bin/sawmill - priority 20
/usr/bin/blackbox - priority 50
slave x-window-manager.1.gz: /usr/share/man/man1/blackbox.1.gz
Current `best' version is /usr/bin/X11/fvwm2.
...what is the "correct" way to have "wmaker" be "Current 'best'
version"?
--
Karsten M. Self <[email protected]> http://www.netcom.com/~kmself
Evangelist, Opensales, Inc. http://www.opensales.org
What part of "Gestalt" don't you understand? Debian GNU/Linux rocks!
http://gestalt-system.sourceforge.net/ K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
pgpq9BQMXuZt0.pgp
Description: PGP signature

