widgets
widgets copied to clipboard
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window
Hi, getting this error whenever I try to run either script unfortunately. How can I resolve this? Not sure where to define the monitor and I can't see anything about it in your documentation. I installed eww correctly and I'm running EndeavourOS with Hyprland.
❯ bash ~/.config/eww/dashboard/launch_dashboard
failed to open window `background`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `profile`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `system`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `clock`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `uptime`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `music`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `github`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `reddit`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `twitter`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `youtube`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `weather`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `apps`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `mail`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `logout`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `sleep`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `reboot`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `poweroff`
Caused by:
Failed to get primary monitor from GTK. Try explicitly specifying the monitor on your window.
failed to open window `folders`
Also getting the same error when trying to launch under Hyprland on EndeavourOS. @jontstaz Did you manage to get it working? Hyprland version: hyprland-nvidia-git (0.32.0.r2.gda6fa9cb-1) Kernel: 6.6.1-zen1-1-zen Fully updated system as of writing this comment
Specify your monitor manually on the defwindow
s inside eww.yuck
by adding :monitor 0
That's not working
Any luck with this guys?
Specify your monitor manually on the
defwindow
s insideeww.yuck
by adding:monitor 0
On every single defwindow?
Specify your monitor manually on the
defwindow
s insideeww.yuck
by adding:monitor 0
On every single defwindow?
yes that should do.
i myself got this issue and :monitor 0
fixed it.
I am using Hyprland.
Specify your monitor manually on the
defwindow
s insideeww.yuck
by adding:monitor 0
On every single defwindow?
yes that should do. i myself got this issue and
:monitor 0
fixed it. I am using Hyprland.
Yeah I did end up doing this, I was just a little confused. I assume gtk is supposed to get monitor so I was wondering if there was a fix for that detector.