Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Caps lock key. Can it be disabled?

Post Reply
Message
Author
User avatar
Dieselrider
Forum Regular
Forum Regular
Posts: 667
Joined: Tue Nov 27, 2007 6:57 am

Caps lock key. Can it be disabled?

#1 Post by Dieselrider » Wed Nov 19, 2014 10:07 am

I will never be a typer extraordinaire but, that damn key gets me in trouble. Is there a way to dissable it in MX? Thanks

User avatar
chrispop99
Forum Guide
Forum Guide
Posts: 2428
Joined: Tue Jan 27, 2009 3:07 pm

Re: Caps lock key. Can it be disabled?

#2 Post by chrispop99 » Wed Nov 19, 2014 11:55 am

Settings Manager>Session and Startup>Application Autostart. Click Add. In the Command box, enter:

Code: Select all

setxkbmap -option caps:none
(You can put what you like in the other boxes.)

Click OK, click Close.

Reboot (not logout) and et voila!

If you want the Caps Lock to do something else, here are some alternatives:

caps:numlock – Caps Lock becomes an additional Num Lock.

caps:swapescape – Caps Lock becomes Escape, and Escape becomes Caps Lock

caps:escape – Caps Lock becomes an additional Escape.

caps:backspace – Caps Lock becomes an additional Backspace.

caps:super – Caps Lock becomes an additional Super. (Super is also known as the Windows key.)

Chris
Test machines:
32-bit non-PAE - Thinkpad T41, 1.6GHz Pentium M, 1GB RAM.
32-bit PAE - DELL Latitude D610, 1.73GHz Pentium M, 2GB RAM.
64-bit - Lenovo T61, 2GHz Core 2 Duo, 2GB RAM
64-bit - Gigabyte Z77P-D3, Intel i3-3220, GeForce 8400 GS, 4GB PC3-12800.

User avatar
BitJam
Forum Guide
Forum Guide
Posts: 2472
Joined: Sat Aug 22, 2009 11:36 pm

Re: Caps lock key. Can it be disabled?

#3 Post by BitJam » Wed Nov 19, 2014 12:46 pm

I use:

ctrl:nocaps

which turns capslock into another Ctrl key.

User avatar
Dieselrider
Forum Regular
Forum Regular
Posts: 667
Joined: Tue Nov 27, 2007 6:57 am

Re: Caps lock key. Can it be disabled?

#4 Post by Dieselrider » Wed Nov 19, 2014 1:06 pm

chrispop99 wrote:Settings Manager>Session and Startup>Application Autostart. Click Add. In the Command box, enter:

Code: Select all

setxkbmap -option caps:none
(You can put what you like in the other boxes.)

Click OK, click Close.

Reboot (not logout) and et voila!

If you want the Caps Lock to do something else, here are some alternatives:

caps:numlock – Caps Lock becomes an additional Num Lock.

caps:swapescape – Caps Lock becomes Escape, and Escape becomes Caps Lock

caps:escape – Caps Lock becomes an additional Escape.

caps:backspace – Caps Lock becomes an additional Backspace.

caps:super – Caps Lock becomes an additional Super. (Super is also known as the Windows key.)

Chris

Thanks Chris. That did the trick.

Post Reply

Return to “Desktop Environment”