Author Archives: Gayan Kalinga

Ubuntu Or elementary Things to do After

#linux #elementary
Update ipv4 precedence file
sudo nano /etc/gai.conf
# For sites which prefer IPv4 connections change the last line to
precedence ::ffff:0:0/96 100

sudo apt update && sudo apt upgrade

//Add PPA
sudo apt install software-properties-common software-properties-gtk

sudo add-apt-repository -y ppa:shutter/ppa

sudo add-apt-repository ppa:webupd8team/java
sudo add-apt-repository ppa:libreoffice/ppa

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make

sudo add-apt-repository ppa:jonathonf/vlc-3
sudo add-apt-repository ppa:jonathonf/ffmpeg-3
sudo add-apt-repository ppa:jonathonf/meson

sudo add-apt-repository ppa:ondrej/apache2
sudo add-apt-repository ppa:nijel/phpmyadmin
sudo add-apt-repository ppa:ondrej/php

sudo add-apt-repository ppa:nilarimogard/webupd8 #utubedll
sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
sudo add-apt-repository -y ppa:teejee2008/ppa#timeshift

//JDK 8
sudo apt install oracle-java8-installer && sudo apt install oracle-java8-set-default

//Install software
sudo apt install bash-completion ubuntu-restricted-extras finger gparted git vim speedtest-cli virtualbox virtualbox-ext-pack thunderbird firefox youtube-dl libreoffice vlc timeshift testdisk git gitg elementary-sdk ubuntu-make build-essential ibus-m17n m17n-db shutter

//Manual Install
Chrome, enpass, teamviewer, , insync, vscode,


sudo apt-get install ibus-m17n m17n-db

//Install from App Center
audacity ciano formatter graphui imageburner nutty planner resizer screencast shutdown scheduler transporter wallpaperize webpin

//Atom text editor Official PPA
curl -sL | sudo apt-key add –
sudo sh -c ‘echo “deb [arch=amd64] any main” > /etc/apt/sources.list.d/atom.list’

Follow the instruction on Readme.txt file
sudo chown -R gayan /home/gayan/.matlab/

//Driver install with optimus support
sudo ubuntu-drivers autoinstall
sudo prime-select query
sudo prime-select intel

//LAMP for web development
sudo apt install apache2 && sudo systemctl enable apache2.service

sudo apt-get install mariadb-server mariadb-client
sudo systemctl start mysql.service
sudo systemctl enable mysql
sudo mysql_secure_installation

//PHP 7.x
sudo apt install php libapache2-mod-php php-common php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mysql php-cli php-mcrypt php-zip php-curl

sudo apt-get install phpmyadmin php-mbstring php-gettext &&
sudo phpenmod mcrypt && sudo phpenmod mbstring && sudo systemctl restart apache2

//Create user of phpmyadmin
sudo mysql –user=root -p mysql

CREATE USER ‘gayan’@’localhost’ IDENTIFIED BY ‘gayan’;

//Update PHP configuration
sudo nano /etc/php/7.1/apache2/php.ini
file_uploads = On
allow_url_fopen = On
memory_limit = 256M
upload_max_file_size = 100M
max_execution_time = 360
date.timezone = Asia/Colombo
post_max_size = 256M

//Site Access Configuration

//Install Node.js

curl -sL | sudo -E bash –
sudo apt-get install -y nodejs

//Wallpaper [Gnome Only]
Make available Pic folder inside wallpaper
rm -r ~/.cache/gnome-control-center/backgrounds
ln -s ~/Pictures/Wallpapers/ ~/.cache/gnome-control-center/backgrounds

gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar ‘minimize’
gsettings set io.elementary.files.preferences single-click false

//VLC 3.0 PPA

//Atom IDE
atom live server

//Sinhala Setup

Appreciating small things in life

We are often endowed with aspirations such as “Dream Big”, “Go for it” and “Aim for the stars” since our childhood. Yet when we follow the advice, we tend to feel exhausted and inadequate. We are so busy watching out for what is ahead of us; so busy chasing those big dreams….dreams that the society has put upon us; we hardly ever stop for a moment and take time to enjoy where we are at this very moment in life.

Life has become challenging and hectic for us, because we have never learnt to appreciate the trivial things in life. Also, being afraid of change, being afraid of moving out of our comfort zones and holding on to things that we can’t change has made our lives more depressed. Holding on to things that we do not have any control over is a waste of time and energy. Change is never easy. But finding yourself, without living other people’s expectations gives you immense sense of freedom.

Learning to accept where you are now without any regrets and learning to understand what you really need in life gives you so much inner peace.

Life is made up of moments. Moments that create both pleasure and pain. The beauty of life is also determined by those little moments. In this complex world of ours, we often need to remind ourselves of what we have accomplished and practice gratitude for everyday things that we take for granted. It will generate positive emotions that will definitely lead to a positive impact in life.

 So, think a minute….slowdown…the little things in life; may it just be,

 Laughter of your children

Blessings of your parents

A home cooked meal

Morning sunrise that light up our world

Stars that create wonders in the night

Silence echo in the darkness or just an embrace from your loved ones….

Celebrate them….appreciate them….Cherish life….!