AHK_X11 icon indicating copy to clipboard operation
AHK_X11 copied to clipboard

Failed to load module "xapp-gtk3-module"

Open brackleian opened this issue 1 year ago • 4 comments

[OS = Xubuntu 24.04] When I invoke the app image, it gives me Failed to load module "xapp-gtk3-module" /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so and then fires up the interactive AHK_X11 console. The package libxapp-gtk3-module is installed.

brackleian avatar Nov 12 '24 05:11 brackleian

I have a similar issue on Linux Debian 12

(process:97623): Gtk-WARNING **: 02:28:36.753: Locale not supported by C library.
	Using the fallback 'C' locale.
Gtk-Message: 02:28:36.794: Failed to load module "xapp-gtk3-module"

(xapp-gtk3-module is installed on my system and the latest version, and my system is X11)

However the GUI installer runs and seems to install AHK_X11.

Yet, I'm not really sure is it's working properly. I have a fairly basic script I want to implement from Windows AHK:

Capslock::LWin
!Capslock::Capslock
!`::`
`::Esc

As far as I can tell this should work with a small amount of syntax changes:

CapsLock::#
!CapsLock::CapsLock
!`::`
`::Esc

However, when I try to run the above script I get a syntax error 'multiple keys aren't allowed for hotkey definitions'.

Not sure is this is because AHK_X11 isn't installed properly or some other reason.

AudioBabbL avatar Dec 04 '24 02:12 AudioBabbL

These messages are warnings that are usually harmless, they only appear due to the weird setup inside the AppImage, so ignore them for ow.

@AudioBabbL the problem is surely not related to this. Some of the hotkeys are seemingly not support. CapsLock should work but fails to disable the original capslock function, so might not be very useful. I suspect that backticks in hotkeys don't do what one would expect.

phil294 avatar Dec 04 '24 18:12 phil294

Thank you, i understand. Just in case anyone comes across this post in the future, I managed to achieve what I wanted with a combination of xdotool, xbindkeys and python3(using pynput) scripts. https://forums.debian.net/viewtopic.php?t=161149

AudioBabbL avatar Dec 12 '24 18:12 AudioBabbL

I too achieved my goal, which was a systemd service to provide hotkeys, started automatically at boot. Because of the way the app starts up with the interactive AHK_X11 console, it was necessary to launch it in an xterm window, which could then be located, minimised, and removed from the panel (task bar) using xdotool and wmctrl. Happy to supply details if anyone wants them.

brackleian avatar Dec 17 '24 21:12 brackleian