Skip to content

Instantly share code, notes, and snippets.

@iTrauco
Created April 1, 2025 03:24
Show Gist options
  • Save iTrauco/a461b7c7341c6ce02cd0883ce11770a0 to your computer and use it in GitHub Desktop.
Save iTrauco/a461b7c7341c6ce02cd0883ce11770a0 to your computer and use it in GitHub Desktop.
Script to disable scroll-based workspace switching in XFCE
#!/bin/bash
# 🔧 Disables scroll-based workspace switching in XFCE
# 📂 Backs up current settings to ~/.xfce-backups/pre_scroll_disable.txt
mkdir -p ~/.xfce-backups
xfconf-query -c xfwm4 -lv | grep -E "scroll|rollup" > ~/.xfce-backups/pre_scroll_disable.txt
# Disable scroll workspace switching and title bar rollup
xfconf-query -c xfwm4 -p /general/scroll_workspaces -s false
xfconf-query -c xfwm4 -p /general/mousewheel_rollup -s false
echo "✅ XFCE scroll-based workspace switching disabled."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment