On Mon, Mar 27, 2000 at 02:11:19AM -0300, Taupter wrote: > I compiled gnome, wmaker and a large bunch of X-related software, and I > was using a file in the /etc/X11/ (I can't remember its name, since it > was deleted during the upgrade) to set my default window manager to > /usr/local/bin/gnome-session. > > When I restarted my computer and ran X (startx), I was in front of a > tiny almost-unuseable window manager. Digging the scripts I found one > symlink (/etc/alternatives/x-window-manager) pointing to that ugly wm. I > removed that symlink, created a new one pointing to > /usr/local/bin/gnome-session. startx went fine. > Till I restarted the computer. > Then, once again, that link was set to /usr/bin/X11/vtwm . What a mess.
Try: $ update-alternatives config x-window-manager > I was poking update-alternatives, but didn't find a way to point my > default window manager to /usr/local/bin/gnome-session. > 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...). This takes a little more work, since you'll have to '--install' the local version first. But, since there are pretty current versions of gnome in potato you might use those. However, $ update-alternatives --install /usr/bin/x-window-manager \ x-window-manager /usr/local/bin/gnome-session 50 \ --slave /usr/share/man/man1/x-window-manager.1.gz \ x-window-manager.1.gz /usr/local/share/man/man1/gnome-session.1x.gz might be close to what you want. -- +----------------------------------------------------+ | Eric G. Miller egm2@jps.net | | GnuPG public key: http://www.jps.net/egm2/gpg.asc | +----------------------------------------------------+