this post was submitted on 01 Jan 2024
15 points (100.0% liked)
raspberrypi
3273 readers
9 users here now
Community about the single-board computers, micro-controllers and related projects.
Other RaspberryPi communities on Lemmy
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
All help is welcome. And I apologise, but do you mind speaking to me like a newborn baby? How do I check if it's X or Wayland? How do I check if the mouse is numbered and in what order? How do I check the dmesg? Nope, no other device has pointer capabilities.
If X is running you should be able to grep something with
systemctl status | grep Xorg
, else it should return nothing.Not sure what the numbered buttons are about.
dmesg has a command with the same name that outputs it. I don't think is is normally available nowadays, replaced by
sudo journalctl
. Not sure what it might tell you. But if it outputs some warning about input devices maybe?Otherwise, to see if it is an X vs Wayland issue, you can perhaps try and start a X- or wayland-only window manager. On the login screen, you may have options for sessions like 'gnome' and 'gnome (X)', one should be wayland and the other X. If nothing looks like that, then you can install i3 (X-only) and Sway (wayland-only). Logout of either by... I think it is mod+shift+e. If you start one, test, try the other. If they both fail, it is the fault of something on some lower level, otherwise you atleast know if it is an X or wayland specific error.
Systemctl is outputting
22211 grep --color=auto Xorg
Ah, did not know the grep would be visible there. OK. Then you are running wayland. If you try and install i3 (which only works with X). Launching i3 from the login prompt will start X, and then you can try the mouse again. If it works there it is a wayland problem.
Is the only way to test to install another WM?
Not sure. I know very little about wayland. It can be that the WM you are running supports both X and Wayland. If that is the case, it may already exist a session option in the login prompt for that. If there are no such option you would have to research how to make one if it is possible for that wm. Otherwise you can also just try
startx
, I don't remember the syntax, but you should be able just start X with a terminal with that command (ctrl+alt+backspace used to be the keys to shut it down). So if all you need is a terminal to perform your test (or can be started from a terminal), that should work too.All of this is just to figure out if it is a wayland issue or not. After that I'm not sure what to do anyway. Perhaps there is some other path that will solve your issue more directly, but nothing comes to mind.