Results 1 to 10 of 10

Thread: Gnome-shell, mouse/hot corner shortcut

  1. #1
    Join Date
    Jun 2006
    Location
    Paris
    Beans
    70
    Distro
    Ubuntu 11.04 Natty Narwhal

    Gnome-shell, mouse/hot corner shortcut

    Hello,

    Do you know if there is a way to trigger the GNOME-Shell windows management with a mouse button (say the middle button) instead of the Windows key

    I used to do this thru Compiz setting manager for Gnome classic but it does not seem to be working with GNOME-Shell

    also, is it possible to change the top left hot corner and replace it to the right ?

    thank you very much

  2. #2
    Join Date
    May 2008
    Beans
    9

    Re: Gnome-shell, mouse/hot corner shortcut

    I'm also looking for the same thing, and I'm surprised it hasn't come up more often. As far as I can tell, there is no way to bind a mouse button to the overview toggle, which doesn't make much sense since modern mice have a gazillion buttons, but that's gnome shell for you.

    Ditto for the hot corner.

  3. #3
    Join Date
    Jun 2006
    Beans
    391
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Gnome-shell, mouse/hot corner shortcut

    For me it's the super(windows) button.

  4. #4
    Join Date
    Dec 2008
    Location
    Bergen, Norway
    Beans
    206
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Gnome-shell, mouse/hot corner shortcut

    Since this i nearly the same question, and i can't bother making a new thread, is it possible to get the "Windows overview", (when i put my mouse in a corner, and i get an overview of my open windows). It was possible with Compiz, but as we know, Compiz doesn't work in Gnome-Shell..

    So, anybody?

  5. #5
    Join Date
    Dec 2008
    Location
    W-slp-Sierra Nevada usa
    Beans
    1,400
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Gnome-shell, mouse/hot corner shortcut

    If you have not yet installed 'gnome-tweak-tool', that may provide the functionality you're missing. Installing it will give you an application named "Advanced Settings"

    http://ubuntuguide.net/gnome-tweak-t...nome-3-options
    boot_info_script by meierfra & Gert Hulselmans
    unetbootin to burn liveCD/USB
    Repair Windows7 Boot
    Partitioning

  6. #6
    Join Date
    Jun 2006
    Location
    Paris
    Beans
    70
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Gnome-shell, mouse/hot corner shortcut

    Well i'm not a hard core geek and though I do have the GNOME Tweak tool installed, I have not find an extension to plug to it relative to mouse shortcut. I did see some hot corner tweaks but for some reasons they did not work for me (probably my fault though)

    Anyways, the upper left corner simply is anti-usable for the majority of us hand-righted

  7. #7
    Join Date
    Jun 2010
    Location
    Rockport, TX
    Beans
    2,289
    Distro
    Ubuntu Development Release

    Re: Gnome-shell, mouse/hot corner shortcut

    There was a righthotcorner extension, as well as one to move the corner but it broke with gnome 3.2. The author has stated that that he will update all the extensions within a couple weeks.

    Keep your eye on this site. http://www.fpmurphy.com/gnome-shell-extensions/

  8. #8
    Join Date
    Mar 2010
    Location
    Lunar Base VII- Sector IX
    Beans
    1,756
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Gnome-shell, mouse/hot corner shortcut

    Can't wait to get the hot right corner back!
    5.5 GB's Free Ubuntu-One Cloud Storage~
    Click Here
    _______________________________________________

  9. #9
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Gnome-shell, mouse/hot corner shortcut

    Quote Originally Posted by Guillaumeb View Post
    Hello,

    Do you know if there is a way to trigger the GNOME-Shell windows management with a mouse button (say the middle button) instead of the Windows key

    I used to do this thru Compiz setting manager for Gnome classic but it does not seem to be working with GNOME-Shell

    also, is it possible to change the top left hot corner and replace it to the right ?

    thank you very much
    You can set the super key to a mouse button using easystroke and xdotool.
    Code:
    sudo apt-get install easystroke xdotool
    Open easy stroke and go to preferences.
    Change the gesture button to 3(right mouse)
    Go to additional buttons and click add.
    Click your middle button in the pop up window.
    Click ok and goto the actions tab.

    Click on the add action button and enter the name with type:command.
    Enter xdotool key Super as the command.
    Hit the record stroke button and click your middle mouse.

    If you hold down the middle button for a few secs while recording
    it will cause a slight delay before the middle click action is initiated.
    This allows the middle click paste feature to still be used with quick clicks.
    Notice the difference in the second attachment of the stroke recording.


    You can also use xdotool to trigger the super key when the mouse is placed in the top right corner with this script.
    Code:
    #!/bin/bash
    
    while [ 1 ];
    do
    	m=`xdotool getmouselocation|sed 's/x:\(.*\) y:\(.*\) screen:.*/\1, \2/'`
    	if [ "$m" = "1679, 0" ];
    	then
                    xdotool key Super
                    sleep 1
                    
    	fi
    done
    This works with my screen resolution of 1680x1050
    To get your x resolution
    run this in the terminal while your mouse is in the top right corner
    Code:
    xdotool getmouselocation
    and adapt the script accordingly.

    **Note: this is something I made used from other scripts I have downloaded and it looks like it uses a lot of CPU so
    may not be scripted properly.
    May be a start though for someone who knows what they're doing.
    Attached Images Attached Images
    Last edited by stinkeye; October 25th, 2011 at 09:40 AM.

  10. #10
    Join Date
    Jul 2010
    Beans
    2

    Re: Gnome-shell, mouse/hot corner shortcut

    instead of installing xdotool, you can also just execute the following:
    Code:
    dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.toggle();'

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •