I’m fond of the command line application duf (Official Repositories (extra)) for a nice simple view of disks and usage.
Sniffnet is a network monitoring tool to help you easily keep track of your Internet traffic.
Headsup on shadyness:
excellent.
just there is no ‘quotes’ around the modified.
nothing i recently discovered but an alternative to using less for man. i use bat. not batman which isn’t as nice looking IMO
man at default
man with bat
command
place this in .bashrc
export MANPAGER=“sh -c ‘col -bx | bat -l man -p’”
Related:
man -H command
displays the man page in a browser
Jank:
-
yay -S psutils
or tables are not rendered -
export BROWSER=“google-chrome-stable or firefox or whatever %s ; false”
because if process returns true, tmpfiles are deleted instantly, which is counterproductive in the age of huge RAM and tmpfs. race conditions may occur where files are deleted before the browser session actually renders them. And you can never reload pages, eg from OneTab, frozen tabs etc.
I compile my manpages to PDF and use Okular.
Here is a pretty nifty CLI tool I’ve just discovered. Great for C programmers.
It translates the declarations in the C programming language (which are often not very intuitive and difficult to read) into English and vice-versa.
Example:
$ cdecl <<< 'explain char *(*ftab[])();'
gives as output:
declare ftab as array of pointer to function returning pointer to char
Alternatively, if you want to
$ cdecl <<< 'declare f as pointer to function returning pointer to char'
char *(*f)()
Which, of course, means a totally different thing from:
$ cdecl <<< 'declare f as pointer to pointer to function returning char'
char (**f)()
Such things are easy to confuse and errors can be extremely difficult to debug. Thus, whenever I use such complicated constructions, I always provide a plain English comment explaining what it is. This tool is great for generating that, and to avoid confusion.
There also exists a web version:
https://cdecl.org/
But I prefer the one from the AUR, of course:
https://aur.archlinux.org/packages/cdecl
EDIT: no I do not, it’s not the same version, the one on github is much more advanced.
I replaced rsnapshot with borg + borgmatig. This is fast easy and more compact solution.
Borg seems to be a one of a few options when you need to backup a whole system.
But for a less important stuff I personally prefer Deja Dup, for extra simplicity and a graphical navigation in the snapshots, like it’s implemented on Windows by the default.
I am not even huge backup guy. I take full disk image like once a year and then I backup my /home and /etc once a week so my backups are not very big.
To make this work more painlessly I write this small dmenu script so I can mount my latest archive fast
#!/bin/bash
set -e
if [[ ! -d ~/temp ]]; then
mkdir ~/temp > /dev/null 2>&1
fi
options=("Take snapshot" "Mount snapshot" "Umount snapshot")
selected=$(printf '%s\n' "${options[@]}" | dmenu -i -p "Quick snapshot")
if [[ -n "$selected" ]]; then
case "$selected" in
"Take snapshot") # Takes snapshot
notify-send "Taking snapshot! This could take a while.."
borgmatic --verbosity -1 --syslog-verbosity 1
notify-send "Snapshot ready!"
;;
"Mount snapshot") # Mounts latest snapshot to ~/temp
borgmatic mount --archive latest --mount-point $HOME/temp
notify-send "Latest snapshot mounted at $HOME/temp/"
;;
"Umount snapshot") # Umounts snapshot
borgmatic umount --mount-point $HOME/temp
notify-send "Umount complete!"
;;
esac
fi
With Borgmatic, which uses Borg, you can define the directories you want to backup.
I posted about Pulse Browser in the “lesser known software” thread, but the tl;dr: it’s a fork of Firefox aimed at a minimalistic UI, and with an addon for grouping tabs into workspaces, it’s a really nice focus-oriented browser. It’s in the AUR under pulse-browser-bin
.
Friend of mine suggested Waydroid and now I’ve got a neat little container setup for Android applications. For context, I use Apple Music - its library management trumps Spotify’s by miles especially for importing local music. However, unlike Spotify there’s no native Linux client, and Cider - though a pretty good client - is just a MusicKit frontend, which means that it comes with its limitations. The two that turned me away were MusicKit randomly changing quality between 256kbps and 64kbps and not supporting gapless playback. There’s also running Windows 11 in VMware for it, and I do that for importing local music, but for simply listening it’s a bit much. There’s also no support for auto-submitting listens to ListenBrainz, either. Friend of mine told me to try Waydroid and with a bit of tweaking I was able to get Apple Music running on my EOS install, with lossless audio as well as high quality AAC and ListenBrainz support through Pano Scrobbler. The Arch wiki has a good tutorial on running Waydroid, and I have a post on Lemmy about running Apple Music on Linux through Waydroid.
I am aware this is a very specific setup but I got it working pretty well, and I don’t have to go back to a service I’m not overly enthusiastic about.
Mkdocs. Looks to have a lot of customizability.
nnn
a terminal file manager
having some fun messing around with it right now
https://aur.archlinux.org/packages/impression
Impression is a simple GTK based tool for creating live USB sticks. Until now I only did this with dd,
because I didn’t really like Etcher or anything else. Impression seems to be a good solution if you don’t want to carry all the dependencies that other tools bring along.
@anon17373693 it is not building for me - what have I missed?