A mirror is just a server that can serve you packages, they are where the files get downloaded from when you run pacman. You can't install arch "without mirrors" because then it would be impossible to download any packages.
Generally you want to choose mirrors that are in your region of the world so that you get better connection speed (take a look at https://wiki.archlinux.org/title/Reflector if you want to do this) but if you don't care then I think the iso comes with a default mirrorlist which should work fine.
Did you create a /dev/sda1 partition earlier in the install process? It won't magically be there otherwise. You can run fdisk -l to get a list of disks and their partitions, can you post the output?
You've given almost no information that we can go off, please post what commands you ran and their output when asking questions otherwise people cannot possibly give you a good answer.
I don't have a separate partition but I store all my personal files on a NAS, and my config files are in a git repo so if I did need to nuke the system I wouldn't be losing anything that I couldn't just re-download.
Personally if I was nuking I'd want the home directory to go with it as there tends to be a lot of junk in there that's not my personal files. If that solution works for you though then go for it.
Multiple partitions should have no effect on read/write performance, but I believe it could make a difference for copying or moving files. Moving files can be "free" on a single partition as it can just update the file system entry and the actual data can stay where it is, but when moving across multiple file systems it can't do that. I'm not really knowledgeable about how file systems work though so that might not be 100% correct, and I don't think on an ssd it would have a big effect anyway unless you're constantly copying large amount of data around.
pacman will by default reinstall a package if you tell it to install something that you already have installed. --needed makes it skip the package instead so it shouldn't be required but will speed up the process if it would have reinstalled.
kde-applications is a package group. Groups don't really do anything special, they just save some typing if you know you want to install all the packages in the group. When you install a package it will also pull in all the dependencies so don't worry, installing just the things you want will work fine.
I cloned my install to a new ssd but left the old one in the system. I didn't realize that the partitions on the new drive would have the same uuids copied from the original drive, so when the fstab was loaded it would mix and match mounting half the stuff from 1 drive and the rest from the other.
If you've got a separate home partition then you can keep the files in there through a reinstall. Otherwise you can copy them to a different drive before reinstalling. Even if you have home partition I'd make a backup anyway since it's easy to accidentally delete data when messing with partitions.
I get why people ask. It's very tempting when you're waiting on a specific update that has features you want, but the answer will usually be the same. It's ready when the maintainer gets to it, it's not like the packages are ready and they're waiting for an arbitrary release date.
Good idea. I think that perfectly solves the problem actually, since it won't have to run through tee and everything is logged to pacmans normal log file. Thanks!
It's a tiny emoji, not that annoying. Every time something ammusing and harmless happens there's people in this sub acting as if it's making things unuseable.
It's pretty trivial to host a web server using https://docs.python.org/3/library/http.server.html or something similar, you can make a folder with your script in it and set the server to host that folder. Then you'd be able to curl the script or any other file in the folder from within the local network.
I have an update script that runs pacman -Syu and a couple of other things, and pipes the output to tee.
When I run this, the output of pacman looks strange. The Proceed with installation? [Y/n] prompt is printed before the list of packages instead of after and it just sits there with no output for a while instead of showing the loading bars.
I can live with no loading bars, I imagine the way they are rendered maybe doesn't play well with pipes but is there a way I can fix the prompts printing in the wrong order?
i3-msg -t subscribe -m ["workspace"] listens for the event from i3 and prints it out.
It kinda looks like the output is piped into the while but it's actually piped into the read command. read -r line reads the message outputted by i3 and saves it into a variable called line which is then presumably used inside the loop body.
The while loop is checking the returned error code from the read process which in this case effectively makes it an infinite loop unless the read command somehow runs into an error and fails.
How to approach creating a listener script for a different purpose
I assume you mean like for a different kind of i3 event instead of switching workspaces? I'm not personally familiar with i3-msg usage but it looks like you could change ["workspace"] to some other value to make it listen to a different kind of event, you'd have to look at i3 documentation to find out what kinds of events are available to be subscribed to.
You mean something like this echo [magic string] > file and it modifies the file to uncomment a line? That won't work, you can only append data or overwite the whole file using echo and > or >> operators.
To do more advanced editing like uncommenting you can use sed.
I've used sway with 2 monitors and have since added a third.
With 2 I had workspaces 1-5 locked to left monitor and 6-10 locked to the right. With 3 monitors I have 1-10 on middle monitor, 11-15 on left, and 16-20 on right.
For workspaces 11+ I press ctrl+super+number instead of just super+number. Admittedly it's kind of awkward to press ctrl+super but I don't find myself often actually needing to switch between workspaces on the non main monitors so it's not too bad.
A mirror is just a server that can serve you packages, they are where the files get downloaded from when you run
pacman. You can't install arch "without mirrors" because then it would be impossible to download any packages.Generally you want to choose mirrors that are in your region of the world so that you get better connection speed (take a look at https://wiki.archlinux.org/title/Reflector if you want to do this) but if you don't care then I think the iso comes with a default mirrorlist which should work fine.
Did you create a
/dev/sda1partition earlier in the install process? It won't magically be there otherwise. You can runfdisk -lto get a list of disks and their partitions, can you post the output?You've given almost no information that we can go off, please post what commands you ran and their output when asking questions otherwise people cannot possibly give you a good answer.
I don't have a separate partition but I store all my personal files on a NAS, and my config files are in a git repo so if I did need to nuke the system I wouldn't be losing anything that I couldn't just re-download.
Personally if I was nuking I'd want the home directory to go with it as there tends to be a lot of junk in there that's not my personal files. If that solution works for you though then go for it.
Multiple partitions should have no effect on read/write performance, but I believe it could make a difference for copying or moving files. Moving files can be "free" on a single partition as it can just update the file system entry and the actual data can stay where it is, but when moving across multiple file systems it can't do that. I'm not really knowledgeable about how file systems work though so that might not be 100% correct, and I don't think on an ssd it would have a big effect anyway unless you're constantly copying large amount of data around.
pacman will by default reinstall a package if you tell it to install something that you already have installed.
--neededmakes it skip the package instead so it shouldn't be required but will speed up the process if it would have reinstalled.kde-applications is a package group. Groups don't really do anything special, they just save some typing if you know you want to install all the packages in the group. When you install a package it will also pull in all the dependencies so don't worry, installing just the things you want will work fine.
all software can have bugs
Hmm that seems correct but isn't working, probably need to figure out how to enable
APM_DISPLAY_BLANK. Thanks.I cloned my install to a new ssd but left the old one in the system. I didn't realize that the partitions on the new drive would have the same uuids copied from the original drive, so when the fstab was loaded it would mix and match mounting half the stuff from 1 drive and the rest from the other.
Dang it stops updates? Sounds like a desirable feature actually.
If you've got a separate home partition then you can keep the files in there through a reinstall. Otherwise you can copy them to a different drive before reinstalling. Even if you have home partition I'd make a backup anyway since it's easy to accidentally delete data when messing with partitions.
Yep good point. "It's ready when it's ready" would perhaps be a more accurate answer although not very satisfying.
I get why people ask. It's very tempting when you're waiting on a specific update that has features you want, but the answer will usually be the same. It's ready when the maintainer gets to it, it's not like the packages are ready and they're waiting for an arbitrary release date.
Interesting, thanks!
Good idea. I think that perfectly solves the problem actually, since it won't have to run through tee and everything is logged to pacmans normal log file. Thanks!
It's a tiny emoji, not that annoying. Every time something ammusing and harmless happens there's people in this sub acting as if it's making things unuseable.
It's not auto update, I manually run the script occasionally.
I just have a script so I don't have to remember 3 different commands every time update, and log the output to a file.
It's pretty trivial to host a web server using https://docs.python.org/3/library/http.server.html or something similar, you can make a folder with your script in it and set the server to host that folder. Then you'd be able to curl the script or any other file in the folder from within the local network.
I have an update script that runs
pacman -Syuand a couple of other things, and pipes the output totee.When I run this, the output of pacman looks strange. The
Proceed with installation? [Y/n]prompt is printed before the list of packages instead of after and it just sits there with no output for a while instead of showing the loading bars.I can live with no loading bars, I imagine the way they are rendered maybe doesn't play well with pipes but is there a way I can fix the prompts printing in the wrong order?
No because you're copying the iso to the device itself, not a partition/file system on the device.
i3-msg -t subscribe -m ["workspace"]listens for the event from i3 and prints it out.It kinda looks like the output is piped into the
whilebut it's actually piped into thereadcommand.read -r linereads the message outputted by i3 and saves it into a variable calledlinewhich is then presumably used inside the loop body.The
whileloop is checking the returned error code from thereadprocess which in this case effectively makes it an infinite loop unless the read command somehow runs into an error and fails.I assume you mean like for a different kind of i3 event instead of switching workspaces? I'm not personally familiar with
i3-msgusage but it looks like you could change["workspace"]to some other value to make it listen to a different kind of event, you'd have to look at i3 documentation to find out what kinds of events are available to be subscribed to.You mean something like this
echo [magic string] > fileand it modifies the file to uncomment a line? That won't work, you can only append data or overwite the whole file using echo and > or >> operators.To do more advanced editing like uncommenting you can use
sed.I think the disproven part was that blue light hurts your eyes, but it does keep you awake so orange shift at night helps you fall asleep after.
I've used sway with 2 monitors and have since added a third.
With 2 I had workspaces 1-5 locked to left monitor and 6-10 locked to the right. With 3 monitors I have 1-10 on middle monitor, 11-15 on left, and 16-20 on right.
For workspaces 11+ I press ctrl+super+number instead of just super+number. Admittedly it's kind of awkward to press ctrl+super but I don't find myself often actually needing to switch between workspaces on the non main monitors so it's not too bad.
Why would you be happy about the gui using more ram/cpu lmao. Makes no sense.
Yeah that's true. If it's a popular package it wouldn't be good to put all that traffic on archive.org.