AppImage integration

From Plover Wiki

The only officially supported method for "installing" Plover on Linux is to use the AppImage. This file doesn't install anything, but is instead an executable file that can be placed anywhere in your system. Therefore, it may not show up in your applications menu (particularly if does not index arbitrary files on your computer). This can be addressed by using a .desktop file.

Plover.desktop

Follow these steps to add Plover to your applications menu:

  1. Move the Plover AppImage to your Desktop folder.
  2. Create a file at ~/.local/share/applications/plover.desktop with the content below.
  3. Download the Plover icon and save it to your Desktop (optional)
  4. Log out and log back in.

~/.local/share/applications/plover.desktop

[Desktop Entry]
Type=Application
Terminal=false
Exec=$HOME/Desktop/plover-4.0.0rc2+6.g53c416f-x86_64.AppImage
Name=Plover
Icon=$HOME/Desktop/plover-icon.svg
Categories=Utility;Accessibility;
Comment=Stenographic Input Tool
Keywords=steno;input;keyboard;
X-Unity-IconBackgroundColor=#414F4C

Automatically run Xwayland command

For running Plover under Xwayland, you will first have to create a script to run the command and start Plover.

~/Desktop/plover-wayland.sh

#!/bin/bash
xhost +si:localuser:$USER
$HOME/Desktop/Plover-4.0.0rc+6.g53c416f-x86_64.AppImage

Mark the script as executable by running chmod +x ~/Desktop/plover-wayland.sh.

Now, have the desktop file call the script instead of the Plover AppImage.

~/.local/share/applications

[Desktop Entry]
Type=Application
Terminal=false
Exec=$HOME/Desktop/plover-wayland.sh
Name=Plover
Icon=$HOME/Desktop/plover-icon.svg
Categories=Utility;Accessibility;
Comment=Stenographic Input Tool
Keywords=steno;input;keyboard;
X-Unity-IconBackgroundColor=#414F4C