{"id":13908525,"url":"https://github.com/mpadge/ubuntu-setup","last_synced_at":"2025-03-20T01:31:42.287Z","repository":{"id":36845092,"uuid":"41152029","full_name":"mpadge/ubuntu-setup","owner":"mpadge","description":"script to configure fresh ubuntu install, or to update existing install","archived":false,"fork":false,"pushed_at":"2018-05-15T14:11:11.000Z","size":145,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-07T23:57:23.170Z","etag":null,"topics":["bash","bash-script","post-installation","ubuntu","ubuntu-setup"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpadge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-21T11:17:30.000Z","updated_at":"2023-12-17T03:26:07.000Z","dependencies_parsed_at":"2022-08-24T21:50:56.849Z","dependency_job_id":null,"html_url":"https://github.com/mpadge/ubuntu-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpadge%2Fubuntu-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpadge%2Fubuntu-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpadge%2Fubuntu-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpadge%2Fubuntu-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpadge","download_url":"https://codeload.github.com/mpadge/ubuntu-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219865982,"owners_count":16555921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","post-installation","ubuntu","ubuntu-setup"],"created_at":"2024-08-06T23:02:47.637Z","updated_at":"2024-10-10T18:46:31.947Z","avatar_url":"https://github.com/mpadge.png","language":"Shell","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"Ubuntu System Setup\n===========================\n\nAdapted from \n[ubuntu-post-install scripts of Sam Hewitt](https://github.com/snwh/ubuntu-post-install), to whom all credit is due.\n\n## Usage\n\n```\n./setup.sh\n```\nor make an alias.\n\n## Structure\n\nThere are six main `functions` in the directory of that name, some of which use\nthe `data` directory, and all of which use variables defined in\n`functions/variables`.\n\n1. `doall` enables all functions to be run **non-interactively** to build an\n   entirely new system from scratch (although it starts with `ubuntu-restricted-extras`\n   which is the only bit that requires interaction to install mscorefonts)\n\n2. `aptadd` adds `apt` keys (`/data/keys.list`) and repositories\n   (`/data/repos.list`)\n\n3. `apt` installs `packages.list` (and skips all those already installed)\n\n4. `nonapt` opens a menu for the following additional functions\n\n    i.  `pandoc` to install the latest version from source\n\n    ii. `python` to install a host of additional python modules\n\n    iii.`vim` to install or upgrade `vim` from source, along with a host of extensions\n\n    iv. `R packages` to install those\n\n    v.  `sourcecodepro` to install the font\n\n    vi. `travis` to install the ruby gem for `travis-ci`\n\n5. `configure` provides 3 configuration options, including installing dotfiles\n\n6. `cleanup` removes obsolete packages, kernels, and the like\n\n\nIn addition, `check` performs initial checks for packages necessary to run this\nscript\n\n------\n\n\n## Note\n\nThe kinds of values given in `gsettings.list` and `dsettings.list` can be found by\n```\n\u003e dconf watch /\n```\nManually changing settings will then echo the corresponding `dconf` parameters.\nSome of these can not be `gset`. To find out which, just use\n```\n\u003e gsettings get ...\n```\nwith autocomplete to find out. Alternatively `gsettings list-recursively` will\nlist all settings, or see the [compiz\nwiki](https://wiki.archlinux.org/index.php/Compiz_configuration)\n\n------\n\n## Manual tasks\n\nSome tasks can nevertheless only be completed manually ... \n\n### 1. Terminal font\n\n```\nprofile -\u003e general -\u003e font -\u003e SourceCodePro Light 9pt\n```\n\n### 2. [Vundle.vim](https://github.com/VundleVim/Vundle.vim)\n\nOften does seem to work on first install. If `unknown function vundle#begin` is\nflagged, simply repeat setup:\n```\nrm -rf .vim/bundle/Vundle.vim\ngit clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim\n```\n\n### 3. gnome soliarized\n\nClone repo as described [here](https://github.com/gmodarelli/solarize), then\nsimply\n```\ncd ~/.solarized/gnome\n./install.sh\n```\nto configure both light and dark profiles\n\n### 4. Nvim-r\n\n[`.Rprofile` has two lines](https://github.com/mpadge/ubuntu-setup/blob/master/dot/.Rprofile#L8-L11)\nthat need to be changed around in order to properly install\n[`Nvim-r`](https://github.com/jalvesaq/Nvim-R) the first time (using\n[`vundle`](https://github.com/VundleVim/Vundle.vim), so install with\n`:PluginInstall`). After that, they need to be changed back the way they were.\n\n### 5. Computer name\n\nIf not set at install, just change both:\n```\n/etc/hosts\n/etc/hostname\n```\n\n\n\u003c!---\n\nIf `vim-latex` folding does not work, the folds can be examined with `:echo\n\u0026fdo` -- see `:h fdo` for more details.  (`install` may have to be repeated\nwithout `-w`).\n\nNew folding environments can be defined by changing\n`/usr/share/vim/addons/ftplugin/latex-suite/folding.vim` at around line#126 from\n\n    let g:Tex_FoldedSections = 'part,chapter,section,'\n                        \\. 'subsection,subsubsection,paragraph'\n\nto include `objective` and `subobjective` for example:\n\n    let g:Tex_FoldedSections = 'part,chapter,section,'\n                        \\. 'subsection,subsubsection,paragraph,'\n                        \\. 'objective,subobjective'\n\n-------\n\nOther interesting / useful packages:\n\n```\nardesia\nlm-sensors\nopenlogos font\nvarishapes font\nmartin vogel's symbols font\npoky font\nstylebats font\napache2 # web server needed for routino\nlibjson-pp-perl # also for routino\ntcl-dev # only for the R adehabitat package\ntk-dev # ditto - maybe tcl-dev is not actually needed?\nroutino\npyparsing\n```\nimage processing\n```\nrawtherapee\nrawstudio\ndarktable\n```\n\n---\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpadge%2Fubuntu-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpadge%2Fubuntu-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpadge%2Fubuntu-setup/lists"}