Tag Archives: Debian

Font smoothing in Debian 6.0 Squeeze like in Ubuntu

Debian LogoDebian is great operating system, but lets face it: fonts are ugly on any Linux distribution except Ubuntu. That's OK if you ask me. Why? When I hear word "Debian" my first association is reliable server environment, and I guess you don't need fine tuned font smoothing on white on black terminal. What if you really like having Debian on your desktop, and you also like having normal eyesight? Debian user Hadret who describes him self as "Atheist, Debian GNU/Linux user and a philologist to be" has Ubuntu patched versions of libxft2 and libcairo2 - the libraries that control how fonts are looking, in his Debian repository. All you need to do to fix you Debian font situation is to add his Debian repository to your sources list and do regular apt-get update procedure. Here are the necessary commands to do all of that:

su
echo "deb http://hadret.rootnode.net/debian/ unstable main" | tee -a /etc/apt/sources.list
echo "deb-src http://hadret.rootnode.net/debian/ unstable main" | tee -a /etc/apt/sources.list
wget -O - http://hadret.rootnode.net/debian/duckbill.key | apt-key add -
apt-get update
apt-get dist-upgrade

After you restart you PC you fonts should look much better than before and you should also feel much better about using great Debian operating system.

Ubuntu Netbeans and LAMP server with Xdebug as non-root user

In this article I'll show you how to setup Linux Apache Mysql PHP (LAMP) web development environment on Ubuntu Linux with your web site files in your home directory. This way you can easily develop for web as non-root user. If you are trying to install Linux Apache Mysql PHP on Windows, I'll point you to one of my previous articles where I have explained just that:

Apache, MySQL, PHP server on Windows

My goals for this session are to install Apache, MySQL and PHP with Xdebug module for PHP development debugging. We will setup Xdebug and use it with Netbeans, but once Xdebug is properly installed, you can debug your applications with any other application like Eclipse. The most important thing for a web developer or web programmer is to be able to easily modify his web development files without becoming root for everything he is working on. I will show you how to instruct Apache to make virtual host in your home directory. At the end of it all I will install Netbeans and create sample project to work with our new development environment. So lets get started...

Continue reading

Change Ubuntu / Debian GDM login screen theme/wallpaper

Notice: Tested for Ubuntu releases up to Ubuntu 10.10 (Maverick Meerkat)

Every Linux distribution now days sets its default theme and wallpaper. That theme and wallpaper is usually login screen theme and wallpaper. What if you don't like it? You can change theme and wallpaper for your user account but login screen theme stays the same. Lets do something about it...

This is the plan. In a way GDM (Gnome Display Manager) is like every other user. It can have theme, wallpaper and programs to be run when it starts. Why not adjusting Gnome appearance properties (gnome-appearance-properties) window to start at login screen? Then we can adjust things like theme, fonts, wallpaper and everything Gnome appearance properties allows us to do. So first step is to enter this at your terminal (following code is single command):

sudo ln -s /usr/share/applications/gnome-appearance-properties.desktop /usr/share/gdm/autostart/LoginWindow/gnome-appearance-properties.desktop

Next step is to logout. Gnome appearance properties window will start together with GDM login screen and you can adjust everything as you like. The last step is to undo what we have done in the last step. So after next login enter this at your terminal to stop Gnome appearance properties window form showing its face every time you're at GDM login screen:

sudo rm /usr/share/gdm/autostart/LoginWindow/gnome-appearance-properties.desktop

Next time you need to change your login screen appearance you repeat this process. That's it. No more steps.

Debian/Ubuntu Gddccontrol as non-root

There are computer displays out there without any OSD buttons. No, really. I have one of those. So how do you say turn the brightness up? No problem, u have a software with buttons and sliders to control every aspect of you computer display. Collection of protocols to make such application is called Display Data Channel(DDC). On Linux PC you really have only one option, Ddccontrol application and its GUI variant named Gddcontrol...

Continue reading

Apt-Cacher NG - apt caching proxy on Debian/Ubuntu

Having GSM Internet connection and multiple Debian based PC in your local network is not every users dream situation. That's especially true if your mobile broadband service provider limits amount of data you can transfer per month for reasonable price, and everything above limit is very expensive. Besides that having flat rate Internet connection and hundred PC inside your LAN could potentially create unnecessary network congestions. Wouldn't it be nice to have some kind of apt caching proxy so we could download apt packages and updates only one time, and then distribute them inside our LAN to all of our Ubuntu or Debian PCs? Author of Apt-Cacher NG apt caching proxy came to rescue with its useful but somewhat hard to setup application. I will explain how to get things moving in 10 minutes max...

Continue reading