This is an old revision of the document!
Setup ideal env
- `tmux`
- `kitty`
- `opencode`
- `sudo apt install pipx`
- `uv` and `poetry`
This is a great question\! Xfce does not support multi-finger touchpad gestures for switching workspaces natively, but you can achieve this functionality by using a third-party utility that can interpret the gestures and map them to the correct keyboard shortcuts.
The recommended and most widely used tool for this purpose is `libinput-gestures`.
Here is a general outline of the steps you would take to set this up.
sudo apt install xdotool wmctrl libinput-tools sudo usermod -aG input $USER newgrp input git clone https://github.com/bulletmark/libinput-gestures.git cd libinput-gestures sudo ./libinput-gestures-setup install cp /etc/libinput-gestures.conf ~/.config/libinput-gestures.conf # By default, the keyboard shortcuts in Xfce to switch workspaces are usually **`Control + Alt + Left/Right Arrow`**. # **Edit the configuration file** (`~/.config/libinput-gestures.conf`) using your preferred text editor (e.g., `nano`, `vi`, `gedit`, `mousepad`): vi ~/.config/libinput-gestures.conf # **Find or add the following lines** to map the 3-finger swipes to the Xfce workspace shortcuts: # ```conf # # Swipe left with 3 fingers to move to the next workspace (Control+Alt+Right) # gesture swipe left 3 xdotool key Control+Alt+Right # # # Swipe right with 3 fingers to move to the previous workspace (Control+Alt+Left) # gesture swipe right 3 xdotool key Control+Alt+Left # ``` ### 4\. Enable Autostart and Restart # 1. **Enable the utility to start automatically** when you log in: libinput-gestures-setup autostart # 2. **Restart the gesture utility** to load the new configuration: libinput-gestures-setup restart