public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X?
@ 2011-04-05 18:46 meino.cramer
  2011-04-05 19:01 ` Volker Armin Hemmann
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: meino.cramer @ 2011-04-05 18:46 UTC (permalink / raw
  To: Gentoo


Hi,

I am using a recent gentoo (updated on a nearly daily basis).
For me the CAPSLOCK-function is totally useless and I want
to deactivate it as soon as possible to ACCIDENTLY SWITCH
ANYthing uppeRCASE. ;)

Is there any way to acchieve this -- it would greatly improve
my typing...

Thank you very much for any help in advance!
Best regards
mcc




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 18:46 [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X? meino.cramer
@ 2011-04-05 19:01 ` Volker Armin Hemmann
  2011-04-05 19:03 ` [gentoo-user] " Hartmut Figge
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 16+ messages in thread
From: Volker Armin Hemmann @ 2011-04-05 19:01 UTC (permalink / raw
  To: gentoo-user

On Tuesday 05 April 2011 20:46:40 meino.cramer@gmx.de wrote:
> Hi,
> 
> I am using a recent gentoo (updated on a nearly daily basis).
> For me the CAPSLOCK-function is totally useless and I want
> to deactivate it as soon as possible to ACCIDENTLY SWITCH
> ANYthing uppeRCASE. ;)
> 
> Is there any way to acchieve this -- it would greatly improve
> my typing...
> 
> Thank you very much for any help in advance!
> Best regards
> mcc

you can euther edit the keyboard description you are using or you can use 
xmodmap and map whatever you want unto caps lock-.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 18:46 [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X? meino.cramer
  2011-04-05 19:01 ` Volker Armin Hemmann
@ 2011-04-05 19:03 ` Hartmut Figge
  2011-04-05 19:55 ` Grant Edwards
  2011-04-05 21:11 ` [gentoo-user] " Kfir Lavi
  3 siblings, 0 replies; 16+ messages in thread
From: Hartmut Figge @ 2011-04-05 19:03 UTC (permalink / raw
  To: gentoo-user

meino.cramer@gmx.de:

> I am using a recent gentoo (updated on a nearly daily basis).
> For me the CAPSLOCK-function is totally useless and I want
> to deactivate it as soon as possible to ACCIDENTLY SWITCH
> ANYthing uppeRCASE. ;)

For some time i a had replaced Caps_Lock with the compose key until i
missed it in Gothic 2. ;)

Section "InputDevice"
[...]
# Option    "XkbOptions"  "compose:caps"
EndSection

> Is there any way to acchieve this -- it would greatly improve
> my typing...

Should be possible after some investigation. Perhaps somebody knows
already. :)

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




^ permalink raw reply	[flat|nested] 16+ messages in thread

* [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 18:46 [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X? meino.cramer
  2011-04-05 19:01 ` Volker Armin Hemmann
  2011-04-05 19:03 ` [gentoo-user] " Hartmut Figge
@ 2011-04-05 19:55 ` Grant Edwards
  2011-04-05 20:08   ` Bill Longman
  2011-04-05 23:19   ` meino.cramer
  2011-04-05 21:11 ` [gentoo-user] " Kfir Lavi
  3 siblings, 2 replies; 16+ messages in thread
From: Grant Edwards @ 2011-04-05 19:55 UTC (permalink / raw
  To: gentoo-user

On 2011-04-05, meino.cramer@gmx.de <meino.cramer@gmx.de> wrote:

> I am using a recent gentoo (updated on a nearly daily basis).
> For me the CAPSLOCK-function is totally useless and I want
> to deactivate it as soon as possible to ACCIDENTLY SWITCH
> ANYthing uppeRCASE. ;)

Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
key:

    Section "InputClass"
        Identifier "keyboard-all"
        Driver "evdev"
        Option "XkbOptions"  "ctrl:nocaps,compose:ralt,terminate:ctrl_alt_bksp"
        MatchIsKeyboard "on"
    EndSection

It also turns the right-hand ALT key into a compose key and enables
ctrl-alt-backspace as the termination sequence for the X server.

-- 
Grant Edwards               grant.b.edwards        Yow! WHOA!!  Ken and Barbie
                                  at               are having TOO MUCH FUN!!
                              gmail.com            It must be the NEGATIVE
                                                   IONS!!




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 19:55 ` Grant Edwards
@ 2011-04-05 20:08   ` Bill Longman
  2011-04-05 20:27     ` Paul Hartman
  2011-04-05 23:19   ` meino.cramer
  1 sibling, 1 reply; 16+ messages in thread
From: Bill Longman @ 2011-04-05 20:08 UTC (permalink / raw
  To: gentoo-user

On 04/05/2011 12:55 PM, Grant Edwards wrote:
> On 2011-04-05, meino.cramer@gmx.de <meino.cramer@gmx.de> wrote:
> Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
> key:

Here's what I use:

screwdriver

:-/




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 20:08   ` Bill Longman
@ 2011-04-05 20:27     ` Paul Hartman
  2011-04-05 21:10       ` Bill Longman
  0 siblings, 1 reply; 16+ messages in thread
From: Paul Hartman @ 2011-04-05 20:27 UTC (permalink / raw
  To: gentoo-user

On Tue, Apr 5, 2011 at 3:08 PM, Bill Longman <bill.longman@gmail.com> wrote:
> On 04/05/2011 12:55 PM, Grant Edwards wrote:
>> On 2011-04-05, meino.cramer@gmx.de <meino.cramer@gmx.de> wrote:
>> Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
>> key:
>
> Here's what I use:
>
> screwdriver

I bought a $5 keyboard that was not bad, but the layout had "sleep",
"wake", "power" keys between the Del/End/PgDn row and the arrow keys.
In Linux, of course, the keys didn't actually do anything, but
physically they still annoyed me because there should not be keys
there! So I remove them with a screwdriver. :)

I can't imagine using it if those keys actually shutdown the machine.
Such a horrible placement.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 20:27     ` Paul Hartman
@ 2011-04-05 21:10       ` Bill Longman
  0 siblings, 0 replies; 16+ messages in thread
From: Bill Longman @ 2011-04-05 21:10 UTC (permalink / raw
  To: gentoo-user

On 04/05/2011 01:27 PM, Paul Hartman wrote:
> I bought a $5 keyboard that was not bad, but the layout had "sleep",
> "wake", "power" keys between the Del/End/PgDn row and the arrow keys.
> In Linux, of course, the keys didn't actually do anything, but
> physically they still annoyed me because there should not be keys
> there! So I remove them with a screwdriver. :)
> 
> I can't imagine using it if those keys actually shutdown the machine.
> Such a horrible placement.

I have this brain-dead HP keyboard that has this:

+----+  +-----+
|Ins |  |Pause|
+----+  +-----+

+----+  +-----+
|Home|  | End |
+----+  +-----+
+----+  +-----+
|    |  |PgUp |
|    |  +-----+
|Del |  +-----+
|    |  |PgDn |
+----+  +-----+

above the direction keys. It's such a PITA...keep away.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 18:46 [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X? meino.cramer
                   ` (2 preceding siblings ...)
  2011-04-05 19:55 ` Grant Edwards
@ 2011-04-05 21:11 ` Kfir Lavi
  3 siblings, 0 replies; 16+ messages in thread
From: Kfir Lavi @ 2011-04-05 21:11 UTC (permalink / raw
  To: gentoo-user; +Cc: meino.cramer

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

On Tue, Apr 5, 2011 at 9:46 PM, <meino.cramer@gmx.de> wrote:

>
> Hi,
>
> I am using a recent gentoo (updated on a nearly daily basis).
> For me the CAPSLOCK-function is totally useless and I want
> to deactivate it as soon as possible to ACCIDENTLY SWITCH
> ANYthing uppeRCASE. ;)
>
> Is there any way to acchieve this -- it would greatly improve
> my typing...
>
> Thank you very much for any help in advance!
> Best regards
> mcc
>
>
> I'm using CAPS to switch from English to Hebrew. I don't use xorg.conf to
do it.
I use  this commands in the startup script of fluxbox:
setxkbmap -option &
setxkbmap -option grp:switch,grp:caps_toggle,grp_led:scroll us,il &

So you can use setxkbmap to check configuration and then apply it to
xorg.conf.

Regards,
Kfir

[-- Attachment #2: Type: text/html, Size: 1141 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 19:55 ` Grant Edwards
  2011-04-05 20:08   ` Bill Longman
@ 2011-04-05 23:19   ` meino.cramer
  2011-04-06  3:37     ` Bill Longman
                       ` (2 more replies)
  1 sibling, 3 replies; 16+ messages in thread
