|
keep punching joe posted:Is that not Vanilla os or am I missing something? BlendOS
|
# ? Feb 15, 2024 15:27 |
|
|
# ? Jun 5, 2024 21:32 |
|
NihilCredo posted:Does anyone know a fast PDF reader for Linux? Try Zathura or Sioyek.
|
# ? Feb 15, 2024 16:22 |
|
Armauk posted:Try Zathura or Sioyek. God drat I just tried out zathura (tempted by it having ebook support, I don't much like okular for ebooks) and it is fast. However, it doesn't handle some things right. For ex, a pdf that switches some pages between portrait and landscape mode doesn't work. The landscape pages are incorrectly shown in portrait cropped off.
|
# ? Feb 15, 2024 18:25 |
|
ziasquinn posted:BlendOS Yeah that was the one, of the approx 500 trendy distros of the past year.
|
# ? Feb 15, 2024 18:42 |
|
dipping my toes into trying to run linux as my main OS again. Running into a lot of pitfalls that mostly have to do with my nvidia graphics card. Arch has actually been my most successful attempt to date, but yesterday something happened that caused my wayland desktop to crash on boot. I narrowed it down to something in my config folder, as creating a new user, logging into a wayland session, and copying that user's config folder over to my old user fixed the issue. Since I'm on arch, I don't have a backup solution set up yet. I'm looking for something that'll take relatively frequent snapshots and let me roll back changes without too much hassle. Any suggestions?
|
# ? Feb 15, 2024 20:16 |
|
Read the last 2-3 pages of this thread.
|
# ? Feb 15, 2024 20:31 |
|
NihilCredo posted:Read the last 2-3 pages of this thread. I have and its mostly arguing about which distro is the least bad and which pdf reader one who plays wargames should use.
|
# ? Feb 15, 2024 20:33 |
|
HKR posted:Since I'm on arch, I don't have a backup solution set up yet. I'm looking for something that'll take relatively frequent snapshots and let me roll back changes without too much hassle. Any suggestions? I have used borg and restic, lately a lot of restic (working with 50 TiB). Both are pretty good. It's easy to use restic with rclone, which was my main reason for going with it. borg is coming out with a new version imminently but I don't know how reliable it will be for the first while.
|
# ? Feb 15, 2024 20:35 |
|
NihilCredo posted:Read the last 2-3 pages of this thread. If you mean the BTRFS discussion... it's not really backup, even if it has snapshots.
|
# ? Feb 15, 2024 20:36 |
HKR posted:dipping my toes into trying to run linux as my main OS again. Running into a lot of pitfalls that mostly have to do with my nvidia graphics card. Arch has actually been my most successful attempt to date, but yesterday something happened that caused my wayland desktop to crash on boot. I narrowed it down to something in my config folder, as creating a new user, logging into a wayland session, and copying that user's config folder over to my old user fixed the issue. What file system are you using? If you have btrfs (and the right subvolumes setup) you can use it to snapshot stuff. https://wiki.archlinux.org/title/Btrfs#Snapshots That's a lightweight and quick way to backup locally. Though you should still have an off-device backup and and offsite backup too.
|
|
# ? Feb 15, 2024 20:38 |
|
Nitrousoxide posted:What file system are you using? If you have btrfs (and the right subvolumes setup) you can use it to snapshot stuff. I'm using ext4. I'm not unapposed to starting fresh again with btrfs, but I mostly stuck with standard defaults when using the arch install script.
|
# ? Feb 15, 2024 20:41 |
mawarannahr posted:If you mean the BTRFS discussion... it's not really backup, even if it has snapshots. IMO, you can count a BTRFS snapshot as one of your 3-2-1 backups, though you still need the other parts of that strategy of course. Edit: HKR posted:I'm using ext4. I'm not unapposed to starting fresh again with btrfs, but I mostly stuck with standard defaults when using the arch install script. I believe you can use snapper to automate the whole BTRFS snapshoting and uploading to an off-device/off-site storage device too. Snapshots would be (near) instant and provide a very quick and easy way to roll back locally on your machine, while more fulsome backups offsite will allow recovery on a new device if you have a total system failure. You could also try to use a snapshot script like this and then whatever other traditional backup tool for your off-device backups. Nitrousoxide fucked around with this message at 20:58 on Feb 15, 2024 |
|
# ? Feb 15, 2024 20:46 |
|
Nitrousoxide posted:IMO, you can count a BTRFS snapshot as one of your 3-2-1 backups, though you still need the other parts of that strategy of course.
|
# ? Feb 15, 2024 21:10 |
|
Nitrousoxide posted:IMO, you can count a BTRFS snapshot as one of your 3-2-1 backups, though you still need the other parts of that strategy of course. I'll go ahead and agree with this statement when taken as a whole.
|
# ? Feb 15, 2024 21:18 |
|
Phosphine posted:The solution here is to always have firefox open! Or run several Firefoxes with different profiles and configure PDFs and URLs to open with specific profile. At work I have setup WinURL to open normal URLs with Firefox, but if the address matches with our ticketing system it will automatically open with MS Edge.
|
# ? Feb 15, 2024 21:45 |
|
HKR posted:dipping my toes into trying to run linux as my main OS again. Running into a lot of pitfalls that mostly have to do with my nvidia graphics card. Arch has actually been my most successful attempt to date, but yesterday something happened that caused my wayland desktop to crash on boot. I narrowed it down to something in my config folder, as creating a new user, logging into a wayland session, and copying that user's config folder over to my old user fixed the issue. git?
|
# ? Feb 15, 2024 22:09 |
|
Ok, result of the various PDF reader suggestions for future searchers: - Okular (with "greedy" caching) is pretty slow at loading new pages, but it does indeed hold pretty much the whole book in memory and scrolling is near-instant. It also has a ton of features. While doing so it does however eat 2GB of RAM (sure, fine) and peg one of the CPU cores at 100%. However, missing point: it's unable to open PDF files in a SSHFS folder from Dolphin. - xpdf doesn´t like those newfangled scroll wheels much, and is generally as barebones as it gets (eg. no bookmarks or dual layout, no chance of SSHFS either), but it is indeed very fast and uses barely any resources while doing so. - Xournal++ crashes after a few seconds of scrolling - I used to use PDF X-Change Viewer as well on Windows and it hasn´t disappointed under Wine (running it as a temporary command via Lutris Flatpak). It is by far the fastest - the whole file is immediately available for instant scrolling (nothing else does does this), every page, absolutely zero latency, no CPU thrashing either. Now I just need to figure out if I can integrate it into "native" KDE Dolphin, double click to open and such, and probably firewall it since it's still proprietary software after all. - Evince is actually the app name for the Document Viewer I was talking about originally. I ran the suggested dconf command and the main difference was that it started crashing. - Zathura is a little bit slower than Firefox - Sioyek is slower than Zathura - Bonus: I realized that I also have Ungoogled Chromium installed, and as a PDF reader it's a bit faster than Firefox - not significantly, but it does have the nice bonus of not mixing the PDFs I am reading with the dozens of tabs I have open. I'd say it's comparable to Okular, but it doesn´t thrash the CPU and it does open files from SSHFS folders without complaints. So, verdict: I'm going to set Chromium as my reader for the time being, but I'm going to look at setting up a more integrated Wine runtime so I can run PDF X-Change and a few other nice Windows apps.
|
# ? Feb 15, 2024 22:29 |
|
Regardless of whether a snapshot counts as one of your backups*, btrfs has very easy incremental backups with send and receive. This is how easy my backups are on my btrfs volume:code:
*not really, but if you weren't gonna do the full 3-2-1 in the first place then it's at least something. 2-1½-1? Like, I run a mirror for my data. Despite the constant "raid is not a backup" refrain, it's a layer of safety against the thing that's caused all my past data loss -- device failures -- so I don't have to be quite as paranoid about my external backups.
|
# ? Feb 15, 2024 23:04 |
|
Klyith posted:However, it doesn't handle some things right. For ex, a pdf that switches some pages between portrait and landscape mode doesn't work. The landscape pages are incorrectly shown in portrait cropped off.
|
# ? Feb 16, 2024 15:04 |
Klyith posted:Regardless of whether a snapshot counts as one of your backups*, btrfs has very easy incremental backups with send and receive. This is how easy my backups are on my btrfs volume: Because the extents getting unshared seems like it'd also break that, similar to how it breaks snapshots. Also, since I can't find documentation on it, what happens if you delete snapshots on the sending side but keep them on the receiving side, while doing incrementals? As for mirror (or any other RAID topology, except the obvious one), it's all in service of availability. Redundancy comes in the form of backups, and depending on how much money you can throw at your storage, things like SAS Multipath to ensure that even a controller dying won't affect availability of the data. Serviceability can be frustrating, though - but most server vendors don't really follow all of the RAS engineering principles.
|
|
# ? Feb 16, 2024 15:15 |
|
I don't think manually defragging btrfs is recommended these days. And I assume that unsynchronized deleting of snapshots has the same effect as it has on zfs. By which I mean that it works fine mostly until everything breaks with an unintuitive error message that leads you to a dive into the documentation where you find a command line option that would have prevented all problems, but the explanation makes no sense if you hadn't experienced the problem before. The option is called --use-hold on syncoid. Anyways, snapshots absolutely fulfil the actual core use of backups very well, in that they enable rollbacks or mounting the backup and looking for that old file. And zfs-send and btrfs-send on snapshots are extremely efficient ways to do the mirroring if you target your local NAS. I use something else for offsite backups, but if I knew a reasonably priced backup place that accepted either send I would switch.
|
# ? Feb 16, 2024 15:35 |
|
I look the manual commands for btrfs and find it scary. Are there distro blessed tools that will give tooling and a minimal front end? I get the impression that OpenZFS is much more mature with tooling.
|
# ? Feb 16, 2024 15:59 |
|
btrfs balance doesn't do anything to snapshots. Balancing is the thing you're supposed to do periodically* to reduce chunk fragmentation.code:
So if I ran my backup today, I'd first make a new snapshot /home/data/.snapshots/2024-02-16. Then I'd run: sudo btrfs send -p /home/data/.snapshots/2024-01-31 /home/data/.snapshots/2024-02-16 | sudo btrfs receive /mnt/backup/data I don't know what would happen if I first deleted 2024-01-31 on the backup drive and then tried to send using that from the source drive. I should do that and see what happens. *In the list of things that I think are bad about btrfs, this is the biggest: the docs recommend periodic scrub & balance, but not all distros seem to set that up by default. I think that's what happened to Bark! A Vagrant a few pages ago. The FS had never been balanced in years and ran out of space while trying to unfrag itself.
|
# ? Feb 16, 2024 16:45 |
|
waffle iron posted:I look the manual commands for btrfs and find it scary. Are there distro blessed tools that will give tooling and a minimal front end? I get the impression that OpenZFS is much more mature with tooling. Timeshift: Mint-run noob friendly GUI tool. Unfortunately has limited configurability, so btrfs snapshots don't work if your system is set up differently from the Ubuntu/Mint style. (But is usable with other distros -- it's on the Fedora live boot and I think works out of the box there.) Snapper: Suse-run system snapshot tool that integrates tightly with Suse package management but is usable in other distros. btrbk: general snapshot backup for arbitrary btrfs volumes. This seems to me to be even more complicated to set up than just reading the btrfs docs, but if you wanted automated periodic snapshots it does that. The tools that are the most polished are the stuff designed for root snapshots and rollback, because that's the primary way the btrfs gets used. What ZFS tools were you looking to find equivalents for?
|
# ? Feb 16, 2024 18:34 |
|
I really like sanoid/syncoid fro zfs. Snapper seems to be as good as sanoid. But there seems to be no mature tool to manage snapper optimised sends as well as syncoid. Or at least they have much worse documentation.
|
# ? Feb 16, 2024 19:33 |
|
After loving with btrfs on /home for a few years, I went to lvm+ext4 (/home is spanning 2 drives) about a year ago, and just back stuff up with tar and move to NAS, which gets uploaded to B2. Zfs, btrfs are good and complex and feature-full filesystems but for a personal computer this all seems so over the top.
|
# ? Feb 17, 2024 00:06 |
|
Rookie linux question here: I created a Rocky Linux VM. I locked the root account on install but forgot to mark my user account an 'Administrator'. So when I got everything installed and tried to update packages, I couldn't use sudo because my user wasn't a member of that group. What's the fix for that? So I can use sudo with my user? I ended up just wiping and reinstalling but now I'm just curious.
|
# ? Feb 17, 2024 01:44 |
|
You’d have to su to root and add that user to the right group (often wheel but sometimes sudo) by editing /etc/group or using one of the similarly named programs like groupadd or something (I can’t keep them straight). If you don’t know the root password for su or login, you can boot into “single user mode” and go from there.
|
# ? Feb 17, 2024 01:48 |
|
Subjunctive posted:You’d have to su to root and add that user to the right group (often wheel but sometimes sudo) by editing /etc/group or using one of the similarly named programs like groupadd or something (I can’t keep them straight). I don't have a great grasp of it but I wasn't able to su to root, and I'm guessing it's because the root user was locked on install? Maybe I was fat-fingering the password.
|
# ? Feb 17, 2024 01:54 |
|
Hughmoris posted:I don't have a great grasp of it but I wasn't able to su to root, and I'm guessing it's because the root user was locked on install? Maybe I was fat-fingering the password. If you don't set a PW for root, yeah. It's locked by default now, and you need to make sure your regular user is an administrator. Otherwise, you get to practice something that might be a RHEL certification task (they teach it in the classes, too)
|
# ? Feb 17, 2024 01:57 |
|
Hughmoris posted:I don't have a great grasp of it but I wasn't able to su to root, and I'm guessing it's because the root user was locked on install? Maybe I was fat-fingering the password. If it doesn’t give root a password and it lets you create only a non-administrator user, the installer devs should be given a moderate-to-severe noogie, IMO.
|
# ? Feb 17, 2024 01:58 |
|
Subjunctive posted:If it doesn’t give root a password and it lets you create only a non-administrator user, the installer devs should be given a moderate-to-severe noogie, IMO. This is true, but you also have to remember that Unix and Unix-like systems assume you know what you're doing.
|
# ? Feb 17, 2024 02:04 |
|
AlexDeGruven posted:This is true, but you also have to remember that Unix and Unix-like systems assume you know what you're doing. Which is a pretty counterfactual position, from my 30 years of Linux experience.
|
# ? Feb 17, 2024 02:05 |
|
Subjunctive posted:Which is a pretty counterfactual position, from my 30 years of Linux experience. Considering some of the people I've worked with, you're not wrong.
|
# ? Feb 17, 2024 02:10 |
|
AlexDeGruven posted:Otherwise, you get to practice something that might be a RHEL certification task (they teach it in the classes, too) Not that I've ever done that.
|
# ? Feb 17, 2024 02:15 |
|
ExcessBLarg! posted:Not that I've ever done that. It would be unseemly.
|
# ? Feb 17, 2024 02:18 |
|
ExcessBLarg! posted:Look up shell code for the latest local privilege escalation exploit? Nah, much easier ways. It's the same way you would access a system without knowing any passwords at all. This is where "physical access is full access" comes from. Because it's true.
|
# ? Feb 17, 2024 02:32 |
|
AlexDeGruven posted:Nah, much easier ways. It's the same way you would access a system without knowing any passwords at all. Physical access and the LUKS password, nowadays. Unless you're one of those people that self-sabotage by storing it in the TPM. Asides from that, I guess you are alluding to "boot from a recovery drive / bootloader, then overwrite /etc/shadow and/or /etc/passwd"?
|
# ? Feb 17, 2024 03:36 |
|
Nope. LUKS can definitely complicate things, but I don't think the cert covers that yet. And probably wouldn't. That's one of the dangers of full disk encryption, there's a non-zero chance of loving the entire system and requiring a rebuild and data restore.
|
# ? Feb 17, 2024 03:45 |
|
|
# ? Jun 5, 2024 21:32 |
|
AlexDeGruven posted:Nah, much easier ways. It's the same way you would access a system without knowing any passwords at all. it's true.
|
# ? Feb 17, 2024 03:52 |