Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2011 20:56:00 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X server and xinit works excellent....almost.
Message-ID:  <20111108205600.7a8e0205.freebsd@edvax.de>
In-Reply-To: <alpine.BSF.2.00.1111080806260.70888@wonkity.com>
References:  <4EB88225.9020702@bredband.net> <alpine.BSF.2.00.1111080806260.70888@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Nov 2011 08:14:48 -0700 (MST), Warren Block wrote:
> On Tue, 8 Nov 2011, Samuel Magnusson wrote:
> 
> > 1.  I can?t zap the server with Ctrl-Alt-Backspace. Nothing at all happens. I 
> > have checked that it isn't disabled in xorg.conf, and even tried to put in 
> > the reverse boolean value there.  Not that I couldn't live without zapping, 
> > but...when I know about it that it should be there and it is taken fom me I 
> > feel an URGE to get the zap!
> 
> Zapping is still allowed by default, but a key combination is not 
> assigned.  That can be done in .xinitrc or .xsession:
> 
>    setxkbmap -option terminate:ctrl_alt_bksp
> 
> It can also be done in xorg.conf:
> 
>    Section "InputDevice"
>           Identifier  "Keyboard0"
>           Driver      "kbd"
>           Option      "XkbOptions" "terminate:ctrl_alt_bksp"
>    EndSection

There is a 3rd option, especially "useful" when X is run
with DBUS and HAL (the default configuration, as well as
the package configuration), and it involves fun with XML. :-)

File /usr/local/etc/hal/fdi/policy/x11-input.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keyboard">
      <merge key="input.x11_options.XkbOptions" type="string">terminate:ctrl_alt_bksp</merge>
    </match>
  </device>
</deviceinfo>

And according to the handbook, this does _not_ remove the
need for a X configuration file (usually /etc/X11/xorg.conf)
including ``Option "DontZap" "off"'' in the "ServerFlags"
section.

So, as you're already dealing with xorg.conf, use Warren's
suggestion, as it works independently of all the "new"
things required by X, and also conforms to the concept
of concentrating X's configuration in one configuration
file (rather than scattering settings across the file
system).



> vesa is very limited, only supporting standard modes up to 1024x768 or 
> 1280x1024.  Some vendors add other modes, but they aren't common. 
> nouveau is an open driver for the very closed Nvidia hardware.  The 
> closed Nvidia drivers (x11/nvidia-driver*) are supposed to work quite 
> well.

I'm using nvidia-driver here which works better than
nouveau and nv (the one that comes with X.org); I haven't
tested VESA as in most cases, it's _not_ what one wants.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111108205600.7a8e0205.freebsd>