Powered by Drupal

Fix Adwaita Theme in Fedora 18

In Fedora 18 the Adwaita GTK+ theme has dropdowns messed up in some programs. The text on the drop downs is light grey on white and it's hard to read.

To fix this install the Gnome Tweak tool and a different GTK+ theme:

yum install greybird-gtk2-theme greybird-gtk3-theme gnome-tweak-tool

Then open Tweak Tool. Under "Gtk+ Theme" select "Greybird".


Preview RAW Thumbnails in Nautilus file manager (Files) for Fedora 18

Simply install the following package and RAW file previews start showing up. You don't even need to logout.

yum install raw-thumbnailer

Saving iptables in Fedora 15 or Greater

In older versions of Fedora (14 or less) you could save your current iptables with the following command:

service iptables save

This would take the tables you currently have in places and save them to the following file:


So you could added/delete/change any tables you want then save them so they would be correctly re-applied on the next boot.


How to Check if Your System Can Run 64-bit Linux

From Linux do the following to see if the current machine can support a 64-bit kernel or not:

grep flags /proc/cpuinfo | grep lm

If you see a flag called "lm" then it can support a 64-Bit Linux install.


Change GDM Background and other Settings at Login Prompt

You basically need to change settings as the "gdm" user to change setting at the GDM login.

Do the following first:

su -
xhost +

Then you can use sudo to run programs as the gdm user. To change the background do the following:

sudo -u gdm gnome-control-center

Then click Background. There you can go select a background.

If you have gnome-tweak-tool installed another change I like to do is to show the date along with the clock at the top of the screen you can do this with the following:


Setting Up Minecraft in Fedora

First download the Sun/Oracle JRE from their web site in RPM format. The JRE in Fedora does not work. You have to get the one from Sun.

Install it:

yum install ./jre-7u55-linux-x64.rpm

Create a directory for it:

mkdir -p /opt/minecraft/client/

Download the software from here:

cd /opt/minecraft/client/
wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft.jar

Download the icon:


How to Get Changelog Info for a Certain Package

Here are two ways to get a changelog history of a given Fedora package. The results of both commands are usually similar but not always.
First install the package needed.

yum install yum-utils

The below example will show the changelog of the darktable package.

repoquery --changelog darktable
rpm -q --changelog darktable

Remove Accent Characters From Subtitle File

The method below can be used to convert any accent characters to "?" in a text file. This method can be used to strip accent characters from a subtitle file. The purpose for this is some muxing programs such as dvdauthor will error out when finding these characters.

The method below just converts them to "?". But you can write the results out to a different file then diff against the original to figure out where the characters are then manually convert them if you like.


Getting the Java Plugin to Work in the Browser

I first tried to use the OpenJDK project but could not get it to work.

I ended up having to download an RPM of the official JRE from sun.


I then installed it (replace the file name below with the name of the file you downloaded).

yum install ./jre-6u30-linux-i586.rpm

Then created the following directory if it does not already exist.

mkdir -p ~/.mozilla/plugins/

Next setup a symlink. The following will work for the 32-bit version.


Using WNA3100 Netgear N300 Wireless USB Adapter in Fedora

First install ndiswrapper

yum install ndiswrapper kmod-ndiswrapper

If that also upgraded kernels you will have to reboot at this point to use the new kernel that matches the version of the ndiswrapper kenrel module installed.

Now download the driver files needed from the link below.


Untar it then install the driver with ndiswrapper.

tar zxvf Netgear-WNA3100.tar.gz
cd Netgear
ndiswrapper -i bcmwlhigh5.inf

Now load the kernel module.


Subscribe to blog.kevinfowler.net RSS