Commit Graph

8 Commits

Author SHA1 Message Date
Steven A. Falco 9af5ed32f7 Launchers must specify WM_CLASS
On some Linux desktops, we get extra icons in the application dock.
This happens because the dock doesn't know the "class" of the
application.  We need to add StartupWMClass=xxx lines, where xxx is
the name associated with the application.

This patch addresses the following issue:

https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/30

While it was written against Ubuntu, it also affects Fedora, and
probably other Linux systems too.

(cherry picked from commit e8e25fd732)
2022-01-11 07:42:32 -05:00
Seth Hillbrand 134737d210 Partial revert of 1cfff1f624
This reverts icon naming and MIME type to unversioned x-kicad-* files.
We will attempt to maintain multiple versions through creative packaging
2021-10-11 15:01:56 -07:00
Seth Hillbrand 1cfff1f624 Update KiCad MIME type to kicad6
This avoids conflict with existing kicad installations.  Older version
files are preferentially opened by older KiCad installations while new
KiCad files get opened by version 6
2021-10-11 12:54:45 -07:00
Ian McInerney 5d5b09a555 Mark standalone linux launchers as not having appstream data
The X-AppStream-Ignore=true will signal to appstream generators that
these programs won't have their own appstream information, since we
provide these programs under the main KiCad appstream file.
2021-10-06 10:49:56 +01:00
Ian McInerney 2a932c238d Allow bitmap2component to open a file through linux launcher 2021-10-05 17:57:58 +01:00
Ian McInerney 57271e41eb Let gerbview open multiple files through Linux desktops 2021-07-06 21:22:04 +01:00
Ian McInerney 4fc41627e9 Update and modernize linux metadata files
* Switch to using org.kicad.kicad as the main app ID
* Move the appstream file to a metainfo file
* Rename all metadata files to use the reverse DNS scheme
* Add header matching to mime type files where possible
* Add a mime type for gerber job files
* Add a QA test that verifies all the linux metadata files and
  run it in CI
* Update the visible names in the launcher entries to be more
  consistent with the internal visible names
* Update various strings and items in the metainfo file so they
  are more descriptive and easier to read
2021-04-15 16:34:12 +00:00
Ian McInerney 43baf2e3f2 Translate the linux metadata files 2021-01-18 17:43:34 +00:00