2017-11-24 03:16:24 +00:00
|
|
|
# Luke's Auto-Rice Bootstraping Scripts (LARBS)
|
|
|
|
|
2018-05-04 21:06:02 +00:00
|
|
|
[Official Website: larbs.xyz](http://larbs.xyz)
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
LARBS is a quick series of scripts deployable on a fresh installation of Arch
|
|
|
|
Linux. They automatically install and setup a fully-featured, but still
|
|
|
|
lightweight tiling window manager "suite", meant to be minimal and
|
|
|
|
keyboard-based.
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
LARBS is also intensely well-documented. Users can press `super+F1` at any time
|
|
|
|
to view a full guide and explanation of the keyboard shortcuts. The only
|
|
|
|
advised foreknowledge for potential users is a general familiarity with vim.
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
Now there are also small scripts like `getkeys` which display the default
|
|
|
|
bindings for the different terminal programs used by the system. Users can also
|
|
|
|
press `super+shift+e` at any time to watch a growing list of tutorial videos on
|
|
|
|
the same programs and other basic concepts from [my YouTube channel](https://youtube.com/c/lukesmithxyz).
|
2017-11-24 04:04:35 +00:00
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
You can also easily fork these scripts for your own purposes to deploy your own
|
|
|
|
configs if you like. All the actual scripts do is install a `.csv` list of
|
|
|
|
programs of your choice and set up system basics.
|
2017-11-24 04:04:35 +00:00
|
|
|
|
2018-06-09 12:29:38 +00:00
|
|
|
## Requirements
|
|
|
|
|
2018-07-07 06:16:31 +00:00
|
|
|
An already installed Arch Linux or derivative system (works on Manjaro and
|
|
|
|
Antergos as well). Works on Parabola too, but due to repository differences,
|
|
|
|
some minor programs might not install. Check the program list.
|
2018-06-09 12:29:38 +00:00
|
|
|
|
2018-07-07 06:16:31 +00:00
|
|
|
If you have a non-systemd system, you might also have to manually set up
|
|
|
|
Pulseaudio and Network Manager after running the script.
|
2017-11-24 03:16:24 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2017-11-24 04:04:35 +00:00
|
|
|
### On an already existing Arch install
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
Boot up a fresh Arch install and run the following as the root user.
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2017-11-24 04:04:35 +00:00
|
|
|
```sh
|
2018-05-04 21:06:02 +00:00
|
|
|
curl -LO lukesmith.xyz/larbs.sh #Downloads the script.
|
2017-11-24 03:16:24 +00:00
|
|
|
bash larbs.sh #Runs it.
|
|
|
|
```
|
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
Once that all is done, you should be able to log out, then log in as your newly
|
|
|
|
created user and type `startx` to begin the graphical environment. Congrats!
|
|
|
|
Note that if the graphical environment doesn't start correctly, you might want
|
|
|
|
to see what kind of drivers your computer needs to run Arch and install them
|
|
|
|
via `pacman` manually.
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2017-11-24 04:04:35 +00:00
|
|
|
### Installing Arch automatically
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2017-11-24 04:04:35 +00:00
|
|
|
I also have a script here for installing Arch automatically. I *only* wrote this
|
|
|
|
script so I could quickly install then test the other scripts on new computers,
|
|
|
|
but theoretically you could use it as well. *BUT* this is a lazy, pre-alpha
|
|
|
|
script which does not give you many options (it automatically chooses the New
|
|
|
|
York time zone, US English, GRUB, Network Manager, etc). Even more important, it
|
|
|
|
automatically partitions /dev/sda without asking, so unless, you have no
|
|
|
|
non-backed up data on your machine, I don't advise running it unless you don't
|
|
|
|
mind a full wipe. That said, you can run it like this after booting into an Arch
|
|
|
|
live environment:
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2017-11-24 04:04:35 +00:00
|
|
|
```sh
|
2018-05-04 21:06:02 +00:00
|
|
|
curl -LO lukesmith.xyz/arch.sh #Downloads the script.
|
2017-11-24 03:16:24 +00:00
|
|
|
bash arch.sh #Runs it.
|
|
|
|
```
|
|
|
|
|
2017-11-24 04:04:35 +00:00
|
|
|
After the system installs, you'll have the option of bootstrapping automatically
|
|
|
|
into installing my configs as well.
|
|
|
|
|
2018-07-07 06:16:31 +00:00
|
|
|
Don't be worried if the installation of the first programs seems to take a
|
|
|
|
while. As general dependencies are installed, things will move very quickly.
|
|
|
|
Still, since this is a total online install, it might take a little longer than
|
|
|
|
just installing a distro from an ISO.
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
## Details
|
2017-11-24 03:16:24 +00:00
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
In addition to installing all the needed dependencies, LARBS also:
|
2017-11-24 04:04:35 +00:00
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
- Enables `wheel` users to run basic commands without passwords including
|
|
|
|
shuttting down, rebooting and updating packages.
|
|
|
|
- Installs and enables NetworkManager and Pulseaudio.
|
|
|
|
- Disables the beep.
|
2017-11-24 03:16:24 +00:00
|
|
|
|
|
|
|
## Version
|
|
|
|
|
2018-07-07 06:16:31 +00:00
|
|
|
We're close to what can be called LARBS 2.0, and here are some of the major
|
|
|
|
changes since the original version.
|
2018-06-09 12:29:38 +00:00
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
- More documentation in the `getkeys` program and `mod+shift-e`.
|
2018-07-07 06:16:31 +00:00
|
|
|
- Luke's build of st is now the default terminal, instead of urxvt. This
|
|
|
|
includes:
|
|
|
|
- Full unicode compatibility
|
|
|
|
- vim-like bindings
|
|
|
|
- Scrollback with keys and mouse, clipboard use and other add ons to
|
|
|
|
the default st build
|
|
|
|
- Xresources colors, allowing the use of wal/pywal
|
|
|
|
- i3status is the status bar instead of Polybar, which was bloated and failed
|
|
|
|
to build on many machines. The new i3status includes the modules below, all
|
|
|
|
of which are constructed to be as minimal and light on system resources as
|
|
|
|
possible:
|
|
|
|
- Weather forecasts using `wttr.in`, with highs, lows and rain chance.
|
|
|
|
- Current song information from `mpd`
|
|
|
|
- Unread mail from Luke's `mutt-wizard`
|
|
|
|
- Possible pacman updates
|
|
|
|
- Status of torrents in transmission-daemon
|
|
|
|
- Expected date, time, battery, internet and volume modules
|
2018-06-09 12:29:38 +00:00
|
|
|
- Switch from mocp to mpd/ncmpcpp for music.
|
2018-07-10 20:35:22 +00:00
|
|
|
- System is more minimalist/suckless.
|
2018-06-09 12:29:38 +00:00
|
|
|
- dmenu is used instead of rofi for simplicity's sake.
|
2018-07-10 20:35:22 +00:00
|
|
|
- Deployment of my new mutt-wizard for secure offline email configuration
|
|
|
|
instead of config files for the user to manually edit.
|
2018-07-07 06:16:31 +00:00
|
|
|
- Firefox instead of qutebrowser for default browser (qutebrowser configs
|
|
|
|
remain for qutebrowser afeccionados)
|
2018-07-10 20:35:22 +00:00
|
|
|
- A default profile of Firefox including some privacy features, an ad-blocker
|
|
|
|
and VimVixen, for vim-based keyboard shortcuts.
|
2018-07-07 06:16:31 +00:00
|
|
|
- Extensive implementation of dmenu, including for mounting/unmounting drives,
|
|
|
|
display selection, confirmation for shutdown and other crucial commands, link
|
|
|
|
handling and screen/audio recording.
|
2018-06-09 12:29:38 +00:00
|
|
|
- Updates to config files can be pulled with git now.
|
|
|
|
- i3 window resize now intuitive directions
|
2018-07-07 06:16:31 +00:00
|
|
|
- Removal of a lot of brainlethood in the original design, where I relocated
|
|
|
|
configs for alleged extensibility's sake. That's all been fixed now.
|
|
|
|
- Configs for the new versions of qutebrowser, newsboat/newsbeuter, neomutt,
|
|
|
|
etc.
|
2018-06-09 12:29:38 +00:00
|
|
|
- Link handling scripts for mutt, newsboat and vim
|
|
|
|
- vi mode is now default in bash (with retention of emacs-mode ctrl-l)
|
|
|
|
- Caps lock functions both as a super key and escape key with xcape.
|
|
|
|
- Use of the much better, newer version of my shortcut-sync.
|
2018-07-07 06:16:31 +00:00
|
|
|
- And the repository is *significantly* smaller than it was before, meaning a
|
|
|
|
faster download.
|
2018-06-09 12:29:38 +00:00
|
|
|
- A million and one other tweaks and bug fixes.
|
2017-11-24 04:04:35 +00:00
|
|
|
|
2018-07-07 06:16:31 +00:00
|
|
|
### Soon to be added features
|
|
|
|
|
2018-07-10 20:35:22 +00:00
|
|
|
*At this point, all the planned features are there, and it's now just an issue
|
|
|
|
of fine-tuning them.*
|