Computer Scientist, Graduate Student, and Geek

Tag: fedora

Old Versions of Firefox

February 16, 2012

Fedora 13 does not have all the necessary dependencies for Firefox 10, so I needed to downgrade to Firefox 9. I finally managed to find the installers at: https://ftp.mozilla.org/pub/mozilla.org/firefox/releases

Categories: Linux

Tags: fedora, firefox


Lenovo X201 Graphics in Fedora 13

March 29, 2011

I wanted to use the intel X11 driver with my Lenovo X201 laptop. However, X11 was failing to start, with the following error message in the log:

intel(0): No kernel modesetting driver detected
To fix the problem, I needed to edit my kernel boot options. I added the following to the kernel boot line in my grub.conf:
i915.modeset

Categories: Linux

Tags: fedora, x11


Installing Phidgets in Fedora

January 27, 2010

Phidgets are boards for sensing and control projects that are managed via a USB connection to a computer. I use the Phidget Interface Kit 0/0/4 for my Christmas light controllers. To control the boards from a Linux workstation, it is necessary to install the Phidgets driver. To allow connectivity to Phidgets from Fedora 12 (or Fedora 10 or 11):

  1. Download the Phidget source: http://www.phidgets.com/drivers.php
  2. Untar the contents and change to the phidget21 directory.
  3. Run make, then sudo make install.
  4. Copy the udev configuration file to the appropriate location.
    sudo cp udev/99-phidgets.rules /etc/udev/rules.d/
  5. Restart udev.
    sudo /etc/init.d/udev-post reload
  6. Connect (or unplug and reconnect) the Phidget board to an available USB port.

I typically control the Phidget board using Python. To install the necessary Python modules:

  1. Download the Python module source: http://www.phidgets.com/programming_resources.php
  2. Unzip the module.
  3. Move the Phidgets directory to the standard location for Python modules.
    sudo mv Phidgets/ /usr/lib64/python2.6/

Categories: Development, Linux

Tags: fedora, phidgets, python


Installing Flash in 64-bit Fedora

January 13, 2010

Every time I install 64-bit Fedora, I have issues with flash. The instructions for the 32-bit wrapped version provided on the Fedora Project wiki always work wonderfully: http://fedoraproject.org/wiki/Flash#32_bit_wrapped_version.

Categories: Linux

Tags: fedora, flash


Installing Proprietary Nvidia Drivers in Fedora 12

January 12, 2010

I just upgraded to Fedora 12. When I tried to install the proprietary Nvidia driver (version 190.53 for AMD64), the installation failed. Some research turned up a partial solution to the issue: Fedora 12 Nvidia Driver Installation. However, things still were not working as expected. Linux reported that it could not find the nvidia.ko kernel module for my kernel. After further research, I determined it was necessary to pass the current kernel version to the Nvidia installer. Below are the steps I followed to install the proprietary Nvidia drivers in Fedora 12:

  1. Add the RPM Fusion repositories
    rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
    http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
  2. Install the Nvidia driver from the RPM Fusion repositories
    yum install kmod-nvidia
  3. Append to the kernel line in /etc/grub.conf
    nouveau.modeset=0 vga=0×318
  4. Reboot
  5. Download the proprietary Nvidia driver from http://www.nvidia.com/object/unix.html
  6. Install the propriety Nvidia driver, including the kernel version with the -k option
    ./NVIDIA-Linux-x86_64-190.53-pkg2.run -k $(uname -r)
  7. Follow through the steps of the proprietary driver installation
  8. Reboot
  9. Configure your graphics as necessary using nvidia-settings

Categories: Linux

Tags: fedora, nvidia


Run Commands on Startup in Fedora

December 13, 2009

To have commands run at the end of the startup process, add the commands to the /etc/rc.local file.

Categories: Linux

Tags: fedora


Permanently Change Hostname in Fedora

October 20, 2009

To permanently change the hostname of a Fedora box, edit the file /etc/sysconfig/network. (You need to be root to change this file.) Modify the HOSTNAME line.

Categories: Linux, Networking

Tags: fedora, hostname


Mount Windows Share in Linux

October 17, 2009

To mount a Windows share in Linux, execute the following command:

mount -t cifs //Server/Share -o username=WinUsername,password=WinPassword /mnt/dir

Categories: Linux, Networking

Tags: fedora, windows


Finding Packages in Ubuntu

September 29, 2009

In Fedora, I always use yum search to determine the exact name of a package I want to install using yum install. However, in Ubuntu I noticed apt-get does not have any search function. Instead, I needed to use apt-cache search to locate the exact name of a package. Also, it is good practice to run apt-get update prior to using apt-cache search to ensure the latest list of packages is cached on your computer.

(Note that apt-get update is not the same as yum update. apt-get update updates the list of packages, while yum update updates the list of packages and installs the newest version of any updated packages. In Ubuntu, apt-get upgrade will install the newest version of any updated packages.)

Categories: Linux

Tags: apt, fedora, ubuntu, yum


Installing Compiz in Fedora 10

September 06, 2009

To add some pizzaz to my Fedora 10 box, I decided to install Compiz. I mostly followed the instructions under step 21 at http://www.my-guides.net/en/content/view/125/26/1/9/. Here's what I did step-by-step:

  1. Installed the latest NVidia drivers for my graphics card. (As far as I know, you cannot use the nv driver with Compiz.)
  2. Ran the command
    glxinfo | grep direct
    and got the response
    Direct Rendering: Yes
    confirming my box had the capacity to run Compiz.
  3. Installed the necessary packages (as root) for using Compiz with Gnome.
    yum install ccsm emerald-themes compizconfig-backend-gconf fusion-icon-gtk \
    emerald compiz-fusion compiz-fusion-gnome libcompizconfig compiz-gnome \
    compiz-bcop compiz compizconfig-python compiz-fusion-extras \
    compiz-fusion-extras-gnome
  4. Added a Startup Program in Gnome to auto-start Compiz at login.
    1. Select System > Preferences > Personal > Sessions.
    2. Click Add.
    3. Enter fusion-icon for command.
    4. Enter a name and comment as you prefer. My comment was Compiz Fusion panel applet .
  5. Logged off and logged back in.
  6. Configured my preferences by selecting System > Preferences > Look and Feel > CompizConfig Settings Manager.

Categories: Linux

Tags: compiz, fedora


Older Entries >>