You are not logged in.

#1 2024-01-28 20:01:56

t0mate
Member
Registered: 2024-01-28
Posts: 39

[SOLVED] Cursor gone in compositor for Wayland, help

So, I'm a new Arch user, I just started installing it last week. Until now I worked out problem after problem with my installation. Just when I thought I was finished, my cursor is gone.
It happened after I installed KDE plasma, deleted it mostly (because it was slow) and reinstalled wio, a compositor. Now in wio, there's no cursor. I can click around and move things and stuff, but I can't see where the cursor is right now. Please give me possible solutions for this problem, thank you for reading:

Last edited by t0mate (2024-01-29 19:35:36)

Offline

#2 2024-01-28 20:17:01

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,193
Website

Re: [SOLVED] Cursor gone in compositor for Wayland, help

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-01-28 21:24:01

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,684

Offline

#4 2024-01-28 22:26:25

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: [SOLVED] Cursor gone in compositor for Wayland, help

Thank you. I tried this https://www.reddit.com/r/kdeneon/commen … are_button, and with and without "export" in front of the environment variable. I executed "pkill wio" in wio after modifying the file in path "/etc/environment" and rerun "wio" in the console, then rebooted and rerun "wio". It didn't work. I noticed, you did post other links under your main link. Should I check them out too?

Last edited by t0mate (2024-01-28 22:28:59)

Offline

#5 2024-01-28 22:32:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,684

Re: [SOLVED] Cursor gone in compositor for Wayland, help

No, that's my signature holding some usual errors.

Whether or not that file gets sourced for the environment depends, please check

tr '\0' '\n' < /proc/$(pidof kwin_wayland)/environ | grep -i cursor

to see whether and what actually gets applied.
Notably, wtf is "wio"? Doesn't seem to be in the repos?

Also please don't paraphrase citing other threads, always post *exactly* what you did. You're often just one copypaste error away…

Offline

#6 2024-01-29 01:18:07

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: [SOLVED] Cursor gone in compositor for Wayland, help

My post, which I've worked roughly 1 hour on has disappeared when reloading the page. No worries, I will write it again from memory:

Thank you for your reply. Wio is a AUR, wlroots-based, stacking, wayland compositor, I found under the url: https://wiki.archlinux.org/title/Wayland#Stacking.

If it helps, for testing I additionally installed another AUR, wlroots-based, stacking, wayland compositor named hikari and run it with "hikari", it worked, the cursor was visible there (, I don't know how to use hikari, not even opening a terminal or exiting the compositor I know without manually rebooting).
So there must be a problem in the configuration of wio or the compositor itself is corrupt.

Now to the topic, I did as suggested:
I executed your command "tr '\0' '\n' < /proc/$(pidof kwin_wayland)/environ | grep -i cursor" and the output was "zsh: no such file or directory: /proc//environ". I checked if the error was correct with "ls -a /proc" and there wasn't anything similar to "environ" or "/environ".

------------------------------------------------------------------
To be complete, my previous steps, detailed: I edited the file "environment" with "doas vi /etc/environment" and added on a new line "export KWIN_FORCE_SW_CURSOR=1", wrote and quit with ":wq", to apply the environment variables system-wide. Then I updated AUR with "doas pacman -Syyu" (, even tough I just installed wio). At last I rebooted with "reboot". After the reboot I've run wio with "wio" and the issue still persisted.

Before, I've also tried (, in descending order):
"KWIN_FORCE_SW_CURSOR=1"
"export KWIN_FORCE_SW_CURSOR"
"KWIN_FORCE_SW_CURSOR"

I really want to use wio. And fixing this issue will help me with other compositors too, unless wio is really corrupted. What do I do?

-- oversize image removed --

Only documentation I could find regarding wio:
https://gitlab.com/Rubo/wio

There's also this video, restored from the wayback machine:
https://web.archive.org/web/20231216094 … oject.org/

Last edited by t0mate (2024-01-29 12:38:50)

Offline

#7 2024-01-29 07:36:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,684

Re: [SOLVED] Cursor gone in compositor for Wayland, help

Ah sorry, I stopped reading your OP after "installed plasma"…
https://wiki.archlinux.org/title/Sway#No_visible_cursor

Please remove the oversized image

Offline

#8 2024-01-29 12:50:56

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: [SOLVED] Cursor gone in compositor for Wayland, help

Thanks @seth! It worked!
Maybe should have read this first.

For anyone looking for the solution...
In the console I entered:

"export WLR_NO_HARDWARE_CURSORS=1 wio"

Then I've run wio with "wio".

Alternatively, I think you can add this line to the file "/etc/environment" to apply it system-wide.

Offline

#9 2024-01-29 15:46:00

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,684

Re: [SOLVED] Cursor gone in compositor for Wayland, help

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB