Oh My Zsh
LAMP - Linux, Apache, MySql, PhpMyAdmin

Some tweak after installing Ubuntu 16.04

Click to minimize

Run the following command (or install/use Unity Tweak Tool > Unity > Launcher > Minimise):

gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-minimize-window true

Move Unity Launcher to bottom

If you want to move the Unity launcher to the bottom of the screen run the following command in a new Terminal (or install/use Unity Tweak Tool > Unity > Launcher > Position):

gsettings set com.canonical.Unity.Launcher launcher-position Bottom

Install Unity Tweak Tool from the Ubuntu Software Center

Disable Guest user

System provided configuration files in /usr/share/lightdm/ are not intended to be user editable. Instead users should use: /etc/lightdm/

Newer versions of LightDM (Ubuntu 15.10, or later) use [Seat:*] instead of [SeatDefaults]
Just run this (once) at terminal:

sudo sh -c 'printf "[Seat:*]\nallow-guest=false\n" >/etc/lightdm/lightdm.conf.d/50-no-guest.conf'

To undo (restore Guest option), remove the file created:

sudo rm /etc/lightdm/lightdm.conf.d/50-no-guest.conf

Source:

  1. http://www.omgubuntu.co.uk/2016/10/things-to-do-after-installing-ubuntu-16-10
  2. http://askubuntu.com/questions/62564/how-do-i-disable-the-guest-session

Ubuntu NVIDIA graphics driver PPA

To add the Nvidia Gfx driver PPA, run the following command in a Terminal window:

sudo add-apt-repository ppa:graphics-drivers/ppa

To upgrade or install the latest Nvidia drivers use the following command:

sudo apt-get update && sudo apt-get install nvidia-xxx nvidia-prime

Here, “xxx” is the driver version number.

Available Driver Version List

To see available Nvidia driver version list use the following command:

sudo apt-cache search '^nvidia-[:digit]' --names-only

Source:

Change owner of a partition in Ubuntu

To Change owner of a partition in Ubuntu user following commend in terminal:

$ sudo chown username:username /media/username/diskname

Here,

username = your user name

diskname = the name of the disk you need to change permission. You will find all your disk in “/media/username/” directory.

Note: You must mount the partition first to change the owner.

Note: The above commend tested in Ubuntu 16.04.

Source: http://sourcedigit.com/16391-change-ownership-set-write-permission-on-ext4-partition-in-linux-ubuntu/