Translate

Archives

Unico Theming Engine on Fedora 16

This post discusses GNOME theming engines and shows you how to build, install and use the Ubuntu Unico theming engine on Fedora 16

Customizing GRUB2 Fonts

You can create custom fonts for GRUB2 using grub-mkfont. For example, assuming that GRUB2 files live in /boot/grub2: grub-mkfont –output=/boot/grub2/DejaVuSansMono.pf2 –size=24 /usr/share/fonts/dejavu/DejaVuSansMono.ttf If you are using Fedora, the command is grub2-mkfont instead of grub-mkfont. You can create a smaller font by changing the size argument to a smaller number. Then edit /etc/default/grub and insert the following lines: GRUB_FONT=/boot/grub2/DejaVuSansMono.pf2 and rebuild the GRUB2 configuration file, grub.cfg, using grub-mkconfig -o /boot/grub2/grub.cfg If you are using Fedora, the command is grub2-mkconfig instead of grub-mkconfig.

Determining Linux Distribution Name and Release

One of the most annoying things about Linux is the inability to easily determine the name and release number of a Linux distribution from with an application. No, contrary to what a lot of people think, uname does not provide either of these bits of information. The best place to find this information is in the /etc/distribution-release file where distribution is replaced by the name of the distribution. This file should contain a single line in the format: Distribution release x.x (Codename) where distribution can be a single word like CentOS or a few words like Red Hat Enterprise Linux.

Fedora SPICE: Cut and Paste between Guest and Host

If you’re already using SPICE with your Fedora or RHEL guests and you are not using the SPICE guest agent, you should seriously consider installing the spice-vdaguest guest agent. What functionality does spice-vdagent provide? Amongst other things, the following: Move mouse continuously within guest and client without pressing Shift-F12 Copy and Paste between guest and client Automatic guest resolution adjustment while entering fullscreen mode To install spice-vdagent on Fedora 15/16 or RHEL/CentOS 6/6.1: # yum -y install spice-vdagent # chkconfig spice-vdagentd on # reboot A reboot is necessary. See here if you want to information on the SPICE agent protocol.

Set up local RPM Installation Repository

There are a number of ways of installing additional RPM packages from installation media. However, if your network is fast and you are installing the same packages on a number of systems, it sometimes is easier to set up a simple local package repository and use yum to install the packages from there. This post shows you how to do this. Copy the new packages, or even the contents of an entire distribution to a suitable subdirectory on a local webserver. For example, if you are using an Apache webserver on RHEL or Fedora, suitable locations would probably be /var/www/html/repos/rhel6/