I need to backup SMR drives on SMR, I literally have no use for them and I will not shed tear when they die. With Kopia, some napkin math and inadequate sample size, it appears to be ~14 MB/s writes for video dataset. With rsync, running for ~20 seconds, it reports ~75 MB/s (not sure how accurate, b...
Does working with Linux ecosystem prefer C/C++/Rust? I came across this comment in the context of a trash can application compliant with the FreeDesktop.org specification that is written in Go: I do not think Golang is the best tool for deleting files in Unix. It is ideal if you can create a program...
Is there an application that colors the directory substrings in output of full filenames? For example what you get from --color always from applications like fd. This is particularly useful when used with fzf to quickly parse long filenames. Some applications don't support a --color option like git...
Anyone use some mechanism to track updates to important packages? E.g. When I update, I have a wrapper to pacman which opens the release notes for each application to be updated so I can know about new features and bug fixes. I found this is much better than manually periodically checking on applica...
I was interested in seeing image previews on the terminal--seems like the Kitty Graphics Protocol is the best implementation of this. As I'm scrolling through the previews one at a time, I can hear the CPU fan crank up. I also experience the same with a GUI image viewer like qimgv, but with that, I'...
I have a systemd user service that simply autostarts tmux in a terminal and found that it is severely delaying shutdown (by at least a couple of minutes). I consistently get normal shutdown times by stopping this service manually before shutting down the system, but I would rather it be handled auto...
I'm thinking of building a NAS server because I don't want to deal with the clutter of external HDDs on my desktop machine. However, I only do weekly backups and also might run a media server 1-3 hours at most 3 times a week. I don't want the drives to run idling 95% of the time unnecessarily consum...
Are NAS drives rated to be turned on/off daily? Instead of RAID 1 on my desktop and backing up to external drives, I'm thinking of building a nas server to remove clutter in my workspace. However, I only do weekly backups and might run a media server for 1-3 hours like 2-3 times a week. I would rath...
What's the difference between askpass and polkit? I wanted a GUI prompt for sudo command in a script since the script should be executed from dmenu so there will be no terminal. In the script I have the command sudo systemctl start libvirtd, for example. At first it seemed like I simply need to inst...
When I hold the tiltwheel left/right for the the Logitech G502 mouse, it starts out with an initial delay (maybe 1 second) then triggers the action and repeats. To avoid the undesirable initial delay, I spam click/release tiltwheel left/right. On my Logitech G9, the initial delay is much smaller whi...
I'm converting all my startup applications to systemd user services (previously, I would just call them in .xinitrc, e.g. waybar &). I'm not entirely sure what the advantages/disadvantages of the systemd approach is, but I guess it's the "Linux" way and allows viewing the status/output from a unifie...
Is Bubblewrap a good replacement for Firejail? Firejail is easy to use with the trade-off being greater attack surface. I use it primarily for Firefox where I have multiple sandboxed profiles and as much applications as possible where the default config of an application didn't break it. Bubblewrap...
When booting, the ZFS won't load and I'm greeted with the emergency shell. I tried simply downgrading back to linux 5.4.15 but the same thing happens. I am using zfs-dkms and also downgraded that. Another relevant package is linux-headers. Any help is much appreciated, I'm fairly new to ZFS and this...
I really tried to like LibreOffice given that it's OSS and probably the best option on Linux, but it has quirks with simple things like undo/redo behaving weirdly and unexpectedly (unlike Excel), dates not formatting correctly, and frequently forgetting formatting (e.g. centering content for the ent...
I have a pile of old flash drives and many have problems despite light use. A couple of external portable HDDs that are showing signs of dying and cannot be relied on anymore. It seems flash drives and (to a lesser degree) external HDDs are just unreliable in general--does it have to do with the USB...
Curious for those who use ZFS how native encryption or general maintenance is for your system. Is ZFS on / is as problematic as it seems? I would probably just use archzfs repo for the binaries. I'm somewhat concerned about ZFS kernels not catching up to the stock kernel in terms of timely updates t...
I had the following via keybindings to control my volume (I use pulseaudio): amixer -q -M set Master 2{-,+} # or pactl set-sink-volume @DEFAULT_SINK@ {-,+}2% pactl set-sink-mute @DEFAULT_SINK@ toggle I used amixer instead of pactl because the former limits volume to 100% whereas the latter goes past...
The xf86-video-intel package is not recommended and users are encouraged to use the modesetting driver instead. However, I've been using xbacklight to change the brightness of the display and that doesn't work with the modesetting driver, so I have xf86-video-intel i
I'm struggling to find a reliable USB 3.0 hub for use with my external HDDs (both 2.5" and 3.5"). It can be either USB 3.0 or Type C for the hub itself (if the latter, it needs to also provide a Type C port so I'm not sacrificing the ability to charge my laptop if it has only one Type C port). It se...
For pacaur, I believe there's a behavior where prior to building the package, it will automatically show a diff of the PKGBUILD and the previously built version's PKGBUILD. This is helpful because: 1) you should always review a PKGBUILD for security reasons and 2) a diff means you don't need to read...
My audio starts off muted by default with my headphone connected the entire time. I'm on the XPS 13 9360 and am using pulseaudio. I haven't found any info to indicate this is the expected behavior and I certainly haven't changed any settings. What I'm currently doing is unplugging and then plugging...
In the wiki, there's a warning that says the "correct version" of a package should be added last: repo-add adds the entries into the database in the same order as passed on the command line. If multiple versions of the same package are involved, care must be taken to ensure that the correct version...
How does pacman behave when you attempt a partial upgrade (i.e. pacman -Sy <package>), which is not recommended because it breaks packages? For example in terms of dependencies, some are versioned and some are not. Will pacman happily update <package> and all (both versioned and unversioned dependen...
I want to set up KVM and VIRTIO. According to the wiki, both kvm and virtio modules should be automatically loaded with recent version of udev. However, there is only output for lsmod | grep kvm and none for lsmod | grep virtio (my system is up-to-date). Then the wiki says if the above commands retu...
I got 2 8 TB easystore's from the recent sale and now I don't know how to use them (seriously). I don't have a good backup scheme (no automatic backup scheme) and I do eventually want to accumulate space over time and have a collection of movies/music stored on a handful of these drives as I build m...
I installed dolphin along with: kdegraphics-thumbnailers kdesdk-thumbnailers ffmpegthumbs as recommended by the wiki. I enabled preview for all types of files and they are indeed working, except the generic thumbnails. Instead, I get nothing (transparent), so I can't tell if it's a folder. Am I miss...
I'm going to do a btrfs on LUKS setup soon and I want to use an encrypted swap (no need for hibernate support, so I'll be following this guide in the wiki). But I'm not confident I'm understanding it correctly--so what I need to do is create a partition with code 8300 (type Linux, i.e. do not mark i...
I want to mount ~/.cache on tmpfs so I add this to /etc/fstab. What I should do before I reboot to have it mounted on tmpfs is to rm -rf ~/.cache and reboot right after so this data does not "appear" back if I decide I no longer want to mount to tmpfs, right? Also, when I mount something over existi...
Can anyone recommend a zsh git prompt for someone learning git? I'm only working with a private remote repo on my Raspberry Pi, working entirely on the CLI so there is no web interface like github to be able to visualize what I'm doing. What I'm looking for is a git prompt for zsh that contains usef...
Mandatory Access Control on paper sounds like something you would want--a way to control the level of access applications are granted when they run on your system. Certain types of applications naturally require greater access to your filesystem, while others don't need and therefore should not be g...
Disclaimer: I'm a complete Linux noob and have done only several hours of reading. I was looking into whether encrypting /boot and setting Secure Boot is worthwhile and have developed a setup that I'm not sure if it's feasible and/or actually minimizes vulnerabilities in some popular setups. Here's...
NetworkManager stores passwords in plaintext if you don't use something like Gnome-keyring or KDE Wallet, but is this really a concern for someone who encrypts his system? The Arch Wiki says that the passwords are accessible to the root user as well as anyone who has access to nm-applet. If I requir...
I'm having some trouble constructing a partition layout for my system. It will most likely involve symlinks, bind mounts, or whatnot. Going straight to the point, these are the details and my goals: Swap partition and a separate /var on an HDD; system partition on an SSD. Config/cache files, etc. sh...
I'm switching to btrfs for the first time, mostly to take advantage of snapshotting system and config files so I can play around with some tweaks. I have some questions: Although I've read that subvolumes are like partitions, I'm wondering what caveats or gotchas I should be aware of that I should c...