-
-
Notifications
You must be signed in to change notification settings - Fork 931
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
Inconsistent cursor size #6320
Comments
sad reality of cursors on linux. https://wiki.hyprland.org/Hypr-Ecosystem/hyprcursor/ play with xcursor_size until it's good enough |
converting xcursors to hyprcursors with the util works 90% of the time without issues. For best result, you should manually replace pngs with svgs. You can also use a pre-made theme, of course. Try using |
To ensure that I don't take up too much of your time and to give you the full context of the problem, here's the full scope of the issue: I'm using phinger-cursors-dark from https://github.com/phisch/phinger-cursors. I changed it into hyprcursors via These lines are in my hyprland.conf:
I also have phinger-cursors-X set in nwg-look which sets it correctly for firefox.
It seems that the distortion is a problem with the xcursor to hyprcursor issue, but none of this addresses the size issue. It's likely that I did something wrong due to this being my first venture into hyprland, though I'm not sure where that could be. In the meantime I'm going to go through the discord and see if any of those themes work. |
distortion is IIRC a reported issue in hyprcursor, it's a bug in the util I believe. Try some of the SVG themes from the #hyprcursor-themes channel in discord. |
I'll try that, thank you. Is there anywhere else I can get feedback on this problem? I tried posting about it in the discord but I have yet to get a reply. I feel bad bothering the lead dev with such a mundane problem. |
This problem just keeps getting more complicated. I set my theme to https://github.com/ndom91/rose-pine-hyprcursor and now hyprpaper doesn't work. My cursor is now different for my desktop, firefox, and steam. The small cursor and big cursor on steam have different themes (in a different permutation than before, but that's unneeded context). I think the actual solution is to not use hyprland since nothing seems to solve this problem. Unless you have any ideas or anyone else I can talk to about this, I think that I'm just going to try a different wm. |
you can also not use hyprcursor. I feel like this is a misconfiguration of some sort on your end though as it seems to work just fine for me and many others |
It is. The frustration comes from not knowing what is misconfigured. I'm looking through everything and can't find anything out of place. Like why would changing my cursor make hyprpaper not work? |
I just tried using just xcursor without making any changes to anything else, but it's distorted, which makes me think that the original distortion isn't because of hyprcursor-util. At this point I'm just confused, and the lack of help (not referring to you) or documentation is making this increasingly frustrating. |
I had a similar issue as this Reddit post here, whereby the
A related issue might be "Cursor size with HiDPi #2448" The most consistent way I've managed to get the cursors working is to install a cursor theme that has both Xcursor and Hyprcursor variants, then set their sizes using nwg-look and in hyprland environment variables respectively. For example, using rose-pine cursor on Arch and assuming you have the AUR helper yay, here are the steps:
The cursors should now match when moving from your wallpaper to an application, e.g. firefox. For more hyprcursor themes, take a look at the #hyprcursor-themes channel on Hyprland's discord: |
This worked !!, so i need to find xcursor theme of same hyprcursor theme got it ! Thank you :) |
Finally a solution for this that has been haunting me ever since. |
System Info and Version
System/Version info
Bug or Regression?
Bug
Description
My cursor changes size when it's placed over certain parts of the Steam and Firefox UIs. It also changes size when playing any type of game (either with proton via Steam like with Minecraft).
Firefox doesn't have this issue when nwg-look is used with HYPRCURSOR_THEME and HYPRCURSOR_SIZE, though the issue persists with Steam and games.
How to reproduce
Playing any game and placing cursor over certain Steam UI parts.
Crash reports, logs, images, videos
hyprland.txt
I'm sorry for taking pictures instead of screenshots — I'm still trying to figure out grim and slurp. All pictures were taken from the same distance to demonstrate cursor size changes.
The text was updated successfully, but these errors were encountered: