From eeadf09dcfbad11c7685e42bcba1f708ae12b4ee Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Thu, 6 May 2021 17:15:54 +0200 Subject: [PATCH] added .desktop files and browser workaround --- .local/bin/tools/openbrowser | 3 +++ .local/share/applications/browser.desktop | 5 +++++ .local/share/applications/file.desktop | 4 ++++ .local/share/applications/img.desktop | 4 ++++ .local/share/applications/mail.desktop | 4 ++++ .local/share/applications/mimeinfo.cache | 20 +++++++++++++++++++ .local/share/applications/monero-gui.desktop | 16 +++++++++++++++ .local/share/applications/pdf.desktop | 4 ++++ .local/share/applications/rss.desktop | 4 ++++ .local/share/applications/text.desktop | 4 ++++ .local/share/applications/torrent.desktop | 4 ++++ .../applications/wine-extension-chm.desktop | 8 ++++++++ .../applications/wine-extension-gif.desktop | 8 ++++++++ .../applications/wine-extension-hlp.desktop | 8 ++++++++ .../applications/wine-extension-htm.desktop | 8 ++++++++ .../applications/wine-extension-ini.desktop | 8 ++++++++ .../applications/wine-extension-jfif.desktop | 8 ++++++++ .../applications/wine-extension-jpe.desktop | 8 ++++++++ .../applications/wine-extension-msp.desktop | 8 ++++++++ .../applications/wine-extension-pdf.desktop | 8 ++++++++ .../applications/wine-extension-png.desktop | 8 ++++++++ .../applications/wine-extension-rtf.desktop | 8 ++++++++ .../applications/wine-extension-txt.desktop | 8 ++++++++ .../applications/wine-extension-url.desktop | 8 ++++++++ .../applications/wine-extension-vbs.desktop | 7 +++++++ .../applications/wine-extension-wri.desktop | 8 ++++++++ .../applications/wine-extension-xml.desktop | 8 ++++++++ .../Heimat Defender Rebellion.desktop | 8 ++++++++ 28 files changed, 207 insertions(+) create mode 100755 .local/bin/tools/openbrowser create mode 100644 .local/share/applications/browser.desktop create mode 100644 .local/share/applications/file.desktop create mode 100644 .local/share/applications/img.desktop create mode 100644 .local/share/applications/mail.desktop create mode 100644 .local/share/applications/mimeinfo.cache create mode 100644 .local/share/applications/monero-gui.desktop create mode 100644 .local/share/applications/pdf.desktop create mode 100644 .local/share/applications/rss.desktop create mode 100644 .local/share/applications/text.desktop create mode 100644 .local/share/applications/torrent.desktop create mode 100644 .local/share/applications/wine-extension-chm.desktop create mode 100644 .local/share/applications/wine-extension-gif.desktop create mode 100644 .local/share/applications/wine-extension-hlp.desktop create mode 100644 .local/share/applications/wine-extension-htm.desktop create mode 100644 .local/share/applications/wine-extension-ini.desktop create mode 100644 .local/share/applications/wine-extension-jfif.desktop create mode 100644 .local/share/applications/wine-extension-jpe.desktop create mode 100644 .local/share/applications/wine-extension-msp.desktop create mode 100644 .local/share/applications/wine-extension-pdf.desktop create mode 100644 .local/share/applications/wine-extension-png.desktop create mode 100644 .local/share/applications/wine-extension-rtf.desktop create mode 100644 .local/share/applications/wine-extension-txt.desktop create mode 100644 .local/share/applications/wine-extension-url.desktop create mode 100644 .local/share/applications/wine-extension-vbs.desktop create mode 100644 .local/share/applications/wine-extension-wri.desktop create mode 100644 .local/share/applications/wine-extension-xml.desktop create mode 100644 .local/share/applications/wine/Programs/Heimat Defender Rebellion.desktop diff --git a/.local/bin/tools/openbrowser b/.local/bin/tools/openbrowser new file mode 100755 index 0000000..ab425af --- /dev/null +++ b/.local/bin/tools/openbrowser @@ -0,0 +1,3 @@ +#!/bin/sh +$BROWSER $1 & +#exit 0 diff --git a/.local/share/applications/browser.desktop b/.local/share/applications/browser.desktop new file mode 100644 index 0000000..b14780c --- /dev/null +++ b/.local/share/applications/browser.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=Browser +Exec=openbrowser %U +MimeType=x-scheme-handler/unknown;x-scheme-handler/about;x-scheme-handler/https;x-scheme-handler/http;text/html; diff --git a/.local/share/applications/file.desktop b/.local/share/applications/file.desktop new file mode 100644 index 0000000..369bdc0 --- /dev/null +++ b/.local/share/applications/file.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=File Manager +Exec=/usr/local/bin/st -e lf %u diff --git a/.local/share/applications/img.desktop b/.local/share/applications/img.desktop new file mode 100644 index 0000000..42aa81e --- /dev/null +++ b/.local/share/applications/img.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Image viewer +Exec=/usr/bin/sxiv -a %f diff --git a/.local/share/applications/mail.desktop b/.local/share/applications/mail.desktop new file mode 100644 index 0000000..d24aea2 --- /dev/null +++ b/.local/share/applications/mail.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Mail +Exec=/usr/local/bin/st -e neomutt %u diff --git a/.local/share/applications/mimeinfo.cache b/.local/share/applications/mimeinfo.cache new file mode 100644 index 0000000..1191348 --- /dev/null +++ b/.local/share/applications/mimeinfo.cache @@ -0,0 +1,20 @@ +[MIME Cache] +application/pdf=wine-extension-pdf.desktop; +application/rtf=wine-extension-rtf.desktop; +application/vnd.ms-htmlhelp=wine-extension-chm.desktop; +application/winhlp=wine-extension-hlp.desktop; +application/x-mswinurl=wine-extension-url.desktop; +application/x-mswrite=wine-extension-wri.desktop; +application/x-wine-extension-ini=wine-extension-ini.desktop; +application/x-wine-extension-msp=wine-extension-msp.desktop; +application/xml=wine-extension-xml.desktop; +image/gif=wine-extension-gif.desktop; +image/jpeg=wine-extension-jfif.desktop;wine-extension-jpe.desktop; +image/png=wine-extension-png.desktop; +text/html=browser.desktop;wine-extension-htm.desktop; +text/plain=wine-extension-txt.desktop; +text/vbscript=wine-extension-vbs.desktop; +x-scheme-handler/about=browser.desktop; +x-scheme-handler/http=browser.desktop; +x-scheme-handler/https=browser.desktop; +x-scheme-handler/unknown=browser.desktop; diff --git a/.local/share/applications/monero-gui.desktop b/.local/share/applications/monero-gui.desktop new file mode 100644 index 0000000..e5e22a7 --- /dev/null +++ b/.local/share/applications/monero-gui.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Name=Monero GUI +GenericName=Monero-GUI +X-GNOME-FullName=Monero-GUI +Comment=Monero GUI +Keywords=Monero; +Exec=/usr/bin/monero-wallet-gui %u +Terminal=false +Type=Application +Icon=monero +Categories=Network;GNOME;Qt; +MimeType=x-scheme-handler/monero;x-scheme-handler/moneroseed +StartupNotify=true +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-UsesNotifications=true + diff --git a/.local/share/applications/pdf.desktop b/.local/share/applications/pdf.desktop new file mode 100644 index 0000000..8c38677 --- /dev/null +++ b/.local/share/applications/pdf.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=PDF reader +Exec=/usr/bin/zathura %u diff --git a/.local/share/applications/rss.desktop b/.local/share/applications/rss.desktop new file mode 100644 index 0000000..6fafc4f --- /dev/null +++ b/.local/share/applications/rss.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=RSS feed addition +Exec=/usr/bin/env rssadd %U diff --git a/.local/share/applications/text.desktop b/.local/share/applications/text.desktop new file mode 100644 index 0000000..41ee05f --- /dev/null +++ b/.local/share/applications/text.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Text editor +Exec=/usr/local/bin/st -e nvim %u diff --git a/.local/share/applications/torrent.desktop b/.local/share/applications/torrent.desktop new file mode 100644 index 0000000..f6d28d9 --- /dev/null +++ b/.local/share/applications/torrent.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Torrent +Exec=/usr/bin/env transadd %U diff --git a/.local/share/applications/wine-extension-chm.desktop b/.local/share/applications/wine-extension-chm.desktop new file mode 100644 index 0000000..22b8e3f --- /dev/null +++ b/.local/share/applications/wine-extension-chm.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=hh +MimeType=application/vnd.ms-htmlhelp; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen chm.file %f +NoDisplay=true +StartupNotify=true +Icon=A35F_hh.0 diff --git a/.local/share/applications/wine-extension-gif.desktop b/.local/share/applications/wine-extension-gif.desktop new file mode 100644 index 0000000..d743be4 --- /dev/null +++ b/.local/share/applications/wine-extension-gif.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Wine Internet Explorer +MimeType=image/gif; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen giffile %f +NoDisplay=true +StartupNotify=true +Icon=7596_iexplore.0 diff --git a/.local/share/applications/wine-extension-hlp.desktop b/.local/share/applications/wine-extension-hlp.desktop new file mode 100644 index 0000000..4a2ddd0 --- /dev/null +++ b/.local/share/applications/wine-extension-hlp.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=winhlp32 +MimeType=application/winhlp; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen hlpfile %f +NoDisplay=true +StartupNotify=true +Icon=4137_winhlp32.0 diff --git a/.local/share/applications/wine-extension-htm.desktop b/.local/share/applications/wine-extension-htm.desktop new file mode 100644 index 0000000..2117bc9 --- /dev/null +++ b/.local/share/applications/wine-extension-htm.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=winebrowser +MimeType=text/html; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen htmlfile %f +NoDisplay=true +StartupNotify=true +Icon=7765_winebrowser.0 diff --git a/.local/share/applications/wine-extension-ini.desktop b/.local/share/applications/wine-extension-ini.desktop new file mode 100644 index 0000000..dfd3d24 --- /dev/null +++ b/.local/share/applications/wine-extension-ini.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=notepad +MimeType=application/x-wine-extension-ini; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen inifile %f +NoDisplay=true +StartupNotify=true +Icon=1E64_notepad.0 diff --git a/.local/share/applications/wine-extension-jfif.desktop b/.local/share/applications/wine-extension-jfif.desktop new file mode 100644 index 0000000..87b6c14 --- /dev/null +++ b/.local/share/applications/wine-extension-jfif.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Wine Internet Explorer +MimeType=image/jpeg; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen pjpegfile %f +NoDisplay=true +StartupNotify=true +Icon=7596_iexplore.0 diff --git a/.local/share/applications/wine-extension-jpe.desktop b/.local/share/applications/wine-extension-jpe.desktop new file mode 100644 index 0000000..a500316 --- /dev/null +++ b/.local/share/applications/wine-extension-jpe.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Wine Internet Explorer +MimeType=image/jpeg; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen jpegfile %f +NoDisplay=true +StartupNotify=true +Icon=7596_iexplore.0 diff --git a/.local/share/applications/wine-extension-msp.desktop b/.local/share/applications/wine-extension-msp.desktop new file mode 100644 index 0000000..66bfe4a --- /dev/null +++ b/.local/share/applications/wine-extension-msp.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Wine Installer +MimeType=application/x-wine-extension-msp; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen Msi.Patch %f +NoDisplay=true +StartupNotify=true +Icon=2402_msiexec.0 diff --git a/.local/share/applications/wine-extension-pdf.desktop b/.local/share/applications/wine-extension-pdf.desktop new file mode 100644 index 0000000..effc2e0 --- /dev/null +++ b/.local/share/applications/wine-extension-pdf.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=winebrowser +MimeType=application/pdf; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen pdffile %f +NoDisplay=true +StartupNotify=true +Icon=7765_winebrowser.0 diff --git a/.local/share/applications/wine-extension-png.desktop b/.local/share/applications/wine-extension-png.desktop new file mode 100644 index 0000000..378a2ee --- /dev/null +++ b/.local/share/applications/wine-extension-png.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Wine Internet Explorer +MimeType=image/png; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen pngfile %f +NoDisplay=true +StartupNotify=true +Icon=7596_iexplore.0 diff --git a/.local/share/applications/wine-extension-rtf.desktop b/.local/share/applications/wine-extension-rtf.desktop new file mode 100644 index 0000000..2460fe6 --- /dev/null +++ b/.local/share/applications/wine-extension-rtf.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=wordpad +MimeType=application/rtf; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen rtffile %f +NoDisplay=true +StartupNotify=true +Icon=97C1_wordpad.0 diff --git a/.local/share/applications/wine-extension-txt.desktop b/.local/share/applications/wine-extension-txt.desktop new file mode 100644 index 0000000..6aee932 --- /dev/null +++ b/.local/share/applications/wine-extension-txt.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=notepad +MimeType=text/plain; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen txtfile %f +NoDisplay=true +StartupNotify=true +Icon=1E64_notepad.0 diff --git a/.local/share/applications/wine-extension-url.desktop b/.local/share/applications/wine-extension-url.desktop new file mode 100644 index 0000000..ec83e02 --- /dev/null +++ b/.local/share/applications/wine-extension-url.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=rundll32 +MimeType=application/x-mswinurl; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen InternetShortcut %f +NoDisplay=true +StartupNotify=true +Icon=1CD8_rundll32.0 diff --git a/.local/share/applications/wine-extension-vbs.desktop b/.local/share/applications/wine-extension-vbs.desktop new file mode 100644 index 0000000..2686182 --- /dev/null +++ b/.local/share/applications/wine-extension-vbs.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=A Wine application +MimeType=text/vbscript; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen VBSFile %f +NoDisplay=true +StartupNotify=true diff --git a/.local/share/applications/wine-extension-wri.desktop b/.local/share/applications/wine-extension-wri.desktop new file mode 100644 index 0000000..a30ae4e --- /dev/null +++ b/.local/share/applications/wine-extension-wri.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=wordpad +MimeType=application/x-mswrite; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen wrifile %f +NoDisplay=true +StartupNotify=true +Icon=97C1_wordpad.0 diff --git a/.local/share/applications/wine-extension-xml.desktop b/.local/share/applications/wine-extension-xml.desktop new file mode 100644 index 0000000..bbf4b96 --- /dev/null +++ b/.local/share/applications/wine-extension-xml.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=winebrowser +MimeType=application/xml; +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine start /ProgIDOpen xmlfile %f +NoDisplay=true +StartupNotify=true +Icon=7765_winebrowser.0 diff --git a/.local/share/applications/wine/Programs/Heimat Defender Rebellion.desktop b/.local/share/applications/wine/Programs/Heimat Defender Rebellion.desktop new file mode 100644 index 0000000..5c31034 --- /dev/null +++ b/.local/share/applications/wine/Programs/Heimat Defender Rebellion.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Heimat Defender Rebellion +Exec=env WINEPREFIX="/home/alex/.local/share/wineprefixes/default" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/alex/.local/share/wineprefixes/default/dosdevices/c:/ProgramData/Microsoft/Windows/Start\\ Menu/Programs/Heimat\\ Defender\\ Rebellion.lnk +Type=Application +StartupNotify=true +Path=/home/alex/.local/share/wineprefixes/default/dosdevices/c:/Program Files (x86)/Heimat Defender Rebellion +Icon=B3C3_HeimatDefender.0 +StartupWMClass=heimatdefender.exe