[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]



On Mon, Jun 29, 2020 at 07:15:56AM -0500, Richard Owlett wrote:
> On 06/28/2020 09:36 AM, echo test wrote:
> >Hello,
> >
> >If you want the desktop environment to be started automatically check that
> >systemd is configured to run in graphical environment
> >
> >  $> systemctl set-default graphical.target
> >
> >If this is already setup, and you can launch your DE with startx, check also
> >that mate is the default DE with update-alternatives(8) or you can add the
> >startx command in /etc/profile.
> >
> 
> That manpage was intriguing, if not educational. I went searching
> for "update-alternatives tutorials". They all referenced Ubuntu and
> each covered only one instance.

FWIW, update-alternatives isn't (directly) related to the other
topics upstream.

It's intended to manage groups of workalike "applications", for example
bash, dash, etc. as alternatives to sh, or vim, elvis as alternatives
for vi.

It does so by juggling symlinks somewhere in /etc/alternatives. It's
smart enough to also juggle the relevant man pages, so that if you,
e.g. use "vim" for "vi", "man vi" will show you the vim man page.

> I'm looking for something that aims to answer "What can
> update-alternatives do for me today?". IOW the manpage gives fine
> details but no sense of perspective.

See "man update-alternatives", or this entry [1] in the Debian
wiki.

It's a Debian-specific thing.

What alternatives does for you? Mostly it does its job silently,
without complaining ;-)

Cheers

[1] https://wiki.debian.org/DebianAlternatives
-- t

Attachment: signature.asc
Description: Digital signature


Reply to: