From 7c1f5f617bdd12bda6561b93e655aec923ec55e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Ignacio=20Romero?= Date: Mon, 30 May 2016 08:52:56 -0400 Subject: [PATCH] Clean up the applications/*.desktop files. Put all keys in consistent order and remove/fix bogus mime types, some assigned to programs that don't even open files. Those files could use some TLC from translators to provide translated names and tooltips, I preserved some of the french that was already in the files. --- .../mime/applications/bitmap2component.desktop | 14 +++++++------- .../linux/mime/applications/eeschema.desktop | 18 ++++++++++-------- .../linux/mime/applications/gerbview.desktop | 15 ++++++++------- .../linux/mime/applications/kicad.desktop | 16 +++++++++------- .../mime/applications/pcbcalculator.desktop | 14 +++++++------- .../linux/mime/applications/pcbnew.desktop | 15 ++++++++------- 6 files changed, 49 insertions(+), 43 deletions(-) diff --git a/resources/linux/mime/applications/bitmap2component.desktop b/resources/linux/mime/applications/bitmap2component.desktop index f2ff02404e..9426fdebd8 100644 --- a/resources/linux/mime/applications/bitmap2component.desktop +++ b/resources/linux/mime/applications/bitmap2component.desktop @@ -1,10 +1,10 @@ [Desktop Entry] -Categories=Development;Electronics; -Comment=Create a component from a bitmap for use with KiCad -Exec=bitmap2component -GenericName=EDA Suite +Version=1.0 +Terminal=false Icon=bitmap2component -MimeType=application/x-bitmap2component-project; -Name=Bitmap to Component Converter Type=Application -Name[en_US]=Bitmap to Component Converter +Categories=Development;Electronics; +Exec=bitmap2component +Name=Bitmap to Component Converter +GenericName=Bitmap to Component Converter +Comment=Create a component from a bitmap for use with KiCad diff --git a/resources/linux/mime/applications/eeschema.desktop b/resources/linux/mime/applications/eeschema.desktop index 41b1ba3244..9820f2c328 100644 --- a/resources/linux/mime/applications/eeschema.desktop +++ b/resources/linux/mime/applications/eeschema.desktop @@ -1,11 +1,13 @@ [Desktop Entry] -Categories=Development;Electronics; -Comment=Design an electronic schematic -Comment[fr]=Dessiner des schémas électroniques -Exec=eeschema %f -GenericName=Electronic schematic design -GenericName[fr]=Saisie de schéma électronique +Version=1.0 +Terminal=false Icon=eeschema -MimeType=application/x-eeschema-schematic; -Name=Eeschema Type=Application +Categories=Development;Electronics; +Exec=eeschema %f +MimeType=application/x-kicad-schematic; +Name=Eeschema (Standalone) +GenericName=Electronic schematic capture +GenericName[fr]=Saisie de schéma électronique +Comment=KiCad electronic schematic design (standalone) +Comment[fr]=Dessiner des schémas électroniques (Standalone) diff --git a/resources/linux/mime/applications/gerbview.desktop b/resources/linux/mime/applications/gerbview.desktop index 42e3a83643..aa23bb3d8b 100644 --- a/resources/linux/mime/applications/gerbview.desktop +++ b/resources/linux/mime/applications/gerbview.desktop @@ -1,10 +1,11 @@ [Desktop Entry] -Categories=Development;Electronics; -Comment=View gerber files -Exec=gerbview -GenericName=EDA Suite +Version=1.0 +Terminal=false Icon=gerbview -MimeType=application/x-gerbview-project; -Name=GerbView Type=Application -Name[en_US]=GerbView +Categories=Development;Electronics; +Exec=gerbview +MimeType=application/x-gerber;application/x-excellon +Name=GerbView +GenericName=Gerber File Viewer +Comment=View Gerber files diff --git a/resources/linux/mime/applications/kicad.desktop b/resources/linux/mime/applications/kicad.desktop index e9df0f0aca..25e08777a1 100644 --- a/resources/linux/mime/applications/kicad.desktop +++ b/resources/linux/mime/applications/kicad.desktop @@ -1,11 +1,13 @@ [Desktop Entry] -Categories=Development;Electronics; -Comment=Design a printed circuit board -Comment[fr]=Concevoir un circuit imprimé -Exec=kicad %f -GenericName=EDA Suite -GenericName[fr]=Suite logicielle de conception électronique +Version=1.0 +Terminal=false Icon=kicad +Type=Application +Categories=Development;Electronics; +Exec=kicad %f MimeType=application/x-kicad-project; Name=KiCad -Type=Application +GenericName=EDA Suite +Comment=Electronic Design Automation suite +Comment[fr]=Suite logicielle de conception électronique +X-Desktop-File-Install-Version=0.22 diff --git a/resources/linux/mime/applications/pcbcalculator.desktop b/resources/linux/mime/applications/pcbcalculator.desktop index ce37e646c8..a304da432d 100644 --- a/resources/linux/mime/applications/pcbcalculator.desktop +++ b/resources/linux/mime/applications/pcbcalculator.desktop @@ -1,10 +1,10 @@ [Desktop Entry] -Categories=Development;Electronics; -Comment=Calculator for various electronics related computations -Exec=pcb_calculator -GenericName=EDA Suite +Version=1.0 +Terminal=false Icon=pcbcalculator -MimeType=application/x-pcbcalculator-project; -Name=Pcb Calculator Type=Application -Name[en_US]=Pcb Calculator +Categories=Development;Electronics; +Exec=pcb_calculator +Name=PCB Calculator +GenericName=PCB Calculator +Comment=Calculator for various electronics-related computations diff --git a/resources/linux/mime/applications/pcbnew.desktop b/resources/linux/mime/applications/pcbnew.desktop index 120231edc3..b4eb88006f 100644 --- a/resources/linux/mime/applications/pcbnew.desktop +++ b/resources/linux/mime/applications/pcbnew.desktop @@ -1,10 +1,11 @@ [Desktop Entry] -Categories=Development;Electronics; -Comment=Layout a printed circuit board -Exec=pcbnew %f -GenericName=EDA Suite +Version=1.0 +Terminal=false Icon=pcbnew -MimeType=application/x-pcbnew-pcb; -Name=Pcbnew Type=Application -Name[en_US]=Pcbnew +Categories=Development;Electronics; +Exec=pcbnew %f +MimeType=application/x-kicad-pcb; +Name=Pcbnew (Standalone) +GenericName=PCB layout +Comment=KiCad printed circuit board layout (standalone)