-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
naga service not starting on Wayland #36
Comments
Hi ! It seems you are somewhat right.
The "dotool" tool didn't properly install in your case
…________________________________
From: AsimAJ33 ***@***.***>
Sent: Wednesday, June 7, 2023 11:20:08 AM
To: lostallmymoney/Razer_Mouse_Linux ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [lostallmymoney/Razer_Mouse_Linux] naga service not starting on Wayland (Issue #36)
Hi there,
Your project is the closest I've come to getting my Naga Pro to work so thanks for that firstly.
I'm running Ubuntu 23 Wayland and during the install script, I chose to not install for X11 as I only use Wayland.
I can't get the naga service to start, after looking at the debug logs this is what I see. Is it a simple case of this project isn't Wayland ready yet or am I being silly and doing something wrong?
Happy to provide other logs etc
Jun 07 16:13:06 ubenbro systemd[1]: naga.service: Failed with result 'exit-code'.
Jun 07 16:13:59 ubenbro systemd[1]: Started naga.service - Custom key bindings for the side panel of razer mouses..
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84906]: dotoold: no process found
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84907]: bash: line 1: dotoold: command not found
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84908]: Stopping possible naga daemon
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84927]: WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84935]: WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84935]: unable to find device ''
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84908]: Reading from: /dev/input/by-id/usb-Razer_Razer_Naga_Pro_000000000000-if02-event-kbd
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84908]: and /dev/input/by-id/usb-Razer_Razer_Naga_Pro_000000000000-event-mouse
Jun 07 16:14:07 ubenbro nagaServerCatcher.sh[84908]: Error calling method: Object does not exist at path “/org/gnome/Shell/Extensions/WindowsExt”
Jun 07 16:14:07 ubenbro nagaServerCatcher.sh[84908]: WindowNameLog :
Jun 07 16:14:07 ubenbro nagaServerCatcher.sh[84899]: Segmentation fault (core dumped)
Jun 07 16:14:07 ubenbro systemd[1]: naga.service: Main process exited, code=exited, status=139/n/a
Jun 07 16:14:07 ubenbro systemd[1]: naga.service: Failed with result 'exit-code'.```
—
Reply to this email directly, view it on GitHub<#36>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABSTWRPG7TJZBDSG3L63ATLXKCL2RANCNFSM6AAAAAAY6BEIYI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
It also looks like the wayland extension didn't properly install or something as such. Try finding why dotool does not install and you should have part of the issue solved (altough the wayland version lacks a bit with the fake keys it can run casual stuff pretty alright).
…________________________________
From: AsimAJ33 ***@***.***>
Sent: Wednesday, June 7, 2023 11:20:08 AM
To: lostallmymoney/Razer_Mouse_Linux ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [lostallmymoney/Razer_Mouse_Linux] naga service not starting on Wayland (Issue #36)
Hi there,
Your project is the closest I've come to getting my Naga Pro to work so thanks for that firstly.
I'm running Ubuntu 23 Wayland and during the install script, I chose to not install for X11 as I only use Wayland.
I can't get the naga service to start, after looking at the debug logs this is what I see. Is it a simple case of this project isn't Wayland ready yet or am I being silly and doing something wrong?
Happy to provide other logs etc
Jun 07 16:13:06 ubenbro systemd[1]: naga.service: Failed with result 'exit-code'.
Jun 07 16:13:59 ubenbro systemd[1]: Started naga.service - Custom key bindings for the side panel of razer mouses..
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84906]: dotoold: no process found
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84907]: bash: line 1: dotoold: command not found
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84908]: Stopping possible naga daemon
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84927]: WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84935]: WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84935]: unable to find device ''
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84908]: Reading from: /dev/input/by-id/usb-Razer_Razer_Naga_Pro_000000000000-if02-event-kbd
Jun 07 16:13:59 ubenbro nagaServerCatcher.sh[84908]: and /dev/input/by-id/usb-Razer_Razer_Naga_Pro_000000000000-event-mouse
Jun 07 16:14:07 ubenbro nagaServerCatcher.sh[84908]: Error calling method: Object does not exist at path “/org/gnome/Shell/Extensions/WindowsExt”
Jun 07 16:14:07 ubenbro nagaServerCatcher.sh[84908]: WindowNameLog :
Jun 07 16:14:07 ubenbro nagaServerCatcher.sh[84899]: Segmentation fault (core dumped)
Jun 07 16:14:07 ubenbro systemd[1]: naga.service: Main process exited, code=exited, status=139/n/a
Jun 07 16:14:07 ubenbro systemd[1]: naga.service: Failed with result 'exit-code'.```
—
Reply to this email directly, view it on GitHub<#36>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABSTWRPG7TJZBDSG3L63ATLXKCL2RANCNFSM6AAAAAAY6BEIYI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Okay I'm a little further, I've installed dotool but it only works when I use sudo
When I use sudo
So I know that dotool is installed but only sudo can use it, which is going to cause issues issues: If I run
We can see that as before, the naga daemon can't see that dotool is installed. I thought about just doing
Apologies for the seemingly silly issue but I feel like I'm really close to getting this working so would appreciate your help. Thanks |
Dotool needs a udev rule. Try installing for x11 too in case there are shared dependencies. After installing dotool there is a little trickery to run a dotoold (daemon) then NagaWayland sends stuff to dotoold. From what I can see a lot went wrong in your install since you do not have the set alias naga. I will try installing on wayland again in a few days. Tbh idk how both features went wrong. Especially with the gnome extension.
Were you online when you installed ?
Oh and if you read about the bugs you'll learn that sometimes ubuntu will boot on x11 or wayland for no reason.
…________________________________
From: AsimAJ33 ***@***.***>
Sent: Wednesday, June 14, 2023 11:01:37 AM
To: lostallmymoney/Razer_Mouse_Linux ***@***.***>
Cc: Cam ***@***.***>; Comment ***@***.***>
Subject: Re: [lostallmymoney/Razer_Mouse_Linux] naga service not starting on Wayland (Issue #36)
Okay I'm a little further, I've installed dotool but it only works when I use sudo
echo type hello | dotool
dotool: failed to create virtual keyboard device: could not open device file
When I use sudo
echo type hello | sudo dotool
hello
So I know that dotool is installed but only sudo can use it, which is going to cause issues issues:
If I run
naga debug
Starting naga debug, logs :
Jun 12 17:58:40 ubenbro systemd[1]: Started naga.service - Custom key bindings for the side panel of razer mouses..
Jun 12 17:58:40 ubenbro nagaServerCatcher.sh[1910]: dotoold: no process found
Jun 12 17:58:40 ubenbro nagaServerCatcher.sh[1912]: Stopping possible naga daemon
We can see that as before, the naga daemon can't see that dotool is installed.
I thought about just doing sudo naga debug so that sudo could run the naga daemon and also see dotool but that doesn't work either
sudo naga debug
sudo: naga: command not found
Apologies for the seemingly silly issue but I feel like I'm really close to getting this working so would appreciate your help.
Thanks
—
Reply to this email directly, view it on GitHub<#36 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABSTWRMWT4RWTDYIFNH3IILXLHG5DANCNFSM6AAAAAAY6BEIYI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Just an update, I've tried installing on X11 too and yes I was online when I installed but still can't get your app running so my naga is still sadly useless on Ubuntu :( |
Hey sorry man I really wasn't around my PC. Here is the patch your mouse will work under wayland now ahah ! |
Damn idk what happened to wayland version ahah. Keeping 2 versions is messy sometimes. Had to fix some mistake and add back the suffixes. |
Hi there,
Your project is the closest I've come to getting my Naga Pro to work so thanks for that firstly.
I'm running Ubuntu 23 Wayland and during the install script, I chose to not install for X11 as I only use Wayland.
I can't get the naga service to start, after looking at the debug logs this is what I see. Is it a simple case of this project isn't Wayland ready yet or am I being silly and doing something wrong?
Happy to provide other logs etc
The text was updated successfully, but these errors were encountered: