Kevin's Notes

This is just a collection of notes for various project I am working on.

The categories of notes are at the top right-hand corner of the screen.

Feel free to create an account to post comments on any of the notes I have here.

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.

http://www.kevinfowler.net/Netgear-WNA3100.tar.gz

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.

modprobe ndiswrapper

Setting Up a VNC Server to View Local X-Session in Fedora 15/16

This is the equivalent of turning on the "Remote Desktop" support in Fedora 14 and below. This feature is one of the many missing from Gnome 3.x. The following method will allow it to work again in Fedora 15/16.

Install x11vnc package.

yum install x11vnc

Run the following as the user who's session you want to VNC to. When prompted enter the password you want to use to connect with.

vncpasswd

Create a script to start the x11vnc server. Do this as the user you want it to run as, not root.

mkdir ~/bin
cd ~/bin

Setting Up Android Development in Fedora 16

Download the latest version of the Android SDK from here (the latest version of this post is r15):

http://developer.android.com/sdk/index.html

Untar into your home directory and setup a symlink to it:

cd ~
tar zxvf Downloads/android-sdk_r15-linux.tgz
ln -s android-sdk-linux android

Add the following to your path by editing .bash_profile and append the PATH variable. Then log out and back in for it to take effect.

$HOME/android/tools:$HOME/android/platform-tools

Install Java:

yum install java

Update the SDK by typing:

Installing "Google Picasa for Linux" in Fedora 14+

First setup the Google repositorys.

Now, create a file called /etc/yum.repos.d/google.repo and put the following in it:

[google]
name=Google - i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1

[google-testing]
name=Google Testing - i386
baseurl=http://dl.google.com/linux/rpm/testing/i386
enabled=1
gpgcheck=1

NOTE: In the above example I have both the regular and testing repos enabled. If you are not feeling cutting edge change the enabled field to 0 under the testing section.

Adding focus follows mouse to Fedora 15

Type the following to add focus follows mouse in Fedora 15 with gnome-shell:

gconftool-2 -s /apps/metacity/general/focus_mode -t string mouse

Setting up Android Development in Fedora 14

Download the Android SDK from here:

http://dl.google.com/android/android-sdk_r09-linux_x86.tgz

Untar into your home directory and setup a symlink to it:

cd ~
tar zxvf android-sdk_r09-linux_x86.tgz
ln -s android-sdk-linux_x86 android

Add the following to your path by editing .bash_profile and append the PATH variable. Then log out and back in for it to take effect.

$HOME/android/tools:$HOME/android/platform-tools

Update the SDK by typing:

android update sdk

Select the version of API's and matching Android versions.

Setup full Compiz-Fusion in Fedora 14

This is how to setup the fully configurable Compiz-Fusion in Fedora. This will give you much more configuration than the built-in "Desktop Effects" stripped down version.

First install packages needed:

yum install compiz-fusion ccsm

Go to System->Preferences->Start Up Applications.

Click the Add button.

Enter the following Fields:

Name: Compiz Manager
Command: compiz-manager
Comment: Start Compiz Fusion

Logout then log back into X windows.

Simple Command To Copy Filesystems

This will copy a file system from the "/source/dir" to the "/destination/dir".

Note: The source directory can also be / and it will copy correctly.

cd /source/dir
tar -cf - . | ( cd /destination/dir ; tar -xpvf - )

Setting up Android Development in Fedora 13

Download the Android SDK from here:

http://dl.google.com/android/android-sdk_r07-linux_x86.tgz

Untar into your home directory and setup a symlink to it:

cd ~
tar zxvf android-sdk_r07-linux_x86.tgz
ln -s android-sdk-linux_x86 android

Add /home/username/android/tools to your path by editing .bash_profile and append the PATH variable. Then log out and back in for it to take effect.

Update the SDK by typing:

android update sdk

Select the version of API's and matching Android versions.

Syndicate content