Logitech MX518
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Logitech MX518
I'm trying to get the forward and back buttons of my Logitech MX518 working on Mint 18.1 Cinnamon (if it matters I'm running a Thinkpad T430), especially in browsers (Firefox 56 and Chrome 62.0), but it would be nice if it worked in Nemo as well. So far I've tried the steps here, but was unable to save xorg.conf. I tried these instructions but reached the "comment out" part and have no idea what that means. I tried these instructions, and "xev -event button" gives me a little box to test click in but the back/forward buttons didn’t register, while left/right click did. Does anyone have any other ideas?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 4
- Posts: 443
- Joined: Fri Sep 23, 2016 10:19 am
Re: Logitech MX518
I was hoping somebody would have helped you by now. I have this mouse, working great in 18.2 XFCE, it also worked great in 17-18.1 MATE. However, my particular mouse won't stay powered on when plugged into USB, I have to use the USB-to-PS/2 adapter and plug it into my PS/2 port on my desktop. Something wrong with the hardware, it did that in windows too. Anyway, the side buttons (forward, back) just worked, no special set-up required for me. Not sure if it'd be any different on USB.
Some preliminary testing:
install "evtest" with the command
Then run evtest with the command
It will list several devices, select your mouse device. Mine says "/dev/input/event5: ImExPS/2 Logitech Explorer Mouse" so I enter 5
With your mouse pointer over the terminal window (you'll get a lot of information when it moves), then try to hold the mouse as still as possible. press and release the "forward" button, then press and release the "back" button. You should get something like this:
If you don't get any of these lines, then ... not sure where to go from there. Try the mouse in another computer, do the buttons work correctly there?
Some preliminary testing:
install "evtest" with the command
sudo apt install evtest
Then run evtest with the command
sudo evtest
It will list several devices, select your mouse device. Mine says "/dev/input/event5: ImExPS/2 Logitech Explorer Mouse" so I enter 5
With your mouse pointer over the terminal window (you'll get a lot of information when it moves), then try to hold the mouse as still as possible. press and release the "forward" button, then press and release the "back" button. You should get something like this:
Press control-C to end evtest.type 1 (EV_KEY), code 276 (BTN_EXTRA), value 1
type 1 (EV_KEY), code 276 (BTN_EXTRA), value 0
type 1 (EV_KEY), code 275 (BTN_SIDE), value 1
type 1 (EV_KEY), code 275 (BTN_SIDE), value 0
If you don't get any of these lines, then ... not sure where to go from there. Try the mouse in another computer, do the buttons work correctly there?
Re: Logitech MX518
Here's what the forward button gave me:
Here's what the back button gave me:
Code: Select all
Event: time 1510026923.671085, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1510026923.671085, type 1 (EV_KEY), code 276 (BTN_EXTRA), value 1
Event: time 1510026923.671085, -------------- SYN_REPORT ------------
Event: time 1510026923.847062, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1510026923.847062, type 1 (EV_KEY), code 276 (BTN_EXTRA), value 0
Event: time 1510026923.847062, -------------- SYN_REPORT ------------
Code: Select all
Event: time 1510027017.135878, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004
Event: time 1510027017.135878, type 1 (EV_KEY), code 275 (BTN_SIDE), value 1
Event: time 1510027017.135878, -------------- SYN_REPORT ------------
Event: time 1510027017.295881, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004
Event: time 1510027017.295881, type 1 (EV_KEY), code 275 (BTN_SIDE), value 0
Event: time 1510027017.295881, -------------- SYN_REPORT ------------
-
- Level 4
- Posts: 443
- Joined: Fri Sep 23, 2016 10:19 am
Re: Logitech MX518
That's good. The hardware works, and the click messages are seen by evtest at least. Maybe someone more knowledgeable than I can help you at this point, or give me a while to research, maybe I can find something else to try. What does happen in, say, firefox or chrome, when you click the buttons? nothing at all?
Re: Logitech MX518
Tried Chrome, Firefox, and Nemo file browser for flavor. Nothing happens in any of those when I use the forward and back buttons.FreedomTruth wrote:What does happen in, say, firefox or chrome, when you click the buttons? nothing at all?
-
- Level 4
- Posts: 443
- Joined: Fri Sep 23, 2016 10:19 am
Re: Logitech MX518
Well, it doesn't seem to be a Cinnamon problem -- I'm running the 18.1 Cinnamon DVD now, and the forward and back buttons work correctly for me. I even plugged it into a USB port (so far it's been working).
So next, try adding a new user, and log in that user and see if they work right there? (Maybe something is messed up somewhere in your user settings?)
If it still does not work, boot from the mint USB or DVD that you used to install, and check if it works there? (Maybe some system-wide config is messed up?)
So next, try adding a new user, and log in that user and see if they work right there? (Maybe something is messed up somewhere in your user settings?)
If it still does not work, boot from the mint USB or DVD that you used to install, and check if it works there? (Maybe some system-wide config is messed up?)
Re: Logitech MX518
That did it. The buttons work as intended in Firefox, Chrome, and Nemo. How can I fix it in my standard user account?FreedomTruth wrote:So next, try adding a new user, and log in that user and see if they work right there?
I also discovered my Bumblebee behaved differently. When I log into my standard account I see this (with a grayed-out Intel logo and the notification that appears when moused over (mouse cursor apparently doesn't appear in screenshots)). When I logged into the test account, I saw this. Is Bumblebee operating incorrectly?
-
- Level 4
- Posts: 443
- Joined: Fri Sep 23, 2016 10:19 am
Re: Logitech MX518
Hoping this will work; I really don't know where all the mouse settings are stored... If you don't have dconf-editor, install it (
mouse-use-extra-buttons should be checked, mouse-back-button should be 8, mouse-forward-button should be 9 If that doesn't fix it, search around in there (dconf-editor) for other "mouse" settings. The dconf files seemed to be the only relevant matches for "mouse" settings under ~/.config
sudo apt install dconf-editor
), then run it (it should be in your applications menu). Open the tree to org -> gnome -> nautilus -> preferences and check settings there.mouse-use-extra-buttons should be checked, mouse-back-button should be 8, mouse-forward-button should be 9 If that doesn't fix it, search around in there (dconf-editor) for other "mouse" settings. The dconf files seemed to be the only relevant matches for "mouse" settings under ~/.config
Re: Logitech MX518
It doesn't seem to work regardless if the "mouse-use-extra-buttons" is checked or not, and the back button is set to 8 and forward to 9. Is there a way to import working settings from the test account I created (that had working back/forward mouse buttons)?FreedomTruth wrote:mouse-use-extra-buttons should be checked, mouse-back-button should be 8, mouse-forward-button should be 9
I found a few other places that have mouse-based entries in dconf Editor, but nothing else seemed to reference extra or back/forward buttons. org>nemo>preferences shows the same "mouse-back-button", "mouse-forward-button" and "mouse-use-extra-buttons" entries but they're set up the same as org>gnome>nautilus>preferences.
-
- Level 4
- Posts: 443
- Joined: Fri Sep 23, 2016 10:19 am
Re: Logitech MX518
Sorry for the long delay. This is something that would be much easier for me to do than to explain how to donicholaicheck wrote:Is there a way to import working settings from the test account I created (that had working back/forward mouse buttons)?
I guess where I would start, is find out if it is something in your home .config directory. Give your new user sudo privileges, log in it, then rename your old users' .config directory to .config-backup. A new .config directory will be created for you on your next login. For example
Code: Select all
newuser@yourcomputer ~ $ sudo mv /home/mainuser/.config /home/mainuser/.config-backup
At this point, we're just trying to find the source of the bad configuration. Restore your old .config directory by logging back into your new account, removing the main account's new .config folder, and rename the backup to .config :
Code: Select all
newuser@yourcomputer ~ $ sudo rm -r /home/mainuser/.config && sudo mv /home/mainuser/.config-backup /home/mainuser/.config
Code: Select all
newuser@yourcomputer ~ $ sudo mv /home/mainuser/.config/dconf /home/mainuser/config/dconf-backup
Code: Select all
newuser@yourcomputer ~ $ sudo rm -r /home/mainuser/.config/dconf && sudo mv /home/mainuser/.config/dconf-backup /home/mainuser/.config/dconf
Worst case, just use your new user, and set everything back up how you want it.
This should probably go at the beginning of this post, but did the buttons ever work correctly on your main account, and do you have any backups from that time? It may be quicker or easier to restore your settings from then.