Open wiiznokes opened 1 year ago
Did you install the cosmic icon theme?
no I hadn't installed https://github.com/pop-os/cosmic-icons.
Now that i have, this don't seems to resolve my issue. I've just made the command
sudo just install
idk if there is other things to do to activate this set of icons.
this is a duplicate of #112 . how can i get log to see what happens ?
journalctl --user _EXE=/usr/bin/cosmic-session
Also can you please describe in more detail whats happening? Are you getting any UI elements? A panel? A Dock? Is the cursor normally there just not hovering over elements? Or does it appear over applications?
seems like there is a lot of
ERROR cosmic::theme: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
I can see a lot of icons, but not the cursor. I can still click on buttons because they getting hovered.
I made this commands:
git clone https://github.com/pop-os/cosmic-icons --depth=1 --branch=master
cd cosmic-icons
sudo just install
git clone https://github.com/pop-os/icon-theme pop-icon-theme --depth=1 --branch=master
cd pop-icon-theme
meson build
sudo ninja -C "build" install
but cosmic-icons
don't seems to have cursor icon into it while pop-icon-theme
does.
So cosmic-comp is responsible for drawing the cursor and loads XCURSOR_THEME
from the environment to determine which sets of icons to load. If that variable isn't set, it loads the theme default
.
(We don't hardcode the pop-icons-theme or cosmic-icons theme. You need to check what /usr/share/icons/default/index.theme
contains to figure out, which is active. Cursor files should then be in /usr/share/icons/<theme name>/cursors
.)
If the latter doesn't exist, it should load a fallback icon. In that case you should get Unable to load xcursor, using fallback cursor
somewhere in the log, likely relatively early.
If none of this fixes the issue, we likely have a problem with the cursor plane on your system. Can you tell us, what gpu driver is being used on your system? Or what GPU you have?
well, i changed the content of /usr/share/icons/default/index.theme
for Adwaita to
[Icon Theme]
Inherits=Pop
and
[Icon Theme]
Inherits=Cosmic
but that don't solve anything.
I don't see Unable to load xcursor, using fallback cursor
in the logs.
And the var seems defined:
echo $XCURSOR_THEME
breeze_cursors
Should i try to redefined XCURSOR_THEME
with another value?
also, i don't have a GPU.
Processeurs : 4 × Intel® Core™ i3-10110U CPU @ 2.10GHz
Processeur graphique : Mesa Intel® UHD Graphics
Should i try to redefined XCURSOR_THEME with another value?
Do you have a folder called /usr/share/icons/breeze_cursors/cursors
? If not yes, your variable is invalid.
Also you don't need to change the index.theme
to any of these themes. Adwaita
works fine.
You do have an integrated Intel GPU. Intel drivers shouldn't be a problem, so it is probably your variable.
Do you have a folder called /usr/share/icons/breeze_cursors/cursors?
I do, on KDE, the cursor is fine.
I tried to set export XCURSOR_THEME=
in ~.bashrc
but this don't works, and there is no xcursor...
in log.
All folders seems valid, this is weird. Maybe the only solution for me is to fall back in the hardcoded cursor icon, but i don't think ~/.bashrc
is sourced before the compositor is loaded
~/.profile
should be sourced.
still don't work :( no trace of xcursor in log tho
Hmm, I slowly starting to become out of ideas.
As a last experiment, can you add SMITHAY_USE_LEGACY=y
to your ~/.profile
? (And please don't leave it there, it is horrible for performance, but it would be a good hint, if that fixes the cursor.)
I can't test anymore because i moved from kde but adding WLR_NO_HARDWARE_CURSORS=1
may help
Cosmic is not using wlroots, this variable won't have an effect.
This sounds like it hits this issue here https://github.com/Smithay/smithay/issues/1275#issuecomment-1890473451
Other icons seems fine. I've also installed https://github.com/pop-os/icon-theme pop-icon-theme. I'm on Fedora Kde spin.