-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cursor isn't inherited #31
Comments
Have you got the same issue also with the stable release (I see you use the GIT version)? |
It has the cursor theme I want, but it doesn't respect the XCUSOR_SIZE variable. I think that the xwayland issue |
Try to extract the AppImage...
...and edit the AppRun script. Then and see if you can reach the desired result
maybe you need to add a variable or to |
|
❯ ./AppRun --bind-mount /usr/share/icons |
the change must be done inside the AppRun, you should edit the script, follow the syntax inside the script and retry, for example
become
|
I tried to modify the AppRun script and run it, but the cursor is still Adwaita; the cursor I set is not inherited. GIMP AppRun log❯ ./AppRun GEGL-Message: 12:58:53.315: Module '/usr/lib/gegl-0.4/ff-save.so' load error: libavcodec.so.58: cannot open shared object file: No such file or directory GEGL-Message: 12:58:53.315: Module '/usr/lib/gegl-0.4/ff-load.so' load error: libavcodec.so.58: cannot open shared object file: No such file or directory Application icon missing: /usr/share/icons/hicolor/64x64/apps/gimp.png (Failed to open file “/usr/share/icons/hicolor/64x64/apps/gimp.png”: No such file or directory) Application icon missing: /usr/share/icons/hicolor/scalable/apps/gimp.svg (Failed to open file “/usr/share/icons/hicolor/scalable/apps/gimp.svg”: No such file or directory) gimp_font_factory_load_names: 3 unsupported fonts were ignored. Set the GIMP_DEBUG_FONTS environment variable for a listing. GIMP-Warning: Module '/usr/lib/gimp/3.0/modules/libcontroller-linux-input.so' load error: libgudev-1.0.so.0: cannot open shared object file: No such file or directoryset device 'Wayland Pointer' to mode: disabled (gimp-3.0:239994): Gdk-WARNING **: 12:58:55.631: Server is missing xdg_foreign support (gimp-3.0:239994): Gdk-WARNING **: 12:58:55.631: Server is missing xdg_foreign support (gimp-3.0:239994): Gdk-CRITICAL **: 12:58:56.900: gdk_wayland_window_unexport_handle: assertion 'impl->display_server.xdg_exported' failed (gimp-3.0:239994): Gdk-WARNING **: 12:59:36.492: Server is missing xdg_foreign support |
I have no idea. @Samueru-sama can you help? |
I have no idea. Seems GIMP will release an official appimage soon anyway. |
Seems that, the cursor should be set using gsettings. In flatpak I can do that by opening the app in interactive shell and running these gsetting commands:
Is it possible to do the same thing for gimp-git AppImage? |
what have you done to solve the issue in the AppImage? |
hi, I updated the Stable AppImage yesterday... does the cursor working as you expect now? |
Right now, I'm trying to replace the keyboard on thinkpad t14s gen 3. I'll send the results after replacing. |
|
As expected, in fact I only have updated gimp stable to Archimage 4.3, that only bundles strictly needed dependencies. I've not updated yet the other two (dev and git). I can't guarantee for dev, but for git I'll try my best tomorrow. |
@aljustiet any news? |
The cursor hasn't changed and has become tiny. |
Well, yesterday I noticed in Handbrake that alternative themes are not inherited too ivan-hc/Handbrake-appimage#2 maybe the issue is related. Has we have done there, you should provide a log using LD_DEBUG=libs and LD_DEBUG=files, maybe we may know more about this strange behaviour. |
The logs are very long. It doesn't fit to my terminal output limit |
|
|
These are the errors I found
the above is related to a command that is not included in the AppImage... I don't think its the case, since it is an obsolete package https://github.com/dylanaraps/wal also available on the AUR, but no more updated since 2017 https://aur.archlinux.org/packages/wal-git
I suppose you are using Wayland... I would like to do a test, but I have not Wayland (or better, I have xfce4.20, but the wayland support is experimental... that means it still sucks, I tested it... I lasted two minutes, then switched back to x11). Btw it is interesting that the error talks about a Pointer. Maybe the solution is there.
Still another wayland-related issue. Well, the second one is the more interesting among the three. On your side I would start investigate if the issue appears with other themes. |
About wayland support, I just checked... and the gimp-git appimage has more libraries than gimp stable... the additional ones are related to some gstreamer process, I'm not sure, they ave "gst" in the name. But for all the rest, they are the same. Among differences for other files, well... there is an xml file only for gimp stable ...but if it was in the /usr/share/gimp directory in stable, same should be for the git version. Among pictures for icon themes, there are only 4 files for gimp-git, the first 4 on top ...but I don't think it is a relevant info. Anyway, the issue seems to be related to Wayland support for custom themes. Again, do the test with another theme... and maybe repeat the test into a X11 session. |
Also, is your icon theme installed system-wide? Maybe try to symlink the "cursors" directory of your theme in $HOME/.icons/default and see if something changes. |
I tried to launch it with dwm/X, and it properly inherited bibata cursor there. |
sorry, I've not understand... does it work with X11? |
Right. |
So the issue shous up only when you run the appimage in a wayland session, isn't it? If so, I don't really know how to help. You should compile the archimage script into a dedicated directory and test what are the files missing, for example by copying the archlinux/.junest/usr/lib directory in place of the gimp-git.AppDir/.junest/usr/lib counterpart to see if the issue disappears. I can't do much. Note that gimp-git is also an experimental software, so many new features that are in gimp stable are different from the ones in gimp-git. Maybe all libadwaita/gtk4 related libraris need to be included. I'm not sure. Please, follow the instructions on the README of this repo https://github.com/ivan-hc/ArchImage and perform your tests. |
Environment variables are inherited, but the cursor is still Adwaita.
1.mp4
OS: Hyprland/Arch
The text was updated successfully, but these errors were encountered: