Bug 4631 - Add xkb option for "Disable Caps Lock"
Summary: Add xkb option for "Disable Caps Lock"
Status: RESOLVED WONTFIX
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-28 17:35 UTC by Craig Box
Modified: 2009-01-19 02:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Craig Box 2005-09-28 17:35:03 UTC
Red Hat bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=138225
Ubuntu bug: http://bugzilla.ubuntu.com/show_bug.cgi?id=14366

"In keyboard preferences, there are many options to chance the behavior or Caps
Lock, but there are no options to disable it.  Some users do not use caps lock,
and often accidently hit it.  It would be nice to be able to disable this
functionality."

Raised on GNOME bugzilla: "It is NOTGNOME, all these options are provided by X
server. Could you please file this bug in xorg bugzilla?"
Comment 1 Sergey V. Udaltsov 2005-12-30 13:16:56 UTC
Yes, it is the right place to report this bug. I will have a look at this option
- but if you really want to help and speed up the process, a patch would be nice
to commit...
Comment 2 Myk Dowling 2008-09-15 20:19:08 UTC
I'd just like to add a vote to get this enhancement done. For those of us who find capslock an annoying holdover from bygone ages and who don't want to have to delve under the hood with our desktops, it would be very nice.

I also find it disappointing that this has been sitting for over eighteen months without any progress. Surely it can't be all that complicated? The proposed behaviour for capslock is just "do nothing". All that we would like is just an option in the choices to be added.
Comment 3 James Cloos 2008-09-16 08:21:01 UTC
Using ctrl:nocaps is the typical way to avoid having a caps key;
it turns it into a control key.
Comment 4 Sergey V. Udaltsov 2008-09-16 08:28:11 UTC
Good idea, James. Lads, please use "CAPS as Ctrl" option - and you won't have CAPS any more.

This proposed option is redundant.
Comment 5 Myk Dowling 2008-09-16 13:37:27 UTC
What? No, that is NOT a solution. The problem that I and many other people have with Capslock is that we frequently hit it accidentally. Turning it into a CTRL key may be useful for some people, but it just means a different brand of bizarre, unexpected behaviour. CTRL is stuck down in the far corner of the keyboard for a good reason. This is not a redundant request.

The options I'd like to see available in the GUI (which is the problem here; there are workarounds to do it using commands) are (1) to turn it off completely and (2) to make it act as a shift key, which is usually what people who hit Capslock ACCIDENTALLY are aiming for. 
Comment 6 Sergey V. Udaltsov 2008-09-16 13:49:44 UTC
> What? No, that is NOT a solution. The problem that I and many other people have
> with Capslock is that we frequently hit it accidentally. Turning it into a CTRL
> key may be useful for some people, but it just means a different brand of
> bizarre, unexpected behaviour. CTRL is stuck down in the far corner of the
> keyboard for a good reason. This is not a redundant request.
Occational press of CTRL does not change anything unless you press another button at the same time. So it is harmless for most purposes. I cannot imagine people unintentionally pressing Caps and another key at the same time. Put it onto account of my poor imagination, if you like.

> The options I'd like to see available in the GUI (which is the problem here;
> there are workarounds to do it using commands) are (1) to turn it off
> completely and (2) to make it act as a shift key, which is usually what people
> who hit Capslock ACCIDENTALLY are aiming for. 
I am trying not to overload GUI with overly exotic commands. That's why WONTFIX. You can open a bug regarding #2 if you like - it makes sense to me. Feel free to send the patch.
Comment 7 Myk Dowling 2008-09-17 12:31:15 UTC
> I cannot imagine people unintentionally pressing Caps and another key
> at the same time.

Um, what do you think we're trying to press when we accidentally hit Capslock? 

That would be Shift. 

So with Capslock set to CTRL, if I'm starting to type a sentence where the first word starts with V, for instance, and my little finger accidentally hits CapsLock instead of Shift, I get whatever's in the clipboard pasted in.

There are a fair few people who would like this ability, you know.

Google gives about 226,000 results for "Disable Caps lock Key".

How many potential users do you need to make something not "exotic"?
Comment 8 Sergey V. Udaltsov 2008-09-17 13:47:12 UTC
I will think of it. Funny enough, these days I got simultaneously a couple independent requests for that option.
Comment 9 reinhard 2009-01-15 01:32:03 UTC
(In reply to comment #2 and #8)
> I'd just like to add a vote to get this enhancement done. For those of us who
> find capslock an annoying ...
> 

From a practical point of view I would not see any need to include any extra option. 
A simple  xmodmap -e "clear Lock"   does result in the desired effect reliably. 

I regularly include this in the Gnome Autostarts as a workaround for CapsLock problems.
Comment 10 Myk Dowling 2009-01-19 02:20:14 UTC
That's not what I call a "simple" workaround, but I understand that my suggestion is not being accepted.

What bugs me is that there are plenty of people who clearly want their capslock just turned off, but the maintainers of the software aren't interested in providing the option, in order to make it an actually easy thing to do, without having to search the Internet in order to find out how to use xmodmap. The whole idea of having an "end-user" interface is to hide stuff like xmodmap, but the simple to use interface relies on xkb including the option.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.