This project aims to become a replacement for g15macro. g15macro is deprecated and does not support Wayland directly. Even with XWayland, it doesn't work correctly due to the use of X11-specific solutions like XTest. gmacrod works with both Wayland and X11.
- Works on Wayland and X11
- Records and plays back macros on G1–G18 keys
- Virtual keyboard via
/dev/uinputlow-level input emulation - Profile support with JSON config
- LCD display support (G15 128×43)
- M-key switching
- executing bash
- Cycles! Repetitions and delays
You can run this program as root, but you can also run it as a user. you need to give your user the input group to gain access to /dev/uinput
# Run with default config (~/.config/gmacrod)
gmacrod
# Run with custom config directory
gmacrod -c /home/user/.config/gmacrod/
# Help
gmacrod --help
# to add user into input group
usermod -a -G input $USERYou can use IPC to controll gmacrod
# if u need reload profile list
echo "reload" | sudo tee /tmp/gmacrod.pipe > /dev/null
# if u need reload config
echo "reload_config" | sudo tee /tmp/gmacrod.pipe > /dev/null
# if u need resave config
echo "resave_config" | sudo tee /tmp/gmacrod.pipe > /dev/null
# if u need load config
echo "load:profilename.json" | sudo tee /tmp/gmacrod.pipe > /dev/null
# While load doesn't check for the presence of a config yet, you can create configs using it