Saturday, December 24, 2016

Missing 1920x1080 resolution in linux

You may have to update your grub file in order to enable the custom resolution in the below file:
$sudo nano /etc/default/grub
Find and remove # from GRUB_GFXMODE line and replace with your required resolution, so it will look like this
GRUB_GFXMODE=1920x1080
Save and exit (Press Cltr+x ,y and enter).
Run below command and reboot.
$sudo update-grub
$sudo reboot

Unzip or extract .zip file in linux

In order to unzip a .zip file in linux (Ubuntu) type this in terminal:
$unzip file_name.zip -d destination_folder
For example, to extract a file named HelloWorld.zip to my current directory:
$unzip HelloWorld.zip -d .
Here . represents current directory, you can give a path to the directory to extract into.
If you see "command not found", you need to install zip command by typing:
$sudo apt-get install unzip

Similar to this, you can zip a file by below command:
$zip filename.zip filename
To install command zip type:
$sudo apt-get install zip

Set up gmail in outlook using app password

You might receive an error saying, "unable to connect to your outgoing server" while setting up a gmail account in outlook even wh...