Created
April 1, 2025 03:24
-
-
Save iTrauco/a461b7c7341c6ce02cd0883ce11770a0 to your computer and use it in GitHub Desktop.
Script to disable scroll-based workspace switching in XFCE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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