Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [capslock]

The tag has no usage guidance.

0
votes
0answers
74 views

Caps Lock behavior under Sway / Wayland

Under X, I can make Caps Lock behave as Esc when pressed briefly, but as Ctrl when held down with: setxkbmap -option 'caps:ctrl_modifier' xcape -e 'Caps_Lock=Escape' -t 100 How can I replicate this ...
1
vote
0answers
49 views

Capslock LED does not turn on

I have a raspberry with raspbian-lite and the problem is that the capslock led does not work when the keyboard is connected to it. The problem is not with the keyboard, as it works on other computers. ...
2
votes
2answers
227 views

Update ZSH PS1 / prompt on keypress

Part of my ZSH prompt is a caps lock indicator. function Capslock(){ x=$(xset -q | grep Caps) 2> /dev/null || exit 0 x=${x:22:1} if [[ $x == "n" ]]; then echo "" fi } ...
1
vote
0answers
43 views

Caps_Lock changed to Multi_key

As seen via xev, in my user session the CapsLock key (keycode 66) is bound to Multi_key. Whereas in another user (guest) session it is bound to Caps_Lock. In a terminal I've tried setxkbmap -...
2
votes
3answers
2k views

Map Capslock to Control on Wayland

I've updated to Fedora 26 and now my Capslock key behaves strangely (or not at all). In Fedora 25 the xkb setting worked perfectly for both my Ctrl and Caps changes. I've selected "Caps as Ctrl" in ...
2
votes
2answers
3k views

How to configure Deepin Desktop Environment (DDE) to change keyboard layout with caps lock?

My system is Manjaro Linux. But I think this does not metter. In settings panel I cannot make CapsLock as keyboard layout changer. Please help.
0
votes
1answer
1k views

Remap Esc to Caps Lock after mapping Caps Lock to Ctrl and Esc with xcape

I currently have Caps Lock mapped to Ctrl when held and Esc when tapped (for vim) via these commands in .xinitrc setxkbmap -option 'caps:ctrl_modifier' xcape -e 'Caps_Lock=Escape' This works, but ...
2
votes
0answers
96 views

Disable CapsLock functionality on short press

Is there any way to make pressing CapsLock effective only on long press? for example it effect only when we press and hold it for half a second? (I'm using ubuntu 14.04)
1
vote
1answer
978 views

How do I use the Python module “keyboardleds” to determine Caps Lock state?

I want my system to ascertain the state of Caps Lock (is it on or off) by inspecting the keyboard DIRECTLY. After much searching, I understand that this can be done in Python by using the module "...
1
vote
0answers
210 views

Disable Caps Lock when a modifier key is pressed, with XKB

I would like all modifier keys -- except Shift -- to disable Caps Lock. Since, I would like to swap some modifiers as well, I am trying to achieve both goals at the same time (I wouldn't know how to ...
6
votes
2answers
3k views

caps lock led not working on Linux console

When I switch to a TTY and turn on the caps lock, the caps lock LED on my keyboard isn't turning on. On X it works fine. When I activate caps lock and then switch to a TTY and then press caps lock (on ...
0
votes
0answers
4k views

Is there a way to turn on the function key indicator based on capslock status on Lenovo ThinkPad Yoga?

The Caps Lock key comes with no LED indicator light on newer ThinkPad models. The Fn key has a light for when FnLk (function lock) is turned on (as if that's more important that the Caps Lock key‽). ...