The Perfect Desktop - Mandriva 2007 Spring Free (Mandriva 2007.1) - Page 08

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Tue, 2007-05-08 16:30. ::

14 Adobe Reader

To download Adobe Reader, go to http://www.adobe.com/products/acrobat/readstep2_allversions.html and select the following:

Operating system: Unix/Linux
Version: Linux (.rpm)
Your language

Then click on Continue:

Then click on the Download Adobe Reader button and install the package exactly as shown for the TrueType fonts in chapter 11:

Afterwards, you will find Adobe Reader in Applications > Office (I ended up with two Adobe Reader icons, I'm not sure why, but it doesn't hurt, so I don't change it):

When you click on one of them, most probably Adobe Reader won't start. Also, when you open a terminal and run

acroread

you will most likely get a loop of

expr: syntax error

errors.

This can be fixed with a small modification in the file /usr/local/Adobe/Acrobat7.0/bin/acroread. To edit it, we must have root privileges, so open a terminal and become root:

su

Then run

gedit /usr/local/Adobe/Acrobat7.0/bin/acroread

A text editor will start with the contents of /usr/local/Adobe/Acrobat7.0/bin/acroread. Find the get_gtk_file_ver() function in that file and replace

echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

with

echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

(or comment out the first line and add the second one). After your modification, the get_gtk_file_ver() function should look like this:

get_gtk_file_ver()
{
           if [ -f "$1" ]; then
            if [ -h "$1" ]; then
                    ifile=`readlink $1`
                    if [ $? -eq 1 ]; then
                                   return 1
                    fi
        fi

                   mfile=`basename $ifile`
            echo $mfile | grep -q "libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\).\([0-9]*\)" 2>/dev/null

                   if [ $? -ne 0 ]; then
           return 1
        fi

                   #echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
                   echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
        return 0
    fi

    return 1
}

Save the file and close the text editor. Afterwards Adobe Reader should start without problems:

 

15 Skype

To download Skype, go to http://www.skype.com/download/skype/linux/, choose RPM for Mandriva 10.1 and newer, and install it exactly as shown for the TrueType fonts in chapter 11:

 

16 Google Picasa

Open Firefox, download the file http://dl.google.com/linux/rpm/stable/i386/picasa-2.2.2820-5.i386.rpm, and install it exactly as shown for the TrueType fonts in chapter 11.

 

17 Inventory (III)

Browse the Applications menu again and check what you've got installed so far.

Your list should look like this now:

Graphics:
[x] The GIMP
[x] F-Spot
[x] Picasa

Internet:
[x] Firefox
[x] Opera
[x] Flash Player
[x] gFTP
[x] Thunderbird
[x] Evolution
[x] aMule
[x] Bittorrent
[x] Azureus
[x] Gaim
[x] Skype
[x] Google Earth
[x] Xchat IRC

Office:
[x] OpenOffice Writer
[x] OpenOffice Calc
[x] Adobe Reader
[x] GnuCash
[x] Scribus

Sound & Video:
[x] Amarok
[x] Audacity
[x] Banshee
[x] MPlayer
[x] Rhythmbox Music Player
[x] gtkPod
[x] XMMS
[x] dvd::rip
[x] Kino
[x] Sound Juicer CD Extractor
[x] VLC Media Player
[x] Real Player
[x] Totem
[x] Xine
[x] GnomeBaker
[x] K3B
[x] Multimedia-Codecs

Programming:
[x] Nvu
[x] Bluefish
[x] Quanta Plus

Other:
[ ] VMware Server
[x] True Type fonts
[x] Java

So everything is installed except for VMware Server...


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.