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

Re: Potato - update-alternatives (Ian Jackson) and window managers - doubt (and Slink to Potato Success)



Taupter <taupter@baydenet.com.br> writes:

> I was poking update-alternatives, but didn't find a way to point my
> default window manager to /usr/local/bin/gnome-session.

FWIW, gnome-session is not a window manager. If you're sure you want
to do that, you could issue:

update-alternatives --install /usr/bin/x-window-manager \
  x-window-manager /usr/local/bin/gnome-session 90 \
  --slave /usr/share/man/man1/x-window-manager.1.gz \
  x-window-manager.1.gz <path-to-gnome-session-manpage>

(if there is no manpage, leave out the last two lines)

> Yes I did read the man 8 update-alternatives, but it was a bit confusing
> to me (as I think it is a bit confusing to anyone but the man writer aka
> Ian Jackson), since it was not sufficiently explanatory (at least to me.
> Shame on me...).

I agree. Trial-and-error helps.

But I think the better way to do this is to start gnome-session from
your "~/.xinitrc" This way "x-window-manager" will still start a
window manager, not a session manager or whatever.

-- 
Robbe


Reply to: