| HOME > MISC > LINUX > FC3 TIPS |
|---|
This is based on my Fedora Core 2 Tips and Tricks page. Just getting started here, comments welcome. Recent changes are highlighted in yellow. There is also a Fedora Core 4 Tips and Tricks page.
Before you add repositories it's probably a good idea to make sure your system is fully updated first. Right now I really like the FreshRpms repository since it works well and seems to have pretty much everything. Unfortunately there are some things that are still only available via Apt so we need to handle that too. First edit your /etc/sysconfig/rhn/sources and add the following:
# Macromedia Flash plug-in only apt macromedia http://ruslug.rutgers.edu macromedia/apt/fedora/3 macromediaNow go to /etc/yum.repos.d and create a file called freshrpms.repo containing the following:
[freshrpms] name=Red Hat Linux $releasever - $basearch - freshrpms baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms enabled=1 gpgcheck=1For security reasons the packages in these repositories are GPG signed to protect their integrity so you'll need to get and install the public keys:
# rpm --import http://freshrpms.net/RPM-GPG-KEY-freshrpmsYou can browse the packages available there at http://heidelberg.freshrpms.net//.
# yum -y install xmms-mp3 gstreamer-plugins-extra-audio libmad libid3tagThe -y flag is to automatically answer yes to any question. If you want to be able to say no you can ignore that flag.
xmms // and go to Options -> Preferences then choose Audio I/O Plugins. // In that list scroll down and find the MPEG Layer 1/2/3 Placeholder Plugin // and disable it. Then enable the new plug-in you just downloaded which is // listed as MPEG Layer 1/2/3 Player. Now MP3s should play just fine. //
?> While you're there I also recommend the XMMS Status Plug-in found at http://newrpms.sunsite.dk/apt/redhat/en/i386/fc2/RPMS.newrpms/xmms-status-plugin-1.0-2.rhfc2.nr.i386.rpm. Just download it and install it with:
# rpm -ihv xmms-status-plugin-1.0-2.rhfc2.nr.i386.rpmThen fire up XMMS then with your mouse on the XMMS window hit CTRL-V. Choose General Plugins then click on Enable plugin and hit Configure to customize it to your tastes. From then on you'll have a docked control panel for XMMS.
# up2date flash-pluginYou can get more information about this plug-in at http://ruslug.rutgers.edu/macromedia/site_ru.html. Before the plug-in gets installed you'll need to agree to the terms of the license.
# yum -y install xine xine-lib xine-skinsThis will install the xine DVD/VCD/CD player. Now to get xine to automatically play a DVD upon insertion, go to the Red Hat -> Preferences -> Removable Storage. Make sure DVD Videos is turned on and put in the following for the command:
xine --auto-play --auto-scan dvd
# yum -y install mplayer mplayer-skins mplayer-fontsThis command line will download the whole kit and kaboodle. Restart your web browser after that whole mess is done installing and you'll also have a plug-in for Mozilla so you can play embedded content. I recommend that if you want to play content from a command line that you use the gmplayer version which will include a skin-able control panel.
The FreshRpms repository doesn't currently have an MPlayer Plug-in but you can download the FC3 version from http://mplayerplug-in.sourceforge.net/download.php then install it:
# rpm -ihv mplayerplug-in-2.75-fc3.i386.rpmThe version number may varry of course. This will install the plug-in to play a wide variety of media within your browser window. While you're at it be sure to configure mplayer to use the ALSA sound system rather than the default. It just works better. Edit the file ~/.mplayer/config and add the following line:
ao=alsa
Before you install the play you'll need to make sure the compat-libstdc++ module is installed. Download the RealPlayer10 package from the following location:
RealPlayer10GOLD.rpmThen install the RPM from the command line:
# yum -y install compat-libstdc++ # rpm -ihv RealPlayer10GOLD.rpmThen whenever you want to view something just use /usr/bin/realplay . Here is a link to a cute test video to make sure it's working for you.
If audio is working but you have a black screen then it's possible your video card doesn't support XVideo. You can turn it off by clicking on Tools -> Preferences then choose the Hardware tab and disable Use XVideo .
After you've run it the first time and gone through the configuration screens edit the ~/.realplayerrc file and add the following line in the [helix] section of the configuration:
[helix] SoundDriver=2 . .For some reason on my system RealPlayer uses the the old and virtually obsolete OSS sound driver. The line above tells it to use the newer ALSA sound driver instead.
The best site for the plug-in is the Dag Wieers repository. I would normally recommend just putting it in your up2date sources but I've had problems with conflicting packages. In this case I recommend you just go to the site and download and install just the packages you need. Just go to http://dag.wieers.com/packages/j2re/ and download the latest j2re and mozilla-j2re packages as appropriate for your system. Then just install them as follows:
# rpm -ihv j2re-1.4.2-8.1.fc2.dag.i586.rpm mozilla-j2re-1.4.2-9.1.fc2.dag.i586.rpmAt the time I wrote this there were no FC3 specific packages but the FC2 packages work just fine.
# uname -r -pFor example if you're using the latest kernel (as of this writing) which is 2.6.9-1.667 and the i686 (even if it's an AMD) processor then you will want to download it to a local directory and install it as such:
# rpm -ihv kernel-module-ntfs-2.6.9-1.667-2.1.20-0.fc.1.2.i686.rpmMore detailed instructions on determining which RPM you need can be found at http://linux-ntfs.sourceforge.net/rpm/instructions.html. Once installed the ntfs driver will be a dynamically loadable module and you can mount NT file systems with mount -t ntfs -o nls=utf8 /dev/hdXX /mnt .
# rpm -ihv msttcorefonts-1.3-3.noarch.rpmAnd don't forget that if your Linux system is on the Internet 24/7 and has SSH open to the world you might want to take steps to Protect SSH.
PC Won't Turn Off After Shutdown
The workaround for CPU enumeration with HyperThreading CPUs allows shutdown
to work properly. Simply add acpi=ht to the kernel boot line in /etc/grub.conf and reboot.
Turn off the ANNOYING Spatial Nautilus Behavior
I don't know if it's the worst feature of Fedora but it's
definitely in the top 5. You can get the old more sane behavior by
bringing up Edit -> Preferences then
select the Behavior tab. Near the top find the option for
Always open in browser windows and make sure it is checked.
If you have additions to this section please use the comments section below.
The Unofficial #fedora FAQ - Great place that contains a wealth of information about Fedora Core.Fedora-List Mailing List - The official discussion group for issues with the final releases of the Fedora Core Linux distributions.
Fedora Multimedia Installation HOWTO - I discovered this great resource after I wrote this. This document goes into more detail than mine so it's a great resource.
Performance Tweaking - Make Linux behave more like XP and delay starting services until later to give the appearance of a faster booting system.
Fedora Core 3 Linux Installation Notes - Another great set of installation notes that includes much of what I include here but does include a few things I don't.
Unofficial Fedora Core 2 Guide for Beginners - A very extensive list of how to do various things in Fedora Core 2. Good source for beginners.
Linux.com | Fedora Core 2: Making it work - Here is an article going over a few other suggestions on making Fedora Core 2 work a little better.