Skip to content

u/EmberQuill

In this archive from Jun 2017 to Jun 2023

0
posts
336
comments
0
media
1.2k
score

I've only ever borked an install once with apt, and that was when I was definitely doing something in a way it wasn't supposed to be done, although it's been years so I can't remember exactly. I'm curious what you mean by "normal operations."

I've used several package managers and while apt isn't my favorite, it seems pretty solid.

1 points

First line in the screenshot says your initramfs is corrupt.

Boot from a liveusb, mount your partitions and arch-chroot in, then run mkinitcpio -P. That should rebuild the initramfs and hopefully fix the issue.

A bunch of people (including me) have run into similar issues recently. Image fails to build during a pacman upgrade, but rebuilds fine if you try again.

2 points

I configure a firewall on servers that are open to the Internet, but at home, my router has its own firewall. I don't need another one behind it. So my desktop doesn't have one. My laptop probably should since I occasionally use it on public wifi, but I never have applications listening on any ports on public wifi.

8 points

KDE. I originally switched to KDE because I got a new monitor and fractional scaling was basically required. At the time, KDE was the only DE with proper fractional scaling. It's still the only DE with good fractional scaling, as far as I can tell.

It helps that it's snappy, surprisingly lightweight, and looks nice. Other DEs are catching up on the fractional scaling front, but I think KDE looks better than most of them so I doubt I'll switch again.

2 points

Venvs are by far the best way. You can put a venv anywhere and activate/deactivate it however you want. The accepted convention might be to have per-project venvs, but you can easily make a single venv and use it for multiple projects that share requirements, if you want. With an alias to activate it anywhere, you can use it sort of like a conda environment.

Alternatively, if you want a Python library available globally, see if it's available in your distro's system package repos. You can install it and then it's managed fully by your package manager and available globally.

Or you could use miniconda, which is anaconda without all the big data science packages and it supports up to Python 3.10 AFAIK.

2 points

I can't remember which AUR package caused me to set this up, but there was one that took ages to build, and having to build it on both my desktop PC and my laptop every time it updated was so annoying that I spent a day setting up my Arch build server to do it for me.

2 points

Might have confused it with Meltdown, which was discovered around the same time and sort of bundled with Spectre since they both exploit the same class of flaw. Meltdown didn't affect AMD processors.

4 points

Gaming on Linux was "possible if you don't mind tweaking configs and fixing problems" for a while. Relatively recently, Valve put a lot of effort into Proton to get as many popular Windows games as possible to run relatively seamlessly with no configuration (in preparation for the Steam Deck). So the comments about Linux gaming aren't necessarily wrong, just somewhat outdated.

Nowadays, games are more likely to work fine on Linux. Anticheat and DRM can sometimes still be a sticking point, and sometimes the performance isn't as good, but generally gaming on Linux is pretty great. I dual-boot Linux and Windows, but I primarily use Linux for everything and the only reason why I still have Windows at all is for two games that use an in-house anticheat solution that doesn't work on Linux at all. And since I need to have Windows anyway for those two games, there are maybe 2 or 3 other games that run noticeably better on Windows.

But that's still like... maybe five games. Compared to the hundreds I've played that work fine on Linux.

1 points

Anything installed from the official repos is fine. All packages depending on Python get rebuilt when a new version releases (which is the main reason why major libraries like Python are delayed for so long compared to other packages). Qtile is in the repo so there shouldn't be any problems with that.

Your issue is the AUR. Since it's separate from the official repos, AUR packages that haven't had their pkgrel bumped (to mark it as "updated" causing all AUR helpers to rebuild it) won't hold back the release of python, unlike anything in the pacman repos. Reinstalling any AUR packages depending on Python, as long as it actually rebuilds them instead of pulling a prebuilt archive from your cache, will fix it.

As for programming and Jupyter notebooks, I always use venvs for those. I never rely on the system python libraries for any development I do. And when a new version of python comes out I usually rebuild any venvs I'm using anyway so I can take advantage of the new features.

1 points

The Zen kernel used to be one of the few kernels with fsync enabled by default, and enabling that for games running on Wine caused some huge performance boosts for me. But now the mainline kernel supports futex2/fsync so I ended up switching back. Didn't really notice much of a difference and the Zen kernel had a few drawbacks that were no longer justified since performance was about the same.

Linux is Linux, and any distro will perform about the same unless you're on really restricted hardware (like a handheld or very old PC) where some distros might run better due to better optimization. On modern PC hardware, the only real differences are ease of use and default configs. Some distros might have better defaults. Most of them allow you to change those settings and install alternative packages and make pretty much any distro "good for gaming."

1 points

I write mine from scratch. But it does far less than the one you linked does. I'm getting ideas for new features to add to mine from that one.

Too bad I (hopefully) won't be installing Arch again any time soon so I won't need to use it.

2 points

I mostly use it for changes to system configs, rather than installing some sort of application.

I have a little bootstrap package I always pacstrap onto new installs that enables sudo for wheel, adds my build server as a pacman repo, and configures a bunch of other little things so I don't have to do it manually every time.

I have some Windows games that don't have installers so they don't generate shortcuts with wine. Amateur RPG Maker games, stuff like that. I haven't done it yet, but I was thinking of writing PKGBUILDs to install them in /opt and generate shortcuts to launch them in wine.

6 points

I haven't tested this, but theoretically it should work if you ever ran pip as root and installed python packages into the system site-packages.

You might be able to find junk you installed with sudo pip by running:

pacman -Qo /usr/lib/python3.*/site-packages/* | grep error

Everything in there should be owned by a package. Anything that isn't can (probably) be deleted, because at least nothing you installed with pacman will depend on it.

4 points

Also, building your own package feels way simpler with makepkg. In Ubuntu and Fedora, I usually just make installed tarballs because I was too damned lazy to learn how to create a deb or rpm, but in Arch I find myself not really discouraged from making a package and keeping my system clean.

Seriously, I couldn't agree more. I also built a couple of custom packages for personal use and it was so easy with the Arch Build System. I tried to figure out how to build debs and rpms a while ago, and while they're probably not actually more complicated than makepkg, they certainly seemed that way. The PKGBUILD just being a shell script makes it super easy to understand if you already know shell scripting, without needing to figure out any sort of custom syntax. Just plain old variables and functions.

20 points

I use Wayland (sway, specifically) on my laptop (which has Intel integrated graphics) and still use xorg on my desktop since it has an Nvidia GPU and Nvidia+Wayland was still a problem last time I checked.

Overall, I feel like Wayland is still in the "it'll be ready next year, I swear" stage. I'm tempted to switch back to i3 on my laptop, too. I haven't run into any issues but I also haven't really seen any benefit from switching to Wayland and I had to configure some applications (especially electron apps) to launch properly.

Pretty much everything "just works" on xorg still. Can't say the same about Wayland.

0 points

I don't use GNOME currently, but if I didnt want to spend the time configuring sway on my laptop I would have probably gone with GNOME. It's not great for a desktop PC, but for a laptop it's pretty good since it looks great on small screens and feels much more comfortable when you can use TouchPad gestures.

I don't think it's a good fit for my desktop PC though. Currently I use KDE because it was the only DE/WM with decent fractional scaling support when I first installed it.

1 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.