# Guide to set-up a new laptop
TODO
## 1. Windows
### OS
- Nothing to do, usually Windows 7 or 8 is installed by default
- Check the duration of the license. Ask to extend it, if needed
- Check everything works as usual
- Tune basic OS-related settings to your convenience (locale, time, security, accounts etc)
### Software
#### Required
- [Mozilla Firefox](https://www.mozilla.org/fr/firefox/), for Internet browsing
- [Mozilla Thunderbird](https://www.mozilla.org/fr/thunderbird/), for emails
- [Sublime Text 3dev](https://www.sublimetext.com/3dev), for text and code editing
- [VLC](https://www.videolan.org/vlc/), for movies and music
- [ownCloud](https://www.owncloud.org/), for file synchronization
#### Optional
- For security and system: [ClassicShell](http://www.classicshell.net/downloads/), [CCleaner](https://www.piriform.com/CCLEANER)
- For UI: [f.lux](https://justgetflux.com/), [KDE release for Windows](https://community.kde.org/Windows) at least for Okular PDF viewer (sad, it is not maintained anymore! But [the old KDE Win installer](http://download.kde.org/stable/kdewin/installer/kdewin-installer-gui-latest.exe.mirrorlist) works fine, even on Windows8)
- [LibreOffice](https://libreoffice.org/)
- Science: see below in the Linux part. Use [Anaconda](https://www.continuum.io/downloads#windows) to install Python3 (only).
### Configuration
- Firefox: activate account, wait for sync, restart, test it, it should work as in your previous laptop. If not possible, install your [favorite Firefox extensions](perso.crans.org/besson/firefox-extensions.html), and tune your favorite settings. *Bonus:* Service by service, website by website, log and store the id/password (if you want).
- Thunderbird: FIXME does it support Mozilla accounts? If not possible, install your [favorite Thunderbird extensions](https://perso.crans.org/besson/firefox-extensions.html), and tune your favorite settings.
- Sublime Text: brutal copy of your previous Windows local ST3 `User` folder, or if not possible, reinstall [PackageControl](https://packagecontrol.io/installation) and install all your packages, then reconfigure them one-by-one
### Material-related
- Check that WiFi and Ethernet works
- Add your printers, one-by-one
### Games ?
- For emulators, use [RomStation](http://www.romstation.fr/accueil): first install [the software](http://www.romstation.fr/romstation/app/setups/RomStation_Setup_fr.exe), then choose which emulator you need, and finally use/download/find [ROMs for the games](http://www.romstation.fr/app=ccs?id=25) you want to play. Try [one of these old games](https://perso.crans.org/besson/top10.en.html#my-10-favorite-gameboy-games)!
- For [Steam games](https://store.steampowered.com/), first install [the software](https://store.steampowered.com/about/), then choose which games you want, from [your Steam library](https://steamcommunity.com/). Try [one of these old games](https://perso.crans.org/besson/top10.en.html#my-10-favorite-pc-games)!
----
## 2. Linux
### OS
- Install [(x)](http://www.xfce.org/)[Ubuntu 16.04+](http://releases.ubuntu.com/16.04/), on a *separate* partition (`ext4`)
- Update, upgrade (latest release), update again. Reboot, log in, try everything. It works? Great. Hooray to Ubuntu \o/
- Tune basic OS-related settings to your convenience (locale, time, security, accounts etc)
### Software
#### Required
- [Mozilla Firefox](https://www.mozilla.org/fr/firefox/), for Internet browsing
- [Mozilla Thunderbird](https://www.mozilla.org/fr/thunderbird/), for emails
- [Sublime Text 3dev](https://www.sublimetext.com/3dev), for text and code editing
- [VLC](https://www.videolan.org/vlc/), for movies and music
- [GMusicBrowser](http://gmusicbrowser.org/), for music
- A good terminal emulator, like [`xfce4-terminal`](http://docs.xfce.org/apps/terminal/start)
- [ownCloud](https://www.owncloud.org/), for file synchronization
#### Optional
- Python: be sure to have both [Python 2](https://docs.python.org/2/) and [Python 3](https://docs.python.org/3/), both with [`pip`](https://pip.pypa.io/), [`ipython`](https://ipython.org) and [`Jupyter`](https://jupyter.org) installed. `pip`-install at least these: numpy, scipy, matplotlib, sympy, scikit-learn, scikit-image, joblib, h5py, panda, numba, sphinx, sphinx-contrib, spyder, pylint
- [Pidgin](http://pidgin.im/), and it's [Facebook plugin](https://github.com/dequis/purple-facebook/wiki), for instant messaging
- For UI: [f.lux](https://justgetflux.com/), [Nautilus](https://help.ubuntu.com/community/DefaultFileManager) and [nautilus-terminal](https://bitbucket.org/lbesson/nautilus-terminal)
- [LaTeX 2e](http://www.latex-project.org/): install a *full* latex distribution. Optional: remove the documentation
- [GNUPlot](http://gnuplot.info/) and [GNU Octave](http://www.octave.org/), with standard packages
- [byobu](http://byobu.org/downloads.html), [tmux](https://tmux.github.io/), [tmux-plugin-manager](https://github.com/tmux-plugins/tpm) with at least the [tmux-ressurect](https://github.com/tmux-plugins/tmux-resurrect) [plugin](https://github.com/tmux-plugins/)
- [OCaml](https://ocaml.org/): [opam](https://opam.ocaml.org/), ocaml 4.01+, [emacs](https://www.gnu.org/software/emacs/emacs.html) with [tuareg mode](https://github.com/ocaml/tuareg)
- Java-based: check that you have a JRE, then install [LibreOffice](https://libreoffice.org/), [GeoGebra](http://www.geogebra.org/)
- [Inkscape](https://inkscape.org/en/download/linux/), [GIMP](https://www.gimp.org/)
- [Tor Browser](https://www.torproject.org/projects/torbrowser.html), or [Chromium](http://www.chromium.org/) to have another browser
### Configuration
- For Firefox, Thunderbird, SublimeText3, VLC, see the Windows part
- Music: copy all your music collection to `~/Music`. Then copy your GMusicBrowser settings, restart it. If not possible, import your music collection into GMusicBrowser manually, and tune it to your preference.
- Pidgin: add your Facebook account, [add your Slack accounts](http://faso.com/articles/83324/how-to-set-up-pidgin-with-slack)
- NGinx: no extra module, but requires fine configuration
- Munin, and [my munin plugins](https://github.com/Naereen/My-Munin-plugins/), requires fine configuration
- [uLogMe](https://github.com/Naereen/uLogMe/), require configuration
- Cron: for `GenerateStatsMarkdown.sh`, etc
### Material-related
- Check that WiFi and Ethernet works
- Check you use the latest drivers. Check compatibility with: a VGA and HDMI external screen, your mouse, your headphone
- Add your printers, one-by-one
- (Optional) If you have one, check that the CD reader/writer works
### Games ?
- Nope, not on Linux: it's for working *only*
- OK, if you need one, use a free and open-source one: [Legend of Wesnoth](http://wiki.wesnoth.org/WesnothBinariesLinux#Ubuntu) is quite cool
----
## :scroll: License ? [![GitHub license](https://img.shields.io/github/license/Naereen/Guide-NewLaptop.svg)](https://github.com/Naereen/Guide-NewLaptop/blob/master/LICENSE)
[MIT Licensed](https://lbesson.mit-license.org/) (file [LICENSE](LICENSE)),
© 2016 [Lilian Besson](https://GitHub.com/Naereen).
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/Guide-NewLaptop/graphs/commit-activity)
[![Ask Me Anything !](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](https://GitHub.com/Naereen/ama)
[![Analytics](https://ga-beacon.appspot.com/UA-38514290-17/github.com/Naereen/Guide-NewLaptop/README.md?pixel)](https://GitHub.com/Naereen/Guide-NewLaptop/)
[![ForTheBadge uses-badges](http://ForTheBadge.com/images/badges/uses-badges.svg)](http://ForTheBadge.com)
[![ForTheBadge uses-git](http://ForTheBadge.com/images/badges/uses-git.svg)](https://GitHub.com/)
[![ForTheBadge built-with-swag](http://ForTheBadge.com/images/badges/built-with-swag.svg)](https://GitHub.com/Naereen/)