Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3882

Troubleshooting • Re: Raspberry Pi 5 - Change Key Bindings [SOLVED]

$
0
0
I would start at the wiki https://github.com/WayfireWM/wayfire/wiki
They link an example wayfire.ini that you can use to customize your shortcuts in ~/.config/wayfire.ini
You can thereby override sections of /etc/wayfire/defaults.ini and /etc/wayfire/template.ini

To add plugins, you'd want to copy [core] in it's entirety and then add to it. Same with [expo] [grid]
Taking care not to f with anything rpi-customized. [autostart] [autostart-static] come to mind

RPiOS sets `autostart_wf_shell = false` for example and has it's own jiggery pokery involving `wf-panel-pi`, `pcmanfm --desktop --profile LXDE-pi` and `lxsession-xdg-autostart` instead.

Copy the [command] section from template.ini and make your command/binding line-pairs.
The keys available are here: https://github.com/alexherbo2/wayfire-r ... s/keys.txt

Particular plugins/sections of interest for navigating around the desktop (WIP):

```
# Switch to workspace.
[vswitch]
binding_left = <super> KEY_L
binding_down = <super> KEY_U
binding_up = <super> KEY_N
binding_right = <super> KEY_H
# Move the focused window with the same key-bindings, but add Alt.
with_win_left = <alt> <super> KEY_L
with_win_down = <alt> <super> KEY_U
with_win_up = <alt> <super> KEY_N
with_win_right = <alt> <super> KEY_H
wraparound = true

# Show an overview of all workspaces.
[expo]
toggle = <super> KEY_G | hotspot left-top 10x10 200
...

# Actions related to window management functionalities.
[wm-actions]
toggle_maximize = <super> KEY_F
toggle_fullscreen = <super> <shift> KEY_F
toggle_showdesktop = <super> <shift> KEY_D
toggle_always_on_top = <super> KEY_Y
toggle_sticky = <super> <shift> KEY_Y
minimize = <super> KEY_X
send_to_back = <super> KEY_B

# Change active window with an animation.
[switcher]
next_view = <super> KEY_TAB
prev_view = <super> <shift> KEY_TAB

# Simple active window switcher.
[fast-switcher]
activate = <super> KEY_J
activate_backward = <super> KEY_K
inactive_alpha = 0.700000
```

Incidentally I have my space bar mapped as `super` when used as a key- chord with this handy binary https://gitlab.com/interception/linux/p ... space2meta

Statistics: Posted by irishcanuck — Sat Mar 09, 2024 7:58 pm



Viewing all articles
Browse latest Browse all 3882

Trending Articles