These notes describe various things you need to do after setting up a Fedora Core 3 or 4 or 6 machine to get Firefox, mplayer, and other things working.
The Livna and Dag repositories have versions of several tools with MP3 support which is removed from the base Fedora destributions because of potential licening issues. You can make a lot more things work by including them in the YUM repo list. For example Livna's xmms-mp3 package is xmms with mp3 support.
To add the Livna repository to the repos. run:
FOR FC4: rpm -Uvh http://rpm.livna.org/fedora/4/i386/RPMS.lvn/livna-release-4-0.lvn.2.4.noarch.rpm for FC6: rpm -Uvh http://livna-dl.reloumirrors.net/fedora/6/i386/livna-release-6-1.noarch.rpmThis will install both the repo (/etc/yum.repos.d/livna.repo) annd the gpg key.
For the dag repository create /etc/yum.repos.d/dag.repo with the following content:
[dag] name=Dag for Fedora Core $releasever - $basearch - Base baseurl=http://mirrors.ircam.fr/pub/dag/fedora/$releasever/en/$basearch/dag/ #baseurl=http://ftp.heanet.ie/pub/freshrpms/pub/dag/fedora/$releasever/en/$basearch/dag/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livnaThen run:
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txtThe above technique came from the net and seemed to work, but does not look right to me. I redid the dag repository as follows:
[dag]
name=Dag for Fedora Core $releasever - $basearch - Base
baseurl=http://mirrors.ircam.fr/pub/dag/fedora/$releasever/en/$basearch/dag/
#baseurl=http://ftp.heanet.ie/pub/freshrpms/pub/dag/fedora/$releasever/en/$basearch/dag/
enabled=1
gpgcheck=1
gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-dag
This also worked and looks cleaner.
I have tried the rpmforge-release repo and have currently diabled it (/etc/yum.repos.d/rpmforge.norepo). The rpmforge.repo, dries.repo, and freshrpms.repo give me package conflicts with packages from the livna repo. As I use the mp3 processing from the livna repo and I cannot identify things I absolutely need from these other repos, I have left them disabled by changing the .repo to .norepo. There may be a way of making these repos play nicely with livna, but I am currently not motivated to figure it out. (suggestions are always welcome.)
rpm -Uvh http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/fc4/i386/RPMS.dries/rpmforge-release-0.2-2.2.fc4.rf.i386.rpm
$: cat dries.norepo
[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS/
$: cat freshrpms.norepo
[core]
name=FreshRPMS-Core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core
enabled=1
#gpgcheck=1
#[extras]
#name=Fedora Linux $releasever - $basearch - extras
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/extras
#enabled=0
#gpgcheck=1
#[alternatives]
#name=Fedora Linux $releasever - $basearch - alternatives
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/alternatives
#enabled=0
#gpgcheck=1
[updates]
name=FreshRPMS-Updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates
enabled=1
#gpgcheck=1
[freshrpms]
name=FreshRPMS-Fresh
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
enabled=1
#gpgcheck=1
$: cat rpmforge.norepo
# Name: RPMforge RPM Repository for Fedora Core 4 - i386
# URL: http://rpmforge.net/
[rpmforge]
name = Fedora Core 4 - i386 - RPMforge.net - dries
#baseurl = http://apt.sw.be/dries/fedora/fc4/$basearch/dries/RPMS
mirrorlist = http://apt.sw.be/dries/fedora/fc4/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dries
gpgcheck = 1
ln -s /usr/java/jre1.6.0_02/lib/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so ln -s /usr/java/jre1.6.0_02/lib/i386/libjavaplugin_jni.so /usr/lib/mozilla/plugins/libjavaplugin_jni.so ln -s /usr/java/jre1.6.0_02/lib/i386/libjavaplugin_nscp.so /usr/lib/mozilla/plugins/libjavaplugin_nscp.so
cd /usr/java find . -name libjavaplugin_oji.so -print find . -name libjavaplugin_jni.so -print find . -name libjavaplugin_nscp.so -print
ln -s /usr/java/jdk1.5.0_04/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.0.7/plugins/libjavaplugin_oji.so ln -s /usr/java/jdk1.5.0_04/jre/lib/i386/libjavaplugin_jni.so /usr/lib/firefox-1.0.7/plugins/libjavaplugin_jni.so ln -s /usr/java/jdk1.5.0_04/jre/lib/i386/libjavaplugin_nscp.so /usr/lib/firefox-1.0.7/plugins/libjavaplugin_nscp.so
ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so /usr/lib/mozilla/plugins/nppdf.so ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so /usr/lib/firefox-1.0.7/plugins/nppdf.soNote that the exact firefox release will need to be adjusted. That is, the firefox-1.0.7 part of the path will change. You can ls /usr/lib to find the most current directory to use. As with Java, this link will need to be updated if new releases of firefox or Acrobat reader come out. Try setting the /usr/lib/mozilla/plugins link first. If that works, you can skip the firefox-1.0.7 link.
The command:
yum localinstall abc.rpmIs usefuall for installing an rpm and having yum track down the dependencies for you.
I figured out how to convert from two small bars at the bottom to one big one.
To turn off the graphical boot screen that covers up what is going on during boot, go into /boot/grub and edit grub.conf. Remove the symbol rhgb from the line(s) starting with kernel.
In FC4 the echo and daytime had disable = yes set in their /etc/xinetd.d files. This was even after they were checked and saved in system-config-services. The /etc/xinetd.d/echo and /etc/xinetd.d/daytime files should look as follows:
stymar-/etc/xinetd.d:cat echo
# default: off
# description: An xinetd internal service which echo's characters back to clients. \
# This is the tcp version.
service echo
{
disable = no
type = INTERNAL
id = echo-stream
socket_type = stream
protocol = tcp
user = root
wait = no
log_on_success =
}
stymar-/etc/xinetd.d:cat daytime
# default: off
# description: An internal xinetd service which gets the current system time \
# then prints it out in a format like this: "Wed Nov 13 22:30:27 EST 2002". \
# This is the tcp version.
service daytime
{
disable = no
type = INTERNAL
id = daytime-stream
socket_type = stream
protocol = tcp
user = root
wait = no
log_on_success =
}
From http://forums.fedoraforum.org/archive/index.php/t-26875.html
Creating the desktop file If it is not already existing, create the file "/usr/share/applications/mplayer.desktop" like this: [Desktop Entry] Name=Movie Player Comment=Play multimedia files and media Icon=mplayer.xpm Exec=gmplayer %f Terminal=false MimeType=video/mpeg;video/x-msvideo;video/quicktime;video/x-ms-asf;video/x-ms-wmv Type=Application Categories=Application;AudioVideo; Encoding=UTF-8 The mime types for asf and wmv already exist and are stored in the mime type database (/usr/share/mime/packages/freedesktop.org.xml) Modify defaults.list This file will init our DEFAULT application. It ONLY contains ONE desktop file for EACH mime type: video/x-ms-asf=mplayer.desktop video/x-ms-wmv=mplayer.desktop Modify mimeinfo.cache To take effect as default application and init the double-click feature, we need to modify the mimeinfo.cache also: video/x-ms-asf=mplayer.desktop video/x-ms-wmv=mplayer.desktop This file can use MORE then ONE desktop file. If you want to be able to handle - for example - WMV files with different players, a line like this is also acceptable: video/x-ms-wmv=mplayer.desktop;realplay.desktop This will change the right-click-menu and insert Helix-Player, while mplayer is still default (with double-click) After modification, log out from gnome and log in again...
You may need to make a change to mplayer to get wmv files to play. You can try the following steps:
Up to home
Last Maintained: Saturday, 08-Sep-2007 15:22:09 CDT
For any questions or concerns regarding this page contact
Bob Styma (623)-582-7323.
this page via Lucent web server
this page via external web server