Previous: Booting and installing Fedora 15

Tips: It’s always good to have an up-to-date information about the packages installed on your system for future references. Issue the following commands:

$ yum list installed *FC15* > F15.packages.installed.txt

$ yum list installed *FC14* > F14.packages.installed.txt

……

……

$ yum list installed *FC10* > F10.packages.installed.txt

I have from FC10 to FC15 packages installed on my system. Do this after every installation and updates. Store these files on to a secure location, somewhere like on to your DropBox account.

Update first:

After a successful installation perform first a complete update.

$ yum update

nVidia driver installation:

You will need to enable the rpmfusion repos to install nVidia drivers. To install rpmfusion repos:

$ 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

To install nVidia drivers:

$ yum install kmod-nvidia

This works just fine without any glitch. And also there is no resolution problem, which I had in Fedora 14. After reboot, now I have a perfect 1920×1200 LCD display.

Soundcard problem:

Strangely enough since 2007 and since Fedora 9 (64 bit), I have same problem with no audio after every fresh installation and have same remedy to resolve it. Do:

$ echo “options snd_hda_intel model=mbp3″ >> /etc/modprobe.d/sound.conf

Or open /etc/modprobe.d/sound.conf in vi or gedit, add “options snd_hda_intel model=mbp3” without quotes to the file and then save it. mbp3 for MacBook Pro 3,1. You might want to use mbp5 for MacBook Pro 5,1, etc. Please refer to corresponding literature.

Installing Adobe FlashPlayer (64 bit):

Installing 64 bit Adobe FlashPlayer (the so called “Square“) is quite easy and works great. First completely remove any previously installed flash players, nspluginwrapper, etc. Just download the player library from the Adobe Labs site or from here.

Unzip and place the libflashplayer.so under /usr/lib64/mozilla/plugins/. If required issue, as root:

$ chmod 755 /usr/lib64/mozilla/plugins/libflashplayer.so

$ chown root:root /usr/lib64/mozilla/plugins/libflashplayer.so

With no tweaking, or additional fine tuning Adobe Flash Player works smoothly with FireFox, SeaMonkey, Google Chrome and Opera. It even seems to be that the infamous “gray boxes” stopped coming this time around.

Installing and starting Dropbox:

Download the 64 bit nautilus-dropbox rpm from Dropbox site. Install it by double clicking it from it’s downloaded folder, which will also install the Dropbox repo (For now, Fedora 15 repo is not working. In future it will.). Start the Dropbox by installing the executables first.

$ dropbox start -i

It will download and install Dropbox binaries, which will also create Dropbox folder on your home directory. A Dropbox applet will be added to bottom right corner of the Desktop.

DVD and other multimedia playback and codecs:

Create an ATRPMS repo using vi or gedit /etc/yum.repos.d/atrpms.repo. Add the following:

[atrpms]

enabled=0

gpgcheck=1

name=Fedora Core \$releasever – \$basearch – ATrpms

baseurl=http://dl.atrpms.net/f\$releasever-\$basearch/atrpms/stable

gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

Leave it disabled, i.e.: enabled=0.

Now to play DVD, issue:

$ yum –enablerepo=atrpms install libdvdcss

For other players and codecs, issue:

$ yum install mplayer mplayer-gui vlc vlc-extras amarok mencoder gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg xine-lib xine-lib-extras-freeworld kdemultimedia-extras-freeworld

There are many other good players  and tools available for multimedia operations. Some of them are: Audacity, Acidrip, Banshee, Gecko, Kaffeine, DeVeDe, Cheese, K9Copy, EasyTag, etc.

And finally don’t forget to install Last FM Radio (www.last.fm) to tap into nonstop world music ranging from Pop, Classical, Indian, Chinese, Tibetan, Berber to any genre you can possibly find on the face of this planet. Issue:

$ yum install lastfm

You will never regret it. Oh, and it has exceptional controls to handle Last FM Radio.

Accessing Mac OS’s HFS+ partition:

I had trouble accessing my Mac OS partition’s Users directory. For example I couldn’t access my /Music, /Movies, /Pictures, etc. under my Users space. I left no stones unturned trying to solve this problem. I played around with /etc/fstab, trying all possible options like users, user, uid=500,gid=500 (500 is my user account’s user id), etc. But no results.

No matter what I did permission to Users directory was somehow assigned either to root:root or 501:games. What? 501?? And games??? There was no such user with UID=501 existed. Then how come permission to Users directory was assigned to 501? After a good amount of googling, I finally found answer.

In Mac OS X, UID (general User’s ID) starts from 501 and progress towards 502, 503, etc. as and when new users are added. Whereas in Linux/Unix UID starts from 500, 501, etc. Since my UID in Mac OS X is 501 and in Linux it’s 500, there was no way to assign permission to UID=500 under Linux.

Note: I DIDN’T want to use chown -R myusername:myusername “/Macintosh HD/Users/myusername, which will mess up user permissions under Mac OS X.

So, I finally decided to change my Linux myusername’s UID and it’s associated GID (Group ID) from 500 to 501.

To know real and effective user and group IDs, issue:

$ id myusername

To change user’s UID and GID, the user must be logged out and disconnected. It’s better restart the machine, go to console mode by pressing ALT+CTL+FN+F2 (or F3, F4,…,F6) and log in as root. Then issue following commands.

$ id myusername

$ usermod -u 501 myusername

$ groupmod -g 501 myusername

$ id myusername

Voila, now it’s done.

Better change ownership of user’s home directory (Issue “ls -l” under your user’s home directory. You would see still UID 500 is assigned to certain folders.). The change should be recursive, down to all subfolders. Issue:

$ chown -R myusername:myusername /home/myuserdirectory

(or)

$ chown -R 501:501 /home/myuserdirectory

Better restart. Or press ALT+CTL+FN+F1 to go back to graphical GUI mode. To mount the Mac OS’s HFS+ partition while booting, add the following line to /etc/fstab.

/dev/sda2 /media/Macintosh40HD hfsplus defaults 0 0

Where /dev/sda2 is my HFS+ partition on which Mac OS X is installed. “/media/Macintosh HD” is where the HFS+ partition is going to be mounted under Fedora 15. Default mounting mode is read-only. Better leave it as it is.

Now, my iTunes under Mac OS X and Amarok under Fedora 15 share same /media/Macintosh HD/Users/myusername/Music/iTunes directory. Only downside is Amarok access my mp3s and other audio files in read-only mode. It’s in fact better leave iTunes be the master of handling, organizing, tag editing, etc. your music files.

Other tips, tricks, troubles and troubleshooting.

Thanks for the read and please leave comments :)

About these ads