[aklug] Re: Debian Jessie on PowerBook G4: Caps Lock

From: Tim Johnson <tim@akwebsoft.com>
Date: Sat Dec 03 2016 - 07:44:17 AKST

* Christopher Howard <christopher.howard@qlfiles.net> [161202 22:14]:
> Hi list. Somebody gave me a PowerBook G4, which I was eager to put to
> good use, because the battery actually holds a charge (I have a growing
> collection of ancient laptops that DON'T). I installed Debian Jessie
> 8.6.0 PowerPC onto to it, running the MATE desktop, which on the whole
> seems to be working fine. However, I've run into one really annoying
> snag: I want to change CAPS LOCK key to CTRL, but no matter how I adjust
> the MATE keyboard layout options, it doesn't work. I can get it to stop
> acting as the CAPS LOCK key, but not to do CTRL. This is a super pain
> for me because I'm constantly using CTRL-f, CTRL-b, etc. in Emacs and
> the bash command-line, etc. Does anybody know anything special about
> PowerBooks or Macs generally that might help me figure this out?

  Chris: I know nothing about the hardware and I use ubuntu - which
  is a debian derivative.

  The last distributions of ubuntu (as opposed to xubunut, lubuntu)
  have presented special challenges to me when remapping with
  xmodmap.

  For some reason, if I put my xmodmap commands sequentially in a
  script file I get error messages. Thus my working script file
  looks like this in part:

  xmodmap -e 'clear Lock'
  xmodmap -e 'keycode 66 = Control_L'
  xmodmap -e 'add Control = Control_L'
  xmodmap -e 'keycode 173 = Caps_Lock'

  # instead of

  clear Lock
  keycode 66 = Control_L
  add Control = Control_L
  keycode 173 = Caps_Lock
 
  So, have you tried using xmodmap directly, first from the command
  line and then bundling commands either into a script or
  consecutive -s options?
  

-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sat Dec 3 07:44:41 2016

This archive was generated by hypermail 2.1.8 : Sat Dec 03 2016 - 07:44:41 AKST