Posts Tagged ‘installing fedora 10’

Installing Fedora 10 -IV

8. Configuring Firefox

* Acrobat Plugin

To be able to view pdf documents through Firefox you must have adobe acrobat reader installed.

* Flash Plugin

Fedora 32bit

First you must install the adobe repository.

su -
rpm -ivh http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
Now install it like this:

yum install flash-plugin
Finally restart Firefox and go to Tools -> Add-ons -> Plugins. You should Shockwave Flash among the plugins.

Fedora x86_64

Finally Adobe has released a 64bit version of Flash Player. Although this is still an alpha release it seems pretty stable. To give it a try Download 64-bit Plugin for Linux. Untar it and paste the library in the plugins directory of Firefox.

tar -zxf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
su -c ‘mv libflashplayer.so /usr/lib64/mozilla/plugins’
If you were previously using the nspluginwrapper with the 32bit version of Flash you first have to remove them:

su -c ‘yum remove flash-plugin nspluginwrapper.{i386,x86_64} pulseaudio-libs.i386′
Restart Firefox and go to Tools -> Add-ons -> Plugins. You should Shockwave Flash among the plugins.

If you are not happy with this alpha version you can still use the 32bit flash like this:

You must install the nspluginwrapper.i386 and nspluginwrapper.x86_64 packages to enable the 32-bit Adobe Flash plugin in x86_64 Firefox and the pulseaudio-libs.i386 package to enable sound from the plugin.

Create the 32bit mozilla plugin directory using this command:

su -c ‘mkdir -p /usr/lib/mozilla/plugins’
Install flash-plugin

su -c ‘yum install flash-plugin’
Install the nspluginwrapper.i386, nspluginwrapper.x86_64, alsa-plugins-pulseaudio.i386 packages:

su -c ‘yum -y install nspluginwrapper.{i386,x86_64} alsa-plugins-pulseaudio.i386 curl.i386′
Restart Firefox and go to Tools -> Add-ons -> Plugins. You should Shockwave Flash among the plugins.

If you don’t see it run mozilla-plugin-config to register the flash plugin:

su -c ‘mozilla-plugin-config -i -g -v’ If Firefox crashes when you visit a page with flash type the following:

su -c ‘gedit /etc/adobe/mms.cfg’and in that file paste the following line:

WindowlessDisable=trueSave and exit. Now try again with Firefox.

In some cases, nspluginwrapper produces SELinux AVC errors, some of which may prevent viewing Flash content. Changing the relevant SELinux boolean may resolve this problem, but eliminates a great deal of additional security when using nspluginwrapper. To make the change, run the following command:

su -c ’setsebool -P allow_unconfined_nsplugin_transition=0′

* Video Playback Plugin

Fedora 10 has totem-mozplugin preinstalled. Try to open a wmp video with Firefox. In case additional plugins are needed you will be just prompted to install them! That’s just a great improvement!

However SELinux might cause you problems if you have it enabled. The good news are that it is also telling you exactly what command to type to solve this problem. I had to type the following commands to make a .wmp to be played in Firefox, but finally I made it!

su -
chcon -t textrel_shlib_t ‘/usr/lib/sse2/libx264.so.61′
chcon -t textrel_shlib_t ‘/usr/lib/sse2/libavformat.so.52.22.1′
chcon -t textrel_shlib_t ‘/usr/lib/sse2/libavutil.so.49.10.0′
chcon -t textrel_shlib_t ‘/usr/lib/sse2/libavcodec.so.51.71.0′
chcon -t textrel_shlib_t ‘/usr/lib/sse2/libpostproc.so.51.2.0′

So, if SELinux complains click on the yellow star icon and copy the Fix Command it says. Type it in a terminal as root and restart Firefox.

* java Plugin

Fedora 10 comes with java icedtea plugin preinstalled. However you may face some problems when trying to run certain java applets. For more information check here .

* mms streaming play

In the address bar type:

about:config
Right click somewhere and select NEW and then STRING. Type this in the box:

network.protocol-handler.app.mms
Click ok and in the box type the program you want to open the streaming media with, such as /usr/bin/mplayer.

Next right click again and select NEW and then BOOLEAN. Type this in the box:

network.protocol-handler.external.mms
Click ok and then type:

true

* Set backspace button

By default in Fedora’s Firefox when you press the backspace button it does nothing. If you want backspace to take you to the previous page type in the address bar:

about:config
and in Filter box type:

browser.backspace_action
Right click on it, select Modify and change its value from 2 to 0. Restart Firefox and the backspace will be set.

* IPv6

You might notice that your browsing through Firefox is a little slow on Fedora 10. This is because Firefox 3 has enabled by default IPv6 which causes Firefox to first resolve an IPv6 address and after the connection fails it switches to IPv4. To change this setting type:
about:config
and in Filter box type:

network.dns.disableIPv6
Right click on it, select Toggle and change its value to true. Restart Firefox and you are ready!

9. Configuring e-mail client

Fedora 10 has evolution as the default e-mail client. Of course you can install Thunderbird if you prefer it. Just type:

su -c ‘yum install thunderbird’

Now you can find Thunderbird under Applications -> Internet -> Thunderbird Mail Client. To make it the default Fedora mail client go to System -> Preferences -> Personal -> Preferred Applications and under Mail Reader select Thunderbird Mail.

10. MP3 and Audio players

**Note: To install many of the following packages you must have the RPM Fusion Repository enabled.

The first time you will try to play an mp3 file Totem Movie Player will come up and it will ask you to search for the mp3 decoder. As long as you have enabled the RPM Fusion repo as mentioned before it will find it and install it automatically. Just like that! If you still want to do it the manuall way…! or install an additional application continue reading below.

* Rhythmbox

I believe that Rhythmbox is a better mp3 player than the default Totem for Gnome users. You can find it under Applications -> Sound & Video -> Rhythmbox Music Player. If you don’t have it, to install it type:

su -c ‘yum install gstreamer rhythmbox’
To make all mp3 files open by default with Rhytmbox right click on an mp3 file and select ‘Open with Other Application…’. Click on Rhytmbox Music Player and you’re done.

To add mp3 and other audio support type:

su -c ‘yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly’

* Amarok

amaroK is a pretty good audio/mp3 player for KDE. Of course you can install it under Gnome or any other Desktop Environment too. To install it and add mp3 support type:

su -c ‘yum install amarok phonon-backend-gstreamer’

* Exaile

Exaile is similar to Amarok but it’s based on GTK+ toolkit. Therefore it’s a good solution for Gnome users! To install it type:

su -c ‘yum install exaile gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly’

* Audacious

Audacious is another audio player similar to old winamp 2.x. To install it type:

su -c ‘yum install audacious audacious-plugins audacious-plugins-freeworld audacious-plugins-freeworld-*’
If you want to use your winamp 2.x skin with audacious simply copy winamp’s *.wsz skin to /usr/share/audacious/Skins/

If your tags are in a different encoding than utf8 you can force audacious to use it:

Preferences -> Playlist -> Metadata -> Fallback character encoding -> iso8859-7

If you want to add in queue mp3s when double clicked edit this file:

su -c ‘gedit /usr/share/applications/fedora-audacious.desktop’
And change Exec=audacious to Exec=audacious -e

* XMMS

This audio player is no longer used, you could try audacious instead, but if you still want it type:

su -c ‘yum install xmms xmms-libs xmms-mp3′

11. DVD & Video

**Note: To install many of the following packages you must have the RPM Fusion Repository enabled. If you have most probably you will prompted to search automatically for the needed codecs. They will automatically installed. As simple as that!

* DVD playback

In order to play DVDs you must install the appropriate codecs.

su -c ‘yum install libdvdread libdvdnav lsdvd’

Those files are enough for playing your non encrypted DVDs. However if you want to decrypt an encrypted DVD you need libdvdcss which isn’t included in RPM Fusion because of legal issues in some countries such as the US. As mentioned in RPM Fusion .

Opinions between the members of RPM Ffusion differ on the legality of libdvdcss, however no one is ready to vouch for it resuming the legal responsibilities.

Therefore libdvdcss is being dropped. See also the comments on legal issues in the link above. So, we have to wait and see what solution they will come up with.

**Note: Livna could be a temporary solution.

su -
rpm -Uvh http://rpm.livna.org/livna-release.rpm
yum install libdvdcss

Most probably SELinux will report an AVC Denial. To fix this type:

su -
chcon -t textrel_shlib_t ‘/usr/lib/sse2/libswscale.so.0.6.1′
chcon -t textrel_shlib_t ‘/usr/lib/sse2/libpostproc.so.51.2.0′

* Video files playback

When you will try to open a video file with Totem media player it will ask you to search for the necessary codecs. They will be automatically installed! If you have previously set up mp3 playback additional packages would have been installed as dependencies. These packages include video codecs such as xvidcore, ffmpeg and other.

To check some of them type:

su -c ‘yum install ffmpeg ffmpeg-libs gstreamer-ffmpeg libmatroska xvidcore’

* Totem

Fedora 10 has installed Totem Movie Player. If you want to play DVD files also with totem type:

su -c ‘yum install totem-xine totem-gstreamer xine-lib-extras-freeworld’

* Mplayer/SMPlayer

I prefer mplayer and smplayer (mplayer’s GUI) for video playback. It supports almost any video type, external subtitles as well as DVD playback as long as you have the needed codecs installed as shown previously.

su -c ‘yum install mplayer smplayer’
Open smplayer from Applications -> Sound & Video -> SMPlayer

* VLC

VLC (Video Lan Client) supports almost any video type without the need of installing external codecs.

su -c ‘yum install vlc’

* kaffeine

kaffeine is another KDE media player that uses the xine engine.

su -c ‘yum install kaffeine xine xine-lib xine-lib-extras-freeworld’

* RealPlayer

You can download RealPlayer rpm from here . Just choose to open it with the Package Installer.

* Avidemux

Avidemux is a very good video editor. Install it like this:

su -c ‘yum install avidemux’
It will be listed in Applications -> Sound & Video -> Avidemux Video Editor.

Powered By Wordpress Tabs Slides

Installing Fedora 10 – III

4. Configuring Services

You can easily select which services should run when you boot your system. To do so you can use Fedora’s services configuration utility which can be found under System -> Administration -> Services.

For a detailed description on all services and daemons read the Fedora Services Guide .

5. Installing video drivers

**Note: To install many of the following packages you must have the RPM Fusion Repository enabled

* Installing nVidia driver

In order to have 3D support in Fedora 10 you must install the binary nvidia drivers. Just type:

For GeForce 6, 7, 8, 9 & 200 series cards

su -c ‘yum install kmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs’

For GeForce FX cards

su -c ‘yum install kmod-nvidia-173xx xorg-x11-drv-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs’

For GeForce 4 and below

su -c ‘yum install kmod-nvidia-96xx xorg-x11-drv-nvidia-96xx xorg-x11-drv-nvidia-96xx-libs’

Reboot and you should see the Nvidia logo in your screen.

* Installing ATi driver

In order the fglrx driver for the ATi cards you must downgrade a few packages to their Fedora 9 versions. That’s what Leigh123 from fedoraforum.org says. I don’t have an ATi card so I can’t really tell. For anyone interested here are his instructions.

1. Install driver

su -
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
yum –enablerepo=rpmfusion-nonfree-updates-testing install akmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs.i386


Additional install instructions for 64 bit users only !

rm -f /usr/lib/dri/fglrx_dri.so
ln -s /usr/lib64/dri/fglrx_dri.so /usr/lib/dri/fglrx_dri.so
ldconfig

2. Install system-config-display

su -
yum install system-config-display

run system-config-display and change *nothing*, but press “ok” to create an xorg.conf.

3. Edit xorg.conf

su -
aticonfig –initial -f
su -
gedit /etc/X11/xorg.conf

Then add these sections.

Section “Extensions”
Option “Composite” “Enable”
EndSection

Section “ServerFlags”
Option “AIGLX” “on”
EndSection

Section “DRI”
Mode 0666
EndSection

also add these options to the device section

Option        “OpenGLOverlay” “off”
Option        “VideoOverlay” “on”

4. Backup old initrd

su -
mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.backup
mkinitrd -v /boot/initrd-`uname -r`.img  `uname -r`
5. Edit grub.conf

su
gedit /boot/grub/grub.conf

and add this “nopat” to the kernel arguments.

Optional (in case libdrm change breaks things due to relationship with KMS):
add “nomodeset” to end of kernel arguments

6. Reboot

due to the akmod, it is *absolutely necessary* to reboot after the install, otherwise the kernel module won’t be compiled.

Reverse changes

In case you want to reverse the changes you ‘ve made just type:
su -
rm -f /etc/yum.repos.d/rpmfusion-nonfree-updates-9.repo
rm -f /etc/yum.repos.d/fedora9.repo
sed -i -e ’s|^exclude.*||’ /etc/yum.repos.d/fedora*
yum clean all
yum update libdrm

6. Installing Microsoft fonts

Fedora uses Liberation and DejaVu fonts which are installed by default and look pretty smooth and nice, plus they are open source.

If you insist on using the Microsoft fonts you can download and install the msttcorefonts rpm like this.

wget http://www.my-guides.net/en/images/stories/fedora10/msttcore-fonts-2.0-2.noarch.rpm
su -c ‘rpm -ivh msttcore-fonts-2.0-2.noarch.rpm’

I built it myself using the msttcore-fonts-2.0-2.spec from Fedora-devel mailing list which unlike msttcore-fonts-2.0-1.spec doesn’t require installing the xfs server. Therefore is ideal for Fedora 8, 9 and 10. It includes Arial, Andale, Comic Sans, Courier New, Georgia, Impact, Tahoma, Times, Trebuchet MS, Verdana and Webdings fonts.

The procedure just in case you want to build it yourself is the following.

su -c ‘yum install rpmdevtools rpm-build cabextract ttmkfdir’
rpmdev-setuptree
cd ~/rpmbuild/SPECS/
wget http://www.my-guides.net/en/images/stories/fedora10/msttcore-fonts-2.0-2.spec
rpmbuild -bb msttcore-fonts-2.0-2.spec
cd ~/rpmbuild/RPMS/noarch/
su -c ‘rpm -ivh msttcore-fonts-2.0-2.noarch.rpm’

Now you can change your fonts through System -> Preferences Look and Feel -> Appearance -> Fonts

7. Configuring Nautilus

* Open each folder in the same window

Go to System -> Preferences -> Personal -> File Management and in the Behavior tab select the Always open in browser windows option.

Now you will use the File Browser to navigate through your folders.

* Open Terminal here

It’s very useful to have an ‘Open Terminal here’ command to easily open a folder in terminal while you are browsing it in Nautilus. To do so type:

su -c ‘yum install nautilus-open-terminal’
log out and then log in, right click in a Nautilus window and you’ll see the command ‘Open In Terminal’.

* Enable Num Lock on GNOME startup

su -c ‘yum install numlockx’
su -c ‘cp /etc/gdm/Init/Default /etc/gdm/Init/Default_backup’
su -c ‘gedit /etc/gdm/Init/Default’

And add the following lines at the end of the file before the exit 0.

if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi

Save and exit. Now restart X server and check if num lock light is on.

Powered By Wordpress Tabs Slides
Return top

INFORMATION

Do not forget to leave a comment if you find the posts useful.