Changing keyboard speed and swapping keys

Before I did it on the gui, but on the new wayland version of kicksecure, I ca’t seem to figure out how to chamge the keyboard delay and repeat speed. Please can someone share how, thanks. I also need to swap caps and escape.

You can configure this in labwc. There isn’t a GUI option for configuring this at the moment, but you can configure it in ~/.config/labwc/rc.xml. See:

I use kwin though, couldn’t het deaktop switcher to work on larwc, kept saying n/a

KWin is not supported on Kicksecure 18. See a recent forum thread:

You can configure additional workspaces in labwc, which can be switched between using a keyboard shortcut. See:

Unfortunately, LXQt’s desktop switcher widget does not work with labwc yet. It probably will in Kicksecure 19, but this is the best solution for the time being (unless we create a custom desktop switcher widget of our own sooner than that).

1 Like

I still don’t quite understand how to set it, the configuration process isn’t very clear. I have a rough idea but I don’t quite understand the exact layout for the xml fle, like for example do I write speed=x or something else, do I need quotes? etc.
If it wouldn’t take too long, could you give me a rough skeleton of how I will swap escape:caps, repeatdelay=200 and rate=90 and give myself 4 desktops. Thanks.

1 Like

Sure.

In file ~/.config/labwc/rc.xml:

<?xml version="1.0"?>
<labwc_config>
	<desktops number="4" />
	<keyboard>
		<keybind key="C-1">
			<action name="GoToDesktop" to="1" />
		</keybind>
		<keybind key="C-2">
			<action name="GoToDesktop" to="2" />
		</keybind>
		<keybind key="C-3">
			<action name="GoToDesktop" to="3" />
		</keybind>
		<keybind key="C-4">
			<action name="GoToDesktop" to="4" />
		</keybind>
		<repeatRate>
			90
		</repeatRate>
		<repeatDelay>
			200
		</repeatDelay>
	</keyboard>
</labwc_config>

This will do everything except for swapping Caps Lock and Escape. For that part:

  1. Run set-labwc-keymap --interactive.
  2. When prompted for your keymap, enter it (it’s probably us), and press Enter.
  3. When prompted for your keymap variant, press Enter again if you aren’t using any special keymap variant. Otherwise enter your keymap variant and then press Enter.
  4. When prompted for keymap options, type caps:escape, and press Enter.

Or alternatively, you can place this in ~/.config/labwc/environment:

XKB_DEFAULT_LAYOUT=us
XKB_DEFAULT_VARIANT=
XKB_DEFAULT_OPTIONS=caps:escape

Run labwc --reconfigure to make your settings apply, or log out and log back in, or reboot, whichever you prefer. Once that’s done, things should work.

1 Like