From c3e4555f9149d90898d9315c5781339cfcb6a085 Mon Sep 17 00:00:00 2001 From: ElectricAlchemist Date: Wed, 16 Oct 2019 23:00:27 +0200 Subject: [PATCH] mime applications --- linux_general.txt | 21 +++++++++++++++++++++ void-install.txt | 3 +-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/linux_general.txt b/linux_general.txt index 1ec255e..00b311a 100644 --- a/linux_general.txt +++ b/linux_general.txt @@ -181,6 +181,27 @@ -To list all partition UUIDs "sudo blkid" +-Change default file openers: + Source: https://wiki.archlinux.org/index.php/XDG_MIME_Applications + create a file (if not present) in .config called mimeapps.list + search your file extension in https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types + add or modify the entry to that mimetype to be opened with the desired app.desktop + IF app.desktop IS NOT PRESENT: + look again in /usr/share/applications + if it is not present make one and put it into: + ~/.local/share/applications/ + with the format: + [Desktop Entry] + Name=Xpdf + Comment=Views Adobe PDF (acrobat) files + Exec=xpdf %f + Terminal=false + Type=Application + Icon=xpdf + Categories=Office; + MimeType=application/pdf; + NOTE: Exec= are the execution parameters + -To check a disk's health you need "smartmontools", first check system compatibility with "sudo smartctl -c /dev/sdX" then either do a short test "sudo smartctl -t short /dev/sdX" or a long test "sudo smartctl -t long /dev/sdX" lastly do "sudo smartctl -H /dev/sdX" to get the results diff --git a/void-install.txt b/void-install.txt index c0cad9a..8cfb484 100644 --- a/void-install.txt +++ b/void-install.txt @@ -124,7 +124,6 @@ mpv | simple video and media player scrot | screenshot tool ImageMagick | console image manipulator - mupdf | simple pdf reader qpdfview | in my humble opinion better than mupdf vscode | uC IDE with platformio abiword | microsoft word alternative @@ -137,7 +136,7 @@ kicad | electonic design and simulation suite pywal | wallpaper setter and color scheme generator gotop | process viewer similar to htop - dte | simple terminal editor + tcc | tiny C compiler Void specific: