Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpadge/ubuntu-setup
script to configure fresh ubuntu install, or to update existing install
https://github.com/mpadge/ubuntu-setup
bash bash-script post-installation ubuntu ubuntu-setup
Last synced: 3 months ago
JSON representation
script to configure fresh ubuntu install, or to update existing install
- Host: GitHub
- URL: https://github.com/mpadge/ubuntu-setup
- Owner: mpadge
- Created: 2015-08-21T11:17:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-15T14:11:11.000Z (over 6 years ago)
- Last Synced: 2024-08-07T23:57:23.170Z (6 months ago)
- Topics: bash, bash-script, post-installation, ubuntu, ubuntu-setup
- Language: Shell
- Homepage:
- Size: 142 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ubuntu System Setup
===========================Adapted from
[ubuntu-post-install scripts of Sam Hewitt](https://github.com/snwh/ubuntu-post-install), to whom all credit is due.## 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`.1. `doall` enables all functions to be run **non-interactively** to build an
entirely new system from scratch (although it starts with `ubuntu-restricted-extras`
which is the only bit that requires interaction to install mscorefonts)2. `aptadd` adds `apt` keys (`/data/keys.list`) and repositories
(`/data/repos.list`)3. `apt` installs `packages.list` (and skips all those already installed)
4. `nonapt` opens a menu for the following additional functions
i. `pandoc` to install the latest version from source
ii. `python` to install a host of additional python modules
iii.`vim` to install or upgrade `vim` from source, along with a host of extensions
iv. `R packages` to install those
v. `sourcecodepro` to install the font
vi. `travis` to install the ruby gem for `travis-ci`
5. `configure` provides 3 configuration options, including installing dotfiles
6. `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](https://wiki.archlinux.org/index.php/Compiz_configuration)------
## Manual tasks
Some tasks can nevertheless only be completed manually ...
### 1. Terminal font
```
profile -> general -> font -> SourceCodePro Light 9pt
```### 2. [Vundle.vim](https://github.com/VundleVim/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
```### 3. gnome soliarized
Clone repo as described [here](https://github.com/gmodarelli/solarize), then
simply
```
cd ~/.solarized/gnome
./install.sh
```
to configure both light and dark profiles### 4. Nvim-r
[`.Rprofile` has two lines](https://github.com/mpadge/ubuntu-setup/blob/master/dot/.Rprofile#L8-L11)
that need to be changed around in order to properly install
[`Nvim-r`](https://github.com/jalvesaq/Nvim-R) the first time (using
[`vundle`](https://github.com/VundleVim/Vundle.vim), so install with
`:PluginInstall`). After that, they need to be changed back the way they were.### 5. Computer name
If not set at install, just change both:
```
/etc/hosts
/etc/hostname
```