56
submitted 2 months 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 2 months 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 2 months 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 2 months 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 2 months 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 2 months 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 2 months 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 2 months 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 2 months 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 2 months 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 2 months 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 2 months ago

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

[-] muhyb@programming.dev 2 points 2 months ago

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

[-] Berny23@lemmy.sdf.org 4 points 2 months ago
[-] GolfNovemberUniform@lemmy.ml 3 points 2 months ago

Adwaita cursor is the only good cursor.

[-] boredsquirrel@slrpnk.net 3 points 2 months ago* (last edited 2 months ago)
[-] superkret@feddit.org 2 points 2 months ago
[-] muhyb@programming.dev 3 points 2 months 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 2 months 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 2 months 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. :)

[-] kusivittula@sopuli.xyz 2 points 2 months ago

i use banana cursor because bananas are healthy

[-] SaltyIceteaMaker@lemmy.ml 2 points 2 months ago
[-] muhyb@programming.dev 1 points 2 months 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 2 months ago

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

[-] muhyb@programming.dev 2 points 2 months 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 2 months 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

[-] jaxiiruff@lemmy.zip 2 points 2 months ago

I love the vimix cursors

[-] communist@lemmy.frozeninferno.xyz 2 points 2 months 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 2 months ago

Idk. Just default one?

[-] Akinzekeel@lemmy.world 1 points 2 months ago

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

[-] muhyb@programming.dev 1 points 2 months 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 2 months 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 2 months 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 2 months ago

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

this post was submitted on 19 Oct 2024
56 points (96.7% liked)

Linux

48746 readers
1042 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