Sample Linux/Gnome desktop files for UHK agent

To be used with the AppImage,

  1. Grab the AppImage file from Release 8.0.0 · UltimateHackingKeyboard/agent · GitHub

  2. Give it the required permissions: chmod a+x <name-of-the-file>

  3. Move it to some directory, e.g., mkdir -p ~/apps/uhk && mv <name-of-the-file> ~/apps/uhk/uhk-agent.AppImage

  4. Put the icon of choice in the same dir:


  5. Create a desktop file at ~/.local/share/applications/uhk-agent.desktop

[Desktop Entry]
Name=UHK Agent
Comment=UHK Keyboard configuration
Terminal=false
Icon=/home/serge/apps/uhk/uhk_icon_circle_black.png
Exec=/home/serge/apps/uhk/uhk-agent.AppImage
Type=Application
Categories=Utility;

Note that:
a) The home directory path should be absolute, and neither relative paths nor $HOME is allowed there, so I have to be using /home/serge; yours will be different
b) In my case, uhk-agent.AppImage is the executable name and uhk_icon_circle_black.png is the icon file name.

Here’s the final result:

Perhaps it could be added as a feature in the agent menu.

Thanks!

I’m unsure of the best practices regarding AppImage desktop shortcut creation, but you can find the Agent icon in agent/build at master · UltimateHackingKeyboard/agent · GitHub

2 Likes