added .desktop files and browser workaround

This commit is contained in:
Alexander Bocken 2021-05-06 17:15:54 +02:00
parent 8e5430ce60
commit eeadf09dcf
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
28 changed files with 207 additions and 0 deletions

3
.local/bin/tools/openbrowser Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
$BROWSER $1 &
#exit 0

View File

@ -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;

View File

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Application
Name=File Manager
Exec=/usr/local/bin/st -e lf %u

View File

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Application
Name=Image viewer
Exec=/usr/bin/sxiv -a %f

View File

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Application
Name=Mail
Exec=/usr/local/bin/st -e neomutt %u

View File

@ -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;

View File

@ -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

View File

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Application
Name=PDF reader
Exec=/usr/bin/zathura %u

View File

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Application
Name=RSS feed addition
Exec=/usr/bin/env rssadd %U

View File

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Application
Name=Text editor
Exec=/usr/local/bin/st -e nvim %u

View File

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Application
Name=Torrent
Exec=/usr/bin/env transadd %U

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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