Though a lot of the stuff in the middle is the same for any OS.
🔗Virtual Machine Setup
- Download Ubuntu.iso from Ubuntu.com
- Download Oracle VM Virtual Box - virtualbox.org/wiki/Downloads
- Install Virtual Box
- Install Extensions for it
- Create a new virtual machine
- Give it at least 1.5GB of RAM, no more than 50% of total RAM
- Create new Hard Disk, VMDK, Dynamic, 2GB split checked
- HDD Space, 120 GB dynamically allocated. DO NOT use smaller numbers, you cannot easily increase HDD size later.
- Right-Click > Settings
- General > Advanced > Bidirectional Clipboard and Drag/Drop
- System > Processor > Usually you want 2 processors, no more than half of your total (if you have 8 cores, pick 2, 3, or 4).
- Display > Screen > 32MB of Video Memory is usually plenty. No more than 50% (okay to aim low if you have little to spare, 16MB works fine too).
- Storage > Optical Drive Dropdown > Choose Virtual Optical Disk File > Ubuntu.iso you downloaded in step 1
- Start up VM
- Install Ubuntu
- Make your password something easy like the number 0. Ubuntu will ask you to type it in every .3 miliseconds, you'll thank me later.
- Automatic Login
- Install updates while installing the OS
🔗Setting up your OS
- Install updates, reboot, install updates, reboot, etc.
- In the Virtual box menu > Devices > "Insert Guest Additions CD image..."
- Install Virtual Box stuff and reboot when done. Eject fake disc if it's still in there.
- Back in Ubuntu > System Settings > Brightness & Lock > Never | Off | uncheck require pw
- Change desktop background if you want by Right-clicking it
- Open Firefox, adjust all the browser settings to your liking.
🔗Uninstall Software
- Start button at top of dock > Applications button at bottom of screen > Installed (See X more results) > Right-click on a program to uninstall
- Anything Libre Office
- Landscape
- Anything else you don't need, like games or Thunderbird Mail
🔗Install Software
- sublimetext.com/3 - download the .deb file and run it. It will open the Software Center. Click Install. Open it and lock to dock.
- Any other browser you want, like Chromium or Opera, or just stick with Firefox
🔗Set up Dev environment
- Open up terminal and run the following:
sudo apt-get update
sudo apt-get install unity-tweak-tool
sudo apt-get install compizconfig-settings-manager
sudo apt-get install -y build-essentials
sudo apt-get install git
sudo apt-get install curl
sudo apt-get install libgconf-2-4
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
nvm install
- If you are on Debian, open the root terminal and run this instead:
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_7.x | bash -
apt-get install -y nodejs
- syntevo.com/smartgit/download - Scroll down and find the Debian package > Download and Install SmartGit
- Open Files > Computer > Home > drag your user folder into sublime text after opening it to create a sidebar.
- Create a GitHub folder in your user folder (
mkdir ~/GitHub
)
- In ST3 open
~/.bashrc
and add this at the bottom and save:
alias dir='ls'
alias explorer='nautilus'
alias cd..='cd ..'
alias cls='clear'
alias csl='clear'
alias home='cd ~/GitHub
clear'
- Open SmartGit
- I understand/Non-commercial > Next > I confirm soley > OK
- Leave Username/Email blank > next
- User SmartGit as SSH client > next
- GitHub > Generate API Token > Use GitHub password for Master Password > OK
- Browser launches > Log in to Github if not already > Copy code > paste it into SmartGit > Authenticate > Accept > Next
- Uncheck auto-send crash > Finish
- Clone Existing Repo > OK > Dropdown > github.com > pick repo > Select > Next
- Include Sub Check | Fetch all Check | Create Up Uncheck > Next
- Path:
~/GitHub/Whatever your repo name is
🔗Customize Sublime
- Open Sublime Text
- Go to Tools > Install Package Control
CTRL + SHIFT + P
> Install > Enter
- Theme - Legacy - Sublime Text 2 theme for ST3. Smooth tabs never die.
- PackageResourceViewer - Lets you edit your themes
- Sidebar Enhancements - Mandetory for daily Sublime use, customize this one as needed
- Trailing Spaces - Highlights trailing spaces in Pink, also can auto delete them from Edit menu. Annoying for 5 minutes, then it's pretty great
- SublimeCodeIntel - This one requires installing some python stuff first before it will work. Look it up. Pretty easy. Worth it.
- SublimeLinter - Linting engine compatible with many different linters
- SublimeLinter-eslint - Plugin for SublimeLinter to show you what lines of code are failing ESLint
- Sass - sass/scss syntax highlighting
- EditorConfig - See the editor config website
- Monokai JSON+ - Colors different nested objects in JSON. Great for ST2, rarely needed in ST3+
- DocBlockr - type /** above a function with params and hit TAB
- Discord Rich Presence - Better Sublime Discord Integration
- Pretty JSON - Validate, sort, and pretty print
- MoveTab - Keyboard shortcut to move tabs
- Jest - Helpers for Jest (JS Testing)
- GitSavvy - I was told this is good, I don't know
- ColorSchemeEditor - Modify colors in sublime, good for editing the little dot that shows up next to a line when it fails a linting
- Vue Syntax Highlight - Great, though if you manually download it from GitHub it has better ST3 support
- Vuejs Snippets - I've also manually installed Sara Drasners snippets and modified them some
- AutoFoldCode - Keeps track of what you have code folded, multi-cursors, and scroll position on file close.
CTRL + SHIFT + P
> PackageResourceViewer: Open Resource > Theme - Legacy > Legacy.sublime-theme
{
"class": "icon_file_type",
"content_margin": [0,0]
},
{
"class": "icon_folder",
"content_margin": [0,0]
},
{
"class": "icon_folder_loading",
"content_margin": [0,0]
}
- Press
CTRL + SHIFT + F
in the "Where:" section, use one of the following:
~/GitHub, -*/node_modules/*, -*/.git/*, -*/bower_components/*
<project>, -*/node_modules/*, -*/.git/*, -*/bower_components/*
- Menu > Preferences > Settings
{
"caret_extra_top": 0,
"caret_extra_bottom": 1,
"caret_extra_width": 1,
"caret_style": "smooth",
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
"folder_exclude_patterns": [
"Application"
],
"font_options": [
"directwrite",
"subpixel_antialias"
],
"font_size": 10,
"ignored_packages": [
"Vintage"
],
"index_exclude_patterns": [
"*.log",
"*/node_modules/*",
"*/.git/*",
"*/bower_components/*",
"*/dist/*",
"*/unit/coverage/*",
"*/package-lock.json"
],
"show_definitions": false,
"show_git_status": false,
"theme": "Legacy.sublime-theme"
}
- Preferences > Key Bindings
[
{
"keys": ["ctrl+tab"],
"command": "next_view"
},
{
"keys": ["ctrl+shift+tab"],
"command": "prev_view"
}
]
- CTRL + Shift + P > PackageResourceViewer: Open Resource > Color Scheme - Default > Monokai.sublime-color-scheme >
"globals":
{
"line_diff_added": "var(yellow5)",
"line_diff_deleted": "var(yellow5)",
"line_diff_modified": "var(yellow5)",
"line_diff_width": "var(yellow5)"
},
🔗Customization:
- Remove junk from sidebar (Libre Office, Amazon, etc.) and add stuff to it. Here's what you should have:
- Start Button
- Ubuntu Software Center
- Files
- SmartGit
- Firefox
- System Settings
- Sublime Text
- Software Updater
- Terminal
- Start > Search: "CompizConfig Settings Manager"
- Uncheck all Effects and Animations and Fading Windows
- Open Files > Home >
CTRL + H
(unhide files)