I've recently been working on a solution for something similar to this: dotfiles_manager. Yes, I know, not a very interesting name. But it's a shell script which you can use to handle your dotfiles configurations. It's still under development and has a few rough edges, but works pretty stable. Also, all the Archers here will love it since the configuration is done just like in a PKGBUILD.
One major design decision for me was that it should be very simple to use it on a new system. As a result, everything is written keeping in mind the base system available on Arch. No extra dependencies, no make, nothing. Okay, maybe git to pull down the scripts. But if you already have a tarball made, zero external dependencies.
As mentioned in the original post, using branches for machine specific configurations works fine when you have just 2 or 3 different branches. Beyond that keeping it all in sync is a major pain. I want my dotfiles to help my productivity, not kill it. That's why I introduced the idea of "dotfiles packages". You install only the packages you need on that particular system. You're on a server without X11? Then don't install any of the dotfiles packages relating to GUI applications.
Most applications also allow you to "source" a different configuration file from within one. You can use this to create machine specific configuration. Let me take the example of ".Xresources". Using dotfiles_manager, you would have 2 packages: "Xresources" and "Xresources_foo", where "Xresources_foo" contains the settings purely for machine "foo". While your .Xresources file will be installed in its default location, you could install ".Xresources_foo" to ~/.Xresources_machine and have a xrdb -merge ~/.Xresources_machine in your .xprofile. Similar setups can be made for most applications.
Many suggest using some templates or scripts to modify the configuration file just before setting it up on a system. This is a no-go for me. Since doing so would mean I can't actively have my configuration in a git directory. All my configuration files are symlinked and always tracked using git.
I use a German mirror, I think it is either leaseweb or rwth Aachen. Mine did finish the sync yesterday, so it should be fine. Else there's the mirror list status page on the website
And yes, you can mount on a live USB and update as well.
Like the linked forum says, there was some issue yesterday with the mirrors syncing correctly. I saw the same issue last evening. Change the mirror you are using to something that is more current. Then find a way to get pacman working. You may use wget / curl on xfercommand if one of them was compiled using gnutls.
Tun a new pacman -Syu. Atleast yesterday, the issue always fixed itself within 30 minutes and a fresh update
Mutt is a great choice.
"All mail clients suck. This one just sucks less."
That sums up the review of Mutt in one line. Yes, it's a little annoying to remember the function keys in Mutt. But a week or two down the line, they'll be ingrained in your muscle memory. Mutt is a great client to organize your email. And once you start using it with offlineimap, it handles all the quirks of Gmail's IMAP very well.
You can also try out NeoMutt. It is essentially Mutt with a large bunch of patches applied to it. It works great!
Disclaimer: I'm one of the (tiny) developers working on NeoMutt.
I have just the solution for your "awkward scenario" :-)
I faced the same issue, which is why I came up with this solution. See my answer here: https://www.reddit.com/r/archlinux/comments/85te4i/versioning_of_dotfiles_with_devicespecific/dw1fnw6/
I've recently been working on a solution for something similar to this: dotfiles_manager. Yes, I know, not a very interesting name. But it's a shell script which you can use to handle your dotfiles configurations. It's still under development and has a few rough edges, but works pretty stable. Also, all the Archers here will love it since the configuration is done just like in a PKGBUILD.
One major design decision for me was that it should be very simple to use it on a new system. As a result, everything is written keeping in mind the base system available on Arch. No extra dependencies, no make, nothing. Okay, maybe
gitto pull down the scripts. But if you already have a tarball made, zero external dependencies.As mentioned in the original post, using branches for machine specific configurations works fine when you have just 2 or 3 different branches. Beyond that keeping it all in sync is a major pain. I want my dotfiles to help my productivity, not kill it. That's why I introduced the idea of "dotfiles packages". You install only the packages you need on that particular system. You're on a server without X11? Then don't install any of the dotfiles packages relating to GUI applications.
Most applications also allow you to "source" a different configuration file from within one. You can use this to create machine specific configuration. Let me take the example of ".Xresources". Using
dotfiles_manager, you would have 2 packages: "Xresources" and "Xresources_foo", where "Xresources_foo" contains the settings purely for machine "foo". While your .Xresources file will be installed in its default location, you could install ".Xresources_foo" to~/.Xresources_machineand have axrdb -merge ~/.Xresources_machinein your.xprofile. Similar setups can be made for most applications.Many suggest using some templates or scripts to modify the configuration file just before setting it up on a system. This is a no-go for me. Since doing so would mean I can't actively have my configuration in a git directory. All my configuration files are symlinked and always tracked using git.
I use a German mirror, I think it is either leaseweb or rwth Aachen. Mine did finish the sync yesterday, so it should be fine. Else there's the mirror list status page on the website
And yes, you can mount on a live USB and update as well.
Like the linked forum says, there was some issue yesterday with the mirrors syncing correctly. I saw the same issue last evening. Change the mirror you are using to something that is more current. Then find a way to get pacman working. You may use wget / curl on xfercommand if one of them was compiled using gnutls.
Tun a new pacman -Syu. Atleast yesterday, the issue always fixed itself within 30 minutes and a fresh update
Mutt is a great choice.
"All mail clients suck. This one just sucks less."
That sums up the review of Mutt in one line. Yes, it's a little annoying to remember the function keys in Mutt. But a week or two down the line, they'll be ingrained in your muscle memory. Mutt is a great client to organize your email. And once you start using it with offlineimap, it handles all the quirks of Gmail's IMAP very well.
You can also try out NeoMutt. It is essentially Mutt with a large bunch of patches applied to it. It works great!
Disclaimer: I'm one of the (tiny) developers working on NeoMutt.
Looks like a good idea. However you really should put it on the AUR first.
End of this list.
Back to top