Commit 8f92659c authored by Luis Guzmán's avatar Luis Guzmán
Browse files

Fix kdeconnect mimetype issue.

parent 16628248
From f1ce22124ce7dd630b8e909b4c50f90f035166d5 Mon Sep 17 00:00:00 2001
From: Thomas Staudinger <staudi.kaos@gmail.com>
Date: Sun, 4 Oct 2020 21:03:03 +0000
Subject: [PATCH] Fix kdeconnect_open MimeType
This changes the MimeType handler of the kdeconnect_open desktop file from an invalid "*/*" to the (hopefully) appropriate "application/octet-stream;" as discussed [here](https://bugs.launchpad.net/ubuntu/+source/kdeconnect/+bug/1878400)(including this solution), [here](https://github.com/clearlinux/distribution/issues/1906) and [here](https://bugs.archlinux.org/task/65865).
---
data/org.kde.kdeconnect_open.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/org.kde.kdeconnect_open.desktop b/data/org.kde.kdeconnect_open.desktop
index 0e0fb8ff..fce4da31 100644
--- a/data/org.kde.kdeconnect_open.desktop
+++ b/data/org.kde.kdeconnect_open.desktop
@@ -97,7 +97,7 @@ Comment[uk]=Відкрити на з'єднаному пристрої за до
Comment[x-test]=xxOpen on a connected device using KDE Connectxx
Comment[zh_CN]=通过 KDE Connect 在已连接的设备上打开
Comment[zh_TW]=使用 KDE 連線於連線裝置中開啟
-MimeType=*/*;
+MimeType=application/octet-stream;
Exec=kdeconnect-handler --open %U
Icon=kdeconnect
Type=Service
--
GitLab
#!/bin/sh
#
# Copyright (C) 2022 Trisquel GNU/Linux developers
# <trisquel-devel@listas.trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=1
. ./config
#Apply patch Fix kdeconnect_open MimeType (f1ce2212)
patch -p1 < $DATA/Fix_kdeconnect_open_MimeType.patch
changelog "Fix kdeconnect_open MimeType"
compile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment