Powered by Drupal
4
Dec

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

*** UPDATE: This is now not needed in Fedora 16. They finally added a program for turning it on the old way. Just go to Internet then click on "Desktop Sharing". ***

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.

26
Nov

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:

24
Jul

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.

14
Jun

Adding focus follows mouse in Fedora 15 and Up

UPDATE 5/2013: You can now do this with Gnome Tweak Tool. Install it with:

yum install gnome-tweak-tool

Then open it and click on Windows then "Windows focus mode" to Mouse.

The other older way is to do the following:

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

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

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 - )
10
Mar

Setup A Local Fedora 12 Yum Repository

The following will explain how to setup a local Fedora 12 yum repository. This example shows how to setup a local copy of the the "fedora-updates" repo. The same method can be used to also make a local "fedora" repo.

First install and setup Apache with the following:

yum install httpd
chkconfig httpd on
service httpd start

Now create the updates directory.

5
Mar

Setting up Firefox to use Gmail for mailto links

Go to the following menus in Firefox:

Edit->Preferences->Applications

Look for the "mailto" Content Type and click the drop-down. You should now see "Use Gmail" as an option. Select it and click Close.

Now when you click on any mailto link it will send the email in GMail.

NOTE: if you are running an older version of Firefox you many need to manually register GMail as a mailto option. The following explains how to do that.

First login to your Gmail account in a tab.

2
Jan

GDM Autologin Without GNOME Keyring Password Prompt

Do the following to setup GDM to auto login with a specific account. Also setup the GNOME keyring to not prompt you for a password when connecting to a saved wireless network. First, edit the /etc/gdm/custom.conf file and add the following options: NOTE: Below is the older method that works with Fedora 12 and under:

[daemon]
TimedLoginEnable=true
TimedLogin=username
TimedLoginDelay=5

NOTE: This method works with Fedora 13 and up:

1
Nov

Adding Hulu Desktop to MythTV

cd /usr/share/mythtv
vi library.xml

Add the code below in whatever order you would like it to show in the Menu:

   <button>
     <type>STREAM</type>
     <text>Hulu Desktop</text>
     <action>EXEC /usr/bin/huludesktop</action>
   </button>

Now you can find the Hulu Desktop menu option by going to:
Media Library -> Hulu Desktop

UPDATE (04/11/2010):

After updating to MythTV .22 the above location of library.xml has changed.

It is now stored in:

18
Oct

Setting up TOR (The Onion Router)

yum install privoxy
yum intall tor
cd /etc/privoxy
mv config config.ORIG

vi config

Put the following contents in the config:

Pages

Subscribe to blog.kevinfowler.net RSS