From: meino.cramer @ 2011-04-05 23:19 UTC (permalink / raw
  To: gentoo-user

Grant Edwards <grant.b.edwards@gmail.com> [11-04-06 01:02]:
> On 2011-04-05, meino.cramer@gmx.de <meino.cramer@gmx.de> wrote:
> 
> > I am using a recent gentoo (updated on a nearly daily basis).
> > For me the CAPSLOCK-function is totally useless and I want
> > to deactivate it as soon as possible to ACCIDENTLY SWITCH
> > ANYthing uppeRCASE. ;)
> 
> Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
> key:
> 
>     Section "InputClass"
>         Identifier "keyboard-all"
>         Driver "evdev"
>         Option "XkbOptions"  "ctrl:nocaps,compose:ralt,terminate:ctrl_alt_bksp"
>         MatchIsKeyboard "on"
>     EndSection
> 
> It also turns the right-hand ALT key into a compose key and enables
> ctrl-alt-backspace as the termination sequence for the X server.
> 
> -- 
> Grant Edwards               grant.b.edwards        Yow! WHOA!!  Ken and Barbie
>                                   at               are having TOO MUCH FUN!!
>                               gmail.com            It must be the NEGATIVE
>                                                    IONS!!
> 
> 

Thank you for all the nice ideas  --  for some reason I like the
xorg.conf method best :)

Is it possible to map the CAPSLOCK to simply nothing?

Best regards
mcc





^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 23:19   ` meino.cramer
@ 2011-04-06  3:37     ` Bill Longman
  2011-04-06 15:14       ` Gregory Fontenele
  2011-04-06 20:26     ` Remy Blank
  2011-04-06 20:28     ` Remy Blank
  2 siblings, 1 reply; 16+ messages in thread
From: Bill Longman @ 2011-04-06  3:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 96 bytes --]

Maybe switch it to just a shift key?

And I really *do* like the idea of language switch, Kfir!

[-- Attachment #2: Type: text/html, Size: 139 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-06  3:37     ` Bill Longman
@ 2011-04-06 15:14       ` Gregory Fontenele
  2011-04-07 18:18         ` Volker Armin Hemmann
  0 siblings, 1 reply; 16+ messages in thread
From: Gregory Fontenele @ 2011-04-06 15:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

want to leave this list but I can not, can someone erase me from this list?

On Wed, Apr 6, 2011 at 00:37, Bill Longman <bill.longman@gmail.com> wrote:

> Maybe switch it to just a shift key?
>
> And I really *do* like the idea of language switch, Kfir!
>
>


-- 
Atenciosamente,
Gregory Fontenele

[-- Attachment #2: Type: text/html, Size: 697 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 23:19   ` meino.cramer
  2011-04-06  3:37     ` Bill Longman
@ 2011-04-06 20:26     ` Remy Blank
  2011-04-06 20:28     ` Remy Blank
  2 siblings, 0 replies; 16+ messages in thread
From: Remy Blank @ 2011-04-06 20:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

meino.cramer@gmx.de wrote:
> Is it possible to map the CAPSLOCK to simply nothing?

I use the following:

  Option "XkbOptions" "terminate:ctrl_alt_bksp,caps:none"

-- Remy


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-05 23:19   ` meino.cramer
  2011-04-06  3:37     ` Bill Longman
  2011-04-06 20:26     ` Remy Blank
@ 2011-04-06 20:28     ` Remy Blank
  2011-04-07  2:28       ` meino.cramer
  2 siblings, 1 reply; 16+ messages in thread
From: Remy Blank @ 2011-04-06 20:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

meino.cramer@gmx.de wrote:
> Thank you for all the nice ideas  --  for some reason I like the
> xorg.conf method best :)

And while you're at it, add the following lines to your
/etc/conf.d/local.start, so that caps lock is disabled on the console, too:

# Disable caps lock
loadkeys <<EOF
$(dumpkeys | head -n 1)
keycode 58 =
EOF

-- Remy


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-06 20:28     ` Remy Blank
@ 2011-04-07  2:28       ` meino.cramer
  0 siblings, 0 replies; 16+ messages in thread
From: meino.cramer @ 2011-04-07  2:28 UTC (permalink / raw
  To: gentoo-user

Remy Blank <remy.blank@pobox.com> [11-04-07 03:48]:
> meino.cramer@gmx.de wrote:
> > Thank you for all the nice ideas  --  for some reason I like the
> > xorg.conf method best :)
> 
> And while you're at it, add the following lines to your
> /etc/conf.d/local.start, so that caps lock is disabled on the console, too:
> 
> # Disable caps lock
> loadkeys <<EOF
> $(dumpkeys | head -n 1)
> keycode 58 =
> EOF
> 
> -- Remy
> 

Thanks a lot for all your help ! :)

It is so much better without this CAPSLOCK...

Best regards
mcc






^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-06 15:14       ` Gregory Fontenele
@ 2011-04-07 18:18         ` Volker Armin Hemmann
  2011-04-07 20:34           ` Bill Longman
  0 siblings, 1 reply; 16+ messages in thread
From: Volker Armin Hemmann @ 2011-04-07 18:18 UTC (permalink / raw
  To: gentoo-user

On Wednesday 06 April 2011 12:14:14 Gregory Fontenele wrote:
> want to leave this list but I can not, can someone erase me from this list?
> 
> On Wed, Apr 6, 2011 at 00:37, Bill Longman <bill.longman@gmail.com> wrote:
> > Maybe switch it to just a shift key?
> > 
> > And I really *do* like the idea of language switch, Kfir!

read the fucking header OR go to gentoo.org and look at the site about mailing 
lists. All the instructions are there.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
  2011-04-07 18:18         ` Volker Armin Hemmann
@ 2011-04-07 20:34           ` Bill Longman
  0 siblings, 0 replies; 16+ messages in thread
From: Bill Longman @ 2011-04-07 20:34 UTC (permalink / raw
  To: gentoo-user

On 04/07/2011 11:18 AM, Volker Armin Hemmann wrote:
> On Wednesday 06 April 2011 12:14:14 Gregory Fontenele wrote:
>> want to leave this list but I can not, can someone erase me from this list?
>>
>> On Wed, Apr 6, 2011 at 00:37, Bill Longman <bill.longman@gmail.com> wrote:
>>> Maybe switch it to just a shift key?
>>>
>>> And I really *do* like the idea of language switch, Kfir!
> 
> read the fucking header OR go to gentoo.org and look at the site about mailing 
> lists. All the instructions are there.
> 

If you are unable to view your mail headers, here are the germane ones:

List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-04-07 20:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 18:46 [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X? meino.cramer
2011-04-05 19:01 ` Volker Armin Hemmann
2011-04-05 19:03 ` [gentoo-user] " Hartmut Figge
2011-04-05 19:55 ` Grant Edwards
2011-04-05 20:08   ` Bill Longman
2011-04-05 20:27     ` Paul Hartman
2011-04-05 21:10       ` Bill Longman
2011-04-05 23:19   ` meino.cramer
2011-04-06  3:37     ` Bill Longman
2011-04-06 15:14       ` Gregory Fontenele
2011-04-07 18:18         ` Volker Armin Hemmann
2011-04-07 20:34           ` Bill Longman
2011-04-06 20:26     ` Remy Blank
2011-04-06 20:28     ` Remy Blank
2011-04-07  2:28       ` meino.cramer
2011-04-05 21:11 ` [gentoo-user] " Kfir Lavi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox