Skip to content

Might be antithetical to Arch's philosophy, but... any way for sharing complete setups?

I very much like most of Arch Linux's main priorities: clean code, simplicity, bleeding edge packages, etc.

However, I don't really feel the need to customize everything myself. I see a lot of images of people's software and UI setups and wouldn't mind just carbon copying it.

Is there an easy way to do this? Download a "pack" or something of someone else's list of packages and configuration files?

9 points23 comments
Open on Reddit
About this post
Posted
Archived
Score
9 · 100% up
Kind
Text
ID
3dp8cf

Author

2
posts
55
comments
0
media
View profile

23 comments

This is for the most part fairly simple. In the end there's always going to be a handful of things you need to customize yourself but you could do something like the following:

Export your current package list to a file using

pacman -Qqne > some_file               

Then you could reinstall the packages from that file using

pacman -S $(cat some_file)    

Those two steps would take care of the installing of packages part. As far as settings go it would just be a matter of copying the relevant dot files that include the settings you're looking to mimic.

Of course you still may need to install a few drivers specific to your machine as well as configure a few user specific things, but that should take care of most of what you're asking I think.

If any of that doesn't make sense it may just be because I'm in bed right now. I can follow up in the morning if you have any questions.

EDIT: Slight change based on suggestion by /u/sthrs.

12 points

Should at least use pacman -Qqn so pacman only lists packages from the repos and not AUR. If not, pacman will choke on those packages when you try to install them later from the file.

12 points

Yea, good catch. In fact it wouldn't hurt to do -Qqne to only include explicity installed packages and let dependencies be handled at install time.

11 points

Problem is, it ends up being more than a handful. Systemd module set-up, for instance.

2 points

That's definitely something I didn't think of last night while I was half asleep. Bottom line is that in the end there will almost always be some level of user interaction required to complete a setup.

2 points

Very helpful, thanks. I wonder, are there any collections of package lists on the internet anywhere? Like a "Ninite" for Arch? I know there are dotfile collections, but I've never tried using another person's dotfiles before.

1 points

Not like that, but if you install a desktop, like gnome gnome-extra for Gnome or plasma package for KDE Plasma, they come with pretty much everything you might need.

1 points

try antergos.. you will get a decent polished installation already. then you dont need anyone else's installation.

I think at a high level, solution to what you seek might exist in docker containers... having said this.. someone should be willing to do the hard work of customizing an easy installation for you. Even if that were the case, say, my set up .... which might be wired in my finger-tip muscle memory, might prove extremely difficult to navigate for say my neighbour.

Linux is about freedom, arch linux about simplicity (Do It Yourself way). Not sure if this specific distro has anything to offer you ready-made on that specific front you ask for.

People might share wiki pages about how to install things, perhaps some packages, what you seek is pre-configured themes, pre-configured wall papers, ready to go machine.. not sure that will be on agenda for this distro... I might be wrong.

If you want pre-configured stuff, you can search for boutique distros (which focus on niche areas of desktop polish).... there are plenty ... one dedicated for KDE desktop, some dedicated for Cinnamon, ... some might be for Enlightenment etc and so on.

8 points

Second recommend for Antergos. I understand it allows multiple DEs, so it should have you covered unless you eschew a full DE and you're into super customized tiling managers that 99% of r/unixporn is composed of. I've only used it with GNOME, since that is what I use everywhere where I need to have a desktop, and it provides a very sane default environment.

2 points

I've tested all of the DEs that Antergos offers, and they were all, with the sole exception of KDE (which I dislike anyway), fantastic. Antergos really is a thoughtfully designed Arch derivative.

Edit: I guess it's also hardly a derivative, more of an automatic installer to be honest

1 points

I once made a bash script to do this. It's not ideal at all, but I could true it for laptop+desktop. In the end though, stuff like that seems to break if it isn't updated and tested regularly.

A good alternative for this is nixos, where you describe your system configuration in a file. You can update a machine with this as well. Even better, combine your configuration with someone else's by overriding certain attributes of the system. It's very flexible.

3 points

You don't want Arch.

Yes, you could use other people's package lists and config files, but you'll just end up with a system you don't understand well enough to keep it decently maintained and updated. Even DE/WM configs need good manual care every now and then, let alone all the .pacnew files needing your effort to get manually integrated into the system.

If you don't want to do the work yourself, there's a bunch of other, out-of-the-box usable distros and their devs to do it for you. Some Arch spin-offs might please you, but I wouldn't really recommend any of them.

2 points

I'd (strongly) disagree. Not wanting to customize everything != not knowing how a system is put together. I've used Linux since Debian Hamm, and maintain Debian, CentOS, Fedora and Ubuntu (ugh) boxes and use Arch along with Debian on most of my computers. I don't see any need to faff about with most of the Arch configuration 9 times out of 10.

When I want to spin up Arch, Antergos goes on and gives me 95% of everything I want. Pretty much all that's left is tweaking GNOME a bit, adding some extensions, and removing lightdm back for gdm. The whole thing takes 5 minutes of active time. And I get the new packages and the beauty of AUR, which is the part that really attracts me to Arch.

Something like .pacnew files should not be a problem for any serious Linux user; I mean Fedora has .rpmnew and it doesn't insist on you setting up everything in intricate detail under the assumption that if you don't want to set everything to the Nth degree you're going to be confused about how to maintain the system.

4 points

Sorry, but it's ludicrous to say that OP doesn't want to use Arch because he wants to use a template rather than start from scratch. There are so many reasons to use Arch, and if OP doesn't want to set up every single config file from scratch, that doesn't stop them from wanting to use Arch for the thousands of other reasons.

Who are you to tell OP what they do and don't want anyway? They've come to the Arch Linux subreddit (not any other Linux subreddit) and asked an informed question about a topic important to them. Stop judging the person. If you can answer their question, do so. If not, and you don't have anything else nice to say, bugger off.

2 points

I agree with most of the comments in this thread in general and can see both sides of the coin --- on the one hand we all want ease/convenience, but on the other hand we're left wanting when we browse /r//unixporn, for instance. We want to emulate something that looks good because we assume it'll work well too, which might be a flawed assumption.

I think part of the problem is every user is different and -some- level of customization would go into almost every template, whether intentional or not. Those guys with the purdy desktops on unixporn are likely keyboard-centric users who use a tiling window manager, lots of keyboard shortcuts, etc. Even small stuff could potentially be overlooked, like encoding, timezone, keyboard layout, etc.

Maybe a better solution would be VM's? Just work with someone, or create one yourself, of a base Arch install that a newbie could pick up and run with. Eventually the user would find themselves comfortable enough to install Arch natively and customize it to their liking.

However, users will say this goes against the philosophy that you need to learn about it yourself as you build it. I'd disagree, because you don't learn how to drive a car by building an engine --- baby steps.

2 points

I'm actually an experienced Linux user and I have the skills required to do the customization myself. I've used Arch as a primary distro in the past for extensive periods of time. I usually just end up either throwing on a tiling WM and leaving it stock, or if I get tired of the way it looks I put on a full-fledged environment like GNOME. I just don't have much of an interest in the customization aspect; a lot of people are just better than me at creating a functional and aesthetic UI and I think it'd be cool to just be able to fully copy their setup.

I really like the tiling WM and keyboard-centric functionality that's really common on /r/unixporn and /g/ and such. I just think a lot of those users have more sophisticated, well-designed setups than I could make without spending months of trial and error.

1 points

I agree with your points and am actually in the phase of learning all of the different widgets that the users of /r/unixporn use to gain their effects --- it's difficult when they just post a screenshot but don't post what they're using.

I've become more and more keyboard centric as time has gone on, so I hope to be one of those users posting my setup there soon. Just gotta figure out how to install Arch without borking my main machine, as happened earlier in the week, and I'll be good to go.

2 points

There are a few install scripts on git hub that could help. You could also look at derivatives then swap the repositories to Arch. I have done this with Arch Bang when I was pressed for time on my son's machine and it worked like a charm.

I disagree with the hard core community members who imply you need to do everything. I personally enjoy doing a full end to end config but it is very time consuming and I could appreciate a few shortcuts.

2 points

I'd like to see this too. Would probably involve some scripting to say the least.

1 points

You can use something like Ansible which have the pacman module to create a playbook that set every up idempotently.

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.