Wednesday, April 8, 2015

Fixing Font Rendering In Chrome Fedora

Fonts in general aren't as pretty in Fedora out of the box as they are in Ubuntu.  But the Chrome rendering is horrible.  I had to add this little gem to my ~/.fonts.conf file.

<match target="font">
 <edit name="autohint" mode="assign">
    <bool>true</bool>
 </edit>
 <edit name="hinting" mode="assign">
    <bool>true</bool>
 </edit>
 <edit mode="assign" name="hintstyle">
    <const>hintslight</const>
 </edit>
</match>

Thursday, April 2, 2015

Ubuntu 15.04 Broken Upstart / Working Systemd

Ubuntu 15.04 I believe has switched over to upstart which in turn has broken more then a few 3rd party apps I had installed.

For example whenever I tried to install plex media server I would get the following error:

"initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused"


Here's the fix that worked for me:

sudo dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl

Credit for this little tweak: https://www.nesono.com/?q=node/368