FYI: For many printers there are two very different drivers, one IPP Everywhere driver (driverless/"AirPrint") which essentially sends the PDF/document to the printer so that printer can convert the document itself, and a local driver that does the appropriate steps to convert the document to a format/PS file the printer understands. While IPP Everywhere simplifies printer configuration (since you don't need to install any drivers), it is also massively slower in my experience.
When I print using the IPP Everywhere driver, the printer takes half a minute or so to process for each page, while printing using the local driver only takes a few seconds between pressing the print button and the printer starting.
They are always up to date and reflect the current steps. While the steps rarely change over time, it's a risk that I'd suggest you avoid since there's no way to know whether a tutorial is still up to date. People rarely update, mark or take down outdated tutorials, so without advanced knowledge of the topic you might not even know that the issue you're experiencing is due to incorrect commands.
Tutorials often include certain subjective choices by the author, and at the same time authors often do not clarify where they are making a conscious choice or whether a step is always necessary. For example, imagine an Arch installation tutorial explaining how to set up basic networking using NetworkManager. It is totally fine to focus on just one way to do things, but I'd say it's important to make a note at that point that you could also use systemd-networkd/netctl/etc. if you wanted to. The official instruction usually point out all the typical choices you'd make and most of the time they also explain the tradeoffs between different options.
You specifically mention confusion about the individual steps or commands in the tutorial: That's precisely where the official instructions in the Wiki shine, since you can just click on any link to learn more about the mentioned topic!
FYI: The occasional update splash screen on startup is completely normal.
The package itself only needs to be updated now and then since Discord automatically updates and downloads some internal components.
I guess someone should write a blog post titled “Arch Beginner Guides suggesting pacman -Syy considered harmful”.
No offense to OP, but this bad habit just keeps coming up even though official Arch resources are quite clear on the matter...
You should keep in mind that most of the time, the -bin package is built by the upstream project. This can lead to incompatibilities and various other issues. There are some trust/security implications as well (what if upstream distributes manipulated binaries?), but in practice that's not an issue (you're compiling and running upstream's code anyway).
Therefore, it is almost always better to use the non-bin-package, leaving aside the additional time it takes to build (compile) the package. I'd say that most (say 95 %) AUR packages can be built in a few minutes at most if your computer is not ancient, so in most cases it should be possible and preferable to choose the non-bin package. On the other hand, a few packages have absurdly long compile times where you might want to choose the -bin package instead. Prime examples would be Firefox, Chromium, LibreOffice and similar applications.
tl;dr: If your computer is not a potato and you're not trying to build Firefox, try building and installing the normal, non -bin package.
That's the one. I actually reported this bug upstream in November (with the -rc kernel), but apparently it got lost until a few days ago when people started running the released 5.10.
Yep, there was actually a regression (a null pointer reference in the crypto subsystem, triggered by iwd performing EAP authentication). The patch should be picked up and land in stable in the next few days.
You don't need sudo for pacman -Qtdq since it's just a query (just use sudo pacman -Rns $(pacman -Qtdq)). Not a huge issue, but it's always better to avoid unnecessary use of sudo.
How are Wifi issues distribution issues? As in, if the kernel driver for a Wifi chipset is faulty, then the bug is in the kernel and not the distibution's fault. I don't quite see where you could blame Arch for issues like that.
Regarding the microphone not working: Smells like the wrong audio profile being selected, you might be successful with the Arch wiki section regarding HFP/A2DP switching. To be honest I'm not quite sure about the whole audio profile story myself. I have a certain well-regarded model of noise-canceling headphones. On Windows, I can simultaneously use the microphone and listen to audio in normal quality, but on Linux I have to choose between using the microphone with abysmal audio quality (the HSP/HFP profile) and having good audio quality without access to the microphone (A2DP)...
Do you happen to know which profile/configuration you previously used?
Re-pairing also fixes the connection issues for me occasionally.
Are you dual booting Windows (or any other OS) on the same machine? The reason I'm asking is that there's a little-known [1] issue that complicates using Bluetooth devices on dual-boot machines: Bluetooth performs authentication of the other device based on the Bluetooth MAC address. Essentially, when you're pairing two devices, they are saving the key and address of the other device. When you're connecting to the same device again, every peer looks at the other peer's key and address and verifies that they match the stored combination. All this is quite similar to SSH host keys if you're familiar with that.
The specific issue with dual-booting I mentioned is this: Suppose you set up (paired) device A on operating system X. Now device A associates the MAC address of your laptop's Bluetooth controller with the host key saved on X. When you later try to set up device A on your other dual-booted operating system Y, that will fail for a simple reason: Device A notices that your laptop's MAC address is trying to connect, but with a different host key than the one previously set up (on operating system X)! The pairing and/or connection will fail with some mysterious error without explaining what really happened.
Edit: I was going to say that the Arch wiki doesn't explain the issue very well, but I just took a quick look and noticed that the relevant section was expanded a little bit. However, when I tried to fix it using the method mentioned in the wiki, I had no success.
[1] It's probably not that little-known, but I had to search for hours when I came across this the first time so I thought I should mention this issue so others might be enlightened about their mysterious Bluetooth troubles...
FYI: For many printers there are two very different drivers, one IPP Everywhere driver (driverless/"AirPrint") which essentially sends the PDF/document to the printer so that printer can convert the document itself, and a local driver that does the appropriate steps to convert the document to a format/PS file the printer understands. While IPP Everywhere simplifies printer configuration (since you don't need to install any drivers), it is also massively slower in my experience.
When I print using the IPP Everywhere driver, the printer takes half a minute or so to process for each page, while printing using the local driver only takes a few seconds between pressing the print button and the printer starting.
My two cents: I'd really suggest you follow the official installation instructions for a couple of reasons:
FYI: The occasional update splash screen on startup is completely normal. The package itself only needs to be updated now and then since Discord automatically updates and downloads some internal components.
I guess someone should write a blog post titled “Arch Beginner Guides suggesting
pacman -Syyconsidered harmful”. No offense to OP, but this bad habit just keeps coming up even though official Arch resources are quite clear on the matter...You should keep in mind that most of the time, the
-binpackage is built by the upstream project. This can lead to incompatibilities and various other issues. There are some trust/security implications as well (what if upstream distributes manipulated binaries?), but in practice that's not an issue (you're compiling and running upstream's code anyway).Therefore, it is almost always better to use the non-
bin-package, leaving aside the additional time it takes to build (compile) the package. I'd say that most (say 95 %) AUR packages can be built in a few minutes at most if your computer is not ancient, so in most cases it should be possible and preferable to choose the non-binpackage. On the other hand, a few packages have absurdly long compile times where you might want to choose the-binpackage instead. Prime examples would be Firefox, Chromium, LibreOffice and similar applications.tl;dr: If your computer is not a potato and you're not trying to build Firefox, try building and installing the normal, non
-binpackage.That's the one. I actually reported this bug upstream in November (with the -rc kernel), but apparently it got lost until a few days ago when people started running the released 5.10.
Yep, there was actually a regression (a null pointer reference in the crypto subsystem, triggered by iwd performing EAP authentication). The patch should be picked up and land in stable in the next few days.
You're welcome! Making scripts safer one
sudoat a time :DYou don't need sudo for
pacman -Qtdqsince it's just a query (just usesudo pacman -Rns $(pacman -Qtdq)). Not a huge issue, but it's always better to avoid unnecessary use of sudo.How are Wifi issues distribution issues? As in, if the kernel driver for a Wifi chipset is faulty, then the bug is in the kernel and not the distibution's fault. I don't quite see where you could blame Arch for issues like that.
Regarding the microphone not working: Smells like the wrong audio profile being selected, you might be successful with the Arch wiki section regarding HFP/A2DP switching. To be honest I'm not quite sure about the whole audio profile story myself. I have a certain well-regarded model of noise-canceling headphones. On Windows, I can simultaneously use the microphone and listen to audio in normal quality, but on Linux I have to choose between using the microphone with abysmal audio quality (the HSP/HFP profile) and having good audio quality without access to the microphone (A2DP)...
Do you happen to know which profile/configuration you previously used?
Re-pairing also fixes the connection issues for me occasionally.
Are you dual booting Windows (or any other OS) on the same machine? The reason I'm asking is that there's a little-known [1] issue that complicates using Bluetooth devices on dual-boot machines: Bluetooth performs authentication of the other device based on the Bluetooth MAC address. Essentially, when you're pairing two devices, they are saving the key and address of the other device. When you're connecting to the same device again, every peer looks at the other peer's key and address and verifies that they match the stored combination. All this is quite similar to SSH host keys if you're familiar with that.
The specific issue with dual-booting I mentioned is this: Suppose you set up (paired) device A on operating system X. Now device A associates the MAC address of your laptop's Bluetooth controller with the host key saved on X. When you later try to set up device A on your other dual-booted operating system Y, that will fail for a simple reason: Device A notices that your laptop's MAC address is trying to connect, but with a different host key than the one previously set up (on operating system X)! The pairing and/or connection will fail with some mysterious error without explaining what really happened.
Edit: I was going to say that the Arch wiki doesn't explain the issue very well, but I just took a quick look and noticed that the relevant section was expanded a little bit. However, when I tried to fix it using the method mentioned in the wiki, I had no success.
[1] It's probably not that little-known, but I had to search for hours when I came across this the first time so I thought I should mention this issue so others might be enlightened about their mysterious Bluetooth troubles...
End of this list.
Back to top