The Perfect Desktop - Part 2: Mandriva Free 2007 - Page 08

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sun, 2007-02-25 19:08. ::

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 save the file on your hard disk (e.g. your desktop):

You can then install the rpm package as shown in chapter 10.

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 save the file on your hard disk (e.g. your desktop):

Afterwards you can install the rpm file as shown in chapter 10.

 

16 Opera

Go to http://www.opera.com/download/ in your browser and select Mandriva as distribution, then Mandriva Linux 2006, 2007. Click on the Download Opera button and save the file to your hard disk (e.g. your desktop):

Afterwards you can install the rpm file as shown in chapter 10.

 

17 Google Picasa

Open Firefox and download the file http://dl.google.com/linux/rpm/stable/i386/picasa-2.2.2820-5.i386.rpm to your desktop.

Afterwards you can install the rpm file as shown in chapter 10.

 

18 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] TrueType 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.