Mandrake Linux 9.1 Install Notes, Tips & Tricks ----------------------------------------------- Paul Littlefield Last Updated: Tue Apr 6 10:22:35 2004 ----------------------------------------------- TASKBAR ICON SIZE Right-Click > Size > Normal TEXT EDITOR: KATE + list of files being edited on the left + split screen console - no macro commands (like UPPERCASE, etc) MOUSE SPEED Configuration > KDE > Peripherals > Mouse SCREEN SAVER Configuration > KDE > LookNFeel > Screen Saver > Blank Screen SCREEN POWER MANAGEMENT Configuration > KDE > Power Control > Display LILO BOOT DEFAULT CHOICE Configuration > KDE > System > Boot Manager OR boot=/dev/hda map=/boot/map default="linux-smp" keytable=/boot/uk.klt prompt nowarn timeout=300 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz KDE SPEED TIPS AND TRICKS (NO ANTI-ALIASING) http://www.trylinuxSD.com/kde1/pages/kde29.html KDE SYSTEM FONT Mandrake Control Centre > DrakFont > Install Windows Fonts Configuration > KDE > LookNFeel > Fonts > Adjust All Fonts > Helvetica 10 KWRITE FONT Settings > Configure Editor > Fonts > Terminal Regular 12 NVIDIA VIDEO CARD DRIVERS (1) ** see below ** $ su - root $ vi /etc/inittab > id:3:initdefault: $ shutdown -r now $ su - root $ cd /usr/src/Downloads $ wget http://download.nvidia.com/XFree86/Linux-x86/1.0-4363/NVIDIA-Linux-x86-1.0-4363.run $ wget ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4363/README.txt $ chmod +x NVIDIA-Linux-x86-1.0-4363.run $ sh NVIDIA-Linux-x86-1.0-4363.run $ cp /etc/X11/XF86Config-4 /root $ vi /etc/X11/XF86Config-4 > Driver "nv" to Driver "nvidia" $ vi /etc/inittab > id:5:initdefault: $ shutdown -r now MOZILLA $ su - root $ tar zxvf mozilla-i686-pc-linux-gnu-1.4-installer.tar.gz $ cd mozilla-installer $ ./mozilla-installer $ cp /usr/share/icons/crystalsvg/48x48/apps/mozilla.png /usr/share/icons/large/ $ cp /usr/share/icons/crystalsvg/32x32/apps/mozilla.png /usr/share/icons/ $ cp /usr/share/icons/crystalsvg/16x16/apps/mozilla.png /usr/share/icons/mini/ $ logout JAVA AND MOZILLA PLUG-IN $ su - root $ cd /usr/src/Downloads $ chmod +x j2re-1_4_2-linux-i586-rpm.bin $ ./j2re-1_4_2-linux-i586-rpm.bin $ rpm -ivh j2re-1_4_2-linux-i586.rpm $ vi /etc/profile > JAVA_HOME="/usr/java/j2re1.4.2" export JAVA_HOME $ ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins/libjavaplugin_oji.so $ mkdir ~/.mozilla/plugins $ ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so ~/.mozilla/plugins/libjavaplugin_oji.so $ mkdir /home/paully/.mozilla/plugins $ ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /home/paully/.mozilla/plugins/libjavaplugin_oji.so $ chown -R paully.paully /home/paully/.mozilla/plugins $ logout Mozilla > Help > About Plug-ins > Java(TM) Plug-in 1.4.2-b28, File name: libjavaplugin_oji.so IGLOO FTP $ su - root $ cd /usr/src/Downloads $ wget ftp://iglooftp.com/pub/linux/IglooFTP-PRO-dyn-1.2.3-1.i386.rpm $ rpm -ivh IglooFTP-PRO-dyn-1.2.3-1.i386.rpm $ cp /usr/local/IglooFTP-PRO/share/icons/icon_32x32.png /usr/share/icons/iglooftp.png $ cp /usr/local/IglooFTP-PRO/share/icons/icon_48x48.png /usr/share/icons/large/iglooftp.png $ logout $ /usr/local/IglooFTP-PRO/bin/IglooFTP-PRO MACROMEDIA SHOCKWAVE FLASH PLUG-IN $ su - root $ cd /usr/src/Downloads $ wget http://download.macromedia.com/pub/shockwave/flash/english/linux/6.0r79/install_flash_player_6_linux.tar.gz $ tar zxvf install_flash_player_6_linux.tar.gz $ cd install_flash_player_6_linux $ ./flashplayer-installer $ logout F-PROT ANTIVIRUS $ su - root $ cd /usr/src/Downloads $ wget ftp://ftp-us.f-prot.com/pub/linux/fp-linux-ws.rpm $ rpm -ivh fp-linux-ws.rpm $ mkdir ~/Mail/Attachments $ touch av_mail_check $ chmod +x av_mail_check $ vi av_mail_check > /usr/local/f-prot/f-prot -dumb -archive -packed /home/paully/Mail; echo; echo "Press any key to continue..."; read; NVIDIA VIDEO CARD DRIVERS (2) # # This covers reinstalling your nVidia driver module # after you have updated your main linux kernel # $ rpm -Uvh kernel-2.4.21.0.18mdk-1-1mdk.i586.rpm $ rpm -ivh gcc-3.2.2-3mdk.i586.rpm $ rpm -ivh glibc-devel-2.3.1-10mdk.i586.rpm $ rpm -ivh ncurses-5.3-1.20030215.1mdk.i586.rpm $ urpmi ncurses-devel (** see below **) $ rpm -ivh kernel-source-2.4.21-0.18mdk.i586.rpm $ su - root $ vi /etc/inittab > id:3:initdefault: $ shutdown -r now $ su - root $ sh NVIDIA-Linux-x86-1.0-4363.run $ vi /etc/inittab > id:5:initdefault: $ shutdown -r now MANDRAKE'S NEW URPMI TOOL FOR INSTALLING PACKAGES # # This is the answer to many a headache of trying to # install a package from the shell when you don't know # which CD it's on or what dependencies it needs! # $ urpmi ncurses-devel # # This looked up the package in the RPM database and asked me # for CD # 1 then installed it and the necessary dependencies # CLEARING KONQUEROR'S BOOKMARKS FILE $ cp .kde/share/apps/konqueror/bookmarks.xml ~/Downloads/ $ rm .kde/share/apps/konqueror/bookmarks.xml $ touch .kde/share/apps/konqueror/bookmarks.xml TURN OFF FILE PREVIEWS IN KONQUEROR Konqueror > View > View Mode > Detailed List View > Column: Name > Column File Type SETTING DEFAULT TEXT EDITOR Konqueror > Settings > Configure Konqueror File Associations > Known Types > Text > Plain > Application Preference Order > KEdit OPENOFFICE AND MYSQL 1. Make sure you are root 2. Download the tarball from OpenOffice.org, and extract the tarball (.tar.gz file) to a temporary directory. "/tmp" is a good place for example. For the purpose of this example, I will assume you have downloaded the tarball to your /tmp directory. Open a terminal, such as xterm or konsole. To extract the tarball, change to the /tmp directory: cd /tmp and extract the tarball: "tar -zxvf [tarball name]". 3. This will create a directory "install". Change into this directory: "cd install." 4. Execute the install scripts. This is done with the following command: "./install --prefix=/opt" This command will setup the first step of the Linux setup process, and install to the /opt directory. For more install options, see ./install --help 5. When the installer is finished, you should execute the user-setup for OpenOffice.org. To do so, make sure you are no longer root - i.e. become a regular user, then change into the program directory where you installed OpenOffice.org: cd /opt/OpenOffice.org1.0, and execute the following command: "./setup" 6. The user portion of setup will now execute. Tell setup to perform a Workstation installation (should copy about 1.4 MB of files to your home directory) and tell it to store the files in your user directory under the OpenOffice.org1.0 directory (for example: "/home/billg/OpenOffice.org1.0"). Follow the instructions and fill in your contact details, and tell OpenOffice.org where your Java installation lives. When setup asks where to install the files for OpenOffice, Usually, OpenOffice.org will find Java on its own, but sometimes it need you to give the path to Java. (tip: if you don't know the path to your java setup, you can type in the command line: whereis java - this will give the path to your java installation) 7. That's it! If you use GNOME or KDE (provided your distro keeps the KDE user files in ~/.kde2), you will find that OpenOffice.org 1.0 is fully integrated in your environment. If you use a different Windowmanager, you can start OpenOffice.org 1.0 by typing ~/OpenOffice.org1.0/soffice 8. You may remove the install files in /tmp, if you are done installing. (thanks to Henrik Eismark for pointing this out) # # Installing MySQL support # $ vi /etc/profile $ export JAVA_HOME="/usr/java/j2re1.4.2" $ rpm -ivh libunixODBC2-2.2.4-1mdk.rpm $ rpm -ivh unixODBC-2.2.4-1mdk.rpm $ rpm -ivh libmysql10-3.23.55-1mdk.rpm $ rpm -ivh libmysql12-4.0.11a-5mdk.rpm $ rpm -ivh MySQL-client-4.0.11a-5mdk.rpm $ rpm -ivh MyODBC-3.51.06-1.rpm $ ln -s /usr/lib/libodbc.so.1 /usr/lib/libodbc.so $ ln -s /usr/lib/libodbcinst.so.1 /usr/lib/libodbcinst.so $ vi /etc/odbcinst.ini > [MySQL] Description = ODBC 3.51 Driver for MySQL Driver = /usr/local/lib/libmyodbc3.so FileUsage = 1 $ vi /home/paully/.odbc.ini [MySQL-bookpc] Description = office at bookpc Driver = MySQL SERVER = 192.168.0.11 PORT = 3306 USER = user Password = password Database = database OPTION = 3 SOCKET = OpenOffice > File > AutoPilot > Address Data Source > Other Extrenal Data Souyrce Database Type > MySQL > Use existing MyODBC data source > Data source URL > Choose Data Source Tables > Username > Password > Voila! SETTING KDE THEME AND DECORATION (SPEED TIPS #2) Configuration > KDE > LookNFeel > Background ~ Mode > Flat ~ Wallpaper > No Wallpaper ~ Advanced > No Blending Multiple Desktops > Number of Desktops > 1 Panels > Hiding > Panel Hiding Buttons > Untick both Style > Galaxy ~ Effects > Disable GUI Effects Window Decorations > Window Decoration > Laptop PLAYING DVD MOVIES # # Useful website addresses # # http://www.captaincss.tk/ # http://www.linurati.net/thewritings/Xandros_dvd.html # http://cambuca.ldhs.cetuc.puc-rio.br/~jcm/skyblade/XINE-0.9.13/i686.RPMs/ # # Download all the xine RPMs listed on the last website above # $ su - root $ rpm -Uvh *.rpm $ ldconfig -v $ logout $ man xine (for keyboard shortcuts) $ xine # # The trick here is selecting the NAV plugin which supports css encrypted DVD titles # Xine > Nav > Play or you can type 'xine dvdnav://' straight into the console READING APPLE MAC DISKS $ su - root $ supermount disable $ umount /mnt/cdrom $ modprobe hfs $ lsmod $ modinfo hfs $ mount -t hfs /dev/scd0 /mnt/cdrom SHOWING A DIRECTORY LAYOUT # # This will show you the recursive layout of a specified directory, # just like the good old 'tree' command in DOS # # find # # e.g. # # find /usr/src/RPM/ QUICK COPY AND PASTE CONSOLE COMMAND LINES # # Just double-click anywhere on the console line, # and then drag the highlighted line to the new command # WINE (1) ** see below ** # # This software has varying success, but is very exciting! # # The first part with the RPMs has a strange looping quirk, # where it would insists on a file from itself (which is impossible), # hence the need to use the --nodeps option on the latest Mandrake version. # $ su - root $ rpm -Uvh --nodeps libwine1-20030709-2mdk.i586.rpm $ rpm -Uvh --nodeps wine-20030709-2mdk.i586.rpm $ logout # # Before we run any software, we have to create the directories for our 'fake' Windows # $ cd ~ $ mkdir .wine $ mkdir .wine/c_drive $ mkdir .wine/c_drive/Windows $ mkdir .wine/c_drive/Windows/Fonts $ mkdir .wine/c_drive/Windows/Start\ Menu $ mkdir .wine/c_drive/Windows/Start\ Menu/Programs $ mkdir .wine/c_drive/Windows/System $ mkdir .wine/c_drive/Windows/System32 $ mkdir .wine/c_drive/Windows/Temp $ mkdir .wine/c_drive/Program\ Files $ mkdir .wine/c_drive/Program\ Files/Common\ Files # # Now copy the sample Windows .ini files to your .wine directory # $ cp /usr/share/wine/configsamples/system.ini .wine/c_drive/Windows/ $ cp /usr/share/wine/configsamples/win.ini .wine/c_drive/Windows/ $ cp /usr/share/wine/configsamples/config .wine/ # # Read the manual! # $ man wine.conf # # # $ vi .wine/config > ... [Drive C] "Path" = "/home/paully/.wine/c_drive" "Type" = "hd" "Label" = "Windows" "Filesystem" = "win95" ... ; the TrueType font dirs you want to make accessible to wine [FontDirs] ;; mounted windows drive font dir "dir1" = "/mnt/win_c/windows/Fonts" ;; standard ttf font dir "dir2" = "/usr/X11R6/lib/X11/fonts/TTF" # # Now root has to create a writeable ~tmp directory for each user # $ su - root $ mkdir /tmp/winetmp-paully $ chown -R paully.paully /tmp/winetmp-paully # # Now copy a test file like Notepad to your 'fake' Windows directory, # and keep your fingers crossed! # $ cp /mnt/win_c/windows/notepad.exe ~/.wine/c_drive/Windows/ $ /usr/bin/wine notepad.exe # # When you are feeling more adventurous, you can try installing something! # This is my first-time success with the latest Eudora 5.2.1... amazing! # $ /usr/bin/wine /mnt/win_e/cdrw/Eudora/Eudora5.2.1.exe $ /usr/bin/wine .wine/c_drive/Program\ Files/Eudora/Eudora.exe MANDRAKE UPDATE ROBOT # # This is the console software for updating your RPMs # similar to the 'up2date' system from RedHat # $ wget ftp://ftp.mirror.ac.uk/sites/sunsite.uio.no/pub/unix/Linux/Mandrake/Mandrake/9.1/contrib/i586/MandrakeUpdateRobot-1.2-2mdk.i586.rpm $ su - root $ rpm -ivh MandrakeUpdateRobot-1.2-2mdk.i586.rpm $ /usr/sbin/drakupdatesetup CLIENT_OR_SERVER=C BEHIND_A_PROXY=N MIRROR_LIST_URL=http://www.linux-mandrake.com/mirrorsfull.list FAVORITE_FTP_MIRROR= UPDATED_RPM_PACKAGE=/var/cache/grpmi MIRROR_LIST_FILE=/etc/urpmi/mirrorsfull.list DOWNLOADED_FILE_LIST=/etc/urpmi/ftp_directory_listing_only GNUPG_CHECK_SIGNATURE=Y CUSTOM_KERNEL_RECOMPILE=N BOOT_LOADER=lilo DELETE_RPM_CACHE=Y EMAIL_REPORT=root@localhost $ /usr/sbin/drakupdaterobot # # It took a few repeat attempts for it to fully download all # the new packages for my system but it did finish OK in the end :-) # $ reboot QUICKTIME MOVIES # # The trick here was to install the mplayer AND the win32 codecs. More information at: # http://rpmfind.net/linux/RPM/falsehope/home/rathann/mplayer/i386/mplayer-codecs-extralite-1.0-1.i386.html # $ su - root $ urpmi mplayer $ wget ftp://ftp.falsehope.com/home/rathann/mplayer/i386/mplayer-codecs-extralite-1.0-1.i386.rpm $ rpm -ivh mplayer-codecs-extralite-1.0-1.i386.rpm $ logout # # Now you can play Apple Quicktime .mov files directly from the command-line. # This command will play the movie full screen, but see $ man mplayer for more details. # (toggle full-screen mode with the 'f' key :-) # $ mplayer -fs Downloads/returnoftheking_nl480_dl.mov QUICKTIME MOVIES (2) # # This will install the mplayer-plugin which will enable you # to play movies DIRECTLY in the browser window! # # The following file is intended for RH9 but works fine on my Mandrake system. # You just need to copy the file to your OWN mozilla installation directory... # ...mine is /usr/local/mozilla/plugins # $ wget http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-0.95-1.9.i386.rpm $ su - root $ rpm -ivh mplayerplug-in-0.95-1.9.i386.rpm $ cp /usr/lib/mozilla/plugins/mplayerplug-in.so /usr/local/mozilla/plugins/ $ logout # # Now restart Mozilla and you will see an entry in 'Help > About Plug-ins' for mplayer! # Try http://www.apple.com/trailers for loads of cool movies to watch. # WINE (2) # # This is the second, newer set of instructions for Wine. # # It appears Mandrake has simplified things for installation, # and I have discovered the neat WineSetup program! # # First, download and install the latest .rpms... # $ su - root $ rpm -Uvh http://heanet.dl.sourceforge.net/sourceforge/wine/wine-20031016-mdk.i586.rpm $ rpm -Uvh http://heanet.dl.sourceforge.net/sourceforge/wine/winesetuptk-0.6.1-b.i586.rpm $ wget http://heanet.dl.sourceforge.net/sourceforge/wine/wine_programs_for_windows.zip $ wget http://heanet.dl.sourceforge.net/sourceforge/wine/dcom95.exe $ logout # # Now start the WineSetup program as a normal user. This will create the # all important ~/.wine/config and .reg files used by the program. # $ winesetuptk # # The ~/.wine/config file has entries like this... # ...the crucial ones are {Drive C], [wine] and [fonts]... # # [Drive A] # "Type" = "floppy" # "Path" = "/mnt/floppy" # "Label" = "/mnt/floppy" # "Device" = "/dev/floppy/0" # # [Drive C] # "Path" = "/home/paully/.wine/c_drive" # "Type" = "hd" # "Device" = "" # "Filesystem" = "win95" # # [Drive D] # "Path" = "/mnt/cdrom" # "Type" = "cdrom" # "Device" = "/dev/cdroms/../ide/host0/bus1/target0/lun0/cd" # "Filesystem" = "win95" # # [wine] # "Windows" = "C:\\Windows" # "System" = "C:\\Windows\\System" # "Temp" = "X:\\" # "Path" = "C:\\Windows;C:\\Windows\\System;X:\\;Y:\\" # "GraphicsDriver" = "x11drv" # # Excellent documentation is here: http://www.winehq.com/site/docs/wine-user/index # Great website for showing how to get Windows applications running: http://frankscorner.org # # Now uncompress the file 'wine_programs_for_windows.zip' using Ark or whatever. # This will enable you to test your new Wine installation with the basics... # # /usr/bin/wine --version $ /usr/bin/wine /home/paully/tmp/wine_programs_for_windows/notepad.exe $ /usr/bin/wine /home/paully/tmp/wine_programs_for_windows/winemine.exe $ /usr/bin/wine /home/paully/tmp/wine_programs_for_windows/regedit.exe # # Now we can progress to installing something simple... # # # # MOZILLA AND MAILTO: LINKS # # Install the fabulous 'mozex' plugin which allows you # to specify any external clients for email, ftp, etc. # # Start Mozilla and go to the following website address... # http://mozex.mozdev.org/installation.html # ...then follow the link to install the software. # Close and restart Mozilla, then go to the menus # Edit > Preferences > Mozex # # For KMail use: kmail -s %s -c %c --body %b %a # PRINTING TO WINDOWS FROM LINUX # # Use the Mandrake Control Centre (printdrak) to add # the Windows printer. Make sure you choose 'Advanced' setup # then follow the steps to add a SMB/Windows printer # # The CUPS web-based Control Panel is here: # http://localhost:631 # # Excellent webpage with instructions (thanks to Stuart Buckland from KLUG): # http://tldp.org/HOWTO/Debian-and-Windows-Shared-Printing/printing_to_windows.html # # This command shows what shares are available on the destination IP: # $ /usr/bin/smbclient -I 192.168.0.103 -L LAPTOP -N added interface ip=192.168.0.12 bcast=192.168.0.255 nmask=255.255.255.0 Sharename Type Comment --------- ---- ------- PRINTER$ Disk HP Printer MANDY Disk IPC$ IPC Remote Inter Process Communication Server Comment --------- ------- BOOKPC Samba Server 2.2.7-security-rollup-fix LAPTOP Fujitsu LifeBook B110 Workgroup Master --------- ------- LITTLEFIELD BOOKPC # # This command shows what printers are available: # $ lpstat-cups -a EPSONStylusCOLOR600 accepting requests since Jan 01 00:00 HP accepting requests since Jan 01 00:00 # # This command prints a PostScript file to the remote printer (HP): # $ lp-cups -d HP /home/paully/tmp/cups.ps request id is HP-209 (1 file(s)) # # # THE MOZILLA GOOGLE TOOLBAR # # This adds the wonderful Google Toolbar to Mozilla. # It's unofficial, but works absolutely fine! # # http://googlebar.mozdev.org/ # # Just go to the above website and follow the instructions! # I downloaded the latest 'Experimental Version' 0.8.0.09 # # QUAKE # # This will help you to get Quake for X-Windows running, # which is always nice to play for all-times sake! # # http://www.tldp.org/HOWTO/Quake-HOWTO.html # $ su - root $ cd /usr/local/games/quake $ wget ftp://ftp.idsoftware.com/idstuff/unsup/unix/quake.x11-1.0-i386-unknown-linux2.0.tar.gz $ cp /usr/local/games/quake/libMesaGL.so.2 /usr/local/lib $ vi /etc/ld.so.conf -> /usr/local/lib $ ldconfig # # The following command (ldd) shows you which files Quake is dependant on # and which it has successfully found. This example shows 3 'not found' # $ ldd glquake libm.so.5 => /usr/i486-linux-libc5/lib/libm.so.5 (0x40013000) libMesaGL.so.2 => /usr/local/lib/libMesaGL.so.2 (0x4001b000) libglide2x.so => /usr/lib/libglide2x.so (0x400d0000) libX11.so.6 => not found libXext.so.6 => not found libvga.so.1 => not found libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x40227000) libtexus.so => /usr/lib/libtexus.so (0x402f0000) libc.so.6 => /lib/libc.so.6 (0x4046d000) ld-linux.so.2 => /lib/ld-linux.so.2 (0x4059c000) # # So, we install some more dependencies to sort out the problem... # $ rpm -ivh /home/paully/Downloads/ld.so1-1.9.11-10mdk.i586.rpm $ rpm -ivh /home/paully/Downloads/libc-base-5.3.12-38mdk.i586.rpm $ rpm -ivh /home/paully/Downloads/libc-extras-5.3.12-38mdk.i586.rpm # # ...and we can now run ./quake.x11, which will start it in a very small window # This can be tweaked with ./quake.x11 -width 1024 -height 768 # # # I now tried to get GLQuake running, with these files... # $ urpmi Glide_V2 $ rpm -ivh /home/paully/Downloads/Glide_V2-devel-2.53-7mdk.i586.rpm # # ...but still no joy, and I don't think it will either :-( QUAKE II # # http://www.tldp.org/HOWTO/Quake-HOWTO.html # # Lovely! HOW TO RECORD CDS ON THE CONSOLE COMMAND LINE # # http://www.faqs.org/docs/Linux-HOWTO/CD-Writing-HOWTO.html # $ su - root # # Make a copy of an existing CD... # $ dd if=/dev/cdrom0 of=/backup/cdrom.img # # OR create a new CD image from a directory... # $ mkisofs -r -o /backup/cdrom.img /path/to/folder/ # # Test it to make sure it's alright... # $ modprobe loop $ mount -t iso9660 -o ro,loop=/dev/loop0 /backup/cdrom.img /mnt/cdrom $ ls -la /mn/cdrom $ umount /mnt/cdrom # # Find out where your CDRW is... # $ cdrecord -scanbus # # Record a CD... # $ cdrecord -v speed=12 dev=0,0,0 -data /backup/cdrom.img HOW TO CREATE A PDF OF ANYTHING # # Most of the PDF creation you will do will come from the # great OpenOffice.org 1.1.1 applications, like Writer. # # If you want to create a PDF of anything else, like a web page, # then you need the package Ghostscript, which includes the wonderful # binary 'ps2pdf' for converting a Postscript file to PDF format. # # 1. Mozilla > File > Print > Print To: File > /path/to/filename.ps # 2. ps2pdf /path/to/filename.ps /path/to/filename.pdf #