Merge lp:~gentoo90/simulide/mime into lp:simulide

Proposed by gentoo90
Status: Needs review
Proposed branch: lp:~gentoo90/simulide/mime
Merge into: lp:simulide
Diff against target: 47 lines (+20/-3)
3 files modified
resources/readme (+7/-0)
resources/simulide-mime.xml (+10/-0)
resources/simulide.desktop (+3/-3)
To merge this branch: bzr merge lp:~gentoo90/simulide/mime
Reviewer Review Type Date Requested Status
arcachofo Pending
Review via email: mp+443304@code.launchpad.net

Commit message

Add MIME type information

Description of the change

This will allow to open circuits from the file manager.

To post a comment you must log in.

Unmerged revisions

1673. By gentoo90

Add MIME type information

This will allow to open circuits from the file manager.

1672. By gentoo90

`Version` field in a `*.desktop` file is a version of the Desktop Entry Specification, not the application. It's not required.

See https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys for details.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'resources/readme'
--- resources/readme 2021-01-01 14:23:42 +0000
+++ resources/readme 2023-05-21 19:00:42 +0000
@@ -4,3 +4,10 @@
4Set the proper path to SimulIDE folder.4Set the proper path to SimulIDE folder.
55
6Then you can copy it to your desktop or any other place to lauch SimulIDE.6Then you can copy it to your desktop or any other place to lauch SimulIDE.
7
8To allow opening circuits from your file manager put simulide-mime.xml file into
9~/.local/share/mime/packages/ folder and then launch
10
11update-mime-database ~/.local/share/mime/
12
13in your command line.
714
=== added file 'resources/simulide-mime.xml'
--- resources/simulide-mime.xml 1970-01-01 00:00:00 +0000
+++ resources/simulide-mime.xml 2023-05-21 19:00:42 +0000
@@ -0,0 +1,10 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
3 <mime-type type="application/x-simulide-circuit">
4 <sub-class-of type="application/xml"/>
5 <icon name="simulide"/>
6 <glob pattern="*.simu"/>
7 <glob pattern="*.sim1"/>
8 <comment>SimulIDE Circuit</comment>
9 </mime-type>
10</mime-info>
011
=== modified file 'resources/simulide.desktop'
--- resources/simulide.desktop 2021-01-01 14:23:42 +0000
+++ resources/simulide.desktop 2023-05-21 19:00:42 +0000
@@ -1,10 +1,10 @@
1 [Desktop Entry]1[Desktop Entry]
2Version=0.3.10
3Name=SimulIDE2Name=SimulIDE
4GenericName=SimulIDE3GenericName=SimulIDE
5Comment=Electronic Circuit Simulator Software4Comment=Electronic Circuit Simulator Software
6Exec=/home/user/SimulIDE_0.3.10/bin/simulide5Exec=/home/user/SimulIDE_0.3.10/bin/simulide %F
7Icon=/home/user/SimulIDE_0.3.10/share/icons/hicolor/256x256/simulide.png6Icon=/home/user/SimulIDE_0.3.10/share/icons/hicolor/256x256/simulide.png
8Terminal=false7Terminal=false
9Type=Application8Type=Application
10Categories=Electronics;EDA;9Categories=Electronics;EDA;
10MimeType=application/x-simulide-circuit;

Subscribers

People subscribed via source and target branches