FG
💻 Software

How to swap ctrl and caps lock using xmodmap

Fresh5 days ago
Mar 15, 202617585 views
Confidence Score0%
0%

Problem

Or any other tool, but I prefer xmodmap. I tried this: I also tried this: But neither seem to fully work. Here's the event log for pressing caps lock: I'm running Ubuntu 10.10 with awesome window manager.

Error Output

remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Contr…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to swap ctrl and caps lock using xmodmap

Low Risk

This may work for you.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment