Web lists-archives.com

Re: x : keyboard not working




On Fri 06 Oct 2017 at 18:57:31 (-0400), Felix Miata wrote:
> Brian composed on 2017-10-06 23:31 (UTC+0100):
> 
> > On Fri 06 Oct 2017 at 16:37:22 -0400, Felix Miata wrote:
> 
> >> Brian composed on 2017-10-06 20:37 (UTC+0100):
> 
> >> > On Fri 06 Oct 2017 at 21:19:28 +0530, Mayuresh Kathe wrote:
> 
> >> >> for that matter, even "ctrl+alt+backspace" doesn't work to shutdown the
> >> >> x server. :(
> 
> >> > This disappeared from xorg many, many years ago. But it can be re-enabled
> >> > in Debian. An XKBOPTIONS options is what you look for if you really want
> >> > it. 
> 
> >> It only disappeared as a default. It was switched to an option. I use the same
> >> method to enable in Debian that works in Fedora and elsewhere:
> 
> >> # /etc/X11/xorg.conf.d/00-keyboard.conf
> >> Section "InputClass"
> >>         Identifier "system-keyboard"
> >>         MatchIsKeyboard "on"
> >>         Option "XkbLayout" "us"
> >>         Option "XkbOptions" "terminate:ctrl_alt_bksp"
> >> EndSection
> 
> > 'setxbdmap -option "terminate:ctrl_alt_bksp"' in ~/.xsession is less
> > typing and more user-friendly. 
> 
> 1-That was an "as-is" copy from Fedora on a multiboot system, much easier than
> typing in an ~/.xsession file that didn't exist. I have no idea whether the
> match or layout lines would be necessary in Debian.
> 
> 2-Keyword: "user-friendly". /etc/X11/xorg.conf.d/00-keyboard.conf is global
> configuration, vs. user-specific ~/.xsession.

I don't understand why you want to do it this way. Debian unified
/etc/default/keyboard so that the values specified there are used
in both the VCs and X.

I stated this only a few days ago (thread: Make CapsLock an additional
Escape key) and it seems even more pertinent here because the OP
really wanted to be using the VC, not X. (We've had no feedback to
my suggestion that they use setfont to increase the font size, Duh.)

Cheers,
David.