Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add desktop and metainfo file for Linux distributions #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions assets/linux/io.github.labbots.NiimPrintX.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Desktop Entry]
Name=NiimPrintX
Comment=Create and print labels on Niimbot printers
Keywords=label;card;print;office;barcode;bluetooth;
Exec=niimprintx %f
Icon=io.github.labbots.NiimPrintX
MimeType=application/x-niim;
Terminal=false
Type=Application
Categories=Office;
StartupNotify=true
36 changes: 36 additions & 0 deletions assets/linux/io.github.labbots.NiimPrintX.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>io.github.labbots.NiimPrintX</id>
<launchable type="desktop-id">io.github.labbots.NiimPrintX.desktop</launchable>
<provides>
<id>io.github.labbots.NiimPrintX.desktop</id>
</provides>
<name>NiimPrintX</name>
<summary>Create and print labels on Niimbot printers</summary>
<developer_name>labbots</developer_name>
<url type="homepage">https://github.com/labbots/NiimPrintX/</url>
<url type="bugtracker">https://github.com/labbots/NiimPrintX/issues/</url>
<metadata_license>0BSD</metadata_license>
<project_license>GPL-3.0</project_license>
<content_rating type="oars-1.1" />
<recommends>
<control>keyboard</control>
<control>pointing</control>
</recommends>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/labbots/NiimPrintX/refs/heads/main/assets/linux/main-window.png</image>
<caption>Main window</caption>
</screenshot>
</screenshots>
<description>
<p>
NiimPrintX is an application to design and print labels using NiimBot label printers via Bluetooth.
</p>
</description>
<releases>
<release version="0.0.47" date="2024-07-01">
<url>https://github.com/labbots/NiimPrintX/releases/tag/v0.0.47</url>
</release>
</releases>
</component>
7 changes: 7 additions & 0 deletions assets/linux/io.github.labbots.NiimPrintX.mime.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-niim">
<comment>NiimPrintX label</comment>
<glob pattern="*.niim"/>
</mime-type>
</mime-info>
Binary file added assets/linux/main-window.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/linux/niimprintx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

exec python -m NiimPrintX.ui "$@"