1
0
Fork 0

xdg-settings: set up default handlers

This commit is contained in:
Luca Bilke 2024-10-22 13:31:20 +02:00
parent bb575651ef
commit 0a200d107f
Signed by: luca
GPG Key ID: F6E11C9BAA7C82F5
8 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,40 @@
[Default Applications]
text/x-shellscript=text.desktop;
text/plain=text.desktop;
application/postscript=pdf.desktop;
application/pdf=pdf.desktop;
image/png=img.desktop;
image/jpeg=img.desktop;
image/gif=img.desktop;
video/x-matroska=video.desktop
video/mp4=video.desktop
inode/directory=file.desktop
text/html=browser.desktop
x-scheme-handler/http=browser.desktop
x-scheme-handler/https=browser.desktop
x-scheme-handler/chrome=browser.desktop
application/x-extension-htm=browser.desktop
application/x-extension-html=browser.desktop
application/x-extension-shtml=browser.desktop
application/xhtml+xml=browser.desktop
application/x-extension-xhtml=browser.desktop
application/x-extension-xht=browser.desktop
text/calendar=mail.desktop
message/rfc822=mail.desktop
x-scheme-handler/mailto=mail.desktop
x-scheme-handler/mid=mail.desktop
x-scheme-handler/news=mail.desktop
x-scheme-handler/snews=mail.desktop
x-scheme-handler/nntp=mail.desktop
x-scheme-handler/feed=mail.desktop
x-scheme-handler/webcal=mail.desktop
x-scheme-handler/webcals=mail.desktop
application/rss+xml=mail.desktop
application/x-extension-rss=mail.desktop
application/x-extension-ics=mail.desktop
; x-scheme-handler/magnet=torrent.desktop;
; application/x-bittorrent=torrent.desktop;
; application/rss+xml=rss.desktop

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=Browser
Type=Application
Terminal=false
Exec=/usr/bin/firefox %u

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=File Manager
Type=Application
Terminal=true
Exec=/usr/bin/st -e lfX %u

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=Image viewer
Type=Application
Terminal=false
Exec=/usr/bin/nsxiv -a %f

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=Mail Client
Type=Application
Terminal=false
Exec=/usr/lib/thunderbird/thunderbird %u

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=PDF Viewer
Type=Application
Terminal=false
Exec=/usr/bin/zathura %u

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=Text Editor
Type=Application
Terminal=true
Exec=/usr/bin/st -e nvim %u

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=Video Player
Type=Application
Terminal=false
Exec=/usr/bin/mpv -quiet %f