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
)
This commit is contained in:
parent
cd8d6ba079
commit
9af5ed32f7
|
@ -5,6 +5,7 @@ Icon=bitmap2component
|
|||
Type=Application
|
||||
Categories=Science;Electronics;
|
||||
Exec=bitmap2component %f
|
||||
StartupWMClass=bitmap2component
|
||||
Name=KiCad Image Converter
|
||||
GenericName=Bitmap to Component Converter
|
||||
Comment=Create a component from a bitmap for use with KiCad
|
||||
|
|
|
@ -5,6 +5,7 @@ Icon=eeschema
|
|||
Type=Application
|
||||
Categories=Science;Electronics;
|
||||
Exec=eeschema %f
|
||||
StartupWMClass=eeschema
|
||||
MimeType=application/x-kicad-schematic;
|
||||
Name=KiCad Schematic Editor (Standalone)
|
||||
GenericName=Schematic Capture Tool
|
||||
|
|
|
@ -5,6 +5,7 @@ Icon=gerbview
|
|||
Type=Application
|
||||
Categories=Science;Electronics;
|
||||
Exec=gerbview %F
|
||||
StartupWMClass=gerbview
|
||||
MimeType=application/x-gerber;application/x-excellon;application/x-gerber-job
|
||||
Name=KiCad Gerber Viewer
|
||||
GenericName=Gerber File Viewer
|
||||
|
|
|
@ -5,6 +5,7 @@ Icon=kicad
|
|||
Type=Application
|
||||
Categories=Science;Electronics;
|
||||
Exec=kicad %f
|
||||
StartupWMClass=kicad
|
||||
MimeType=application/x-kicad-project;
|
||||
Name=KiCad
|
||||
GenericName=EDA Suite
|
||||
|
|
|
@ -5,6 +5,7 @@ Icon=pcbcalculator
|
|||
Type=Application
|
||||
Categories=Science;Electronics;
|
||||
Exec=pcb_calculator
|
||||
StartupWMClass=pcb_calculator
|
||||
Name=KiCad PCB Calculator
|
||||
GenericName=PCB Calculator
|
||||
Comment=Calculator for various electronics-related computations
|
||||
|
|
|
@ -5,6 +5,7 @@ Icon=pcbnew
|
|||
Type=Application
|
||||
Categories=Science;Electronics;
|
||||
Exec=pcbnew %f
|
||||
StartupWMClass=pcbnew
|
||||
MimeType=application/x-kicad-pcb;
|
||||
Name=KiCad PCB Editor (Standalone)
|
||||
GenericName=PCB layout editor
|
||||
|
|
Loading…
Reference in New Issue