First step in configuring ubuntu

Some things to install when getting a brand new and fresh installation of Ubuntu. This is a reminder for myself for future times.

No Windows option in GRUB

https://askubuntu.com/questions/822759/no-windows-10-option-in-grub/822772

sudo update-grub

Show git branch name in ubuntu terminal

https://somescooby.wordpress.com/2015/11/17/how-to-show-git-branch-name-in-terminal-ubuntu/

Color Calibration

After experiencing some issues with the way the colours were displayed, I found a decent solution to add this command to the autostart applications:

xcalib -blue 0.9 0.0 80.0 -alter

Install Chrome

https://askubuntu.com/questions/510056/how-to-install-google-chrome

Comfortable-swipe:

https://github.com/Hikari9/comfortable-swipe-ubuntu

Install java

sudo apt-get install default-jdk

Install clojure

https://leiningen.org/#install

Install scala & sbt

sudo apt-get remove scala-library scala
sudo wget www.scala-lang.org/files/archive/scala-2.12.3.deb
sudo dpkg -i scala-2.11.8.deb
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbt

Install Erlang

https://www.erlang-solutions.com/resources/download.html

Install Intellij

sudo tar xf ideaIC-2017.2.5.tar.gz -C /opt/
cd /opt/idea-IC-172.4343.14/bin/
./idea.sh

Github

https://help.github.com/articles/connecting-to-github-with-ssh/

Install Franz, Viber & Skype

  • Download Franz for your distribution from MeetFranz.com
  • change into the same directory as the downloaded file, then sudo tar -xf Franz-linux-x64-0.9.10.tgz -C /opt/franz
  • (optional) wget "https://cdn-images-1.medium.com/max/360/1*v86tTomtFZIdqzMNpvwIZw.png" -O franz-icon.png then sudo cp franz-icon.png /opt/franz
  • (optional) sudo touch /usr/share/applications/franz.desktop then sudo vim /usr/share/applications/franz.desktop

paste the following lines into the file, then save the file:

[Desktop Entry]
Name=Franz
Comment=
Exec=/opt/franz/Franz
Icon=/opt/franz/franz-icon.png
Terminal=false
Type=Application
Categories=Messaging,Internet

view raw

setup.md

hosted with ❤ by GitHub

https://www.viber.com/products/linux/

sudo dpkg -i viber.deb

https://www.skype.com/en/download-skype/skype-for-computer/

sudo dpkg -i skypeforlinux-64.deb

Add more languages for keyboard

https://askubuntu.com/questions/811166/how-to-add-any-language-keyboard-in-ubuntu-16-04

How to show git branch name in terminal Ubuntu

For the branch name to appear in your terminal, go to home directory and do

vim .bashrc

and add the following at the end

function parse_git_branch () {
  git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
 
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
NO_COLOR="\[\033[0m\]"
 
PS1="$GREEN\u@\h$NO_COLOR:\w$YELLOW\$(parse_git_branch)$NO_COLOR\$ "