Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Manolis Kiagias
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.html

 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=1.0 encoding=UTF-8?
 deviceinfo version=0.2
   device
 match key=info.capabilities contains=input.keyboard
   merge key=input.x11_driver  type=stringkbd/merge
   merge key=input.xkb.Model   type=stringpc105/merge
   merge key=input.xkb.Layout  type=stringus/merge
   merge key=input.xkb.Rules   type=stringxorg/merge
   merge key=input.xkb.Options
type=stringterminate: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-unsubscr...@freebsd.org


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Wojciech Puchar

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.html

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=1.0 encoding=UTF-8?
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.keyboard
  merge key=input.x11_driver  type=stringkbd/merge
  merge key=input.xkb.Model   type=stringpc105/merge
  merge key=input.xkb.Layout  type=stringus/merge
  merge key=input.xkb.Rules   type=stringxorg/merge
  merge key=input.xkb.Options
type=stringterminate: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-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Luke Dean



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.html

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=1.0 encoding=UTF-8?
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.keyboard
  merge key=input.x11_driver  type=stringkbd/merge
  merge key=input.xkb.Model   type=stringpc105/merge
  merge key=input.xkb.Layout  type=stringus/merge
  merge key=input.xkb.Rules   type=stringxorg/merge
  merge key=input.xkb.Options
type=stringterminate: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.


Oh, okay.  I'm not running HAL and I do have AllowEmptyInput and
AutoAddDevices off, so just modifying the xorg.conf was enough
for me.
So far I've avoided HAL because it seems complicated and scary,
and I don't know what the benefits of using it would be aside
from some automounting tricks that I can live without.  It does seem
to be the wave of the future however, so any documentation that might
help ease me into that transition would be appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Samuel Martín Moro
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ín Moro
CamTrace
{EPITECH.} tek3


On Sun, Jun 7, 2009 at 7:48 PM, Wojciech Puchar 
woj...@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.html

 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=1.0 encoding=UTF-8?
 deviceinfo version=0.2
  device
match key=info.capabilities contains=input.keyboard
  merge key=input.x11_driver  type=stringkbd/merge
  merge key=input.xkb.Model   type=stringpc105/merge
  merge key=input.xkb.Layout  type=stringus/merge
  merge key=input.xkb.Rules   type=stringxorg/merge
  merge key=input.xkb.Options
 type=stringterminate: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-unsubscr...@freebsd.org


  ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Manolis Kiagias
Wojciech Puchar wrote:
 can older Xorg server be used with just updated drivers?
 drivers are separate modules.


Never tried, but the way Xorg is going this looks kind of frightening ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Wojciech Puchar

Wojciech Puchar wrote:

can older Xorg server be used with just updated drivers?
drivers are separate modules.



Never tried, but the way Xorg is going this looks kind of frightening ;)


that's why i'm asking. To do it that way in port system, because Xorg 
started to follow linux way and kde/gnome way i.e.


- adding hald as a requirement by default
- disabling CTRL-ALT-backspace by default - of course user should not 
leave X session, it's forbidden ;)


it's not funny, because while i don't use all these KDE/gnome things, i do 
need X.


Actually X11 isn't quite unix philosophy, it should be graphics support in 
console driver, but it's not possible to do it now with so many gfx cards.



I wonder how long it will take that we will have to build our own 
computer to be able to run unix normally. Maybe someone will do, using off 
the shelf CPUs, and quite simple gfx controller.
Actually not many unix users do need all these 3D functions. most just 
need framebuffer with 2D acceleration.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Shutting down X with control+alt+backspace

2009-06-06 Thread Luke Dean


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.html


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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Shutting down X with control+alt+backspace

2009-06-06 Thread Manolis Kiagias
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.html

 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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org