55
submitted 1 month ago by muhyb@programming.dev to c/linux@lemmy.ml

I like my Breeze-hacked cursor but I think it's time to find a native Wayland replacement.

I have some problems with X11 cursors and that's quite normal with Wayland obviously. For example, my cursor can become invisible if my screen sleeps. Additional controllers that control mouse cursor don't control X11 cursor, however they still work, I just don't know where the cursor is unless it highlights something. Things like this.

It's becoming kinda inconvenient so I'm asking for a replacement. Currently I don't really care how it looks.

I'm on River by the way.

top 33 comments
sorted by: hot top controversial new old
[-] flamingo_pinyata@sopuli.xyz 26 points 1 month ago

Cursor is not really anything that I feel a need to customize. It's a pointer that changes shape according to context, and the default implementations usually do it at least decently.

[-] muhyb@programming.dev 3 points 1 month ago

Sure, but my post isn't about customizing really. It's about Xorg vs Wayland cursors, which I don't know any Wayland cursor I can use.

[-] Ephera@lemmy.ml 12 points 1 month ago

Is the normal Breeze cursor not an option?

I'm also not quite sure what you mean with "Wayland cursor", but I'm using the default Breeze cursor under Wayland without problems...

[-] muhyb@programming.dev 1 points 1 month ago

I haven't tried it but I can try. Recently I learned about Hyprcursor in a post which was saying native Wayland cursor. However I couldn't really find anything about native Wayland cursors so I asked here.

[-] Ephera@lemmy.ml 5 points 1 month ago

Hmm, I read that the KDE devs changed the Breeze cursor to use SVG files, which allows scaling it for the shake-cursor-feature of Plasma 6.1. That feature's only available on Wayland, but yeah, no idea if this really couldn't be done on X11...

[-] muhyb@programming.dev 2 points 1 month ago

Apparently those cursors can be used on both Xorg and Wayland with their respective specs, and they are even located at ~/.icons or /usr/share/icons. Maybe this is some kind of a transition stage. However hyprcursor isn't located there.

[-] Zamundaaa@discuss.tchncs.de 13 points 1 month ago

I have some problems with X11 cursors and that's quite normal with Wayland obviously

It's not. There is no Wayland specific cursor format, it's all just images on disk, and the most widely used format hasn't changed away from Xcursors yet.

For example, my cursor can become invisible if my screen sleeps

That's either a compositor or driver bug, please report it (as I've never seen that on Plasma, to your compositor first).

Additional controllers that control mouse cursor don't control X11 cursor, however they still work, I just don't know where the cursor is unless it highlights something.

That's because it moves the X11 pointer but not the real one. A cursor theme can't change that.

[-] muhyb@programming.dev 2 points 1 month ago

I see. So nothing really changed? I was starting to think that it might be related to permissions in Wayland, apparently not.

That’s either a compositor or driver bug, please report it (as I’ve never seen that on Plasma, to your compositor first).

Hmm, in that case it could be a Hyprland issue. I would say wlroots but they stopped using wlroots and I switched to River recently. Haven't happened on River yet but it's been only a week so I cannot say for now.

That’s because it moves the X11 pointer but not the real one. A cursor theme can’t change that.

The real one? It was fine on Xorg though. I tried to put my user into input group, thinking could be related to a permission issue but it didn't change anything.

[-] Zamundaaa@discuss.tchncs.de 4 points 1 month ago

The real one? It was fine on Xorg though

When an app (in your case, Steam) uses X11 APIs to move the cursor, that of course works on Xorg, but Xwayland merely emulates it - so it moves the X11 pointer for X11 apps, but not the pointer from the Wayland compositor.

Some compositors allow Xwayland to request moving the real pointer instead of doing emulation, but River apparently doesn't.

[-] muhyb@programming.dev 2 points 1 month ago

So even if there was a native Wayland cursor, that wouldn't fix it too unless everything is native Wayland?

Some compositors allow Xwayland to request moving the real pointer instead of doing emulation, but River apparently doesn’t.

Then this shouldn't happen with native Wayland apps I assume. I guess some problems could occur since it's a transition layer. Though I don't know the working mechanism of Xwayland. I'm kinda confused. So this is a pointer issue but not input issue?

[-] teuto@lemmy.teuto.icu 6 points 1 month ago

I like the catppuccin cursors (along with the rest of catppuccin) https://github.com/catppuccin/cursors

[-] muhyb@programming.dev 2 points 1 month ago

I installed the Mocha pack and it seems fine so far. Thanks.

[-] Berny23@lemmy.sdf.org 4 points 1 month ago
[-] GolfNovemberUniform@lemmy.ml 3 points 1 month ago

Adwaita cursor is the only good cursor.

[-] boredsquirrel@slrpnk.net 3 points 1 month ago* (last edited 1 month ago)
[-] superkret@feddit.org 2 points 1 month ago
[-] muhyb@programming.dev 3 points 1 month ago

Eh, it's been generally fine for me so far. What curses do you use? Ncurses doesn't count. :)

[-] superkret@feddit.org 2 points 1 month ago

No, I like Wayland a lot.
And I do use sway with mostly TUI programs, Elinks and Vimium-Browser.
So I hardly ever see the cursor.

[-] muhyb@programming.dev 2 points 1 month ago

I see. Well, I use TUI a lot too (even on display manager, ly rocks) but not everywhere so I still need my cursor. Also I'm using a WM doesn't mean I cannot get lazy. :)

[-] jaxiiruff@lemmy.zip 2 points 1 month ago

I love the vimix cursors

[-] SaltyIceteaMaker@lemmy.ml 2 points 1 month ago
[-] muhyb@programming.dev 1 points 1 month ago

Can we use it on outside of Hyprland? I installed it but doesn't show up on nwg-look. No idea if I can use it at all.

[-] SaltyIceteaMaker@lemmy.ml 1 points 1 month ago

Sadly i don't know, as i am using hyprland.

[-] muhyb@programming.dev 2 points 1 month ago

I see. I checked its documents now and it seems it can be usable on Hyprland only, depending on hyprctl.

[-] dinckelman@lemmy.world 2 points 1 month ago

I use Bibata however I don't really have a strong preference for any specific one.

Going to return to this thread a bit later, just to see if other people link something interesting

[-] kusivittula@sopuli.xyz 2 points 1 month ago

i use banana cursor because bananas are healthy

[-] communist@lemmy.frozeninferno.xyz 2 points 1 month ago

I use posy but I'm watching this issue like a hawk before I recommend it https://github.com/simtrami/posy-improved-cursor-linux/issues/13

[-] shekau@lemmy.today 1 points 4 weeks ago

Idk. Just default one?

[-] Akinzekeel@lemmy.world 1 points 1 month ago

I don’t know if these are wayland cursors or not, but I’m using Polarnight

[-] muhyb@programming.dev 1 points 1 month ago

They are Xcursor, same as Breeze-hacked. Honestly only native Wayland cursor I know of is Hyprcursor, but that only works with Hyprland it seems.

[-] Akinzekeel@lemmy.world 1 points 1 month ago

I actually use Hyprland and I also have Hyprcursor installed, but for some reason there are like 3-4 different cursors depending on which program I’m using

[-] muhyb@programming.dev 1 points 1 month ago

I think those are changing according to which sandbox environment you currently use. Probably one for root account (for programs you use with sudo), one for flatpaks and one for normal user.

[-] Akinzekeel@lemmy.world 1 points 1 month ago

Ah yes that makes sense. I do have a small number of flatpaks installed

this post was submitted on 19 Oct 2024
55 points (96.6% liked)

Linux

48335 readers
516 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS