# Export Default editor and while we're at it, the PATH to /opt
export EDITOR=vim
export PATH=/opt:$PATH
https://github.com/jarun/nnn/wiki/Advanced-use-cases
https://github.com/sebastiencs/icons-in-terminal#installation
To enable icons-in-terminal icons
Install icons-in-terminal
Clone the nnn repo
Compile nnn with make O_ICONS=1 from the root s
To enable Nerdfont icons
Download and install a patched Nerdfont.
Apply that font as your terminal emulator's font. This will vary from emulator to
emulator, but usually involves editing a config file or changing a setting within a
GUI menu system.
Clone the nnn repo
Compile nnn with make O_NERD=1 from the root
Note:
Arch Linux users can check out the AUR packages nnn-icons and nnn-nerd.
xdg-mime default mpv.desktop video/mpeg
Query the entry
xdg-mime query default image/png
feh.desktop
xdg-mime query filetype cory-doctorow-makers.epub
application/epub+zip
image/jpeg=feh.desktop
audio/x-wav=mpv.desktop
audio/flac=mpv.desktop
application/epub+zip=calibre-ebook-viewer.desktop
video/mpg=mpv.desktop
video/mpeg=mpv.desktop
video/iso=vlc.desktop
audio/ogg=mpv.desktop
text/pdf=zathura.desktop
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop
text/markdown=ebook-viewer.desktop
[Added Associations]
image/png=feh.desktop;
video/x-matroska=mpv.desktop;
image/jpeg=feh.desktop;
audio/x-wav=mpv.desktop;
audio/flac=mpv.desktop;
application/epub+zip=calibre-ebook-viewer.desktop;
application/x-cd-image=vlc.desktop;
Sample with folder icons
Reading pdf files
Reading epub books
Editing files in vim
Creating new files
Creating new directories
Dropping to a command prompt temporarily, using '!'
Extracting tar.gz and zip files
Bulk file renaming
Organizing files
Send file as attachment in mutt
KDEconnect to send files and web links
#!/bin/bash
kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share $1
View all commands
Help screen
Click the thumbnail to see the full-sized image
Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.
The HPR Website Design is released to the Public Domain.