Skip to content

u/swayuser

In this archive from Jan 2020 to May 2023

0
posts
212
comments
0
media
786
score

I don't think merge is very useful for most of these situations. I do v to bring up a side by side diff. Then it depends on the change whether I want to think of it is updating my current config and then r, or copying my customizations back into the fresh config and then o.

1 points

Yours is like all other comments so far and I don't think is 100% true. Filesystems can be optimized for rotational vs SSD vs nvme drives. I'm not familiar with OP's distro but some probably record certain settings in fstab, kernel command line, etc based on the drive type. These settings affect performance and the potential longevity of the drive.

If OP is pressed for time, then sure, use clonezilla. If it were me I'd at least recreate partitions and filesystems and copy the system at the file level. (What I'd really do is a fresh install because I keep my data separate and like the system to be reproducible.)

3 points

IMO a dotfiles repo works best specifically when you do have some understanding of each application. They work best as opt in.

Your goal sounds more suited to general backups where you opt out large, reproducible items like caches.

Especially for Desktop Environment settings and GUIs that store in semi-opaque DBs, managing through dotfiles will probably be very noisy.

I have a simple yet thorough set of dotfiles but I don't use a DE, just window manager, and everything I care about has a text file config.

4 points

u/zR0B3ry2VAiH unless your response SLO is going to be < 1 day, you probably don't want any distro unless it's designed to be just a browser in kiosk mode. All of these other answers about Mint, etc seem incredibly naive for your description of your aunt.

Hate to say it but ChromeOS flex is probably your best bet.

Also will she have a keyboard and mouse? Monitor? Laptop can be uncomfortable.

2 points

I'm not sure if you're asking more about the private key or public.

For the private part I only use physical security keys at this point. I have a few of them, one backup in a safe, one on keychain, some I leave in desktop/laptop.

For distributing the public keys I treat them all as a set. So my authorized_keys on machines I need has all of them.

2 points

The missing piece here is workspaces that span monitors without lots of custom effort. I have a few different workstreams at a time of differing frequency, duration, and complexity and not all tiling wms provide primitives for managing this context effortlessly.

I use i3/sway but I've always been frustrated by this. Have considered ditching the dual 24/27" setup for single large monitor and maybe and aux monitor on the side instead.

9 points

You're getting downvoted on some of your comments, which is unfortunate because they're not entirely unreasonable.

As already mentioned it's for packaging simplicity. This helps a few different audiences.

Lots of headers do add up of you want very lean container for example. In this context you don't often see man pages which I'm guessing are roughly on the order of header files. You might also not want to see them if you often do a pacman -Ql <package> (but | grep -v include can help here...)

A few years... Or is it decades? ago there was some discussion about filtering unused locale files. This is where I think your downvotes are unfair because pacman.conf got the NoExtract option to help here.

If NoExtract doesn't work for you, you can also write a pacman hook which is a script that can do whatever you want during pacman "transactions"... Such as rm files you don't want.

16 points

There's a systemd unit already for setting the rfkill status. That said, from what I remember, without such a unit enabled your last choice that you set on the cmdline is stored in /var. Check out the manpage for systemd-rfkill.

5 points

I don't use Plymouth directly myself but my work computer does. It has a nice graphical password prompt, not text on the TTY.

Please take the advise here, blindly entering your password into a blank screen is a horrible habit.

The best I can say is trade "something you know" for "something you have". You can replace the password with a keyfile on a USB drive. Keep it on your keyring, and require it to be plugged in while booting. How to configure this would depend on your distro.

6 points

I think it's a bad habit to type your password into a black screen. Pretty soon you'll do it when dpms has your display off but the screen isn't locked. I've done this into a share Google doc. Are you trying to obscure that you use Luks at all?

That said, it'd be helpful to know if you're using systemd because it has some different "ask-password" options.

15 points

Ah I may be mistaken, or at least maybe it's not straightforward. You can match in uid/gid. But more to the point, there's a better tool for network sandboxing.

1 points

nftables and iptables can match the binary, but if you want to restrict compete network access then a better way is to run in a network namespace without access to the network at all.

A systemd unit has easy params for sandboxing like this, for example.

8 points

They're not entirely without purpose. a) Sometimes it just feels more natural because you're moving from left to right b) for grep or sed specifically, if you're tweaking your expression, its nice to leave it at the very right so you don't have to move your cursor back over the filename c) if you want to be really paranoid, it reduces your privileged surface a bit. E.g., I'd rather do:

sudo cat /file | /some/rando/script.py /dev/stdin

than

sudo /some/rando/script.py /file
11 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.