>>108495305
i am on xfce but I have cinnamon session still active and it runs fine just like it use to. I've been using mainly using XFCE ever late 2025 when Grok wrote a script that allows it to pane with clicking both mouse buttons like Cinnamon does. Before then I used XFCE but it wasn't my main due to a huge inconvenience that Cinnamon avoided.
With this I can pane in GIMP just by holding down both buttons, also it registers as a middle click. That way I don't have to hold my index finger on the tiny middle button
#!/bin/bash
# ===============================================
# XFCE-ONLY Middle Click Emulation (Safe to re-run)
# Works after suspend, hotplug, or "it just stopped"
# Does NOT affect Cinnamon
# ===============================================
# 1. Wait
sleep 3.5
# 2. Find ALL physical mice (not touchpads, not virtual)
mapfile -t MOUSE_LINES < <(
xinput list |
grep -iE 'mouse|pointer' |
grep -vE 'Virtual|XTEST|keyboard|Touchpad' |
grep -i 'slave pointer'
)
# If no mice found exit silently
(( ${#MOUSE_LINES[@]} == 0 )) && {
echo "[$(date)] No mouse found. Skipping."
exit 0
}
echo "[$(date)] Found ${#MOUSE_LINES[@]} mouse device(s)"
for LINE in "${MOUSE_LINES[@]}"; do
ID=$(echo "$LINE" | grep -oP 'id=\K[0-9]+')
NAME=$(echo "$LINE" | sed -E 's/.*\s*//; s/\s*id=.*//')
echo " Configuring: $NAME (ID: $ID)"
# Enable middle-click emulation
xinput set-prop "$ID" "libinput Middle Emulation Enabled" 1 2>/dev/null || \
xinput set-prop "$ID" "Middle Emulation Enabled" 1 2>/dev/null
# Restore clean button map
xinput set-button-map "$ID" 1 2 3 4 5 6 7 8 9 10 11 12 13 2>/dev/null
done
echo "Middle-click emulation ACTIVE (left+right = middle)"
Grok also made another script at startup that makes sure it only runs on XFCE and ignores Cinnamon
-
tHE last time I used GNOME was in October 2024 when I installed it for a brief day for the lulz.