Skip to content
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

Open
aljustiet opened this issue Nov 1, 2024 · 9 comments
Open

Cursor isn't inherited #31

aljustiet opened this issue Nov 1, 2024 · 9 comments

Comments

@aljustiet
Copy link

Environment variables are inherited, but the cursor is still Adwaita.

1.mp4

OS: Hyprland/Arch

@ivan-hc
Copy link
Owner

ivan-hc commented Nov 2, 2024

Have you got the same issue also with the stable release (I see you use the GIT version)?

@aljustiet
Copy link
Author

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

@ivan-hc
Copy link
Owner

ivan-hc commented Nov 4, 2024

Try to extract the AppImage...

./*AppImage --appimage-extract

...and edit the AppRun script. Then and see if you can reach the desired result

cd ./squashfs-root
./AppRun

maybe you need to add a variable or to --bind-mount a specific directory.

@aljustiet
Copy link
Author

Try to extract the AppImage...

./*AppImage --appimage-extract

...and edit the AppRun script. Then and see if you can reach the desired result

cd ./squashfs-root
./AppRun

maybe you need to add a variable or to --bind-mount a specific directory.

/usr/share/icons directory?

@aljustiet
Copy link
Author

❯ ./AppRun --bind-mount /usr/share/icons
Unknown option --bind-mount

@ivan-hc
Copy link
Owner

ivan-hc commented Nov 22, 2024

the change must be done inside the AppRun, you should edit the script, follow the syntax inside the script and retry, for example

		--bind-try /media /media \
		--bind-try /mnt /mnt \
		--bind-try /opt /opt \
 		--bind-try /run/media /run/media \
		--bind-try /usr/lib/locale /usr/lib/locale \
		--bind-try /usr/share/fonts /usr/share/fonts \
		--bind-try /usr/share/themes /usr/share/themes \
		--bind-try /var /var \
		"

become

		--bind-try /media /media \
		--bind-try /mnt /mnt \
		--bind-try /opt /opt \
 		--bind-try /run/media /run/media \
		--bind-try /usr/lib/locale /usr/lib/locale \
		--bind-try /usr/share/fonts /usr/share/fonts \
		--bind-try /usr/share/themes /usr/share/themes \
		--bind-try /var /var \
		--bind-try /usr/share/icons /usr/share/icons \
		"

@aljustiet
Copy link
Author

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 directory

set device 'Wayland Pointer' to mode: disabled
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/test-file-plug-ins/test-file-plug-ins.py", line 28, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/spyro-plus/spyro-plus.py", line 19, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/python-eval/python-eval.py", line 20, in
gi.require_version('Babl', '0.1')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/python-console/python-console.py", line 20, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/palette-to-gradient/palette-to-gradient.py", line 17, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/palette-sort/palette-sort.py", line 28, in
gi.require_version('Babl', '0.1')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/palette-offset/palette-offset.py", line 17, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/histogram-export/histogram-export.py", line 43, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/gradients-save-as-css/gradients-save-as-css.py", line 26, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/foggify/foggify.py", line 18, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
/usr/lib/gimp/3.0/plug-ins/file-xpm/file-xpm: error while loading shared libraries: libXpm.so.4: cannot open shared object file: No such file or directory
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
/usr/lib/gimp/3.0/plug-ins/file-ps/file-ps: error while loading shared libraries: libijs-0.35.so: cannot open shared object file: No such file or directory
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/file-openraster/file-openraster.py", line 17, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
/usr/lib/gimp/3.0/plug-ins/file-mng/file-mng: error while loading shared libraries: libmng.so.2: cannot open shared object file: No such file or directory
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
/usr/lib/gimp/3.0/plug-ins/file-jpegxl/file-jpegxl: error while loading shared libraries: libjxl.so.0.11: cannot open shared object file: No such file or directory
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
/usr/lib/gimp/3.0/plug-ins/file-heif/file-heif: error while loading shared libraries: libheif.so.1: cannot open shared object file: No such file or directory
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
/usr/lib/gimp/3.0/plug-ins/file-aa/file-aa: error while loading shared libraries: libaa.so.1: cannot open shared object file: No such file or directory
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/plug-ins/colorxhtml/colorxhtml.py", line 25, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
gjs: error while loading shared libraries: libmozjs-128.so: cannot open shared object file: No such file or directory
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF
pip_system_certs: ERROR: could not register module: No module named 'wrapt'
Traceback (most recent call last):
File "/usr/lib/gimp/3.0/extensions/org.gimp.
extension.goat-exercises/goat-exercise-py3.py", line 17, in
gi.require_version('Gimp', '3.0')
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
gimp-3.0: LibGimpBase-WARNING: gimp-3.0: gimp_wire_read(): unexpected EOF

(gimp-3.0:239994): Gdk-WARNING **: 12:58:55.631: Server is missing xdg_foreign support
gimp_widget_set_handle_on_mapped: gdk_wayland_window_export_handle() failed. It will not be possible to set windows in other processes as transient to this display shell.

(gimp-3.0:239994): Gdk-WARNING **: 12:58:55.631: Server is missing xdg_foreign support
gimp_widget_set_handle_on_mapped: gdk_wayland_window_export_handle() failed. It will not be possible to set windows in other processes as transient to this display shell.

(gimp-3.0:239994): Gdk-CRITICAL **: 12:58:56.900: gdk_wayland_window_unexport_handle: assertion 'impl->display_server.xdg_exported' failed
set device 'Wayland Finger Scrolling' to mode: disabled

(gimp-3.0:239994): Gdk-WARNING **: 12:59:36.492: Server is missing xdg_foreign support
gimp_widget_set_handle_on_mapped: gdk_wayland_window_export_handle() failed. It will not be possible to set windows in other processes as transient to this display shell.

@ivan-hc
Copy link
Owner

ivan-hc commented Nov 22, 2024

I have no idea.

@Samueru-sama can you help?

@Samueru-sama
Copy link
Contributor

I have no idea.

Seems GIMP will release an official appimage soon anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants