Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 2009 19:58:58 +0200
From:      =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= <faust64@gmail.com>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        Manolis Kiagias <sonicy@otenet.gr>, freebsd-questions@freebsd.org, Luke Dean <LukeD@pobox.com>
Subject:   Re: Shutting down X with control+alt+backspace
Message-ID:  <ce5f79aa0906071058p306ad83etbe0e25ad365bbaab@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.0906071948060.99901@wojtek.tensor.gdynia.pl>
References:  <alpine.BSF.2.00.0906052240310.52250@border.lukas.is-a-geek.org>  <4A2A1A30.30000@otenet.gr> <4A2BEA9F.2040009@otenet.gr> <alpine.BSF.2.00.0906071948060.99901@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
it may, dealing with portupgrade/portdowngrade
but setting AllowEmptyInput (ServerLayout) works.

hal is'nt well documented...
it'ld be a good idea to explain its configuration in the handbook


Samuel Mart=EDn Moro
CamTrace
{EPITECH.} tek3


On Sun, Jun 7, 2009 at 7:48 PM, Wojciech Puchar <
wojtek@wojtek.tensor.gdynia.pl> wrote:

> can older Xorg server be used with just updated drivers?
> drivers are separate modules.
>
>
> On Sun, 7 Jun 2009, Manolis Kiagias wrote:
>
>  Manolis Kiagias wrote:
>>
>>> Luke Dean wrote:
>>>
>>>  This is an answer to a question I started to post, but then decided to
>>>> research instead.  I know many readers of this list use the feature I'=
m
>>>> describing.
>>>>
>>>> When Xorg was upgraded to version 7.4, the historic ability to shut
>>>> down X
>>>> with Control+Alt+Backspace became a non-default option.  The solution =
to
>>>> re-enabling this behavior was to add
>>>>    Option "DontZap" "off"
>>>> to the ServerLayout or ServerFlags section of xorg.conf as documented =
in
>>>> a note in the Handbook
>>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.htm=
l
>>>>
>>>> A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the
>>>> solution
>>>> in the Handbook is no longer sufficient.
>>>>
>>>> The new solution that gets Control+Alt+Backspace working for me
>>>> again is to add
>>>>    Option  "XKbOptions" "terminate:ctrl_alt_bksp"
>>>> to the "InputDevice" section of xorg.conf.
>>>>
>>>>
>>>>
>>> Thanks for mentioning this. I have not yet upgraded to the new version
>>> of xkeyboard-config, but will try this and update the Handbook
>>> accordingly.
>>>
>>>
>>>
>> This gets even more complicated - the setting in xorg.conf will only be
>> effective when "AutoAddDevices" is false (or "AllowEmptyInput" is
>> false).  On systems that totally rely on HAL for device detection, the
>> setting has to be moved to an XML file like this:
>>
>> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
>> <deviceinfo version=3D"0.2">
>>  <device>
>>    <match key=3D"info.capabilities" contains=3D"input.keyboard">
>>      <merge key=3D"input.x11_driver"  type=3D"string">kbd</merge>
>>      <merge key=3D"input.xkb.Model"   type=3D"string">pc105</merge>
>>      <merge key=3D"input.xkb.Layout"  type=3D"string">us</merge>
>>      <merge key=3D"input.xkb.Rules"   type=3D"string">xorg</merge>
>>      <merge key=3D"input.xkb.Options"
>> type=3D"string">terminate:ctrl_alt_bksp</merge>
>>    </match>
>>  </device>
>> </deviceinfo>
>>
>> which should be named i.e. keyboard.fdi and placed in
>> /usr/local/etc/hal/fdi/policy
>>
>> In light of the above, I feel we probably need to add a section on
>> "Configuring Additional Options Using HAL" to the Handbook.
>>
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe@freebsd.org"
>>
>>
>>  _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



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