Adapted from ubuntu-post-install scripts of Sam Hewitt, to whom all credit is due.
./setup.sh
or make an alias.
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.
-
doallenables all functions to be run non-interactively to build an entirely new system from scratch (although it starts withubuntu-restricted-extraswhich is the only bit that requires interaction to install mscorefonts) -
aptaddaddsaptkeys (/data/keys.list) and repositories (/data/repos.list) -
aptinstallspackages.list(and skips all those already installed) -
nonaptopens a menu for the following additional functionsi.
pandocto install the latest version from sourceii.
pythonto install a host of additional python modulesiii.
vimto install or upgradevimfrom source, along with a host of extensionsiv.
R packagesto install thosev.
sourcecodeproto install the fontvi.
travisto install the ruby gem fortravis-ci -
configureprovides 3 configuration options, including installing dotfiles -
cleanupremoves obsolete packages, kernels, and the like
In addition, check performs initial checks for packages necessary to run this
script
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
Some tasks can nevertheless only be completed manually ...
profile -> general -> font -> SourceCodePro Light 9pt
2. Vundle.vim
Often does seem to work on first install. If unknown function vundle#begin is
flagged, simply repeat setup:
rm -rf .vim/bundle/Vundle.vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Clone repo as described here, then simply
cd ~/.solarized/gnome
./install.sh
to configure both light and dark profiles
.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.
If not set at install, just change both:
/etc/hosts
/etc/hostname