dotfiles/xdg/.config/mimeapps.list.org

42 lines
1.3 KiB
Org Mode
Raw Normal View History

#+title: XDG Mimeapps
Suggest to open images in Feh when downloading them through Firefox (and others):
#+begin_src conf-unix :noweb-ref added-associations :tangle no
image/png=feh.desktop;
#+end_src
Suggest opening atom XML files in Emacs.
#+begin_src conf-unix :noweb-ref added-associations :tangle no
application/atom+xml=emacsclient.desktop;
#+end_src
Use Firefox to open =http://= and =https://= links.
#+begin_src conf-unix :noweb-ref default-applications :tangle no
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
#+end_src
Use Emacs to handle any =org-protocol://= links.
#+begin_src conf-unix :noweb-ref default-applications :tangle no
x-scheme-handler/org-protocol=EmacsClient.desktop
#+end_src
The rest of this file seems to have been set up by something else, so I've left those around.
#+begin_src conf-unix :noweb yes
[Added Associations]
application/octet-stream=firefox.desktop;org.pwmt.zathura.desktop;zathura.desktop;
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
<<added-associations>>
[Default Applications]
x-scheme-handler/discord-610508934456934412=discord-610508934456934412.desktop
x-scheme-handler/msteams=teams.desktop
x-scheme-handler/discord-402572971681644545=discord-402572971681644545.desktop
<<default-applications>>
#+end_src