Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Double Click is not highlighting anything
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Wed Aug 14, 2019 8:13 pm    Post subject: Double Click is not highlighting anything Reply with quote

Hello everyone,

I have emerged xorg-server and dwm.

For some reason, I am unable to double click anything (from rxvt-unicode to my browser)
so I can highlight a word to copy/paste it somewhere. Instead, I have to click and drag to
do this.

It works fine on my other devices, but it isn't working with this device (raspberry pi 4). Although,
I don't think it is related to the arch or anything like that (I could be entirely wrong, of course.)
which is why I'm posting it in here.

Does anyone know how I can get this to work?

If I need to, let me know and I'll gladly post whatever is needed to help me with this problem.

Also note: Control+C / Control+V is not copying and pasting either, if that might be related.
Back to top
View user's profile Send private message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Wed Aug 14, 2019 8:24 pm    Post subject: Reply with quote

I noticed that my INPUT_DEVICES did not contain "evdev" so I added it and I'm emerging xorg-drivers again
to see if maybe that is all it is. I'll update this when it is complete. (Although, please note that the rpi4 still does
take a bit of time to compile.)
Back to top
View user's profile Send private message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Thu Aug 15, 2019 5:29 pm    Post subject: Reply with quote

That did not help. Now I'm not sure what to do.
Back to top
View user's profile Send private message
rpruen
n00b
n00b


Joined: 08 Aug 2019
Posts: 37
Location: Burnham on Sea

PostPosted: Thu Aug 15, 2019 5:43 pm    Post subject: Reply with quote

I'm not sure what to do either...

What sort of mouse? Does the middle button do anything if you have one?

have you tried installing GPM to see if the mouse works ok in the console?
Back to top
View user's profile Send private message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Thu Aug 15, 2019 6:28 pm    Post subject: Reply with quote

I tried to debug using
Code:
xev
to see if it is even detecting the clicks.
It is not detecting the cilcks unless I hold the mouse down for about 0.5s, so
I can now highlight text...but I have to do this:
click and hold 0.5s, then click and hold 0.5s
Back to top
View user's profile Send private message
rpruen
n00b
n00b


Joined: 08 Aug 2019
Posts: 37
Location: Burnham on Sea

PostPosted: Thu Aug 15, 2019 6:56 pm    Post subject: Reply with quote

I'd be tempted to give GPM a try, that way you can tell if the mouse is at fault or X

https://wiki.gentoo.org/wiki/GPM for instructions (if needed)

If it works ok with GPM, then we can try to figure out what is going on with X.

The Pi is a bit picky about mice, I have one that simply doesn't work on the pi, though it was the cursor movement that was the problem.
Back to top
View user's profile Send private message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Thu Aug 15, 2019 6:58 pm    Post subject: Reply with quote

The middle button works, and the mouse is a steel series rival 100.
I've confirmed that it works on other computers.

my make.conf contains:
Code:

INPUT_DEVICES="evdev keyboard libinput mouse"


I tested it in both usb2.0 and usb3.0, with no changes.

EDIT: Just saw the post previous to this one. I will give it a try in a little bit, I have to do something IRL.
Back to top
View user's profile Send private message
rpruen
n00b
n00b


Joined: 08 Aug 2019
Posts: 37
Location: Burnham on Sea

PostPosted: Thu Aug 15, 2019 7:10 pm    Post subject: Reply with quote

The mouse I have that doesn't work, works fine in other computers.

I wonder what your Xorg log says about input devices

I have the same in my make.conf but in a different order

Code:
INPUT_DEVICES="libinput evdev keyboard mouse"


My Xorg log indicates libinput is used for the mouse, maybe try that?[/quote]
Back to top
View user's profile Send private message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Thu Aug 15, 2019 7:47 pm    Post subject: Reply with quote

>libinput is used for the mouse, maybe try that?
How do I do that?


Here is my logs (grepping only the important things.):
Code:

kashire@pi4 $ cat /var/log/Xorg.0.log  | grep libinput                                                                                                                                                       
[    89.589] (**) USB Keyboard: Applying InputClass "libinput keyboard catchall"
[    89.589] (II) LoadModule: "libinput"
[    89.590] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    89.592] (II) Module libinput: vendor="X.Org Foundation"
[    89.592] (II) Using input driver 'libinput' for 'USB Keyboard'
[    89.689] (**) USB Keyboard Keyboard: Applying InputClass "libinput keyboard catchall"
[    89.689] (II) Using input driver 'libinput' for 'USB Keyboard Keyboard'
[    89.788] (**) USB Keyboard System Control: Applying InputClass "libinput keyboard catchall"
[    89.788] (II) Using input driver 'libinput' for 'USB Keyboard System Control'
[    89.888] (**) USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[    89.888] (II) Using input driver 'libinput' for 'USB Keyboard Consumer Control'
[    89.980] (II) libinput: USB Keyboard Consumer Control: needs a virtual subdevice
[    89.988] (**) SteelSeries SteelSeries Rival 100 Gaming Mouse: Applying InputClass "libinput pointer catchall"
[    89.988] (II) Using input driver 'libinput' for 'SteelSeries SteelSeries Rival 100 Gaming Mouse'
[    90.232] (**) USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[    90.232] (II) Using input driver 'libinput' for 'USB Keyboard Consumer Control'
[    90.232] (**) Option "_source" "_driver/libinput"
[    90.232] (II) libinput: USB Keyboard Consumer Control: is a virtual subdevice
[   648.941] (II) UnloadModule: "libinput"
[   649.120] (II) UnloadModule: "libinput"
[   649.220] (II) UnloadModule: "libinput"
[   649.282] (II) UnloadModule: "libinput"
[   649.341] (II) UnloadModule: "libinput"
[   649.641] (II) UnloadModule: "libinput"


Code:

kashire@pi4 $ cat /var/log/Xorg.0.log  | grep mouse
[    89.348] (==) modeset(0): Silken mouse enabled
[    90.216] (II) config/udev: Adding input device SteelSeries SteelSeries Rival 100 Gaming Mouse (/dev/input/mouse0)


Code:
                                                                                                                                                     
kashire@pi4 $ cat /var/log/Xorg.0.log  | grep SteelSeries                                                                                                                                                     
[    89.988] (II) config/udev: Adding input device SteelSeries SteelSeries Rival 100 Gaming Mouse (/dev/input/event0)
[    89.988] (**) SteelSeries SteelSeries Rival 100 Gaming Mouse: Applying InputClass "evdev pointer catchall"
[    89.988] (**) SteelSeries SteelSeries Rival 100 Gaming Mouse: Applying InputClass "libinput pointer catchall"
[    89.988] (II) Using input driver 'libinput' for 'SteelSeries SteelSeries Rival 100 Gaming Mouse'
[    89.988] (**) SteelSeries SteelSeries Rival 100 Gaming Mouse: always reports core events
[    90.054] (II) event0  - SteelSeries SteelSeries Rival 100 Gaming Mouse: is tagged by udev as: Mouse
[    90.054] (II) event0  - SteelSeries SteelSeries Rival 100 Gaming Mouse: device is a pointer
[    90.055] (II) event0  - SteelSeries SteelSeries Rival 100 Gaming Mouse: device removed
[    90.140] (II) XINPUT: Adding extended input device "SteelSeries SteelSeries Rival 100 Gaming Mouse" (type: MOUSE, id 10)
[    90.141] (**) SteelSeries SteelSeries Rival 100 Gaming Mouse: (accel) selected scheme none/0
[    90.141] (**) SteelSeries SteelSeries Rival 100 Gaming Mouse: (accel) acceleration factor: 2.000
[    90.141] (**) SteelSeries SteelSeries Rival 100 Gaming Mouse: (accel) acceleration threshold: 4
[    90.214] (II) event0  - SteelSeries SteelSeries Rival 100 Gaming Mouse: is tagged by udev as: Mouse
[    90.214] (II) event0  - SteelSeries SteelSeries Rival 100 Gaming Mouse: device is a pointer
[    90.216] (II) config/udev: Adding input device SteelSeries SteelSeries Rival 100 Gaming Mouse (/dev/input/mouse0)
[   649.601] (II) config/udev: removing device SteelSeries SteelSeries Rival 100 Gaming Mouse
[   649.602] (II) event0  - SteelSeries SteelSeries Rival 100 Gaming Mouse: device removed
Back to top
View user's profile Send private message
rpruen
n00b
n00b


Joined: 08 Aug 2019
Posts: 37
Location: Burnham on Sea

PostPosted: Thu Aug 15, 2019 8:26 pm    Post subject: Reply with quote

Kashire wrote:

How do I do that?


Take out the other options from input_devices.

May be worth a try.
Back to top
View user's profile Send private message
Kashire
n00b
n00b


Joined: 08 Apr 2019
Posts: 27

PostPosted: Thu Aug 15, 2019 8:29 pm    Post subject: Reply with quote

GPM is very confusing. I setup the config and ran it, but nothing is happening.

I just tried another mouse and dmesg was putting:
Code:

[  895.452007] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[  896.362045] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[  896.362375] usb 1-1-port1: attempt power cycle


I just noticed that "CTRL+Z" isn't working as normal either.

So, what does not work:

"CTRL+C", "CTRL+V", "CTRL+Z". The only way I can paste is when I drag
and highlight, then press the middle wheel to paste.

EDIT: just saw your response above this one. I removed `mouse` and it will take awhile to compile.
Back to top
View user's profile Send private message
rpruen
n00b
n00b


Joined: 08 Aug 2019
Posts: 37
Location: Burnham on Sea

PostPosted: Thu Aug 15, 2019 8:39 pm    Post subject: Reply with quote

Kashire wrote:
GPM is very confusing. I setup the config and ran it, but nothing is happening.


Could be that the config file needs adjusting, I needed to switch the mouse protocol.


Kashire wrote:
I just tried another mouse and dmesg was putting:
Code:

[  895.452007] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[  896.362045] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[  896.362375] usb 1-1-port1: attempt power cycle



Thats clearly not working at all

Kashire wrote:
I just noticed that "CTRL+Z" isn't working as normal either.

So, what does not work:

"CTRL+C", "CTRL+V", "CTRL+Z". The only way I can paste is when I drag
and highlight, then press the middle wheel to paste.


Thats odd... CTRL+C etc work fine here
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum