This solved a very annoying problem for me, as the screen was heavily tearing and I didn’t like the video playback performance.
All you need to do is the following:
- If you are using Ubuntu 16.04, then you don’t need this step. If you are using a variant that is based on it, like LinuxMint 18.1 in my case, you have to edit the name of your distribution, as the installer must detect that your OS is Ubuntu 16.04, not anything else.
- Edit the file /etc/lsb_release and comment out the following lines:
DISTRIB_DESCRIPTION=”Linux Mint 18.1 Serena”
- Add the following lines:
DISTRIB_DESCRIPTION=”Ubuntu 16.04 LTS”
- Download the Intel installer compatible with Ubuntu 16.04 from here: https://download.01.org/gfx/ubuntu/16.04/main/pool/main/i/intel-graphics-update-tool/intel-graphics-update-tool_2.0.2_amd64.deb and install it**
- You will find a new software installed called “Intel Graphics Update Tool for Linux* OS”, open it and enter your password, as it needs administrative access
- You don’t need to change any settings, just click Next on all screens and start the installation. It will need to download some packages, so you have to be connected to the Internet
- After it’s done, restart your computer
**Note: If it complains about missing dependency for the ttf-ancient-fonts, just install it via apt-get
Just edit the file ~/.vmware/preferences and add the following line
mks.gl.allowBlacklistedDrivers = “TRUE”
That’s it, enjoy!
We lose USB Flash drives all the time, so if you hold any sensitive or personal stuff, you’d better have it encrypted, just in case.
- This works only on Linux, won’t work on Windows or MAC
- Before you start the encryption, make sure to backup all your existing data on the flash drive, because the process will wipe it.
- You won’t be able to read your data on Windows or MAC
- If you lose your password, forget about your data
Let’s get going then. The steps are pretty simple:
- Open the “Disks” application:
- Select your flash drive (mine is the SanDisk Ultra USB 3.0 above)
- Press Ctrl + Shift + F to start the formatting process
- In the Type field, choose “Encrypted”
- Fill in the remaining fields, e.g.
- Click “Format”
- Confirm by clicking “Format” again
- That’s it. You’re Done!
Now, whenever you insert and try to mount your flash drive in any Linux computer, the following dialogue will automatically appear:
Enter your password and then you will be able to use the flash drive.
Tested on Linux Mint 18.1 (based on Ubuntu 16.04 LTS).
Found a great script that does an amazing job with compressing PDF files whilst maintaining a good quality:
Get the script from here: http://www.alfredklomp.com/programming/shrinkpdf/
Just copy the script to a text file and make it executable, then run:
./shrinkpdf infile.pdf outfile.pdf
It compressed 3 PDF files from 80 MB to 13 MB!
Just do the following two steps:
sudo nano /usr/share/applications/google-chrome.desktop
- Scroll down to the “Exec” line
- Add two additional parameters, so that it looks like this:
Exec=/usr/bin/google-chrome-stable –disable-gpu-driver-bug-workarounds –enable-native-gpu-memory-buffers %U
That’s it, now restart Chrome and it shall work perfectly!
I am using Google Chrome 54 64-bit on Linux Mint 18 64-bit with the Cinnamon Desktop
A problem that has been bugging me for a while on my Linux Mint 18, that the DNS is not working properly and on a random basis.
What I could fix it with is that I just did the following:
sudo vi /etc/NetworkManager/NetworkManager.conf
Then commented out this line:
That’s it! I don’t remember the source I took it from, but will add it once I remember 😛
It’s pretty straight-forward, but before you start, you need to check for block devices that can be used to create physical volumes:
You will see a result that looks like this:
/dev/ram0 [ 64.00 MiB]
/dev/sda [ 50.00 GiB]
/dev/ram1 [ 64.00 MiB]
/dev/vda1 [ 40.00 GiB]
/dev/ram2 [ 64.00 MiB]
/dev/ram3 [ 64.00 MiB]
/dev/ram4 [ 64.00 MiB]
/dev/ram5 [ 64.00 MiB]
/dev/ram6 [ 64.00 MiB]
/dev/ram7 [ 64.00 MiB]
/dev/ram8 [ 64.00 MiB]
/dev/ram9 [ 64.00 MiB]
/dev/ram10 [ 64.00 MiB]
/dev/ram11 [ 64.00 MiB]
/dev/ram12 [ 64.00 MiB]
/dev/ram13 [ 64.00 MiB]
/dev/ram14 [ 64.00 MiB]
/dev/ram15 [ 64.00 MiB]
Just ignore all the /dev/ram* and notice the /dev/sda drive, this is the one that you will need.
Afterwards, you need to do the following, I will assume I have one block device, then will create one physical volume, one logical volume (taking all free space) and one volume group:
- sudo pvcreate /dev/sda
Physical volume “/dev/sda” successfully created
- sudo vgcreate vgData /dev/sda
Volume group “vgData” successfully created
- sudo lvcreate -l 100%FREE -n lvData1 vgData
Logical volume “lvData1” created.
- sudo mkfs.ext4 /dev/vgData/lvData1
mke2fs 1.42.13 (17-May-2015)
Discarding device blocks: done
Creating filesystem with 13106176 4k blocks and 3276800 inodes
Filesystem UUID: e2ce00dd-236a-474d-b773-033e1cb7cb55
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
- sudo mkdir /mnt/webdata
- sudo mount /dev/vgData/lvData1 /mnt/webdata
- To make it permanent on system boot, add the following entry to /etc/fstab:
/dev/vgData/lvData1 /mnt/webdata ext4 defaults,nofail 0 0
That’s it, Enjoy!