Two weeks ago I have upgraded my laptop by replacing the HDD with an SSD and I can say that the improvement is massive. Everything feels very snappy and the improvement is most obvious while browsing.
However….Ubuntu (14.04)seems to have a problem with that. The issue was that the display manager used by Ubuntu – lightdm – did not start properly or at least didn’t finish the job it was supposed to do. After the boot the system displayed nothing but a black screen. TTY access was possible though and this is how the solution can be implemented.
I didn’t to an extensive search about this issue (mainly because I had already spent long hours installing and reinstalling video drivers, not knowing what the problem was) and therefore the fix is more of a workaround.
The cause of the problem seems to be a race condition involving GUI components. lightdm does not do everything in the correct order probably because it starts too quickly (because of the SSD), so the workaround is to delay its start by adding “sleep x” in the config file /etc/init/lightdm.conf where x is the time in seconds. It should be added right before lightdm call.
sudo vi /etc/init/lightdm.conf
(before exec lightdm)
Truth be told, Ubuntu may not actually be at fault. The bug is in lightdm code that Ubuntu is simply using to provide higher functionality.
Display currently active video driver:
lshw -c video
Display information about openGL support:
Sound quality can be improved a little by using the pulseaudio equalizer.
sudo add-apt-repository ppa:nilarimogard/webupd8sudo apt-get updatesudo apt-get install pulseaudio-equalizer
Enabling two finger scroll did not work when used in rc.local but worked when used in .bashrc (synclient “TapButton2″=2).
– Guake terminal
– Use of aliases for accessing folders very commonly used and replacing commands such as “exit” and “clear”
alias egc=”cd /home/username/Dropbox/EGC”
Unable to run script from ntfs partition. Cause: by default, when mounting a ntfs partition it is mounted with the option noexec. Solution: add the exec option to fstab file.
UUID=”101D6F1F3A07678B” /media/store ntfs-3g rw,users,exec,permissions 0 0
To get the UUID: blkid.
To find the location of a file: locate libXv.so.1
Get the package providing it: dpkg -S /usr/lib/x86_64-linux-gnu/libXv.so.1