Comments (9)
I don't know if it's necessarily related to hyprcursor, though: the issue also happens when not setting a hyprcursor theme.
Either way, I'l try that rose-pine cursor theme and see what happens.
from hyprland.
I'm stupid
My hyprland config contains this line: exec-once = hyprctl setcursor capitaine-cursors-light 24
, as well as the HYPRCURSOR_THEME=rose-pine-hyprcursor env var...
Thanks for the help!
from hyprland.
Hmm, looks like the same behaviour is present when not using hyprcursor.
I think it started happening since the aquamarine merge (because around then I also started using hyprcursor). I looked around the existing issues and see some similar ones (like the mouse cursor not being visible, or being very tiny), but I'm not sure it's the same issue.
from hyprland.
Having the same cursor issues today with fresh default Hyprland-git.
System: Arch with Nvidia-555.58.02-9
from hyprland.
Related to #6983.
I had the same issue (cursor retaining shape when moving off window), in addition to having a small cursor on wallpaper/kitty terminal.
Documented the workaround for it here:
which fixes both tiny cursor and wrong cursor shape.
The gist is to use a cursor theme that has both xcursor and hyprcursor variants, e.g. rose-pine. You should also ensure that your cursor theme follow the specifications - I tried converting Adwaita theme using hyprcursor-util, but some icons, e.g. top-left resize was missing or lead to cursor mismatch. Potentially related to this issue here:
from hyprland.
Yeah - have been trying to figure this out myself (was a regression from wlroots-hyprland -> aquamarine).
What I posted is only a workaround.
Another potential cause could be the comment by terminal-enlightenment:
The integer you used may be your problem - the sizes available vary by cursor theme. Standard sizes are 24, 32, 48, 64.
Try those first and if you're still having trouble there are a few other things you can try.
regarding the use of nwg-look
to set Xcursor size.
from hyprland.
After installing and activating rose-pine-cursor and rose-pine-hyprcursor, and restarting Hyprland, I notice that no matter what I set my xcursor & hyprcursor theme to, my resize cursor always stays the same theme (and the bug persists).
It seems to use my capitaine-cursors-white theme when I hover over my desktop, and when I resize:
2024-07-28.14-51-04.mp4
I set my cursor to rose-pine using:
- nwg-look
- lxappearance
- HYPRCURSOR_THEME=rose-pine-hyprcursor and HYPRCURSOR_SIZE=28
And still my capitaine-cursors theme is being used when hovering over the desktop 🤔
from hyprland.
Found something: when I set the cursor with hyprctl setcursor rose-pine-hyprcursor 24
, it works! It changes my cursor everywhere and the bug disappears.
So why doesn't HYPRCURSOR_THEME work? (tried it in my config with size 24 as well, no difference)
from hyprland.
Do you have something similar to this in your ~/.config/hypr/hyprland.conf
:
env = HYPRCURSOR_THEME,rose-pine-hyprcursor
env = XCURSOR_SIZE,28
env = HYPRCURSOR_SIZE,28
env = QT_CURSOR_SIZE,28
Also, on a fresh start (without the hyprctl setcursor
command), when you view the logs with the command:
grep 'cursor' "$XDG_RUNTIME_DIR/hypr/$(ls -t $XDG_RUNTIME_DIR/hypr | head -n 1)/hyprland.log" | head
Do you see rose-pine being loaded?
For example, it should look similar to this:
[14:09:04.548621332] [hc] CHyprcursorManager: attempting to find theme from env
[14:09:04.548795888] [hc] getFullPathForThemeName: found /usr/share/icons/rose-pine-hyprcursor
[14:09:04.548806885] [hc] Found theme rose-pine-hyprcursor at /usr/share/icons/rose-pine-hyprcursor
from hyprland.
Related Issues (20)
- Selection paste not working in Firefox/Thunderbird/Nemo - Opera works
- Not starting on Asus Eee PC: GL_LINK_STATUS not ok
- Hyprland is consuming 70 % of CPU all the time. [Perf report attached] HOT 36
- Popup blur isn't working HOT 31
- Cannot disable middle click paste HOT 2
- Cursor goes on top left of the screen on startup HOT 1
- Resizing window will casuse high vmem usage without mem release HOT 5
- issue with OpenGL applications crashing when using Hyprland 0.42.0 on Asahi linux. HOT 21
- when locked and entering dpms cpu usage goes to max HOT 1
- fakefullscreen doesn't work anymore HOT 8
- Droping stuff is broken in gtkmm 4 (Drag and drop) HOT 3
- 'resolve_keybinds_by_sym' option not working HOT 1
- Hyprland new version not displaying anything. HOT 8
- directly set float window size
- Hyprland doesn't reset format after scanout reset HOT 3
- Window focus change unexpectedly with QCompleter HOT 2
- Waybar crashes when turning screen back on HOT 1
- Cursor cant reach border HOT 2
- Cursor invisable on Gentoo HOT 1
- 10-bit color depth does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyprland.