Linux Panda

Open Source | Linux | Android | Tech

Monthly Archives: February 2016

Improve Font Rendering in Fedora Linux

In this guide, we are going to see the steps to improve the font rendering and make Fedora font rendering like Ubuntu using Infinality font. I’m not going to add any before/after screenshots as the font rendering will differ from display to display based on the resolution, the pixel density etc.

 

Fedora

 

Method 1 – Using Liberation Fonts

We are going to install Liberation fonts from Fedora Repository which serves as replacement MS fonts namely, Times New Roman, Arial, and Courier New. The Liberation fonts package will install Sans, Serif, and Monospace, Narrow families.

Go to the Liberation Fonts Build page and download the latest 2.x version binary TTF package.

Then extract it using an archive manager or by running the following command,
tar -xvf liberation-fonts-ttf-2*.tar.gz

Make the liberation directory in /usr/share/fonts/ by running the following command,
sudo mkdir -p /usr/share/fonts/truetype/liberation

 

Now we have to copy all the TTF files to /usr/share/fonts/truetype/liberation directory.

Lets browse to the directory which has the liberation fonts and then copy it to the liberation fonts directory that we created in the above step and then cache the newly installed fonts by running the following commands,
cd liberation-fonts-ttf-2*
sudo cp *.ttf /usr/share/fonts/truetype/liberation/
sudo fc-cache

Read more of this post

Advertisements

Android Nexus USB OTG Without Root

One of the awesome features of some Android phones & tablets is the the USB OTG technology. This USB OTG technology allows us to connect USB devices to an Android device. In this tutorial, we are going to see how to connect devices to Android nexus USB OTG without root access.

OTG – What it is and what it does

  • The term OTG stands for On-The-Go and it is often called as USB OTG or just OTG.
  • OTG technology allows us to connect an Android device to USB storage devices, flash disks, mouse/keyboard or even a USB gaming controller.
  • OTG technology allows us to transfer documents, pictures, music, video etc. from the USB storage.

 

USB OTG Cable

 

USB OTG Connectors

Read more of this post

Apt Pinning Debian Multimedia Using Preferences

In this guide, we are going to see the steps to apt pinning Debian Multimedia repo using preferences in Debian.

 

Debian

 

Disclaimer:

Before we proceed, I want to let you know that even though the steps in this guide works in my Debian installation properly, it does not mean that the Apt-Pinning method used in this guide may work properly in your system too and/or may break the installation.

So please read more about Apt-Pinning in the Debian Wiki before proceeding further.

 

Multimedia codecs (3rd party repo)

If you want to install w32codecs and libdvdcss2 (required for the decryption of CSS protected-DVD), then you need to add the 3rd party repository deb-multimedia to do that.

Now open /etc/apt/sources.list and add the deb-multimedia repository.
sudo vi /etc/apt/sources.list

 

Add the following lines to the sources.list,

#Debian Multimedia
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free

Now we have to deal with one more issue. Both debian.org and deb-multimedia.org host packages with same names in their repositories.

So we have to set apt pinning in such a way that the packages with same names that exist in both the repositories are downloaded from debian.org and not deb-multimedia.org.

Read more of this post

%d bloggers like this: