SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-01-09 01:22:54

NYbill
#! Member
Registered: 2010-03-26
Posts: 88

[TIP] kill the caps lock!

I constantly hit the caps lock by accident on the EEE.  It drives me  nuts!  On Gnome based distros I usually put: xmodmap -e "remove lock = Caps_Lock" in .bashrc and that takes care of things.

I don't know if its #! or openbox.  But, for some reason the above fix gave me all caps, all the time!  I had to hold down shift so as not to SHOUT! wink

I searched and searched for a fix and I think I've found something that works to disable the caps lock at startup.  To save someone else the trouble of trying to find the fix, I thought I'd post things here. 

In your home folder put the line below in your .config/openbox/autostart.sh file:

setxkbmap -option ctrl:nocaps &

Offline

Be excellent to each other!

#2 2011-01-09 01:36:11

illumin8
#! Junkie
From: Seattle
Registered: 2009-05-30
Posts: 395
Website

Re: [TIP] kill the caps lock!

NYbill wrote:

I constantly hit the caps lock by accident on the EEE.  It drives me  nuts!  On Gnome based distros I usually put: xmodmap -e "remove lock = Caps_Lock" in .bashrc and that takes care of things.

I don't know if its #! or openbox.  But, for some reason the above fix gave me all caps, all the time!  I had to hold down shift so as not to SHOUT! wink

I searched and searched for a fix and I think I've found something that works to disable the caps lock at startup.  To save someone else the trouble of trying to find the fix, I thought I'd post things here. 

In your home folder put the line below in your .config/openbox/autostart.sh file:

setxkbmap -option ctrl:nocaps &

it is sort of a completely useless key isnt it?
thanks


Website    500px     DeviantArt
God never ends anything on a negative; God always ends on a positive. -- Edwin Louis Cole --

Offline

#3 2011-01-09 03:11:01

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,905

Re: [TIP] kill the caps lock!

In the future remember to post in the Tips, Tricks & Scripts section wink


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#4 2011-01-09 12:16:33

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: [TIP] kill the caps lock!

illumin8 wrote:

it is sort of a completely useless key isnt it?

This is what they said about ScrollLock, Pause and Print too. Apple even removed the del key, because they thought no one needs such a key. Others said that the arrow buttons are obsolete (what do we have a mouse for?) and the next button to vanish is AltGr (who the hell needs a pipe in windows?).


I'm so meta, even this acronym

Offline

#5 2011-01-09 12:37:58

~HP
#! CrunchBanger
From: Elsaß (fr_FR)
Registered: 2010-01-01
Posts: 187
Website

Re: [TIP] kill the caps lock!

And where is the compose key?

Offline

#6 2011-01-09 18:36:22

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,044

Re: [TIP] kill the caps lock!

Compose?  alt-gr?  I keep hearing mention of these, but I've never seen them on a "standard" XT or PS/2 keyboard. hmm  Are they part of a European keyboard standard?


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#7 2011-01-09 19:30:37

boromeus
#! Junkie
Registered: 2010-09-12
Posts: 254

Re: [TIP] kill the caps lock!

pvsage wrote:

Compose?  alt-gr?  I keep hearing mention of these, but I've never seen them on a "standard" XT or PS/2 keyboard. hmm  Are they part of a European keyboard standard?

AltGr yes, Compose not.

Offline

#8 2011-01-09 21:54:47

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: [TIP] kill the caps lock!

pvsage wrote:

Are they part of a European keyboard standard?

Compose used to be... on some devices.

AltGr is the right Alt key. It's the modifier to get signs like |,@,€,~ and{[]}\. There are many other assigned keys in a Linux environment (ł¶ŧ←↓←→øþ...). AltGr is the standard modifier. It does the same as Ctrl+Alt.


I'm so meta, even this acronym

Offline

#9 2011-01-09 22:19:07

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,044

Re: [TIP] kill the caps lock!

Oh.  On a regular 105-key keyboard (at least on this side of the pond) most of those are either regular or shifted characters.  On netbooks and many other compact laptop keyboards, they're accessed by the same Fn key that accesses F1-F10 on the homerow and multimedia keys on the numbers row.

Maybe AltGr keyboards are descendants of the same Space Cadet [sic] keyboard that gave us the infamous 'Super' key?


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#10 2011-01-09 22:31:29

~HP
#! CrunchBanger
From: Elsaß (fr_FR)
Registered: 2010-01-01
Posts: 187
Website

Offline

#11 2011-01-13 20:40:08

NYbill
#! Member
Registered: 2010-03-26
Posts: 88

Re: [TIP] kill the caps lock!

anonymous wrote:

In the future remember to post in the Tips, Tricks & Scripts section wink

Good point, Anonymous.

I was corrected on Identi.ca (thanks @psquid) that the above command actually turns the caps lock into a CTRL.  But, I hadn't noticed till I was told.  So, the fix is working fine for me.  I no longer start shouting at people randomly.  wink

Offline

#12 2011-10-25 00:25:08

orionthehunter
#! Constellation
From: Japan
Registered: 2011-04-09
Posts: 843
Website

Re: [TIP] kill the caps lock!

Whoa, I wish I had a compose key... that's BRILLIANT.  It would be SO useful for linguistics.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo