https://bugs.kde.org/show_bug.cgi?id=419961

--- Comment #2 from shawn <shit...@gmail.com> ---
I created a temporary workaround with xbindkeys and xdotool.

In ~/.xbindkeysrc I added the lines:

"bash /home/username/scroll_down.sh"
    b:5
"bash /home/username/scroll_up.sh"
    b:4


The contents of the shell files are:

#!/bin/bash
eval $(xdotool getmouselocation --shell)
echo $WINDOW
name=$(xdotool getwindowname $WINDOW)
base="Desktop — Plasma"

if [ "$name" = "$base" ]; then
    echo succ
    qdbus org.kde.KWin /KWin nextDesktop
fi

With "nextDesktop" in the scroll_down/sh file and "previousDesktop" in the
scroll_up.sh file.
The "qdbus" command could also be replaces with "xdotool set_desktop"

This assumes that you have two desktops stacked vertically.
Also there is no wrap around scrolling.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to