Configuring Gnome Wayland:
I installed a minimal gnome to try and iron out problems/eventual transition to wayland.
Mouse gestures work out of the box with
libinput-gestures, but some
of the tools e.g.
xdotool do not, as they only work in X.
There is a package in the AUR called
ydotool which offers some
limited xdotool features. The window functions are not available, but
the key function is.
Here is my current
libinput-gestures.conf file. It works in Gnome Wayland
and in KDE Plasma (X):
gesture: pinch in 2 /usr/bin/mute gesture: swipe up 3 ydotool key "Ctrl+F10" gesture: swipe down 3 ydotool key "Ctrl+F8" gesture: swipe left 3 ydotool key "x" gesture: swipe right 3 ydotool key "d"
The first 3 entries explained:
- Two finger pinch in activates the mute toggle:
#!/bin/bash amixer -D pulse set Master 1+ toggle
Three finger swipe down:
ctrl+f10is a plasma shortcut to activate show desktop grid.
Three finger swipe up:
ctrl+f8is a plasma shortcut - windows expose.
Three finger swipe left & right:
Use ydotool to send the key to my browser, "x"=browser history back,
"d"= browser history forwards. These are set in Firefox using the vim
So far so good. Mouse gestures work.
I make extensive use of xcape/xmdomap to enhance my keyboard:
Tapping the following keys:
- Left Control - Launches terminal.
- Right Control - Launches one of my scripts
- Caps lock launches Emacs.
- Left shift - Sends a set of keystrokes.
- Right shift - Launches/switches to Dolphin.
- Left Alt - Launches browser.
Holding the key down, the key acts as normal.
Currently AltGr and the menu key are set to home & end, via xmodmap.
This is a laptop and it prevents me over stretching.
I have tried
osm https://github.com/ursm/osm but cannot get it to
work, mouse cursor disappears and other problems.
This is it so far, wayland would still be fairly usable, but I would lose a lot of functionality. Will keep trying