Add mimeapps.list to enforce personal default apps
For the most part this exists to prevent Chromium from opening anything ever on any system it happens to be installed on. I will always prefer vim, firefox, and feh for any mimetype those can open. Unfortunately Arch's default mimetype dataset prefers Chromium for a vast array of types if it's installed.
This commit is contained in:
parent
640bc9fead
commit
9ce1fa64a2
1 changed files with 88 additions and 0 deletions
88
.config/mimeapps.list
Normal file
88
.config/mimeapps.list
Normal file
|
@ -0,0 +1,88 @@
|
|||
[Default Applications]
|
||||
application/json=vim.desktop;
|
||||
application/pdf=org.gnome.Evince.desktop;
|
||||
application/postscript=org.gnome.Evince.desktop;
|
||||
|
||||
image/bmp=feh.desktop;
|
||||
image/gif=feh.desktop;
|
||||
image/heic=feh.desktop;
|
||||
image/jpeg=feh.desktop;
|
||||
image/jpg=feh.desktop;
|
||||
image/pjpeg=feh.desktop;
|
||||
image/png=feh.desktop;
|
||||
image/tiff=feh.desktop;org.gnome.Evince.desktop;
|
||||
image/vnd.djvu=org.gnome.Evince.desktop;
|
||||
image/webp=feh.desktop;
|
||||
image/x-bmp=feh.desktop;
|
||||
image/x-pcx=feh.desktop;
|
||||
image/x-png=feh.desktop;
|
||||
image/x-portable-anymap=feh.desktop;
|
||||
image/x-portable-bitmap=feh.desktop;
|
||||
image/x-portable-graymap=feh.desktop;
|
||||
image/x-portable-pixmap=feh.desktop;
|
||||
image/x-tga=feh.desktop;
|
||||
image/x-xbitmap=feh.desktop;
|
||||
|
||||
text/html=firefox.desktop;
|
||||
text/plain=vim.desktop;
|
||||
|
||||
text/x-c=vim.desktop;
|
||||
text/x-c++=vim.desktop;
|
||||
text/x-c++hdr=vim.desktop;
|
||||
text/x-c++src=vim.desktop;
|
||||
text/x-chdr=vim.desktop;
|
||||
text/x-comma-separated-values=libreoffice-calc.desktop;
|
||||
text/x-csrc=vim.desktop;
|
||||
text/x-csv=libreoffice-calc.desktop;
|
||||
text/x-java=vim.desktop;
|
||||
text/x-makefile=vim.desktop;
|
||||
text/x-moc=vim.desktop;
|
||||
text/x-pascal=vim.desktop;
|
||||
text/x-tcl=vim.desktop;
|
||||
text/x-tex=vim.desktop;
|
||||
text/xml=vim.desktop
|
||||
|
||||
video/3gp=mpv.desktop;
|
||||
video/3gpp=mpv.desktop;
|
||||
video/3gpp2=mpv.desktop;
|
||||
video/avi=mpv.desktop;
|
||||
video/divx=mpv.desktop;
|
||||
video/dv=mpv.desktop;
|
||||
video/fli=mpv.desktop;
|
||||
video/flv=mpv.desktop;
|
||||
video/mkv=mpv.desktop;
|
||||
video/mp2t=mpv.desktop;
|
||||
video/mp4=mpv.desktop;
|
||||
video/mp4v-es=mpv.desktop;
|
||||
video/mpeg=mpv.desktop;
|
||||
video/msvideo=mpv.desktop;
|
||||
video/ogg=mpv.desktop;
|
||||
video/quicktime=mpv.desktop;
|
||||
video/vnd.divx=mpv.desktop;
|
||||
video/vnd.mpegurl=mpv.desktop;
|
||||
video/vnd.rn-realvideo=mpv.desktop;
|
||||
video/webm=mpv.desktop;
|
||||
video/x-avi=mpv.desktop;
|
||||
video/x-flc=mpv.desktop;
|
||||
video/x-flic=mpv.desktop;
|
||||
video/x-flv=mpv.desktop;
|
||||
video/x-m4v=mpv.desktop;
|
||||
video/x-matroska=mpv.desktop;
|
||||
video/x-mpeg2=mpv.desktop;
|
||||
video/x-mpeg3=mpv.desktop;
|
||||
video/x-ms-afs=mpv.desktop;
|
||||
video/x-ms-asf=mpv.desktop;
|
||||
video/x-ms-wmv=mpv.desktop;
|
||||
video/x-ms-wmx=mpv.desktop;
|
||||
video/x-ms-wvxvideo=mpv.desktop;
|
||||
video/x-msvideo=mpv.desktop;
|
||||
video/x-ogm=mpv.desktop;
|
||||
video/x-ogm+ogg=mpv.desktop;
|
||||
video/x-theora=mpv.desktop;org.musicbrainz.Picard.desktop;
|
||||
video/x-theora+ogg=mpv.desktop;
|
||||
|
||||
x-scheme-handler/gemini=amfora.desktop;
|
||||
x-scheme-handler/http=firefox.desktop;
|
||||
x-scheme-handler/https=firefox.desktop;
|
||||
|
||||
x-scheme-handler/mailto=thunderbird.desktop;
|
Loading…
Add table
Reference in a new issue