spiegel-keyman/linux/debian/km-config.desktop
Eberhard Beilharz 8eb2a3c738
fix(linux): Fix launch of km-config
km-config provides a .desktop file that allows the user to start
the configuration app like any other app. Unfortunately, a recent
change that improved the consistency of the manual pages broke
that because the .desktop file used to call km-config with the
parameter `-i` (plus file if given). With the recent change `-i`
now requires a filename, which caused `km-config` to output an error
and quit. For the user this looked like it didn't do anything.

This change adds the file/url as a new optional positional parameter
while keeping the existing `-i`/`--install` parameter.
2021-08-31 08:26:07 +02:00

14 lines
410 B
Desktop File

[Desktop Entry]
Name=Keyman Keyboards
Name[en_GB]=Keyman Keyboards
Comment=Configure Keyman keyboards
Comment[en_GB]=Configure Keyman keyboards
Exec=km-config %u
Icon=km-config
Terminal=false
Type=Application
StartupNotify=true
Categories=Settings;
Keywords=keyman;keyboard;input;
X-Desktop-File-Install-Version=0.21
MimeType=application/x-kmp;x-scheme-handler/x-kmp;application/keyman;x-scheme-handler/keyman