From ccf612fc86480b1773d847e4a5ca68c9e77c6c2d Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 26 Aug 2020 01:40:46 +0200 Subject: [PATCH] Add default applications mimeapps.list --- .config/mimeapps.list | 54 +++++++++++++++++++ .local/share/applications/emacsclient.desktop | 12 +++++ 2 files changed, 66 insertions(+) create mode 100644 .config/mimeapps.list create mode 100644 .local/share/applications/emacsclient.desktop diff --git a/.config/mimeapps.list b/.config/mimeapps.list new file mode 100644 index 0000000..69efa41 --- /dev/null +++ b/.config/mimeapps.list @@ -0,0 +1,54 @@ +[Added Associations] +application/pdf=org.pwmt.zathura.desktop;firefox.desktop;emacsclient.desktop; +application/sql=mysql-workbench.desktop;emacsclient.desktop; +image/bmp=feh.desktop;krita_qimageio.desktop; +image/jpeg=feh.desktop;krita_jpeg.desktop; +image/png=feh.desktop;krita_png.desktop; +text/plain=emacsclient.desktop;org.gnome.gedit.desktop; +video/x-matroska=mpv.desktop;org.kde.kdenlive.desktop; + +[Default Applications] +application/gzip=xarchiver.desktop +application/json=emacsclient.desktop +application/pdf=org.pwmt.zathura.desktop +application/pgp-encrypted=emacsclient.desktop +application/sql=mysql-workbench.desktop +application/vnd.mysql-workbench-model=mysql-workbench.desktop +application/vnd.rar=xarchiver.desktop +application/x-7z-compressed=xarchiver.desktop +application/x-compressed-tar=xarchiver.desktop +application/x-krita=org.kde.krita.desktop +application/x-ms-dos-executable=wine.desktop +application/x-php=emacsclient.desktop +application/x-shellscript=emacsclient.desktop +application/x-xz-compressed-tar=xarchiver.desktop +application/xhtml+xml=firefox.desktop +application/zip=xarchiver.desktop +audio/x-wav=mpv.desktop +image/bmp=feh.desktop +image/gif=firefox.desktop +image/jpeg=feh.desktop +image/png=feh.desktop +image/svg+xml=inkscape.desktop +image/webp=feh.desktop +message/rfc822=thunderbird.desktop +text/css=emacsclient.desktop +text/html=firefox.desktop +text/html=firefox.desktop +text/markdown=emacsclient.desktop +text/plain=emacsclient.desktop +text/plain=org.gnome.gedit.desktop +text/x-c++src=emacsclient.desktop +text/x-cmake=emacsclient.desktop +text/x-csrc=emacsclient.desktop +text/x-tex=emacsclient.desktop +video/mp4=mpv.desktop +video/webm=mpv.desktop +video/x-matroska=mpv.desktop +x-scheme-handler/about=firefox.desktop +x-scheme-handler/http=firefox.desktop +x-scheme-handler/https=firefox.desktop +x-scheme-handler/mailto=thunderbird.desktop +x-scheme-handler/mailto=thunderbird.desktop +x-scheme-handler/org-protocol=org-protocol.desktop +x-scheme-handler/unknown=firefox.desktop diff --git a/.local/share/applications/emacsclient.desktop b/.local/share/applications/emacsclient.desktop new file mode 100644 index 0000000..a704d34 --- /dev/null +++ b/.local/share/applications/emacsclient.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=EmacsClient +GenericName=Text Editor +Comment=Edit text +MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; +Exec=alias.sh emacs %F +Icon=emacs +Type=Application +Terminal=false +Categories=Development;TextEditor; +StartupWMClass=Emacs +Keywords=Text;Editor;