Re: Disable left-ctrl?

2019-03-20 Thread Anders Andersson
On Wed, Mar 20, 2019 at 4:42 PM Selim T. Erdoğan
 wrote:
> On Mon, Jan 28, 2019 at 06:16:32PM -0500, Boyan Penkov wrote:
> > I am now writing my thesis, and have the genesis of some pretty
> > significant EMACs pinky.  (I use my left pinky for the left ctrl most
> > of the time, which is setting me up for failure.).
> >
> > To this end, I’d like to disable the left ctrl key only, and force
> > my brain to use the right one.  Better yet, I’d like the screen to
> > flash or something then I inadvertently hit left-ctrl.
>
> Have you tried making the Caps Lock key function as a Ctrl key?
> It makes things much easier on pinkies.

This is the only valid answer and is often easy to do in Linux (Gnome
Tweaks has a simple checkbox for this). I have to do it on every
computer I use with a PC keyboard. On a *real* computer, the control
key is placed in a sensible location, see for example
http://xahlee.info/kbd/i/kb/sun_keyboard_left.jpg or
https://upload.wikimedia.org/wikipedia/commons/f/fc/Amiga_1200_Nahaufnahme.jpg

I would like to have a long talk in a locked room with the person who
thought that HEY IM AN IMPORTANT MANAGER AND I ALWAYS TYPE IN CAPS SO
LETS PUT CAPS LOCK IN THE MOST PROMINENT POSITION.



Re: Disable left-ctrl?

2019-03-20 Thread Selim T . Erdoğan
On Mon, Jan 28, 2019 at 06:16:32PM -0500, Boyan Penkov wrote:
> 
> I am now writing my thesis, and have the genesis of some pretty 
> significant EMACs pinky.  (I use my left pinky for the left ctrl most 
> of the time, which is setting me up for failure.).
> 
> To this end, I’d like to disable the left ctrl key only, and force 
> my brain to use the right one.  Better yet, I’d like the screen to 
> flash or something then I inadvertently hit left-ctrl.
> 
> Any thoughts?

Have you tried making the Caps Lock key function as a Ctrl key?
It makes things much easier on pinkies.



Re: Disable left-ctrl?

2019-01-28 Thread James H. H. Lampert

On 1/28/19, 3:16 PM, Boyan Penkov wrote:
> To this end, I’d like to disable the left ctrl key only, and force my
> brain to use the right one.  Better yet, I’d like the screen to flash
> or something then I inadvertently hit left-ctrl.

Just two thoughts occur to me:

1) On a 5250 data stream terminal tied to an IBM Midrange system, 
(AS/400, iSeries, System i, or whatever IBM is calling it this week), 
"Error Reset" is in the left-ctrl position, and "Enter" is in the 
right-ctrl position. I've written most of the user-interface code for a 
Java-based 5250 emulator. It's certainly possible to write code that 
accesses the keyboard at a low enough level to completely remap it. But 
for your purposes, the place for such low-level remapping code is 
probably in a keyboard driver.


2) When I was still using a WinDoze box with any regularity, and had a 
keyboard with "WinDoze keys" connected to it, I stuffed rolled up pieces 
of paper under those keys, in order to physically interdict them.


--
JHHL



Re: Disable left-ctrl?

2019-01-28 Thread Nitebirdz
On Mon, Jan 28, 2019 at 06:16:32PM -0500, Boyan Penkov wrote:
> Hey folks,
> 
> I am now writing my thesis, and have the genesis of some pretty significant
> EMACs pinky.  (I use my left pinky for the left ctrl most of the time, which 
> is
> setting me up for failure.).
> 
> To this end, I’d like to disable the left ctrl key only, and force my brain to
> use the right one.  Better yet, I’d like the screen to flash or something then
> I inadvertently hit left-ctrl.
> 
> Any thoughts?
> 

The following may be of some help:

https://ubuntuforums.org/showthread.php?t=994066


According to that exchange, the following command should do the trick:

 $ xmodmap -e "remove Control = Control_L"


Obviously, to make that permanent you should add it to your
"~/.xsessionrc" or something similar.

-- 
Nitebirdz
http://www.sacredchaos.com/



Disable left-ctrl?

2019-01-28 Thread Boyan Penkov
Hey folks,

I am now writing my thesis, and have the genesis of some pretty significant 
EMACs pinky.  (I use my left pinky for the left ctrl most of the time, which is 
setting me up for failure.).

To this end, I’d like to disable the left ctrl key only, and force my brain to 
use the right one.  Better yet, I’d like the screen to flash or something then 
I inadvertently hit left-ctrl.

Any thoughts?

Cheers!
--
Boyan Penkov
www.boyanpenkov.com