PINE64
Switch Fn and Ctrl keys - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Switch Fn and Ctrl keys (/showthread.php?tid=10095)



Switch Fn and Ctrl keys - adria - 06-06-2020

I've been enjoying my PBP for the past week but I've been wondering if it was possible to switch the Fn and the left Ctrl keys? I've found a few options in the Keyboard->Advanced section but nothing on the Fn key.


RE: Switch Fn and Ctrl keys - dozens - 06-06-2020

(06-06-2020, 11:18 AM)adria Wrote: I've been enjoying my PBP for the past week but I've been wondering if it was possible to switch the Fn and the left Ctrl keys? I've found a few options in the Keyboard->Advanced section but nothing on the Fn key.

I'm going through trying to remap some keys right now myself!

You probably want to use `xmodmap` in the terminal. `man xmodmap` has a few examples of swapping keys.

Check out this guide:

https://wiki.manjaro.org/index.php?title=Keyboard_Layout

I decided I wanted to install xev (pacman -S xorg-xev) to see what the keycodes are. But I had to update my mirrors before it would let me do that.

That looked like this:

1. `pacman -f` (this took a really long time)
2. `pacman -Syuu` (to update pacman with the new mirrors
3. `pacman -S xorg-xev` to actually install the thing


RE: Switch Fn and Ctrl keys - adria - 06-07-2020

(06-06-2020, 03:44 PM)dozens Wrote:
(06-06-2020, 11:18 AM)adria Wrote: I've been enjoying my PBP for the past week but I've been wondering if it was possible to switch the Fn and the left Ctrl keys? I've found a few options in the Keyboard->Advanced section but nothing on the Fn key.

I'm going through trying to remap some keys right now myself!

You probably want to use `xmodmap` in the terminal. `man xmodmap` has a few examples of swapping keys.

Check out this guide:

https://wiki.manjaro.org/index.php?title=Keyboard_Layout

I decided I wanted to install xev (pacman -S xorg-xev) to see what the keycodes are. But I had to update my mirrors before it would let me do that.

That looked like this:

1. `pacman -f` (this took a really long time)
2. `pacman -Syuu` (to update pacman with the new mirrors
3. `pacman -S xorg-xev` to actually install the thing

Nice, thanks. I'll read through the manual of xmodmap. I'm not sure what you mean by your first pacman command. `-f` does not exist and `-F` needs a target.


RE: Switch Fn and Ctrl keys - xmixahlx - 06-07-2020

you could also go nuclear and change via the firmware
.