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

Re: how to set default wm?



Dave Sherohman <esper@usinternet.com> writes:

> Benjamin F. Zhou said:
> > My question is: where is the file which controls which wm to start when
> > I type startx from a console?
> 
> /etc/alternatives/x-window-manager is a symlink to your default wm.

You should manage this symlink with the update-alternatives command,
not manually tho.

The easiest thing to do is:

update-alternatives --config x-window-manager

If the window-manager you want is not listed as available you can
install it with:

update-alternatives --install /usr/bin/x-window-manager \
                    x-window-manager /usr/bin/<thewmiwant> PRIORITY

Where PRIORITY is a number higher than the highest existing priority
for the x-window-manager alternative.  You can ge ta list of
priorities with:

update-alternatives --display x-window-manager


-- 
Craig Brozefsky               <craig@red-bean.com>
Lisp Web Dev List  http://www.red-bean.com/lispweb
---  The only good lisper is a coding lisper.  ---



Reply to: