Ubuntu System Setup
Adapted from the ubuntu-post-install scripts of Sam Hewitt and Mark Padgham.
Usage
./setup.sh
or make an alias.
Structure
There are six main functions
in the directory of that name, some of which use
the data
directory, and all of which use variables defined in
functions/variables
.
-
doall
enables all functions to be run non-interactively to build an entirely new system from scratch -
aptadd
addsapt
keys (/data/keys.list
) and repositories (/data/repos.list
) -
apt
installspackages.list
(and skips all those already installed) -
nonapt
opens a menu for the following additional functionsi.
pandoc
to install the latest version from sourceii.
python
to install a host of additional python modulesiii.
vim
to install or upgradevim
from source, along with a host of extensionsiv.
R packages
to install thosev.
sourcecodepro
to install the fontvi.
travis
to install the ruby gem fortravis-ci
-
configure
provides 3 configuration options, including installing dotfiles -
cleanup
removes obsolete packages, kernels, and the like
In addition, check
performs initial checks for packages necessary to run this
script
Note
The kinds of values given in gsettings.list
and dsettings.list
can be found by
> dconf watch /
Manually changing settings will then echo the corresponding dconf
parameters.
Some of these can not be gset
. To find out which, just use
> gsettings get ...
with autocomplete to find out. Alternatively gsettings list-recursively
will
list all settings, or see the compiz
wiki
Manual tasks
Some tasks can nevertheless only be completed manually ...
1. Terminal font
profile -> general -> font -> SourceCodePro Light 9pt
2. gnome soliarized
Clone repo as described here, then simply
cd ~/.solarized/gnome
./install.sh
to configure both light and dark profiles
3. Nvim-r
.Rprofile
has two lines
that need to be changed around in order to properly install
Nvim-r
the first time (using
vundle
, so install with
:PluginInstall
). After that, they need to be changed back the way they were.
4. Computer name
If not set at install, just change both:
/etc/hosts
/etc/hostname