Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for Iizuki‭

Type On... Excerpt Status Date
Comment Post #291742 More or less yeah. But in practice most tools will remember their allotted place so it's not too much hassle. E.g. you only need to tell a crypto client once that the blockchain should be at `/data/crypto`.
(more)
10 months ago
Edit Post #291742 Post edited:
10 months ago
Edit Post #291742 Initial revision 10 months ago
Answer A: How to set up a system with two hard drives?
Keep both your `/` and `/home` on the SSD, and then create the `/data` partition on your HDD. You could link individual directories from home as you say, but I usually create just one link to the HDD root, and save big stuff there manually. Partitioning can be made more flexible if you use BTRF...
(more)
10 months ago
Comment Post #291638 I'm beginning to see the issue. When I right click an installer .exe in Dolphin, it offers me the option "Open with Wine Windows Program Loader". However I can't seem to locate this anywhere else. This is what gets fired by doubleclicking as well.
(more)
11 months ago
Edit Post #291638 Initial revision 11 months ago
Answer A: Install and run Windows applications
Installation At least in KDE Plasma all you really need is to have the `.exe` files associated with `wine`. Right click > Open with in Dolphin will do the trick. Once you got that covered, the installer can be run by just doubleclicking the exe, just like in windows. It will be installed to you...
(more)
11 months ago
Edit Post #291605 Initial revision 11 months ago
Answer A: List remote container tags
`Skopeo` is a tool for managing remote containers. It has a `list-tags` subcommand which does exactly what it sounds like: ```shell $ skopeo list-tags docker://docker.io/archlinux ``` Conventional container registries use the `docker` protocol, and this needs to be specified in the URL. ...
(more)
11 months ago
Edit Post #291604 Initial revision 11 months ago
Question List remote container tags
How to list tags of a container in container registry using CLI tools? Kinda like you would browse them visually in dockerhub.
(more)
11 months ago
Comment Post #291510 You could have a look at this ArchWiki article: https://wiki.archlinux.org/title/Fan_speed_control I imagine that some of the stuff is available for PopOS as well.
(more)
11 months ago
Comment Post #291408 Thanks for highlighting a potential point of confusion. I changed it a bit.
(more)
11 months ago
Edit Post #291408 Post edited:
Clarify the location of spaces in the command output
11 months ago
Comment Post #291408 Fair point. I just wanted something that would reproduce the same digest, but `touch` isn't really required for this.
(more)
11 months ago
Edit Post #291408 Post edited:
Remove potentially confusing touch command
11 months ago
Edit Post #291408 Initial revision 12 months ago
Answer A: Calculate the SHA1 checksum of a file
There's a `sha1sum` tool in GNU coreutils. Here's ```shell $ sha1sum emptyfile da39a3ee5e6b4b0d3255bfef95601890afd80709 emptyfile ``` Note the spaces and the filename (emptyfile in this case) in the output. They may need to be accounted for in pipelines.
(more)
12 months ago
Edit Post #291406 Initial revision 12 months ago
Question Calculate the SHA1 checksum of a file
How to calculate the SHA1 digest of a file in a shell?
(more)
12 months ago
Edit Post #291289 Post edited:
Got the two yqs mixed up
12 months ago
Edit Post #291364 Initial revision 12 months ago
Answer A: How to show motherboard model?
`dmidecode` can do this. Here's an example output from my system: ```shell dmidecode --type 2 Getting SMBIOS data from sysfs. SMBIOS 3.1.1 present. Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: ASUSTeK COMPUTER INC. Product Name: PRIME B450-PLUS ...
(more)
12 months ago
Edit Post #291363 Initial revision 12 months ago
Question How to show motherboard model?
Surely there exists a command to print out the system's mother board model? Opening up the chassis is not an option.
(more)
12 months ago
Edit Post #291316 Post edited:
Wording
12 months ago
Edit Post #291316 Initial revision about 1 year ago
Answer A: Systemd unit needs to start at boot but wait for network
Yup that's the recommended way to do it. `Wants` adds the `network-online.target` as a soft dependency.[^hard-dependency] Systemd will try to start it if it isn't up already. Networking should work after this target. `After` specifies the ordering related to other units. Without this they would...
(more)
about 1 year ago
Edit Post #291309 Initial revision about 1 year ago
Answer A: Systemd service status if ExecStop or ExecStopPost fails?
Yes, the unit will enter the `failed` state if either one of those failed. You verify this with a test unit like this: ```ini [Unit] Description=ExecStop failure test [Service] ExecStart=echo I might just fail in a sec! ExecStop=exit 1 ExecStopPost=exit 1 ``` Documentation wise, app...
(more)
about 1 year ago
Edit Post #291308 Initial revision about 1 year ago
Question Systemd service status if ExecStop or ExecStopPost fails?
Will the overall unit status be `failed` if either `ExecStop` or `ExecStopPost` fail? I would expect it to be so, but the documentation isn't very explicit about it.
(more)
about 1 year ago
Comment Post #291302 Yes, the chroot is so that the tools work as expected, and true, you would need to mount the new root anyway for accessing it. I do think that you have to update GRUB and initramfs both: GRUB because `/boot` is going to move (with the root). Initramfs because root is going to move, and it is in...
(more)
about 1 year ago
Edit Post #291302 Initial revision about 1 year ago
Answer A: Moving the filesystem root to a different partition and booting from it
Disclaimer: I'm not a Mint (or Ubuntu) user. Using your distro's live image: 1. Do your partition stuff 2. Mount the new root to the live system at `/mnt`[^mount-location] 3. Mount your other partitions to the new root as they should be 4. Chroot into `/mnt` 5. Check your `/etc/fstab`, ther...
(more)
about 1 year ago
Edit Post #291289 Initial revision about 1 year ago
Answer A: How to convert json to yaml?
With `yq`: ```shell $ yq --output-format yaml . file.json > file.yaml ``` `.` is a filter which is applied to the data, but since `.` just stands for the document root, this means that the data is passed through without modification. `yq` is capable of rich document manipulation, but here ...
(more)
about 1 year ago
Edit Post #291288 Initial revision about 1 year ago
Question How to convert json to yaml?
How to convert a json file to yaml? Technically json is already valid yaml, but I'm talking about the characteristic easy-to-read yaml formatting with indentation and minimal quotes.
(more)
about 1 year ago
Edit Post #291280 Initial revision about 1 year ago
Answer A: Pacman list files installed by a package
```shell $ pacman --query --list package-name ``` Or the short version: ```shell $ pacman -Ql package-name ``` Source: pacman manpage)
(more)
about 1 year ago
Edit Post #291279 Initial revision about 1 year ago
Question Pacman list files installed by a package
How to show a list of files belonging to a package with pacman?
(more)
about 1 year ago
Comment Post #291256 This seems to be a point in favor of systemd timers, as there the jobs (units) are separated from the schedule (timer), and can be activated independently.
(more)
about 1 year ago
Edit Post #291266 Initial revision about 1 year ago
Answer A: Get notifications to dunst when systemd units fail
I have no experience with `dunst`, but generally you want a global service-level dropin file in `/etc/systemd/system/service.d/` with `OnFailure=` setting in it. This way it gets added to all services running on your system. (Except to user units, you'll need to do this separately for those.) The...
(more)
about 1 year ago
Edit Post #291253 Initial revision about 1 year ago
Answer A: How to export public GPG key?
This is how to save it to a file: ```shell $ gpg --export --armor key-id > my-key.pub ``` `--armor` stands for the format with printable characters.
(more)
about 1 year ago
Edit Post #291252 Initial revision about 1 year ago
Question How to export public GPG key?
GPG stores keys inside an internal database of some sort. How to export your public key in the familiar `-----BEGIN PGP PUBLIC KEY BLOCK-----` format so that it can be imported to other software? E.g. to a git forge.
(more)
about 1 year ago