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

Re: x : keyboard not working



On Fri, Oct 06, 2017 at 08:37:16PM -0500, David Wright wrote:
> On Fri 06 Oct 2017 at 23:54:36 (+0100), Brian wrote:
> > On Sat 07 Oct 2017 at 09:24:01 +1100, Zenaan Harkness wrote:
> > 
> > > On Fri, Oct 06, 2017 at 11:11:52PM +0100, Brian wrote:
> > > > On Sat 07 Oct 2017 at 08:30:09 +1100, Zenaan Harkness wrote:
> > > > 
> > > > > On Fri, Oct 06, 2017 at 08:37:44PM +0100, Brian wrote:
> > > > > > 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.
> > > > > 
> > > > > I edit /etc/default/keyboard to read as follows (also, lv3 level 3
> > > > > (& 4) shift rocks!):
> > > > > 
> > > > > XKBMODEL="microsoft4000"
> > > > > XKBLAYOUT="libsh"
> > > > > XKBVARIANT="basic"
> > > > > XKBOPTIONS="lv3:lwin_switch,terminate:ctrl_alt_bksp"
> > > > > BACKSPACE="guess"
> > > > 
> > > > A neat, simple edit of a basic file. But, by itself, insufficient to
> > > > resurrect ctrl+alt+backspace.
> > > 
> > > Oh¡ Well that's good to know. I must have the required change (I'm
> > > guessing your xorg.conf.d suggestion) somewhere else in that case,
> 
> That's possible, but unlikely because you seem to be aware that
> /etc/default/keyboard is the best location to set these parameters.
> Let's hope the OP, a VC user, picks up on this.

Yes I too like to have console work as well as x/gui terms (which I
mostly live in TBH).

I've now done this over a dozen times in the last month, and
consistently, this works, to get the extra symbols I'm after - and
yes, the Ctrl-Alt-Bksp to terminate X, but, running this afterwards:

  sudo dpkg-reconfigure xkb-data keyboard-configuration

Perhaps this is the bit that some folks might have missed...

And finally, from a straight Linux console, I also run this:

  sudo setupcon

Voi la.


Now the funky bit is the line you see above in my
/etc/default/keyboard as follows:

  XKBLAYOUT="libsh"

which means “use custom keyboard layout file named as follows:
  /usr/share/X11/xkb/symbols/libsh
”

which file is a file I created by copying
/usr/share/X11/xkb/symbols/us

and modifying to taste - taste some juicy Unicode characters not
otherwise readily accessible, like love hearts ♥ for example :)

Happy frollicking,


Reply to: