<p align="left" style="margin-top: 0.17in; margin-bottom: 0.08in; line-height: 100%; page-break-after: avoid">I've been irritated by so many obvious shortcomings of Ubuntu this version (16.04). So many of the most obvious fixes are easily attributed to configuration files. I don't know if those who purchase the operating system directly from Canonical versus a download are having to deal with the same problems or are getting a <b>supe</b><span style="line-height: 100%;"><b>rior</b>/</span><i style="font-weight: bold;">better</i> operating system. Some of my main qualms that I am unable to deal with are the theming. Even using alternative themes most of them won't even look right as supposed. </p><p align="left" style="margin-top: 0.17in; margin-bottom: 0.08in; line-height: 100%; page-break-after: avoid">The HIBERNATION itself seems to work fine on other closely related distros (Elementary OS I tested). but Ubuntu has problems with it. AFAIK the GRUB_CMDLINE breaks this if anything, and alternatives such as TuxOnIce don't work either. My guess is that its Plymouth and there doesn't seem to be any clear pointers to a solution. After desktop session saving was deprecated (or removed because of transition from Gnome?), this seems like a serious and necessary *implementation* of desktop application saving. </p><p align="left" style="margin-top: 0.17in; margin-bottom: 0.08in; line-height: 100%; page-break-after: avoid">I've seen a lot of these blogs that suggest installing extra programs and such after the installation. Here's mine:</p><p align="left" style="margin-top: 0.17in; margin-bottom: 0.08in; line-height: 100%; page-break-after: avoid"><font face="Liberation Sans, Arial, sans-serif"><font style="font-size: 28pt"><b><br></b></font></font></p><p align="left" style="margin-top: 0.17in; margin-bottom: 0.08in; line-height: 100%; page-break-after: avoid">
<font face="Liberation Sans, Arial, sans-serif"><font style="font-size: 28pt"><b>Top
<u>real</u> things to do after </b></font></font></p><p align="left" style="margin-top: 0.17in; margin-bottom: 0.08in; line-height: 100%; page-break-after: avoid"><font face="Liberation Sans, Arial, sans-serif"><font style="font-size: 28pt"><b>installing Ubuntu 16.04 LTS:</b></font></font></p>
<p class="western" align="left"><br><br>
</p>
<ol>
<li><p class="western"><font style="font-size: 16pt">Fix
splash at boot up</font></p>
<ol type="I">
<li><p class="western"><font style="font-size: 16pt">while
root create file </font><font color="#3333ff"><font style="font-size: 16pt"><u>/etc/initramfs-tools/conf.d/splash</u></font></font><font style="font-size: 16pt">
and add the line: </font><font style="font-size: 16pt"><b>FRAMEBUFFER=y</b></font></p>
<ol>
<li><p class="western"><font style="font-size: 16pt">then
run sudo update-initramfs -u [-k all]</font></p>
</li><li><p class="western"> “<font style="font-size: 16pt"><i>-k
all</i></font><font style="font-size: 16pt">”</font><font style="font-size: 16pt">
refers to checking all graphics cards</font></p>
</li></ol>
</li></ol>
</li><li><p class="western"><font style="font-size: 16pt">Alternative
recourse if the previous splash fix doesn’t cover everything</font></p>
<ol type="I">
<li><p class="western"><font style="font-size: 16pt">Comment
out </font><font style="font-size: 16pt"><b>GRUB_HIDDEN_TIMEOUT</b></font><font style="font-size: 16pt">
and </font><font style="font-size: 16pt"><b>GRUB_HIDDEN_TIMEOUT_QUIET</b></font><font style="font-size: 16pt">
lines (both deprecated)</font></p>
</li><li><p class="western"><font style="font-size: 16pt">uncomment
</font><font style="font-size: 16pt"><b>GRUB_TIMEOUT
</b></font><font style="font-size: 16pt"><i>(preferably
set to 0)</i></font><font style="font-size: 16pt"><b>
</b></font><font style="font-size: 16pt">and add
‘</font><font style="font-size: 16pt"><b>GRUB_TIMEOUT_STYLE=hidden</b></font><font style="font-size: 16pt">’</font></p>
</li><li><p class="western"><font style="font-size: 16pt">add
boot option ‘</font><font style="font-size: 16pt"><i><b>fastboot</b></i></font><font style="font-size: 16pt">’
to </font><font color="#3333ff"><font style="font-size: 16pt"><u>/etc/default/grub</u></font></font><font color="#000000"><font style="font-size: 16pt">
(to hide file system clean message at boot)</font></font></p>
</li><li><p class="western"> <font style="font-size: 16pt">add
‘</font><font style="font-size: 16pt"><b>GRUB_GFXPAYLOAD_LINUX=keep</b></font><font style="font-size: 16pt">’
to same file</font></p>
</li><li><p class="western"><font style="font-size: 16pt">run
</font><font style="font-size: 16pt"><b>sudo
update-grub</b></font></p>
</li></ol>
</li><li><p class="western">
<font style="font-size: 16pt">Disable upstart entry in grub
menu</font></p>
<ol type="I">
<li><p class="western"><font style="font-size: 16pt">as
root edit </font><font color="#3333ff"><font style="font-size: 16pt"><u>/etc/grub.d/10_linux</u></font></font><font style="font-size: 16pt">
and find line </font><font style="font-size: 16pt"><b>SUPPORTED_INITS</b></font><font style="font-size: 16pt">
and remove the option ‘</font><font style="font-size: 16pt"><b>upstart:/sbin/upstart</b></font><font style="font-size: 16pt">’</font></p>
</li><li><p class="western"><font style="font-size: 16pt">run
</font><font style="font-size: 16pt"><b>sudo
update-grub</b></font></p>
</li></ol>
</li><li><p class="western"><font style="font-size: 16pt">Remove
Guest account from login</font></p>
<ol type="I">
<li><p class="western"><font style="font-size: 16pt">create
new file </font><font color="#3333ff"><font style="font-size: 16pt"><u>/etc/lightdm/lightdm.conf</u></font></font><font style="font-size: 16pt">
and add following lines:</font></p>
</li></ol>
</li></ol>
<dl>
<dl>
<dd>
<table width="488" cellpadding="4" cellspacing="0">
<colgroup><col width="474">
</colgroup><tbody><tr>
<td width="474" valign="top" style="border: 2.00pt solid #808080; padding: 0.04in">
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">[SeatDefaults]</font></font></p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">greeter-session=unity-greeter</font></font></p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">user-session=ubuntu</font></font></p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">allow-guest=false</font></font></p>
</td>
</tr>
</tbody></table>
</dd></dl>
</dl>
<p class="western"><br><br>
</p>
<ol start="5">
<li><p class="western"><font style="font-size: 16pt">Fix
event sounds</font></p>
<ol type="I">
<li><p class="western"><font style="font-size: 16pt">for
startup open startup applications and add “</font><font color="#ff0000"><font style="font-size: 16pt"><i><b>canberra-gtk-play
-i desktop-login &</b></i></font></font><font style="font-size: 16pt">”</font></p>
</li><li><p class="western"><font style="font-size: 16pt">as
root in </font><font color="#3333ff"><font style="font-size: 16pt"><u>/etc/lightdm/lightdm.conf</u></font></font><font style="font-size: 16pt">
add the line:
“</font><font style="font-size: 16pt"><i><b>session-cleanup-script=/usr/share/gnome/shutdown/libcanberra-logout-sound.sh</b></i></font><font style="font-size: 16pt">”</font></p>
</li></ol>
</li><li><p class="western"><strike><font style="font-size: 16pt">Enable
hibernate</font></strike></p>
<ol type="I">
<li><p class="western"><font style="font-size: 16pt">First
make sure your swap partition is large enough</font></p>
</li><li><p class="western"><font style="font-size: 16pt">the
kernel that comes with Ubuntu is behind and has a bug that causes
hibernate to crash when in practical situations</font></p>
<ol>
<li><p class="western"><font style="font-size: 16pt">go
to </font><font color="#000080"><span lang="zxx"><u><a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.8-wily"><font color="#3333ff"><font style="font-size: 12pt">http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.8-wily</font></font></a></u></span></font></p>
</li><li><p class="western"><font style="font-size: 16pt">download
and install kernel headers and image</font></p>
</li><li><p class="western"><font style="font-size: 16pt">remove
any older kernel packages</font></p>
</li></ol>
</li><li><p class="western"><font style="font-size: 16pt">run
</font><font style="font-size: 16pt"><b>sudo blkid</b></font><font style="font-size: 16pt">
and determine swap UUID</font></p>
</li><li><p class="western"><font style="font-size: 16pt">ensure
UUID is the same in </font><font color="#3333ff"><font style="font-size: 16pt"><u>/etc/initramfs-tools/conf.d/resume</u></font></font></p>
</li><li><p class="western"><font color="#000000"><font style="font-size: 16pt">add
the same line to </font></font><font color="#3333ff"><font style="font-size: 16pt"><u>/etc/default/grub</u></font></font><font color="#000000"><font style="font-size: 16pt">
at the end of </font></font><font color="#000000"><font style="font-size: 16pt"><b>GRUB_CMDLINE_LINUX_DEFAULT</b></font></font><font color="#000000"><font style="font-size: 16pt">
or to </font></font><font color="#000000"><font style="font-size: 16pt"><b>GRUB_CMDLINE_LINUX</b></font></font></p>
</li><li><p class="western" style="margin-bottom: 0in; line-height: 100%">
<font style="font-size: 16pt">run
</font><font style="font-size: 16pt"><b>sudo
update-grub</b></font><font style="font-size: 16pt">
and </font><font style="font-size: 16pt"><b>sudo
update-initramfs -u</b></font></p>
</li></ol>
</li></ol>
<p class="western" style="margin-left: 0.75in; margin-bottom: 0in; line-height: 100%">
<br>
</p>
<ol>
<ol type="I" start="7">
<li><p class="western"><font style="font-size: 16pt">while
root create
</font><font color="#3333ff"><font style="font-size: 16pt"><u>/var/lib/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla</u></font></font><font style="font-size: 16pt">
and add following lines: </font>
</p>
</li></ol>
</ol>
<table width="697" cellpadding="4" cellspacing="0">
<colgroup><col width="683">
</colgroup><tbody><tr>
<td width="683" valign="top" style="border: 2.00pt solid #808080; padding: 0.04in">
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">[Re-enable
hibernate by default in upower]</font></font></p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">Identity=unix-user:*</font></font></p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">Action=org.freedesktop.upower.hibernate</font></font></p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">ResultActive=yes</font></font></p>
<p class="western"><br>
</p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">[Re-enable
hibernate by default in logind]</font></font></p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">Identity=unix-user:*</font></font></p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions</font></font></p>
<p class="western"><font face="Courier New, monospace"><font style="font-size: 16pt">ResultActive=yes</font></font></p>
</td>
</tr>
</tbody></table>
<p class="western" style="margin-left: 0.75in"><br><br>
</p>
<ol>
<ol type="I">
<li><p class="western"><font style="font-size: 16pt">As
root edit </font><font color="#3333ff"><font style="font-size: 16pt"><u>/usr/share/X11/xkb/symbols/inet</u></font></font><font style="font-size: 16pt">
and change </font><font style="font-size: 16pt"><b>XF86Hibernate</b></font><font style="font-size: 16pt">
key to </font><font style="font-size: 16pt"><b><I213></b></font><font style="font-size: 16pt">
and comment out </font><font style="font-size: 16pt"><b>XF86Suspend</b></font><font style="font-size: 16pt">
line</font></p>
<ol>
<li><p class="western"><font style="font-size: 16pt">run
</font><font style="font-size: 16pt"><b>sudo
dpkg-reconfigure xkb-data</b></font></p>
</li></ol>
</li><li><p class="western"><font style="font-size: 16pt">*optional:
edit </font><font color="#3333ff"><font style="font-size: 16pt"><u>/etc/systemd/logind.conf</u></font></font></p>
<ol>
<li><p class="western"><font color="#000000"><font style="font-size: 16pt">find
line “</font></font><font color="#000000"><font style="font-size: 16pt"><b>#HandleLidSwitch=suspend</b></font></font><font color="#000000"><font style="font-size: 16pt">”
and uncomment</font></font></p>
</li><li><p class="western"><font color="#000000"><font style="font-size: 16pt">change
</font></font><font color="#000000"><font style="font-size: 16pt"><i><b>suspend</b></i></font></font><font color="#000000"><font style="font-size: 16pt">
to </font></font><font color="#000000"><font style="font-size: 16pt"><i><b>hibernate</b></i></font></font></p>
</li></ol>
</li></ol>
<li><p class="western">
<font style="font-size: 16pt">Fix scaling to remove
distortions</font></p>
<ol type="I">
<li><p class="western">
<font style="font-size: 16pt">use dconf or gsettings</font></p>
<ol>
<li><p class="western"><font color="#000000"><font style="font-size: 16pt">change
</font></font><font color="#000099"><font style="font-size: 16pt"><b>/com/canonical/unity/interface/text-scale-factor</b></font></font><font color="#000000"><font style="font-size: 16pt">
to </font></font><font color="#000000"><font style="font-size: 16pt"><i><b>0.95</b></i></font></font></p>
</li><li><p class="western"><font color="#000000"><font style="font-size: 16pt">change
</font></font><font color="#000099"><font style="font-size: 16pt"><b>/org/gnome/desktop/interface/text-scaling-factor</b></font></font><font color="#000000"><font style="font-size: 16pt">
to </font></font><font color="#000000"><font style="font-size: 16pt"><i><b>0.95</b></i></font></font></p>
</li><li><p class="western"><font color="#000000"><font style="font-size: 16pt">change
</font></font><font color="#000099"><font style="font-size: 16pt"><b>/org/gnome/desktop/interface/document-font-name</b></font></font><font color="#000000"><font style="font-size: 16pt">
to </font></font><font color="#000000"><font style="font-size: 16pt"><i><b>Sans
12</b></i></font></font></p>
</li><li><p class="western"><font color="#000000"><font style="font-size: 16pt">change
</font></font><font color="#000099"><font style="font-size: 16pt"><b>/org/gnome/desktop/interface/font-name</b></font></font><font color="#000000"><font style="font-size: 16pt">
to </font></font><font color="#000000"><font style="font-size: 16pt"><i><b>Ubuntu
12</b></i></font></font></p>
</li></ol>
</li></ol>
</li><li><p class="western"><font style="font-size: 16pt">*optional:
install Unity Tweak</font></p>
<ol type="I">
<li><p class="western"><font style="font-size: 16pt"><b>sudo
apt install unity-tweak-tool</b></font></p>
</li></ol>
</li></ol>