From 47f88ac46c8714b72127fa195cb89712fb52305c Mon Sep 17 00:00:00 2001 From: Alyx <25337749+Alyxsqrd@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:49:01 -0500 Subject: [PATCH 1/2] Fix desktop entries for GNOME --- .../batch/freedesktop_integration/peazip-add-to-7z.desktop | 4 +++- .../freedesktop_integration/peazip-add-to-archive.desktop | 3 ++- .../freedesktop_integration/peazip-add-to-brotli.desktop | 3 ++- .../batch/freedesktop_integration/peazip-add-to-bzip2.desktop | 3 ++- .../batch/freedesktop_integration/peazip-add-to-gzip.desktop | 3 ++- .../batch/freedesktop_integration/peazip-add-to-pea.desktop | 3 ++- .../batch/freedesktop_integration/peazip-add-to-tar.desktop | 3 ++- .../batch/freedesktop_integration/peazip-add-to-wim.desktop | 3 ++- .../batch/freedesktop_integration/peazip-add-to-xz.desktop | 3 ++- .../batch/freedesktop_integration/peazip-add-to-zip.desktop | 3 ++- .../batch/freedesktop_integration/peazip-add-to-zpaq.desktop | 3 ++- .../batch/freedesktop_integration/peazip-add-to-zstd.desktop | 3 ++- .../batch/freedesktop_integration/peazip-convert.desktop | 3 ++- .../batch/freedesktop_integration/peazip-extract-here.desktop | 1 + .../freedesktop_integration/peazip-extract-smart.desktop | 1 + .../batch/freedesktop_integration/peazip-extract.desktop | 1 + .../share/batch/freedesktop_integration/peazip-open.desktop | 3 ++- .../res/share/batch/freedesktop_integration/peazip.desktop | 2 +- 18 files changed, 33 insertions(+), 15 deletions(-) diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-7z.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-7z.desktop index 8a802c98..d4728a80 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-7z.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-7z.desktop @@ -1,5 +1,7 @@ [Desktop Entry] Name=PeaZip, add to 7Z + +NoDisplay=true Comment=Add files and folders to 7Z archive with PeaZip Exec=peazip -add27z %F TryExec=peazip @@ -8,4 +10,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-archive.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-archive.desktop index 6e7c246d..b1da2320 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-archive.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-archive.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to archive +NoDisplay=true Comment=Add files and folders to archive with PeaZip Exec=peazip -add2archive %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-brotli.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-brotli.desktop index f0b00bfd..01f1d771 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-brotli.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-brotli.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to Brotli +NoDisplay=true Comment=Add files and folders to Brotli archive with PeaZip Exec=peazip -add2brotli %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-bzip2.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-bzip2.desktop index 7d4687bf..d597932d 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-bzip2.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-bzip2.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to BZip2 +NoDisplay=true Comment=Add files and folders to BZip2 archive with PeaZip Exec=peazip -add2bzip2 %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-gzip.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-gzip.desktop index 1971e13d..d51d1c2c 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-gzip.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-gzip.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to GZip +NoDisplay=true Comment=Add files and folders to GZip archive with PeaZip Exec=peazip -add2gzip %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-pea.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-pea.desktop index e7b17522..f17a5d84 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-pea.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-pea.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to PEA +NoDisplay=true Comment=Add files and folders to PEA archive with PeaZip Exec=peazip -add2pea %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-tar.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-tar.desktop index 57977b73..a32d6e03 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-tar.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-tar.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to TAR +NoDisplay=true Comment=Add files and folders to TAR archive with PeaZip Exec=peazip -add2tar %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-wim.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-wim.desktop index 02891cfe..5865d7ba 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-wim.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-wim.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to WIM +NoDisplay=true Comment=Add files and folders to WIM image file with PeaZip Exec=peazip -add2wim %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-xz.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-xz.desktop index 28e190ea..acb2eb26 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-xz.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-xz.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to XZ +NoDisplay=true Comment=Add files and folders to XZ archive with PeaZip Exec=peazip -add2xz %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zip.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zip.desktop index b926b03e..9a708687 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zip.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zip.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to ZIP +NoDisplay=true Comment=Add files and folders to ZIP archive with PeaZip Exec=peazip -add2zip %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zpaq.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zpaq.desktop index 7eefa67e..6ea04511 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zpaq.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zpaq.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to Zpaq +NoDisplay=true Comment=Add files and folders to Zpaq archive with PeaZip Exec=peazip -add2zpaq %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zstd.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zstd.desktop index 72e40b23..4cec16bf 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zstd.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-zstd.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, add to Zstd +NoDisplay=true Comment=Add files and folders to Zstd archive with PeaZip Exec=peazip -add2zstd %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-convert.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-convert.desktop index d369c7ff..44069a3d 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-convert.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-convert.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, convert +NoDisplay=true Comment=Convert archives with PeaZip Exec=peazip -add2convert %F TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract-here.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract-here.desktop index 8751dda0..2055aaf2 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract-here.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract-here.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, extract here +NoDisplay=true Comment=Extract archives here with PeaZip Exec=peazip -ext2here %F TryExec=peazip diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract-smart.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract-smart.desktop index a08add17..f0480595 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract-smart.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract-smart.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, extract here (smart new folder) +NoDisplay=true Comment=Extract archives here with PeaZip (smart new folder) Exec=peazip -ext2folder %F TryExec=peazip diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract.desktop index 0ab988bd..167ac27d 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-extract.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, extract archive(s) +NoDisplay=true Comment=Extract archives with PeaZip Exec=peazip -ext2main %F TryExec=peazip diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-open.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-open.desktop index 06013bf2..c1162b30 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-open.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-open.desktop @@ -1,5 +1,6 @@ [Desktop Entry] Name=PeaZip, open as archive +NoDisplay=true Comment=Try to open file as archive with PeaZip, browse dir Exec=peazip -ext2openasarchive %f TryExec=peazip @@ -8,4 +9,4 @@ Type=Application Terminal=false Categories=Utility;Archiving;Compression; Keywords=zip;rar;tar;compress;extract;unpack; -MimeType=all/all; +MimeType=application/octet-stream; diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip.desktop index d7a79239..6df44be1 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip.desktop @@ -29,4 +29,4 @@ Icon=peazip_extract [Desktop Action extractheresmart] Name=PeaZip, extract here (smart new folder) Exec=peazip -ext2folder %F -Icon=peazip_extract \ No newline at end of file +Icon=peazip_extract From 528be7e36d6ee1431a7795d5728bf5315277a058 Mon Sep 17 00:00:00 2001 From: Alyx <25337749+Alyxsqrd@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:50:49 -0500 Subject: [PATCH 2/2] Remove empty line typo --- .../share/batch/freedesktop_integration/peazip-add-to-7z.desktop | 1 - 1 file changed, 1 deletion(-) diff --git a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-7z.desktop b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-7z.desktop index d4728a80..32f9ae8c 100644 --- a/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-7z.desktop +++ b/peazip-sources/res/share/batch/freedesktop_integration/peazip-add-to-7z.desktop @@ -1,6 +1,5 @@ [Desktop Entry] Name=PeaZip, add to 7Z - NoDisplay=true Comment=Add files and folders to 7Z archive with PeaZip Exec=peazip -add27z %F