You are not logged in.
My mouse scroll is working fine in apps like qterminal, firefox, telegram and hexchat... But I can not use it on Libreoffice and Caja, for example. It's a simple Logitech mouse and I'm on PekWM.
Last edited by AndreyTarkovsky (2020-12-28 16:20:20)
Offline
Offline
Well, if you mean this
GDK_CORE_DEVICE_EVENTS=1Didn't work for me.
Offline
Yes, it's a known bug in gtk.
How and where did you define that?
Offline
Yes, it's a known bug in gtk.
How and where did you define that?
define what?
Offline
The environment variable…
Offline
The environment variable…
I did on my qterminal using PekWM, should I define it before open any gtk app?
Offline
Yes.
Entering that somewhere™ does pretty much nothing.
Offline
seth wrote:The environment variable…
I did on my qterminal using PekWM, should I define it before open any gtk app?
ohh, I got it:
GDK_CORE_DEVICE_EVENTS=1 lowriterThat worked, thank you very much, man.
Now I will add this to all my other launch options.
Offline
No, that's insane.
Just export it in your session script.
Offline
No, that's insane.
Just export it in your session script.
Ok, better idea, thank you very much.
Offline
No, that's insane.
Just export it in your session script.
Hey man, I did add the env variable to my ~/.xinitrc but didn't work. Should I add to another file?
Offline
This depends on how you start the session - xinitrc is only (by default) executed by xinit/startx and xdm - oder DMs (lightdm, GDM, SDDM,…) don't execute it at all.
Offline
Hey man, I did add the env variable to my ~/.xinitrc but didn't work. Should I add to another file?
If you use a display manager you can create a file "~/.xprofile". The contents could look like this:
#!/bin/bash
export GDK_CORE_DEVICE_EVENTS=1Another way is a file "~/.pam_environment" or system-wide in "/etc/environment". Those files are not scripts so you don't use the "export" word in them, you just write "name=value":
GDK_CORE_DEVICE_EVENTS=1Last edited by Ropid (2020-12-28 17:29:31)
Offline
AndreyTarkovsky wrote:Hey man, I did add the env variable to my ~/.xinitrc but didn't work. Should I add to another file?
If you use a display manager you can create a file "~/.xprofile". The contents could look like this:
#!/bin/bash export GDK_CORE_DEVICE_EVENTS=1Another way is a file "~/.pam_environment" or system-wide in "/etc/environment". Those files are not scripts so you don't use the "export" word in them, you just write "name=value":
GDK_CORE_DEVICE_EVENTS=1
You are awesome, thank you very much!
Offline