This is my first post, I really enjoy linux mint. Thank you so much for working on the great Cinnamon environment, it is very well written for DPI Fonts for poor vision.
Today, here is my question...
Is there a way to scroll through workspaces with the mouse by scrolling the empty desktop BACKGROUND area? Mate and Lxde do this, but I was wondering if Cinnamon can do this? I tried the desktop edge extension, and the workspace switcher extension and they work but I want to scroll the desktop (by scrolling on any empty spot in the desktop area) to change workspaces. (This helps me for full screen and 2 monitor setup).
Please see the below attached image so that you can see where I want to Mouse-Scroll on the Desktop, in order to move to a new Workspace.
Please help I have been stuck on this for a while. thank you so much!!!
Sincerely, and Respectfully;
Handicapped Association of LartCM Corp Staff.
Notice: (I work in division that contains blind/impaired people, so this will help us please....
Log of my Tests:
[*] 12/6/17 Made request to Linux Mint Forum users for help
[*] 12/7/17 Build a few Linux Mint Cinnamon and MATE VMs to test
[*] 12/8/17 Learned that linux mint cinnamon no longer works with compiz due to a gnome3 relational library reliance
[*] 12/9/17 tried to force it with compiz --replace, it does replace the desktop but the bars and everything dont work
[*] 12/10/17 i found some cinnamon extensions.. testing them doesn't work
[*] 12/11/17 <--- not sure but I did something which switched workspaces but it didnt switch windows along with it
[*] 12/12-12/15 debating if i need to code a extension with this. so far the linux mint forum users haven't recommended me with a support or development expert to assist with this. I will be patient and keep checking. Still Researching... Hope you guys can help me...
[*] 12/19/17 Put in a request to the forums.linuxmint.com folks to see if they will answer my question. Praying that they will see this post and help me with this problem.
[*] 12/20/17 Re-requested help from Linux Mint Forums, no results so far; I pray that someone can help me with this issue. Have a theory that it can be done with a extension but im terrified of coding now.
[*] 12/26/17 I cleaned up this threadpost on linux mint forums to make sure that the duplicate was removed. Im also making sure I can find out more on how to scroll the desktop with a extention. I now have a idea but I am terrified to code something or extension to do this... I pray that someone can help code this for me from the Linux Mint Forums...
[*] 1/1/18 Happy New Year Everyone!
[*] 1/18/18 I logged into to this forum but no one has responded yet . Very Sad. I clicked the "Bump Thread" Button
[*] 4/1/18 I logged in hoping to say April fools, but no one has responded to my thread. Do people see this question when I update it? Can someone please help me or direct me on how to contact the Linux Mint Team to fix this issue as either a addon or scroll mouse on desktop to switch desktop feature?
[*] 08/06/2018 Smurphos wrote a nice response, but requires using the keyboard; and xdotool doesn't work with wine apps. I need help from the Linux Mint Developers to allow me to be able to mouse-scroll the desktop to switch the active workspace. Please help guys... I dont know how to request help from the linux mint developers, whom are doing amazing things for the next post v19 release.
[*] 08/07/2018 I created a feature issue request ticket on linuxmint/cinnamon, and I really hope the developers can help with this. Please help
[*] 08/20/2018 Josephm, and Smurphos kindly wrote scripts to almost emulate a solution on page two of this forum. Unfortunately, it does not properly detect if the mouse pointer is placed over `nemo-desktop` before running xdotool, so it did not solve our problem. Im happy that finally some users were able to help me (since i have been waiting since 2017 for this to be helped from you guys), but unfortunately... this script breaks firefox and other applications from using the mouse-wheel, which causes our handicapped and carpell tunnel syndrome users to be affected, so we still need help... I hope you guys can help us.
[/color]
@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@THREAD IS NOW SOLVED, THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Here is the SOLUTION:
@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@
=== Scroll Desktops via mouse-wheel in Cinnamon with xbindkeys and workspace-switcher.sh script ===
In a multimonitor setup, if your goal is to scroll anywhere on the desktop here is the script and process to do it:
* Run this command (Root):
sudo apt install xbindkeys xdotool wmctrl x11-utils
* Run this as your Local User (Run `xev` once to check mouse wheel up = 4, down = 5):
xbindkeys --defaults > $HOME/.xbindkeysrc
printf "#Next Workspace\n\"xdotool key ctrl+alt+Left\"\n b:4\n#Previous Workspace\n\"xdotool key ctrl+alt+Right\"\n b:5" >> $HOME/.xbindkeysrc
* vi ~/workspace_switcher.sh
* Add it to your startup, and reboot and try it out.#!/bin/bash
for PID in $(pgrep -f "workspace_switcher.sh"); do
if [ "$PID" != $$ ]; then
exit 1
fi
done
while :
do
while wmctrl -l | awk "/-1/ && /nemo-desktop/" || wmctrl -l | awk "/-1/ && /Desktop/"
do
DESKTOP_ID0=$(echo "ibase=16; $(wmctrl -l | awk "/-1/ && /nemo-desktop/" | cut -c 3-11 | tr a-z A-Z)" | bc)
DESKTOP_ID1=$(echo "ibase=16; $(wmctrl -l | awk "/-1/ && /Desktop/" | cut -c 3-11 | tr a-z A-Z)" | bc)
if [ -z "$DESKTOP_ID0" ] && [ -z "$DESKTOP_ID1" ] ; then
sleep 0.1
continue
fi
if pidof xbindkeys; then
kill "$(pidof xbindkeys)"
fi
while xdotool getmouselocation | grep -w "window:$DESKTOP_ID0" || xdotool getmouselocation | grep -w "window:$DESKTOP_ID1"
do
if ! pidof xbindkeys >/dev/null; then
xbindkeys
fi
sleep 0.1
done
sleep 0.1
done
sleep 0.1
done