Page 1 of 7 123 ... LastLast
Results 1 to 10 of 70

Thread: HOWTO: Side Buttons in Both Nautilus and Firefox

  1. #1
    Join Date
    Nov 2004
    Location
    Austin, TX
    Beans
    48
    Distro
    The Feisty Fawn Testing

    Cool HOWTO: Side Buttons in Both Nautilus and Firefox

    I have been attempting to get my USB Microsoft Wireless IntelliMouse Explorer to completely work in Firefox and Nautilus for years now. I followed all of the guides on this and other forums and nothing was able to get the back and forward buttons to work in both Firefox and Nautilus. The side buttons would work in Firefox but not in Nautilus...until now! Here's how I did it (with the help of numerous forum posts which I have lost the links to now). Hopefully this will help someone else out.

    1. Install imwheel from Synaptic
    Make sure Universe is enabled to find this package.
    2. Edit /etc/X11/xorg.conf
    Change protocol to ExplorerPS/2, define number of buttons as 7, and reorder ZAxisMapping, by making your xorg.conf file like the one below.

    Backup first:
    Code:
    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
    sudo gedit /etc/X11/xorg.conf

    Sample Mouse section from xorg.conf:
    Code:
    Section "InputDevice"
     	   Identifier	"Configured Mouse"
     	   Driver		"mouse"
     	   Option	   "CorePointer"
    	 Option	 "Device" 			 "/dev/input/mice"
    	 Option	 "Protocol"			 "ExplorerPS/2"
    	 Option	 "Buttons" 			 "7"
     	 Option	   "ZAxisMapping"	 "6 7"
     	EndSection
    Your mouse section may be slightly different I am not sure.
    3. Create file .imwheelrc in /home/username
    gedit /home/username/.imwheelrc
    Paste in this code:
    Code:
    ".*"
    None, Up, Alt_L|Left
     None, Down, Alt_L|Right
      
     "(null)"
     None, Up, Alt_L|Left
     None, Down, Alt_L|Right
    4. Backup and edit existing file /etc/X11/imwheel/startup.conf
    sudo cp /etc/X11/imwheel/startup.conf /etc/X11/imwheel/startup.conf.bak
    sudo gedit /etc/X11/imwheel/startup.conf

    Find this line:
    IMWHEEL_START=0

    And replace with:

    IMWHEEL_START=1
    5. This is the final piece in the puzzle:
    sudo gedit /etc/X11/Xsession.d/63xmodmap

    and paste in this code:

    Code:
      
    killall imwheel
     xmodmap -e "pointer = 1 2 3 6 7 4 5"
     BINARY=$(which imwheel)
     $BINARY -k -p -b "67"
    The Wiki site recommended creating file 57xmodmap that would startup before imwheel but this only ever worked for me in Firefox. Never worked for me in Nautilus. This has to start AFTER imwheel for some reason.
    6. Save this file and then change the permissions so that it can be executed:
    Code:
     sudo chmod 777 /etc/X11/Xsession.d/63xmodmap
    7. Restart x server with Control+Alt+Backspace, re-login to X, and the mouse buttons and wheel should be working in Firefox and Nautilus!

    I love it when a plan comes together!

  2. #2
    Join Date
    Jun 2005
    Location
    Washington
    Beans
    32
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Side Buttons in Both Nautilus and Firefox

    Dude, Wow.

    Thank you for making a great tutorial... I did run into some trouble:

    etc/X11/imwheel/startup.conf < this doesn't seem to exist for me. Neither does the directory.. Maybe I'm skipping something? I don't know. Hehe.

    Again, Thanks.

  3. #3
    Join Date
    May 2005
    Location
    Dallas, TX
    Beans
    69
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Side Buttons in Both Nautilus and Firefox

    This works great for me in Firefox, but it still doesn't work for me in Natulius. *shrug* I love the Firefox support though! Thanks!

  4. #4
    Join Date
    Nov 2004
    Location
    Austin, TX
    Beans
    48
    Distro
    The Feisty Fawn Testing

    Re: HOWTO: Side Buttons in Both Nautilus and Firefox

    Quote Originally Posted by programgeek
    etc/X11/imwheel/startup.conf < this doesn't seem to exist for me. Neither does the directory.. Maybe I'm skipping something? I don't know. Hehe.

    Again, Thanks.
    /etc/X11/imwheel/startup.conf is a installed file with imwheel. Did you first install imwheel from synaptic?

    This works great for me in Firefox, but it still doesn't work for me in Natulius. *shrug* I love the Firefox support though! Thanks!
    You created the .imwheelrc file in your user directory? Do you also have a Microsoft mouse? Getting it to work in Firefox and Nautilus was the desired effect.
    Last edited by doans; June 26th, 2005 at 07:51 AM.

  5. #5
    Join Date
    Jun 2005
    Beans
    19

    Re: HOWTO: Side Buttons in Both Nautilus and Firefox

    I previously was able to get my mouse buttons to work in Firefox so I thought I would give this a try to make Nautilus work as well. Well it kinda does. The forward and backward buttons just move the selection in the nautilus window between the highlighted files. Is this the intention of this? I figured it would move up and down within the folders instead.

  6. #6
    Join Date
    Nov 2004
    Location
    Austin, TX
    Beans
    48
    Distro
    The Feisty Fawn Testing

    Re: HOWTO: Side Buttons in Both Nautilus and Firefox

    Quote Originally Posted by bigcletus
    I previously was able to get my mouse buttons to work in Firefox so I thought I would give this a try to make Nautilus work as well. Well it kinda does. The forward and backward buttons just move the selection in the nautilus window between the highlighted files. Is this the intention of this? I figured it would move up and down within the folders instead.
    No, definetely not the intention of this. With my mouse the side buttons go back and forward in Firefox and Nautilus. This must not work on all mice. I am not really sure why it doesn't work for everyone.

  7. #7
    Join Date
    Nov 2004
    Beans
    27

    Re: HOWTO: Side Buttons in Both Nautilus and Firefox

    Thank you so much for this. Worked like a charm.

    Hopefully this will become automatic in the next release.

  8. #8
    Join Date
    Nov 2004
    Location
    Austin, TX
    Beans
    48
    Distro
    The Feisty Fawn Testing

    Re: HOWTO: Side Buttons in Both Nautilus and Firefox

    Quote Originally Posted by afonit
    Thank you so much for this. Worked like a charm.

    Hopefully this will become automatic in the next release.
    Glad it worked for you.

    Yes, I would think this is something that should be configured on install and not have the user doing various tweaks after already being installed.

  9. #9
    Join Date
    Apr 2005
    Location
    Espoo, Finland
    Beans
    43

    Re: HOWTO: Side Buttons in Both Nautilus and Firefox

    Incredible, I never ever tought I would see this working... =)
    Thank YOU!

  10. #10
    Join Date
    Apr 2005
    Location
    Not-So-Sunny Hawaii
    Beans
    Hidden!

    Re: HOWTO: Side Buttons in Both Nautilus and Firefox

    i think i'll pass...

    i want to get my extra buttons working (Intellimouse Explorer 3.0), but i'm on a thnkpad.

    5 buttons in the Ultranav, plus 5 on the USB mouse. aint gonna happen.



Page 1 of 7 123 ... LastLast

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
  •