How do I trigger mousekeys?

1 reply [Last post]
computer.user
Offline
Joined: 02/04/2025

I use the i3 window manager, so there is no graphical settings menu I can use.

I have the mousekeys option enabled in the file /etc/X11/xorg.conf.d/00-keyboard.conf:

Section "InputClass"
Identifier "keyboard-layout"
MatchIsKeyboard "yes"
Driver "libinput"
Option "XkbLayout" "us,ru,ara,tw"
Option "XkbVariant" ",,,digits,"
Option "XkbOptions" "grp:rctrl_rshift_toggle,shift:both_capslock_cancel,keypad:pointerkeys,terminate:ctrl_alt_bksp"

I've tried L Shift + Numlock, R Shift + Numlock, and Ctrl+L Shift+ Numlock. I've tried setxkbmap -option keypad:pointerkeys at the command line. I've tried

gsettings set org.gnome.desktop.a11y.keyboard mousekeys-enable true

and

dconf write /org/gnome/desktop/a11y/keyboard/mousekeys-enable true

at the command line. Both give me a permission denied error. I'm assuming I shouldn't be running them as root.

Avron

I am a translator!

Offline
Joined: 08/18/2020

Gsettings (which is what dconf and gsettings are manipulating) are used by GNOME and MATE but not by i3, so if you don't run GNOME or MATE, anything you try with dconf or gsettings is likely to have no effect at all.

I use dwm with MATE: I normally only interact with dwm but I can use the MATE control center to configure anything, which I find really convenient. Perhaps you could use i3 with MATE, this could make it easier to configure your mouse. I am blocked if I post more to explain how to do, I will try later if you have interest.