User's Manual

Welcome!

Welcome to the world of Linux and MEPIS. If you have just booted the MEPIS Linux LiveCD, you have the opportunity to explore some of the features of a whole new computer operating system before you decide to install it! Exploration, evaluation, comparison. . .decision. So far you have taken the first solid step toward a better computing experience, so enjoy exploring MEPIS Linux 8.0!

MEPIS Linux 8.0 is based on Debian 5.0, codename “Lenny,” though the Kernel version is actually the newer 2.6.27. In view of stability and software availability, KDE 3.5x is provided as the desktop environment.


A Note from The Developer of MEPIS

Relax—you're among friends. The MEPIS community includes tens of thousands of people like you who want to work and play on their computer free of blank blue screens, viruses, and spyware—while paying only a fair and modest price for all of the software they need.

MEPIS Linux is intended to be easy to try, easy to install, and easy to use. This guide is meant to be your roadmap for getting started with MEPIS Linux. We show you how to boot from CD, how to test drive MEPIS Linux, how to install on your hard drive, and how to start using MEPIS Linux as a complete replacement for your current operating system.

You'll find lots of helpful people at the MEPIS forum sites listed in Section 11, along with many other resources to get you started.

If you are a developer, you have the freedom to remaster a customized version of MEPIS Linux. We have people who have done that. In fact one of them did such a nice job of converting MEPIS Linux into a distro to use for old computers with low processing power and RAM by today's standards, that we invited him to become a member of the official MEPIS family, with his antiX Operating System.

But it doesn't matter who you are. From computer professional to first-time computer user, we have tried to make an operating system for you. . . for free. . .for whatever you need to accomplish.

Good luck and have fun!
— Warren







1.1:  About MEPIS Linux

MEPIS Linux is a ready-to-use desktop operating system for PC computers that have Intel or AMD processors with either 32 or 64 bit architecture and for Apple computers with Intel processors. It is designed to work side-by-side with Microsoft's Windows or Apple's Mac OS X in a dual-boot configuration, or to replace your old Operating System entirely.

MEPIS Linux 8.0 comes in two different versions:

The 32-bit version will work for 64-bit architecture and may actually be better for many users, because they will have more software available and their installation may be more foolproof and reliable. The only advantage of 64-bit is that it is faster for a few applications and possibly more on the cutting edge of technology.

For system requirements and recommendations, please consult Section 3.1.

MEPIS LLC and MEPIS Linux were founded by industry veteran Warren Woodford in November 2002 to create a user-friendly Linux version that “just works” based on Debian Linux. The first release was in May 2003. In July 2006, MEPIS transitioned with the release of 6.0 from using Debian packages to using packages and repositories from Ubuntu 6.06LTS (“Dapper Drake”).

A major upgrade (6.5) came out in April 2007, introducing for the first time 64-bit and Mactel support. A few months later, anticapitalista, a member of the European MEPIS community, released his well-received antiX based on a MEPIS Linux core and optimized for old and low-spec computers.

In Version 7.0, released in December, 2007, MEPIS Linux switched its base to a combination of MEPIS packaged binaries, based on Debian and Ubuntu source code, combined with a Debian Stable OS core and extra packages from Debian package pools. As the developer explains: “By using the latest Debian and Ubuntu source code for building user applications, we can provide the best latest versions of the applications users want the most. And by building on top of a Debian Stable core, we can provide a release that has the stability and long life that users want.”

MEPIS development continues to track Debian development, so that MEPIS 8.0 is being released as “Lenny” becomes the new Debian Stable 5.0.

If you use MEPIS Linux, please consider paying for your copy by contributing or shopping at the store.

MEPIS contributions: http://www.mepis.org/store/sku142
MEPIS Store: http://www.mepis.org/store.
Wikipedia: Warren Woodford: http://en.wikipedia.org/wiki/Warren_Woodford
Debian Lenny: http://www.debian.org/releases/lenny/







1.2: This User's Manual

This User's Manual is the product of large group of volunteers from the MEPIS user community. As such, it will inevitably contain errors and omissions, although we have worked hard to minimize them. Please send us suggestions for improvement using one of the methods listed in the left panel.

The Manual is designed to walk new users through the steps of obtaining a copy of MEPIS Linux 8.0, installing it, configuring it to work with one's own hardware, and putting it to daily use. Updates will be available on a regular basis through the standard package procedures.

If you are looking for something in particular,you can use the menu in the left panel, the Table of Contents, or the browser's search function (Ctrl+F)

Some terms that might be unfamiliar to some readers appear in green. Hover your mouse over one of these words for a brief definition, or click on it to go to the Glossary entry for that term. Your browser's back button will return you to your original spot. Or right-click on the special term link and choose Open in new Window or Open in new Tab.

All content is © 2009 by MEPIS LLC and released under Creative Commons Attribution 2.5. Citation should read:

MEPIS Community Documentation Project: 2009. MEPIS 8.0 User's Manual [Version 1.1]

For help outside the scope of this Manual, see Section 11.

Creative Commons license: http://creativecommons.org/licenses/by/2.5/







2.1:    Getting MEPIS

Introduction

The MEPIS Linux LiveCD (or LiveDVD) boots your computer right from the CD or other bootable medium without accessing the hard disk. It copies a virtual filesystem into RAM that acts as the center of a temporary operating system for the computer. When you end your LiveCD session, everything about your computer is back to the way it was, unchanged.

This provides a number of benefits:

Running from the LiveCD also has some disadvantages:

How to get a MEPIS LiveCD

If you don't have a copy of MEPIS Linux 8.0 on a CD or DVD already, here are the ways to obtain a copy.

Buy From MEPIS

The advantages of buying your LiveCD from MEPIS include ease of setup and —with a subscription— early access to upgrades and new versions.

  1. Get the latest version of MEPIS Linux on CD or DVD, shipped to you.
  2. Pay a subscription fee at the MEPIS Store and download directly from our FTP server.

MEPIS Store: http://www.mepis.org/store

Free Download

You can download any testing or final release versions of MEPIS Linux for free from one of the public mirror sites listed on the page linked below. Sometimes the mirrors are a bit behind the MEPIS Subscription download site, and some mirrors get out-of-date from time to time. If you can't find a particular version at one site, it may be available at one of the other sites. Downloading the current MEPIS ISO via bit-torrent is also an option.

The LiveCD you download is actually an ISO: a disk image file in the ISO 9660 file system format. Before trying to turn it into a Mepis LiveCD, please consult Section 2.2.

If you use a free version of MEPIS Linux, please consider making a donation to support further development of MEPIS Linux.

Download MEPIS: http://www.mepis.org/mirrors
MEPIS torrents: http://www.mepiscommunity.org/en/node/54









2.2:    Obtaining & verifying the ISO

Introduction

This page provides guidance if you intend to download an ISO and burn your own CD or DVD instead of buying it from the Mepis Store.

Downloading MEPIS Linux

Here are a few considerations to keep in mind:



Downloading MEPIS Linux via BitTorrent

BitTorrent file sharing (see also Section 8.1) provides an internet protocol for efficient mass transfer of data. It decentralizes the transfer in such a way as to utilize good bandwidth connections and to minimize strain on low-bandwith connections. An added benefit is that most, if not all, BitTorrent clients perform error checking during the download process, so there is no need to do a separate md5sum check after your download is complete. It has already been done!

The MEPIS Torrent Team also maintains a seeded bit-torrent swarm of the latest MEPIS Linux ISO, registered at LinuxTracker within 24 hours of its official release. Bit-torrent downloads may be somewhat slow following a major release. See: MEPIS Torrent Team Project.

If you are not familiar with BitTorrents, see the Links and Guides section for sources of more information.

If you are downloading a MEPIS Linux ISO via BitTorrent, you can skip the next section about verifying the md5sum and go directly to 2.3: Burning the CD



Verifying the md5sum

After you have downloaded an ISO, the next step is to check its md5sum against the official one. The md5sum is the result of a complex calculation on the contents of a file: the outcome is a unique string. It will be identical to the official md5sum if your copy is authentic. The following steps will let you verify the integrity of the downloaded ISO on any OS platform:

md5sum: Windows

Windows users should download a tool called md5summer (link below):

  1. Download the self-extracting .exe file. Double-click it to put 2 files in the current directory: md5summer.exe and md5summer.md5
  2. Run md5summer.exe, respond “yes” to associate extension .md5 with md5summer program.
  3. Now you can either double-click on the .md5 file and the program will check the md5 sum automatically, or from inside the md5summer program you can select the location of the .ISO and .md5 files, and then click “verify sums” and select the .md5 file you want to check.

md5sum: Linux

Method 1. The easiest way to check an ISO's integrity in Linux is to use K3b, the CD/DVD burner that is installed with MEPIS Linux 8.0. When you first load an ISO file into K3b, it will automatically calculate and display the md5sum. You can be confident the download is valid if the final five characters match those in the md5sum file you downloaded with the ISO.

Method 2. If not using K3b, open up a console/terminal and type:

cd /directoryname

where directoryname indicates the location of the ISO and md5sum files (usually /dev/cdrom). Then type:

md5sum filename.iso

Be sure to replace filename with the actual filename (type in the first couple of letters then hit Tab and it will be filled in automatically).

Compare the number obtained by this calculation with the md5sum file downloaded from official site. If they are identical, your copy is identical to the official release.

md5sum: Mac

Mac users need to open up a console/terminal and change into the directory with the ISO and md5sum files. Then issue this command:

md5 -c filename.md5sum

Be sure to replace filename with the actual filename (type in the first couple of letters then hit Tab and it will be filled in automatically).









2.3:    Burning the CD

Introduction

Once you have successfully downloaded an ISO and verified its integrity, you are ready to create a LiveCD or DVD.

General tips

  1. Most important: do not burn the ISO onto a blank CD as if it were a data file! An ISO is a formatted image of an entire CD. You need to choose Burn disk image or Burn ISO in the menu of your CD burning program. If you just drag and drop it into a file list and burn it as a regular file, you will not get a bootable LiveCD.
  2. Use the correct medium:
    • A good quality blank CD that specifies 700MB or 80 minutes.
    • A good quality DVD-5 with a 4.6 GB capacity.
    • The developer of MEPIS Linux recommends blank CDs and DVDs manufactured by Taiyo Yuden as excellent quality at a reasonable price.


Burning the ISO

Linux

The following method describes burning with K3b, the default application in MEPIS Linux, but you can use any burner or the command line just as well.

  1. Right-click the ISO and select Open with --> K3b
  2. Wait until the md5sum is calculated, then compare it with the one that you downloaded with the ISO: the md5sum should match, otherwise it means you have a corrupted file.
  3. Check verify written data. After the CD/DVD is written, K3b will read it and compare the result with the MD5 sum of the ISO.

Windows

If you already have a CD burning program installed on your computer such as Nero and EasyCD Creator (Roxio), go directly to Step 2.

  1. Download and install a CD or DVD Burner such as Cheetah (follow link below).
  2. Put a blank medium in your drive. Start the burner, and click Start and choose Burn ISO File (other wording may be used). In Nero and Roxio there is a similar command to Burn a Disk Image or ISO.

NOTE: the program names here are used as examples only, and no endorsement or guarantee is intended.


Mac

You probably already have Toast (Roxio) or a similar CD/DVD burning program installed. Just follow Step 2 above.



Verify the integrity

It is a good idea to verify the integrity of the burn, just as you did of the ISO (in Section 2:2). If you didn't burn your new MEPIS Linux LiveCD/DVD with a program that can verify the data after the burn, you can check its integrity another way.


Linux

In terminal type:

md5sum /dev/cdrom

Depending on your system you might need to replace cdrom with cdrom1 or another device name like hdc or scd0 (/dev/cdrom is the first CD drive, /dev/cdrom1 is the second one, etc.). Check /etc/fstab to see the device names on your system.

Wait for the MD5 sum to be calculated, and compare it with the sum obtained from the download site: they should be the same.


Windows

  1. Get the free version of the Windows application IsoBuster from the link below.
  2. Insert CD in drive.
  3. Run IsoBuster as Administrator.
  4. In registration dialog, select “Free funct. only”.
  5. In left pane, right-click on CD (top line) to get context menu, and select: MD5 Checksum file --> Create MD5 Checksum --> For image file with 2048 bytes/block.
  6. Compare the MD5 in the .tao line of the output with that of the downloaded ISO.

NOTE: the Windows program cited here is used as an example only, no endorsement or guarantee is intended.


Mac

When you select to verify the data in Toast or another burner, a byte-for-byte comparison with the ISO file will be carried out to check the CD's integrity.

Troubleshooting

If you verified the md5sum of the ISO before you burned, but the CD-ROM you burned is no good:









3:     Pre-Installation

3.0:     Introduction

Before launching into an installation of MEPIS Linux, there are a few steps you will want to take. This includes checking your hardware for compatibility issues, preparing your hard drive, and backing up any important files from your current operating system.

Pre-installation steps:









3.1:     System requirements

Introduction

The following are minimum and recommended hardware requirements for installing MEPIS Linux 8.0. Keep in mind the following:



Minimum specifications

MEPIS Linux-32

MEPIS Linux-64


antiX MEPIS Linux





Optional specifications

A graphics card capable of handling 3D window managers (see Section 9.5):







3.2:     Coming from Windows®

Introduction

If you are going to install MEPIS Linux 8.0 as a replacement for Microsoft Windows®, it is a good idea to consolidate and back up your files and other data currently stored in Windows. Even if you are planning to dual-boot, you should make a backup of this data in case of unforeseen problems during the install.



Backing up files

Locate all of your files, such as office documents, pictures, video, or music:



Backing up email, calendar, and contact data

Depending on the email or calendar program you use, your email and calendar data may not be saved in an obvious location or under an obvious file name. Most email or scheduling applications (such as Microsoft Outlook®) are able to export this data in one or more file formats. Consult your application's help documentation to find out how to export the data.



Using Windows XP SP2 CD to create a backup

If you have a copy of the original WinXP CD (SP2 only!), insert it into your drive when you're in Windows and when the autorunner starts choose Perform additional tasks --> Transfer Files and Settings, then Old computer to backup most of your files and preferences for Windows-based programs to a file on your hard disk, which can then be burned to a CD or DVD for restoration later if things go wrong.

NOTES: 1) The resulting file can grow to huge proportions. There is no option to split the file if it grows too big, so choose the option to transfer only the settings and copy the remaining files you want to keep separately. 2) Do not rely on this method to backup email and browser data for other programs than Microsoft's own.

Accounts and passwords

Although not usually stored in readable files that can be backed up, it's important to remember to make note of various account information you may have saved in your computer. Your automatic log-in data for websites or services like your ISP will have to be entered in all over again, so make sure to store off disk the information you need to access these services again. Examples include:



Browser favorites

Web browser favorites (a.k.a. bookmarks) are often overlooked during a backup, and they are not usually stored in a conspicuous place. Most browsers contain a utility to export your bookmarks to a file, which can then be imported into the web browser of your choice in MEPIS Linux. Here are some export methods for common web browsers:



Software licenses

Many proprietary programs for Windows are not installable without a license key or CD key. Unless you are set on doing away with Windows permanently, make sure you have a license key for any program that requires it. If you do decide to reinstall Windows (or if dual-boot setup goes awry), you will be unable to reinstall these programs without the key.

If you cannot find the paper license that came with your product, you may be able to locate it in the Windows registry, or using keyfinder software (example link below).









3.3:     Booting and using the LiveCD

Booting to the LiveCD

Insert the disk into your CD or DVD drive and restart your computer. You may need to set your system to boot from the CDROM first, see Troubleshooting below for details.

Once you have booted to the CD, you will be presented with a menu offering various choices; these are handled by a bootloader named GRUB that allows you to have several operating systems on your computer. The default boot choice should work for most computers.

Make sure to note the function keys at the bottom of the screen:

When GRUB hands off the booting process to the Linux kernel, you will see a MEPIS graphical screen, called “Splashy”, with an expanding horizontal bar that indicates booting progress. If you hit the ctrl-alt-F1 keys together Splashy will be disabled, and you can view a console screen and read the booting messages that echo on the screen. Sometimes this can be helpful in troubleshooting boot problems.

If all has gone well, you should be looking at a graphical login screen asking for a username and password. Type in demo for both and hit Enter to log in to MEPIS Linux.



First look

Kicker

At the bottom of your screen, you will see a panel known as the Kicker:


Kicker

Icon key:

KMenu

There are a few programs you may want to investigate while booted to the LiveCD:

For more information on available applications, see Section 8.



Testing hardware compatibility

One of the best things about the LiveCD is that you can use it to test your hardware's compatibility with MEPIS Linux without installing it to your hard drive. Keep in mind that in general everything runs much more slowly from the LiveCD.

While booted to the LiveCD, make sure you test:

Some hardware may require the installation of drivers to work correctly; although this is usually done after a hard drive install, it is possible to use the boot option aufs which will allow you to temporarily install a driver (or other software) to your LiveCD session. For details, see the link under Links and Guides.



Troubleshooting

CD won't boot. If you have checked the integrity of your ISO, make sure your computer is set to boot to the CD drive. Newer computers often have a hotkey such as F8, F10, or F12 which will invoke a boot device menu when pressed during startup. For older machines, you may need to edit your system's boot device order in the CMOS (BIOS) settings. Please consult your system's operating manual for the correct procedure.

LiveCD stops during boot, or once booted performs exceptionally poorly. Try some of the Boot Options that can be found by clicking F1 on the opening screen (GRUB). Problems with hardware, for instance, can often be overcome by entering noacpi, noapic, and/or nolapic.









3.4:     Partitioning the hard drive

Introduction

Before starting the install, you may wish to prepare the partitions on your hard drive to install MEPIS Linux 8.0. You can do this during installation, but it is recommended that you do it before starting the install. Note that some older hardware may require a restart after the partition tables are edited.

About partitioning

To prepare the hard drive for MEPIS Linux 8.0, it is recommended that you create three partitions: one for the root of the filesystem, one for the user home directories, and one for swap (virtual memory). You do not have to create a separate home, but it makes upgrades easier and protects against problems caused by users filling up the drive.

How big should the partitions be?

Hard drive names in MEPIS Linux

Before you begin editing partitions, it is critical that you understand how MEPIS Linux (and other Linux operating systems) refers to hard drives and hard drive partitions.

Unlike Windows, which assigns a “drive letter” to each of your hard drive partitions, MEPIS Linux 8.0 assigns a short device name to each hard drive or storage device on a system. The device names always start with sd plus a single letter. For instance, the first drive on your system will be sda, the second sdb, etc. Within each drive every partition is referred to as a number appended to the device name.

Thus, for instance, “sda1” would be the first partition on the first hard drive, while “sdb3” would be the third partition on the second drive. It is important to understand the difference between referring to an entire device (such as sda) and a partition on the device (such as sda1).


Resizing an NTFS partition

Resizing an NTFS (Windows NT File System) partition with GParted is generally a painless and simple procedure. However there are some small risks, particularly if your hard drive is old or very full. You can mitigate these risks by taking the following steps on your Windows installation (consult your online Windows help (F1) if you are unsure how to perform any of these tasks):

Resizing steps:
  1. From the LiveCD click KMenu --> System --> Filesystem --> GParted. NOTE: if for some reason GParted doesn't work right, you can try a similar program QTParted that's also installed, and cfdisk is a good command line utility.
  2. In GParted select the drive then select the partition. Note that you can only resize the partition where MEPIS Linux itself is installed by using the LiveCD.
  3. Right-click on the partition and select “Resize”. Choose the new size of the partition. The free space that will remain will be used for MEPIS Linux installation; make sure the “free space after” resizing is larger than the minimum required size for your version of MEPIS Linux (see minimum/recommended specifications). Click “OK”
  4. Right-click on the “free” partition and select “Create”.
  5. Select Partition Type: linux-swap. Enter the size you have chosen. Click “OK”.
  6. Right-click on the “free” partition and select “Create”.
  7. Select Ext3 and allot the amount of space you have chosen for root. Click “OK”.
  8. Repeat the last steps to create a partition for home.
  9. Click on the disk icon or go to File --> Commit, respond “Yes” to the dialog. GParted will now repartition your drive; at the end you should get a message that the operation was completed successfully.
  10. Very Important! Note down the partition numbers/names as displayed in the new partition layout (e.g., sda3). You will need this information when choosing what partition number/name to install Mepis on, and to ensure that you do not overwrite your Windows partition!


Other partitioning considerations









4:    Installation

4.0 Introduction

The motto of MEPIS Linux 8.0 is “Easy to try, easy to install, easy to use.” And indeed, you will most likely discover that MEPIS Linux is the easiest and friendliest operating system installation you have ever used.







4.1 Detailed steps

At this point, you should have done the following:

Now all you will need to do is run through the simple installation wizard and then restart your machine. Depending on your configuration, this will probably take less than 15 minutes, and could even be as little as 5 minutes!

These instructions should cover most installation scenarios; for more details or for unusual circumstances, see the links below.

Before you begin

In most cases the MEPIS Linux 8.0 installation process should go fine. But sometimes things can go wrong (because of user error, for instance) and potentially wipe out the contents of your hard drive. If you are not prepared for that possibility, stop now and protect your data.



Launch the Installer

Boot to the LiveCD, logging in as demo, and click on the MEPIS Install icon once you are looking at the desktop. When prompted for a password, enter root.

License and Terms

Read through the license and terms of use. Check I agree to Terms and click Next.

Page 1

Select the disk on which you wish to install MEPIS Linux 8.0. Refer to Section 3.4 if you are not sure what the Linux hard drive names mean. What you do next is determined by how you wish to set up your computer:

Page 2

If you chose Auto-install using entire disk on the last page, you will not see this page. Skip to the next step.

Page 3

MEPIS Linux 8.0 will now begin the install. You will be prompted to confirm the formatting of each partition. Answer “YES” to each, then sit back and relax while MEPIS Linux is copied to your hard drive.

Page 4

You now need to install GRUB, the bootloader (see Section 5.4). In most cases, you should go with the default setting (MBR). If you are concerned about writing to your hard drive's MBR, and wish to install to the MEPIS Linux root partition instead, select root (note that you will need to manually edit the existing boot loader to boot to MEPIS Linux, either directly or by chainloading).

If you are installing to MBR and have more than one hard drive, make sure you have the correct drive selected for “system boot disk.” Usually this will be the first drive on the system (sda).

NOTE: The initrd option is only necessary for certain hardware configurations, usually only if your hard drive is unusual (such as a SCSI drive). An initrd is an initial RAM drive, a virtual hard drive created in the system's memory that allows the kernel to load special driver modules required to read the boot device (hard drive). Use it only if you have had trouble booting from the default settings and know what you are doing.

Page 5

On this page you can enable or disable a few common services:

Page 6

Here is where you specify your computer's name and DNS domain. On most home networks the DNS domain does not matter; however, if you are on a large corporate network, or your network has its own internal DNS server, you can set your domain name here.

You can also enable or disable the Samba server and configure the Samba workgroup (see Section 5.6.3). If you have other computers running Windows on your network and wish to share files or printers to them, enable this setting.

Page 7

If you are in the United States, the default locale settings should be fine for you. If you are outside the USA, select the keyboard and locale settings appropriate to your language and country.

You can also indicate here whether your hardware clock is set to GMT (a.k.a. UTC). If you are dual-booting with Microsoft Windows, you will want to leave this unselected. If you are installing on Apple hardware or if this computer will only run Linux, check this box.

Page 8

On this page you will set up a username and password for the default user, and a password for the root (administrative) user.

Usernames:

Passwords:

Finished!

This concludes the setup. Click Finish, and you will be prompted as to whether or not you want to reboot. Click YES. The LiveCD will shut down and the disc will be ejected. You can now boot into MEPIS Linux!








4.2:    Special situations

Older hardware

If you are trying to install MEPIS Linux 8.0 on older hardware, and the LiveCD is running very slowly, try the following:

Without a CD

Even if your computer does not have a bootable CD or DVD drive, you can install MEPIS Linux 8.0.

For instance, if your system supports booting from a USB drive (Apple does not) you should be able to boot to the flash drive and proceed with the install normally. On a second computer, boot to the LiveCD and create a bootable MEPIS Linux 8.0 flash drive using the MEPIS System Assistant. Most users report this method is actually much faster than a traditional CD installation. Check the Wiki of Mepis Community Forum for details and current status.

For other alternative boot methods, see this Links and Guides subsection.







4.3:    Troubleshooting

Lockups during installation

If MEPIS Linux 8.0 is locking up during installation, it is usually due to a problem with faulty computer hardware, or a bad CD. Refer to Section 2.3 for details on verifying your MEPIS Linux 8.0 CD.

If you have determined that the CD is not the problem, it may be due to faulty RAM, a faulty hard drive, or some other piece of faulty or incompatible hardware.

Installed MEPIS Linux 8.0 does not boot

After a reboot, it sometimes happens that your computer reports that no operating system or bootable disk was found. Usually, this means that either you failed to install GRUB, or you failed to mark at least one partition bootable (a.k.a. “active”) during custom partitioning of the hard drive.

To fix this, try the following:

  1. Boot to the LiveCD, log in as demo
  2. Launch Gparted, and select the drive on which you installed MEPIS Linux 8.0
  3. The partition on which you installed MEPIS Linux 8.0 should say “Active” in the “Status” field. If it does not, right-click it and select set active. Then click Commit.
  4. If that was not the problem, launch the MEPIS System Assistant and run a GRUB repair. If you did not previously install GRUB to the MBR, this might be something to try. Experts can use the initrd option.
  5. If this still does not fix it, you may have a faulty hard drive. Use the the MEPIS System Assistant (from the LiveCD) to check your MEPIS Linux 8.0 partition for bad blocks.








4.4:     Apple Intel computers

MEPIS Linux 8.0 is compatible with Apple Intel computers: those based on Intel x86 CPUs, with the exception of some small details. Intel Core 2 or Xenon-based Apple computers can run 64-bit MEPIS, but all Intel-Core-based Apple computers can run 32-bit MEPIS.

MEPIS Linux 8.0 has a utility for preparing your Apple bootable hard drive for OS X so that you can install MEPIS Linux painlessly. This MEPIS Assistant is compatible with OS X Tiger and Leopard. There is a README file in the in the LiveCD OSX directory with more information.

Instructions for installation:

  1. Put the MEPIS Linux 8.0 media into an appropriate drive, and use the Finder to navigate to the OS X folder of the CD or DVD.
  2. Drag and drop the MEPIS Linux 8.0 Assistant for OS X (SimplyMEPIS Assistant.app.zip) to the OS X desktop.
  3. Unzip it, then launch the SimplyMEPIS Assistant.app and follow the instructions.
  4. When prompted, reboot into the CD or DVD and install MEPIS Linux 8.0 following the directions in Section 4.1.
  5. Install MEPIS Linux 8.0 on the partition you created with the MEPIS Linux 8.0 Assistant for OS X.
  6. After installing MEPIS Linux 8.0, return to the Assistant in OS X to enable dual booting.

NOTE: the Installer disables options that would be likely to damage your OS X System Drive. Do not try to use Parted, GParted, or QTParted to do anything on an OS X System Drive. If used, parted will probably destroy the OS X installation and make the disk unbootable.







4.5:     Uninstalling MEPIS Linux

Overview

In many instances, removing MEPIS is no different from that of any other operating system. But when you need to remove MEPIS from a dual boot system and restore the original single partition structure, the procedure is somewhat more complicated.



Remove the Linux partition

  1. Boot up the LiveCD and log in as your regular user.
  2. Click KMenu --> System --> Settings --> Partition Editor (GParted), and supply the root password.
  3. In the upper right corner of the screen, select the hard drive (you will see a Windows partition when you have the right one).
  4. Right-click the MEPIS Linux drive or drives, and select delete from the menu. If delete is not there, choose "resize" and shrink it to zero.
  5. When all Linux drives are done, then resize the Windows drive to the maximum.
  6. Reboot without the CD into Windows, which will probably tell you it has to check the drive.


Restore the MBR

If GRUB (the boot loader used by MEPIS Linux) was installed on the MBR (master boot record at the very beginning of a hard drive), you will probably also have to reinstall the Windows bootloader in one of the following ways:









5:     Configuration

5.0: Introduction

This section covers configuration instructions in order to get your system running correctly from a fresh installation of MEPIS Linux. For optional customization and personalization features, see the first two items under Links and Guides at bottom. Click on any of the following links for details about configuration in that topic area:









5.1:     Quick fixes

After a fresh installation many people find these first steps useful to get going. For more personal customizations, see final link.

“Quick Fix” links to other Manual pages:



MEPIS Wiki links:







5.2:     Peripherals

This section covers how to install and set up peripherals in MEPIS Linux.

Click on the item that interests you to see details on how to set up that peripheral.







5.2.1:     How to set up a camera

In most cases MEPIS Linux will add a camera automatically:

  1. Switch on your camera in 'play' mode and connect it to your computer.
  2. A camera or USB Imaging icon should appear on the desktop.
  3. A dialog box will open, asking you what you want to do with the new medium that has been detected. Choose whether to open in a new window or have Digikam upload the photos.
  4. If you do not see the dialog box, you can click Kmenu --> Graphics --> Photo management (digiKam)
  5. On the menu bar, click Camera --> Add camera --> Auto detect
  6. Digikam will normally detect and list your camera.

If your camera uses a multimedia card for storage, you may find it easiest to use a card reader (cheap if not built in) to connect to your USB port. Under MEPIS Linux, it will show up as an additional media device on your desktop, and you can read and write to it as if it were a hard or floppy disk.



Troubleshooting









5.2.2:     How to set up a monitor

See also Section 5.5:   Display

In most cases, the monitor will be recognized by MEPIS Linux when the LiveCD is booted, and the appropriate driver will be included when the OS is installed on the hard drive.



Changing monitors

  1. Shutdown the entire system and disconnect the power.
  2. Unplug the monitor.
  3. Plug in new monitor and reconnect the power to the computer.
  4. Reboot to the LiveCD. Be sure to press F3 to check your resolution options.
  5. Open the MEPIS X-Windows Assistant.
  6. On the Repair tab:
    • In the first field, select the hard drive where MEPIS is installed.
    • In the second field, select the partition where the root filesystem “/” is mounted.
  7. Click OK or Apply. X-Windows Assistant will copy the X configuration from the LiveCD to the /etc/X11/ folder on the partition you have specified.
  8. Reboot without the CD.


Troubleshooting

Most of the time your monitor will be picked up automatically by MEPIS Linux, and the right graphic driver will be loaded without problem. If not, try these steps one at a time:

  1. Reboot to your MEPIS LiveCD, being careful to choose resolution carefully by clicking F3 to select the appropriate screen resolution. If the LiveCD works with your monitor, then follow the steps above to copy your xorg.conf file over to the hard drive.
  2. Use the MEPIS X Windows Assistant to install the correct graphics driver
  3. If problems persist, use the script called sgfxi (see Links and Guides) to install or update your driver.








5.2.3:     How to set up a printer

Basic operation

Printers are manually installed through the KDE Control Center, if not done automatically, while printing itself is enabled by CUPS (Common UNIX Printing System). A printer can be added by following these steps:

  1. Click KMenu --> Control Center --> Peripherals --> Printers
  2. Click Administrative Mode button at the bottom, and supply root's password.
  3. Click Add --> Add Printer/Class, and the Add Printer Wizard will start.
  4. Most users will be installing a local printer, the first radio button, but other options are available. See Section 9.1 for sharing printers and Section 8.1 for accessing a Windows printer through Samba.
  5. When setting up a printer across a network, you may have to disable your firewall (see Section 5.6.2).
  6. Follow the screens to locate the auto-detected printer (usually), identify the make and model, load the recommended driver, and print a test page.
  7. If page prints correctly, continue through the Wizard screens, making sure to name your printer in a way that you will recognize.

TIP: if you have trouble setting up the printer through the normal channels, try setting it up over the network by using a browser to navigate to:

http://localhost:631/

Click on the Administration tab, then on the appropriate button for your need.



Troubleshooting









5.2.4:     How to set up a webcam

Introduction

Webcams have traditionally been tricky to configure with Linux, and MEPIS was no exception. However, MEPIS Linux 8.0 uses the latest Linux kernel, 2.6.27, which includes webcam drivers that make the process much easier than before.

KDE 3.5 does appear to have built-in Webcam video support, but it does not support audio, so the extent of functionality depends on whether the user wants audio as well as video, and on the webcam itself (as well as the driver it requires). This is set to change when KDE 4 is mature, at which point MEPIS users will have further options available.



Basics

Here are the basic steps to take:

NOTE: If looking to buy a new webcam, many users report consistent good luck with those supported by uvcvideo, and gspca, now supplied as modules with the new kernel.



Particular webcams









5.2.5:     How to set up a scanner

Introduction

Scanners are supported in Linux by SANE (“Scanner Access Now Easy”) which is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner, video- and still-cameras, frame-grabbers, etc.).


Basic steps

You can manage your scanner in MEPIS Linux with the default KDE frontend Kooka by following these steps:



Troubleshooting









5.2.6:    How to set up a PDA

Success with using a PDA on MEPIS Linux depends on the handheld OS and hardware being used.

Palm devices

PalmOS devices work pretty well with Linux, and offer many advanced possibilities. All interactions depend on pilot-link, an application that is installed by default with MEPIS Linux. A number of different frontends are available to use this backend on MEPIS, including Kpilot and Jpilot.

Preliminaries

Setup

The following technique works on MEPIS with many Palm devices.



Other PDAs

At the present, synching a PDA that's running Windows Mobile 2003 or 2005 OS is somewhat difficult, as is any RIM Blackberry PDA. However, there are active projects working on this and you can use Bluetooth to move files. Check the sites linked below for new developments.

Troubleshooting







5.2.7:     How to set up a MP3 player

With the latest kernels used by MEPIS Linux, using portable media players such as iPod, Creative Zen, or iRiver has become very easy. Two good graphical frontend applications available for managing songs and playlists with MP3 players are Amarok and Gtkpod


Troubleshooting

Check the application web sites linked below for detailed information.









5.3:     MEPIS Assistants

Introduction

A unique feature of MEPIS Linux is the group of configuration utilities known collectively as the MEPIS Assistants, found by clicking KMenu --> System --> MEPIS, choosing the right Assistant, and supplying the root password.



5.3.1:   Network Assistant


See Section 5.6 for details on networking configuration.

Configure your network access with MEPIS Network Assistant (command line: mnetwork), by clicking KMenu --> Internet --> Connection --> MEPIS Network Assistant. The interface has five tabs. Be sure to click Apply when you make a change on any tab (you will see a warning if you don't).



General tab



Wireless tab



Interfaces tab



Troubleshooting tab



Diagnosis tab

This tab provides easy access to network diagnostic problems using well-established tools.







5.3.2:   System Assistant

This utility allows you to make various adjustments to your system, running as root. You can start the utility from KMenu --> System --> MEPIS --> MEPIS System Assistant (command line: msystem). The interface has four tabs:







5.3.3:   User Assistant

This utility aids in adding, editing, removing users to your system. It has four tabs:







5.3.4:   X-Windows Assistant

This utility brings together a number of configuration steps for “X”, the window system used by MEPIS Linux. You can start it from KMenu --> System --> MEPIS --> MEPIS X-Windows Assistant (command line: mxconfig). It has six tabs.

Repair

This tab is intended to be used from the LiveCD. It allows you to copy the automatically-generated X configuration from the LiveCD onto a hard drive installation of MEPIS Linux. This is useful if you've made a configuration error and the X graphical interface will no longer start (all you get is a command-line log-in prompt)

NOTE: This utility is only useful from a hard drive install when you have MEPIS Linux or a similar Debian-based Linux distribution on another partition, and you'd like to copy the xorg.conf file from that one to another.



General

This tab allows you to change the dpi (dots-per-inch) setting of on-screen text. Change this if your monitor's size or resolution causes text to be too large or too small and you want to uniformly increase or decrease the size of all text rendered in X windows.

NOTE: The font sizes of KDE applications can be adjusted under KMenu --> System Configuration (Settings) --> Appearance & Themes --> Fonts.



Mouse

This tab simply allows you to activate or deactivate different mouse types on your system. Most users shouldn't have a reason to deactivate any of these devices; MEPIS Linux will work fine even if nonexistent mouse devices are enabled.

NOTE: More fine-tuned control of the mouse's behavior is available under KMenu --> System Configuration (Settings) --> Peripherals --> Mouse.



Monitor

This tool allows you to specify the brand and model of your Monitor, and if necessary, alter its frequencies. Changing the frequencies may be necessary if you are having trouble getting the full range of available video resolutions from your monitor.

If you don't find your monitor listed in the brand/model menus, you can type in the monitor's vertical and horizontal frequency ranges manually. Make sure you consult your monitor's documentation!

NOTES: 1) Be very careful with this tool! Setting your monitor to the wrong model or setting the wrong frequency ranges can cause you to lose video, or even potentially damage your monitor. If you are happy with the resolution you are getting, it's best to leave this tool alone. 2) See Section 5.5 for detailed display configuration and troubleshooting.



NVIDIA

If you have an Nvidia graphics card, this tool assists you in installing the drivers. You have a choice of four drivers:

If you are using the proprietary drivers, you can set other options here such as dual monitor settings or shadow curser mode.

NOTE: If you are uncertain of which driver to use, consult the list of NVIDIA supported cards linked below.



ATI

If you have an ATI graphics card, this tool assists you in installing the drivers. You have three drivers:

NOTE: If you are uncertain of which driver to use, consult the list of ATI supported cards in Links and Guides.



Troubleshooting









5.4:     GRUB bootloader

Introduction

GRUB is the default boot loader used by MEPIS Linux. A boot loader is software that tells your computer where to find operating systems to boot. When you start your computer, GRUB will provide you with a menu of choices. It is a very powerful boot loader that can load a wide variety of free operating systems, as well as proprietary operating systems with an indirect boot technique known as chainloading.



Overview

The typical default GRUB screen in MEPIS Linux shows 3 kernel entries for MEPIS, any other detected OS, and a MEMTEST entry. It looks something like this (here for a dual_boot with Windows XP on a system with a single hard drive):

timeout 15
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title MEPIS 8 at sda2, newest kernel
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sda2 nomce quiet splash vga=791 
boot

title MEPIS at sda2, previous kernel (if any)
root (hd0,1)
kernel /boot/vmlinuz.old root=/dev/sda2 nomce quiet splash vga=791 
boot

title MEPIS at sda2, kernel 2.6.27-1-mepis-smp
root (hd0,1)
kernel /boot/vmlinuz-2.6.27-1-mepis-smp root=/dev/sda2
boot

title Microsoft Windows XP Professional at sda1
rootnoverify (hd0,0)
chainloader +1

title MEMTEST
kernel /boot/memtest86+.bin

Three kernel entries are listed for technical reasons: details in the Wiki discussion of GRUB under Links and Guides below.

The final entry, Memtest is a thorough, stand-alone memory test for 386, 486 and Pentium systems. It writes a series of test patterns to every memory address, then reads back the data written and compares it for errors. See Section 8.7.



Configuring GRUB

After successfully installing a dual-boot system, many people want to adapt it to their environment.

Configuring the boot menu timeout

It is possible to change the length of time for which the boot menu is shown. This is useful if you would like the computer to start up faster (without the delay of showing the menu) or would like more time to choose which operating system to start.

  1. Click KMenu --> System --> File System --> File Manager--Super User Mode, and supply the root password.
  2. In the navigation bar, type /boot/grub/menu.lst and hit return. This will open the configuration file for GRUB (menu.lst) that you can now edit.
  3. The first line contains text similar to the following:
    timeout 30
    
    This line determines the time, in seconds, during which the boot menu will be shown. Change the number on this line to the number of seconds you would like. Use 0 if you would not like the menu to be shown at all.
  4. Click File --> Save to save your changes and then Exit. Your changes should take effect the next time you restart your computer.

Changing the default operating system to boot

You can decide which operating system will be started automatically if you have not chosen one from the boot menu within a certain time.

Open the boot/grub/menu.lst file as root using the method indicated above, and add the following option just above the first “title” entry:

default n

Change the variable n to “0” to boot from the first entry in the menu, “1” for the second, and so forth. Save the file and exit. The changes will take effect the next time the computer boots.

An alternative method is to cut the entry for the OS you want to boot by default and paste it in first title position.



Troubleshooting

See the MEPIS Wiki links below for troubleshooting help.









5.5:     Display

Much of the adjustment of the typical display is carried out through the MEPIS X-Windows Assistant, see Section 5.3.4. It is also possible to use RandRTray by clicking KMenu --> System --> More Applications --> KRandRTray. This section covers other configuration steps.

Adjusting fonts

Basic adjustment

  1. Click KMenu --> Control Center --> Appearance & Themes --> Fonts
  2. Adjust font size as needed.
  3. For help, press F1 to access the KDE Control Center Manual, then click in left panel Settings-Modules --> Appearance & Themes --> Fonts.
  4. If your monitor's size or resolution causes text to be too large or too small, you can uniformly increase or decrease the size of all text, using the X-Windows Assistant's General tab: KMenu --> System --> MEPIS --> MEPIS X-Windows Assistant to change system display dpi.

Advanced adjustments

Opera

Certain boldface fonts can show up pixelated/chunk-style in Opera. Follow these steps to correct this:

  1. Close Opera
  2. Click KMenu --> System --> File System --> File Manager - Super User Mode, and provide the root password.
  3. Open the file /usr/bin/opera in an editor, and add the following line immediately below the #!/bin/bash line at the start of the file:
    export QT_XFT=true
    
  4. open the file /etc/opera6rc, and add the following line at the bottom of the file:
    Enable Core X Fonts=0
    
  5. After saving both of those changes and restarting Opera, you should have nice smooth fonts.

Firefox

  1. Click on the menu bar Edit --> Preferences -->Content
  2. Make any desired changes.

GTK fonts

GTK+ is a multi-platform toolkit for creating graphical user interfaces. It is used in a variety of applications such as Synaptic. You can easily add a page for adjusting GTK Fonts to the Control Center:

  1. Click KMenu --> System --> Synaptic Package Manager.
  2. Locate and install these two packages:
    gtk-qt-engine
    gtk2-engines
    
  3. In the Control Center you will now find a GTK Styles and Fonts entry where you can control the style and fonts used by GTK applications.


Adding fonts

  1. Click KMenu --> System --> Synaptic Package Manager.
  2. Use the search function for “fonts.”
  3. Select and download the ones you want.
  4. Enable the Debian multimedia software repository to get the Microsoft core fonts package - msttcorefonts. Note: for installation methods, see 7: Software Management.
  5. Click KMenu --> Utilities --> More Utilities --> KFontView
  6. From the KFontView window, open the font you have downloaded.
  7. Click on the Install button.
    NOTE: You may need to resize the window to see the Install button in the lower right hand corner.
  8. Your new fonts should be available in the pull-down menus of KMenu --> Control Center --> Appearance & Themes -->Fonts.


Laptop display

The action initiated by closing the lid of a laptop is controlled by KPowersave, whose icon is on the right side of kicker (the panel). By default, closing the lid locks the screen. When the lid is raised again and any key is hit, a dialogue box pops up indicating the user's name who locked the screen and asking for that user's password to unlock it.

To stop the screen from being locked:

There is a small tool for changing the display on the fly that is handy when using a laptop. Located by clicking KMenu --> System --> More Applications --> Screen Resize & Rotate (KRandRTray). It sits in the system tray, and allows you to conveniently alter screen size, orientation or refresh rate.



Troubleshooting









5.6:     Network

Introduction

A computer network is simply defined as “A connection of two or more computers so that they can share resources.” Resources are in the form of hardware (i.e., printers), software, data, Internet connection, etc. Setting up a home network is a fairly straightforward task. But it is a good idea to arm yourself with a little knowledge to make things easier, as well as safer (from a security point of view). See Links and Guides below for background information.

Overview

The discussion of networking breaks up into five areas:









5.6.1.1:     Wired Internet Access

MEPIS Linux typically picks up wired internet access upon boot without much problem.

Ethernet and cable

MEPIS Linux comes preconfigured for a standard LAN (Local Area Network) that uses DHCP (Dynamic Host Configuration Protocol) to assign IP addresses and DNS (Domain Name System) resolution. This will work in most cases as-is. You can change the configuration with the MEPIS Network Assistant (see Section 5.3). When you boot MEPIS Linux, your network adapters are assigned a short interface name by udev, the kernel's device manager. For normal wired adapters this is usually eth0 (with subsequent adapters eth1, eth2, eth3, etc). Wireless adapters often come up on the eth0 interface in MEPIS Linux, but the interface name depends on the adapter's chipset. For instance, atheros cards often show up as ath0, while ralink usb adapters will be rausb0. To find out what interfaces have been detected and named in your system, click KMenu --> System --> Info Center --> Network Interfaces. For more details, open a terminal, become root, and enter:

ifconfig -a

It is highly recommended that you have a firewall (see Section 5.6.2) running if you are connecting directly to the Internet with your PC! If you are running a stand-alone/external firewall, most of which will run DHCP by default, simply connect to the router/hub/switch and your machine should autoconfigure via DHCP.

ADSL or PPPoE

If you use ADSL or PPPoE, connecting to the internet is relatively easy. Click Kmenu --> Internet --> Connection --> ADSL/PPPoE configuration, supply the root password, and follow the different screens, where you will be asked for some ISP information (like your username and password). Complete that section and you will be surfing the Internet a few seconds later.

Dial-Up

If you use a dialup connection with your computer, you will use KPPP. Click KMenu --> Internet --> Connection --> Internet Dialup Tool (KPPP) to define a connection, test that the modem is working, and dial your ISP.

On the Device tab you will need to set up the serial information. These are the equivalents of the COM ports under MS-DOS and MS-Windows®:

For configuration details, see the KPPP Handbook in Links and Guides.



Command line utilities

Command line utilities are useful for seeing detailed information, and are also commonly used in troubleshooting. Most must be run as root.



Troubleshooting

Ethernet cards in MEPIS Linux are configured in the file /etc/network/interfaces. The file is actually very simple in format and syntax, and not hard to edit in the event that other tools fail. See documentation by typing "man:interfaces" into the address bar of Konqueror.

Other troubleshooting help:








5.6.1.2:     Wireless Internet Access

MEPIS Linux comes preconfigured to autodetect a WiFi card, and in many cases your card will be found and set up. If not, see below for the basic steps for enabling wireless.

There are three ways wireless can be supported in MEPIS:

Sometimes there is both a native Linux driver and a Windows driver available. You may want to compare them for speed and connectivity, and you may have to remove the one you are not using to prevent a conflict. For more information, see Links and Guides below.

Wireless cards can be either internal or external.

NOTE: The successful method varies for users because of the complicated interactions among the Linux kernel, wireless tools, and the local wireless card chipset and router.


3G modems

For wireless internet access using a 3G modem, please refer to the Debian Wiki's 3G pages linked at the bottom of the page.



Basic Wireless Steps

  1. It is sometimes easier to start without encryption first, then add it afterwards. This will only work if the access point to which you are trying to connect is itself unencrypted —and you may legally use an access point only if you own it or have permission from the owner.
  2. If you installed MEPIS-64, make sure any drivers you are trying to use are 64-bit drivers.
  3. Configure your card with MEPIS Network Assistant (command line: mnetwork), by clicking KMenu --> Internet --> Connection --> MEPIS Network Assistant and supplying the root password. For most users, the only step required will be to fill in the ESSID of the desired network. See Section 5.3.1 for details.
  4. Some cards may require particular methods because of the chipset they use. To find out what chipset your card uses, open the MEPIS Network Assistant and click on the Troubleshooting tab. In the top panel, Hardware, click the Scan Hardware button to find the information you need to get help. Check the MEPIS Wiki Wireless section linked below for "Particular cards," or search the Mepis Community Forum (see Section 11: More resources) to find relevant and up-to-date help.
  5. If MEPIS Network Assistant doesn't work, try to configure your card in a root terminal with the command line utilities.
  6. If you have hardware recognized but are not able to connect with the methods listed above, try downloading and installing another wireless front end application such as Wicd, Ceni, Wlassistant or Wifi-Radar (see link to Wiki page on wireless). Please note that MEPIS can not guarantee the performance of these applications.
  7. If your card starts but does not connect, check the Use static DNS button on the General tab of MEPIS Network Assistant, and click Apply if necessary. If that works, then reboot, go into Network Assistant again, and try to switch back to Use DHCP for DNS.
  8. If WEP or WPA does not work, follow the Wiki page on wireless link below. The frontend Wicd is particularly strong on WPA.
  9. If still no luck, post the following information on the Mepis Community Forum:
    • your MEPIS version and architecture (32 or 64)
    • the output of entering the following into a terminal as root:
      iwconfig
      lspci | grep -i net (lsusb | grep -i net, for a usb adapter)
      ndiswrapper -l
      

Native drivers

MEPIS 8 includes a large number of native wireless drivers among its kernel modules. The directions vary somewhat for each, and in some cases you will need to also obtain the firmware (small programs that internally control various electronic devices). Pease consult the MEPIS Wiki on native drivers, linked below.

Ndiswrapper

Ndiswrapper is an open source software driver "wrapper" that enables the use of Microsoft Windows drivers for wireless network devices in Linux. It comes pre-installed in MEPIS 8, along with a number of the most common Windws drivers. Note that you MUST use a Windows 32-bit driver if you have MEPIS 32-bit edition and you MUST use a Windows 64-bit driver if you have MEPIS 64-bit edition. In general, Windows-XP drivers work much better than Vista drivers, so try the Windows-XP driver first.

Here are the steps you should take to get wireless working with Ndiswrapper:









5.6.2:     Firewalls

Introduction

A firewall is a device or application used to filter data packets from incoming or outgoing network traffic, usually based upon the IP address or type of service (literally, the port number). Firewall configurations sometimes need to be adjusted if you add a new network service or change the port of an existing network service on your computer.

MEPIS Linux comes with a software firewall Guarddog preinstalled and configured, and it is recommended you use it as a safety precaution. It is aimed at two groups of users: novice to intermediate users who are not experts in networking and security, and users who don't want the hassle of dealing with using scripts and parameters. See Links and Guides for more details.


Alternatives

Most firewall programs available for MEPIS Linux are merely frontends for Netfilter/iptables, the network filtering module in newer Linux kernels. So, the real differences among different firewalls are the way the interface works and what options are available. Here are several alternatives: (See Links and Guides for more details)

Troubleshooting









5.6.3:     File sharing

Introduction

If you want to make files and directories available to other computers on your network, MEPIS Linux can handle a large variety of networking protocols to allow this. Many people accustomed to Windows may be confused by the variety of file sharing protocols and not understand why there are so many when Windows simply allows you to "share" files without much rigamarole. Being open, though, Linux allows you to choose the protocol that best suits your needs.


Basic methods

System-wide sharing is enabled by clicking KMenu --> Control Center --> Internet & Network --> File Sharing. Click on the bottom button Administrative Mode to select the protocol to use (Samba or NFS), folders to share, and users who may access those folders.



Other methods







5.6.4:     VPN and Remote Desktop

Introduction

VPN (Virtual Private Network) and remote desktop connections are carried out in MEPIS Linux by utilities available from the standard repositories.


VPN

Installing the package Kvpnc allows you to easily manage VPN connections in a graphic environment. Follow these steps to connect:

  1. Click on the application and supply the root password.
  2. On the menu bar, click Profile --> New Profile
  3. Fill in the boxes on the screen as appropriate. You can import your Cisco profile file, click Help --> Kvpnc Handbook for details.
  4. Save the profile, then click the Connect button.

VPnc is a command-line VPN client installed with MEPIS Linux that is compatible with Cisco EasyVPN. Open a terminal, become root, and simply enter:

vpnc

For details, consult the man pages by entering man:vpnc in Konqueror's address bar.



Remote Desktop

Remote desktop connections can be managed by installing the package Krdc. Follow these steps to connect:

  1. In the “Remote desktop” field type in the LAN IP of your remote server (PC) you want to control. For example: 192.168.2.1:0 It must have the “:0” following the IP address. This is because VNC, the actual application being used, can create several sessions when connecting to a Linux box allowing you to type in :1, :2, etc. corresponding to the session number. For a Windows box you just need the default session of :0.
  2. Click Connect.
  3. Once you click connect you need to choose the Connection Type, according to what speed of Internet connection you have. You will then be prompted for the VNC password you set on the remote server (PC).
  4. You should now be connected to the remote server (PC) and able to control it as if you were physically present at the remote site.








5.7:     Sound Configuration

See also Section 8.2: Multimedia

Introduction

ALSA, which stands for Advanced Linux Sound Architecture, is a suite of hardware drivers, libraries and utilities that provides audio and MIDI functionality for the Linux operating system. For specific configuration needs, consult the ALSA Wiki in 5.7: Links and Guides.

Restricted formats

People wishing to play back video and audio files in proprietary formats will need to install these packages:

w32codecs
libdvdcss2

These are available through Synaptic after checking the box next to this repository (see Section 7.2):

deb http://www.debian-multimedia.org lenny main

NOTE: The use of these packages is of questionable legality in some countries, so please check your local restrictions before installing.



Basic configuration

Kmix is the recommended way to adjust the details of your sound.

  1. Open KMix by clicking KMenu --> Multimedia --> KMix, or by clicking the speaker icon in the system tray (right side of kicker) and clicking on Mixer.
  2. On the Output tab, make sure the Master volume (on the far left) is turned up.
  3. Also, make sure PCM is turned up (the control with the blue squiggly line above it).
  4. Make sure that the little round buttons (green lights) above these slider controls are on (bright green).
  5. On the Input tab, check that the channels you need (CD, etc.) are not muted. The mute buttons look like green LEDs.
  6. On the menu bar click Settings --> Configure Kmix and make certain that Restore volumes on login is checked.

NOTE: you cannot play an audio CD by clicking on the CD-ROM icon on the desktop. You must use an installed player (see Section 8.2: Multimedia).



Fixing KsCD

KsCD is KDE's lightweight CD player for MEPIS Linux, but it needs to be configured in order produce sound:

  1. Click KMenu --> Multimedia --> KsCD
  2. Click Extras --> Configure KsCD...
  3. Highlight CD Player
  4. In the CD-ROM Device box on the right, check "Use direct digital playback"
  5. Click OK, returning you to the KsCD main screen.


System sounds

You can control KDE system-wide sound settings by following these steps:

  1. Click KMenu --> Control Center --> Sound & Multimedia
  2. Click on any topic to change the settings


Troubleshooting

You can set up your sound driver by opening a terminal, becoming root, and typing:

alsaconf

This will start an automatic process to discover your sound card and install the correct driver.

If troubles still persist, you can follow a step-by-step procedure. To start, you will need to know what sound card you have. Open a terminal by clicking KMenu --> System --> Konsole, and enter this line:

lspci | grep -i audio

This command asks that all devices be listed that contain the word “audio” in their description, and the output will tell you your card manufacturer and model. Here is an example of output:

0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)

With this information, you can use the MEPIS Wiki sound driver database found under Links and Guides to track down more information and help, or turn to other resources linked below. In rare cases, you may have to load a module for your card following the directions linked below.

NOTE: Many of the drivers do not include the snd- prefix; you will need to add that to get the actual module name.









5.8:     Bluetooth

Setup

Bluetooth is enabled in MEPIS Linux by default through the kernel, but no desktop tools are included for the user. Bluetooth tools are easily available through Synaptic (see 7.2:  Synaptic Software Package Manager) by installing the package:

kdebluetooth

Once this package is installed, you will find a whole host of tools, including:

These tools can be found most easily by right-clicking the Bluetooth icon on the right side of the panel, though you can also hunt around KMenu for them.



Configuration

An easy way to configure Bluetooth for devices such as a keyboard or a mouse is to right-click the Bluetooth icon --> Configuration --> Input Devices.... In the dialogue box that pops up you will see what has already been configured. You can add a new device by clicking on the button labelled Add New Devices, which initiates a search.

You can also pair your computer with devices so that they automatically link. Initiate the request for pairing on your device (PDA, phone, etc.) and provide some code word (e.g., 1234), then enter the same code on the host computer. If you are not quick enough, you will get an error message and have to start again. Manage paired devices by right-clicking the Bluetooth icon --> Configuration --> Paired/Trusted Devices.... There is a Help file associated with kdebluetooth, but it is currently out of date.









6:     The Command Line

Introduction

Although MEPIS Linux offers a complete set of graphical tools for installing, configuring, and using your system, the command line (also called the console, terminal, BASH, or shell) is still a useful and at times indispensible tool. Here are some common uses:

The default program to run a terminal in a MEPIS Linux 8.0 KDE desktop window is Konsole, which can be found at KMenu --> System --> Terminal Program (Konsole).



First steps

Though console commands can be fairly complex, understanding the command line is just a matter of putting together simple things. To see how easy it can be, open Konsole and try a few basic commands. This will all make more sense if you do it as a tutorial exercise rather than just reading it. Let's start with a simple command: ls, which lists the contents of a directory. The basic command lists the contents of whatever directory you are currently in:

ls

That's a useful command, but it's just a few short columns of names printed across the screen. Suppose we want more information on the files in this directory. We can add a switch to the command to make it print out more information. A switch is a modifier we append to a command to change its behavior. In this case, the switch we want is:

ls -l

As you can see on your own screen if you are following along, this switch provides more detailed information on the files in any directory. Of course, we might want to see the contents of another directory (without going there first). To do this, we add an argument to the command, specifying which file we want to look at. An argument is a value or reference we add to a command to target its operation. In this case:

ls -l /usr/bin/

By giving an argument of /usr/bin, we can list the contents of that directory, rather than the one where we currently are.

There are a lot of files in /usr/bin! It would be nice if we could filter this output so that only entries that contained, say, the word "fire" would be listed. We can do this by piping the output of the ls command into another command, grep. The pipe, or “|” character, is used to send the output of one command to the input of another.

The command grep searches for the pattern you give it and returns all matches, so piping the output of the previous command to it filters the output.

ls -l /usr/bin/ | grep fire

Thanks to grep, we only see the lines of the output that contain the word "fire". Finally, suppose we want these results saved in a text file for use at a later time?

When we issue commands, the output is usually directed to the console display; but we can redirect this output somewhere else, such as to a file, using the > (redirect) symbol:

ls -l /usr/bin/ | grep fire > FilesOfFire.txt

This command now instructs your computer to make a detailed list of all the files that contain the word "fire" and to create a text file containing that list. As you can see, the console can be used to perform complex tasks very easily by joining simple commands together in different ways.



Common commands

Here is a list of rudimentary terminal commands. For a complete reference, see the Links and Guides section.

Filesystem navigation
cd /usr/share Changes current directory to the given path: “/usr/share”. With no argument, cd takes you to your home directory.
pwd Prints the current working directory path
lsLists the contents of the current directory. Use the -a switch to show hidden files as well, and the -l switch to show details on all files. Often combined with other terms: lsusb lists all the usb devices, lsmod all the modules, etc.
File management
cp source.file destination.file Copy a file to another filename or location. Use the -R switch ("recursive") to copy entire directories.
mv source.file destination.file Move a file or directory from one location to another. Also used to rename files or directories and to make a backup, for example before changing a critical file such as xorg.conf.
rm deleteme.file Delete a file. Use the -R switch to delete a directory, and the -f switch ("force") if you don't want to be prompted to confirm each deletion.
cat file.txt Prints the contents of a file on the screen. Only use on text files.
grep Find a given string of characters in a given piece of text, and print the entire line it was on. Usually used with a pipe, e.g. cat somefile.txt | grep somestring will display the line from somefile.txt that contains ”somestring”. To find a network usb card, for instance, you could type: lsusb | grep network. The grep command is case sensitive by default, use the -i switch to make it case-insensitive.
most More sophisticated file viewer, which features one screenful at a time, up and down scrolling, text searching, line numbers, and other things. Often used in a pipe, for instance cat somefile.txt | most. NOTE: this replaces less as the default pager in MEPIS Linux 8.0.
Symbols
| The pipe symbol, used to send the output of one command into the input of another.
> The redirect symbol, used to send the output of a command into a file or device. Doubling the redirect symbol will cause the output to be added to the end of an existing file rather than replacing it.
& Adding the ampersand to the end of a command (with a space before it) causes it to run in the background, so that you don't have to wait for it to complete to issue the next command.


Troubleshooting

For most new Linux users, the command line is mainly used as a troubleshooting tool. Terminal commands give quick, detailed information that can be easily pasted into a forum post, search box, or email when seeking help on the web. Here are some common troubleshooting commands. Some of them may not output information, or not as much information unless you are logged in as root.

lspci Shows a quick summary of detected internal hardware devices. If a devices shows as unknown, you usually have a driver issue. The -v switch causes more detailed information to be displayed.
lsusb Lists attached usb devices.
dmesg Shows the system log for the current session (i.e. since you last booted). The output is quite long, and usually this is piped through grep, less (similar to most) or tail (to see what happened most recently). For example, to find potential errors related to your network hardware, try dmesg | grep -i net.
ifconfig Shows the status of currently active network interfaces. See Section 5.6.1.
iwconfig Shows the status of your wireless network interface. See Section 5.6.1.2.
top Provides a real-time list of running processes and various statistics about them.


Accessing documentation for commands









7:     Software Management

7.1: Introduction

Methods

Synaptic is the recommended method for beginners to manipulate software packages, although other methods are also available and may be required for certain situations.

Packages

Installing, removing, and upgrading software on MEPIS is accomplished through the Advanced Package Tool (APT) system. Software is provided in the form of a package, a discrete, non-executable bundle of data that includes instructions for your package manager about installation. They are stored on servers called repositories, and can be browsed, downloaded, and installed through special client software called a package manager. The recommended package manager for MEPIS is Synaptic (see Section 7.2), though the graphical utility KPackage and the command-line utility apt-get are also included for those who prefer them (see Section 7.3).

The majority of packages have one or more dependencies, meaning that they have one or more packages that must also be installed in order for them to work. The APT system is designed to automatically handle dependencies for you; in other words, when you try to install a package whose dependencies aren't already installed, your APT package manager will automatically mark those dependencies for installation as well.


Repositories

APT repositories (repos) are much more than just web sites with downloadable software. The packages on repository sites are specially organized and indexed to be accessed through a package manager, rather than browsed directly. MEPIS Linux 8.0 comes with a set of enabled repositories that offer you both security and choice. If you are new to MEPIS (and especially if you are new to Linux), it is recommended that in general you stick with the default repositories at first, with the exception of the multimedia repository that you will need to enable for proprietary-format codecs (see Section 8.2).

For security reasons, these repositories are digitally signed, meaning that packages are authenticated with an encryption key to make sure they are authentic. If you install packages from non-Debian repos without the key, you will get a warning that they could not be authenticated. To get rid of this warning and make sure your installations are secure, you need to install any keys not installed by default; see if the repo contains a keyring package, or check its home page for instructions on adding the key. Most repositories should have a keyring package which installs the necessary keys (search keyring in Synaptic). Here are the most common:

The MEPIS Community has its own repository of packages that it builds and maintains. These packages are distinct from official MEPIS packages, and typically have been backported from Debian versions that are still in testing or even experimental. To find out more about what is available, who the packagers are, and even how to get involved, follow the MEPIS Community Package Project link below.

Repositories are most easily added, removed, or edited through Synaptic, though they can also be altered by hand by editing the file /etc/atp/sources.list in a root terminal. In Synaptic, click Settings --> Repositories, then click the button New and add the information. Here, for instance, is how the settings look for the MEPIS Community repo:

Synaptic community repo

Some repositories carry special labels:



Tips



Troubleshooting









7.2:     Synaptic Software Package Manager

Introduction

Synaptic is a friendly, easy-to-use frontend (GUI) to the APT package management system. It is a graphical tool which allows you to install, remove, upgrade, or get information on all the software packages available in the online repositories on your repository list (/etc/apt/sources.list). Synaptic can be launched from KMenu --> System --> Package Manager (Synaptic Package Manager), or you can simply click on the APT Notify icon in Kicker, which looks like an open box. Note that your root password is required in order to install or remove software; and naturally, if you want to use the online repositories (as opposed to the CD or DVD), you will need to be connected to the Internet.


Installing new software with Synaptic

Here are the basic steps for installing software in Synaptic:

  1. Open Synaptic, supply the root password, and click Reload.
  2. Hit the Reload button. This button causes Synaptic to contact the online repository servers and download a new index file with information on what packages are available, what versions they are, and what other packages are required for them to be installed.
  3. If you already know the name of the package you are looking for, just click in the pane on the right and start typing, and Synaptic will incrementally search for what you type.
  4. If you don't know the package's name, use the Search button to locate software based on name or keywords. This is one of Synaptic's greatest advantages over other methods.
  5. Alternatively, click the Sections button on the bottom left and browse through the one that interests you (Editors, Games and Amusement, Utilities, etc.). You will see a description of each package in the bottom pane, and can use the tabs to discover more information about it.
  6. Click the empty box next to it and select Mark for Installation. If the package has dependencies, you will be notified and they will automatically be marked for installation as well. You can also just double-click the package if it is the only one you are installing.
  7. Click Apply to begin the installation. You will see a warning message “You are about to install software that can't be authenticated!” that you can safely ignore.
  8. There may be additional steps: just follow the prompts as you receive them until the installation completes.
  9. Occasionally, packages will fail to install because their install scripts fail one or more safety checks; for instance, a package might try to overwrite a file that is part of another package, or require downgrading another package due to dependencies. If you have an install or upgrade that is stuck on one of these errors, it is called a broken package. To fix this, click on the Custom button on the bottom of the left panel, then the entry Broken. Highlight the package and try first to fix the problem by clicking Edit --> Fix Broken Packages. If that is not successful, then right-click the package to uninstall it.


Upgrading software with Synaptic

Synaptic enables you to quickly and conveniently keep your system up-to-date.

  1. Open Synaptic, supply the root password, and click Reload.
  2. Synaptic will inform you if any packages are upgradeable by marking them with a star. You can also click the Status button on the bottom left and select the Installed (upgradeable) section in the left pane to see all the upgradeable packages installed on your system.
  3. Click the Mark All Upgrades button to select all of these packages for upgrade, or click on the packages one-by-one to individually select upgrades.
  4. Click Apply to begin the upgrade, ignoring the warning message. As the installation process begins, you have the option of watching the details in a terminal within Synaptic.
  5. With some package upgrades, you may be asked to confirm a dialog, enter configuration information, or decide whether or not to overwrite a configuration file you have altered. Pay attention here, and follow the prompts until the upgrade completes.

Downgrading software with Synaptic

Sometimes you may want to downgrade an application to an older version, for instance because of problems that arose with the new one. This is easy to do in Synaptic:

  1. Open Synaptic, supply the root password, and click Reload.
  2. Click on Installed in the panel on the left, then find and highlight the package you want to downgrade in the panel on the right
  3. On the menu bar, click Package --> Force version...
  4. Select from the available versions on the pull-down list
  5. Click Force Version, then install in the usual manner.


Pinning software with Synaptic

Sometimes you may want to pin an application to a specific version to keep it from being upgraded in order to avoid problems with more recent ones. This is easy to do:

  1. Open Synaptic, supply the root password, and click Reload.
  2. Click on Installed in the panel on the left, then find and highlight the package you want to pin in the panel on the right.
  3. On the menu bar, click Package --> Lock version...
  4. Synaptic will highlight the package in red and add a lock icon to the first column.
  5. To unlock, highlight the package again and click Package --> Lock version (which will have a check mark).

NOTE: this pinning only affects the application Synaptic, not the actual list of application versions used by Apt, and will not work if you later use another upgrade means. For a universal pinning method, follow the example linked below.



Removing software with Synaptic

Removing software from your system with Synaptic seems as straightforward as installing, but there is more to it than meets the eye:









7.3:     Installing Software by Other Methods

Deb packages

The software packages installed through Synaptic (and APT behind it) are in a format called deb (short for “Debian”, the Linux distribution that devised APT). You can manually install deb packages using the graphical tool Kpackage or the command-line tool dpkg.

NOTE: It is also possible to carry out other Synaptic functions with these tools: consult the documentation listed below.



Installing .deb files with Kpackage

  1. Double-click the deb package you want to install. Kpackage will open the install dialog. You can also click KMenu --> System --> More Applications --> Package Manager (Kpackage), and select the package manually.
  2. Make sure Check Dependencies and Check Conflicts are both marked. By default in MEPIS Linux 8.0, the box Allow Downgrades is also checked, allowing APT to select a more compatible version of a package, if necessary. Click Install.
  3. You will be prompted for your root password. Enter it to proceed.
  4. Kpackage will attempt to install the package, posting the results in the right pane. If you see result=0 at the end, it means the install was successful.
  5. If you receive errors such as result=1 indicating that the package could not install, return to the main panel, and click Special --> APT: Debian --> Fixup. If it is possible, APT will try to fix the problems. If that fails, then delete the package and consult the MEPIS community forums or the MEPIS Wiki for more information (see Section 11: More resources).


Installing deb files with dpkg

NOTE:  dpkg is a LOCAL installer/de-installer package. It does not work over the internet like synaptic or kpackage or apt-get. Dpkg can only install a .deb that has already been downloaded to the system.

  1. Open Konsole from KMenu --> System --> Terminal Program (Konsole). Become root using the su command and entering the root password when prompted.
  2. Use the cd command to change to the directory containing your downloaded .deb file(s). (Sometimes it is easier to first navigate to the directory containing the deb file(s), hit F4 to open a terminal, and change to root.)
  3. Install the package with the command (substituting the real package name, of course):
    dpkg -i packagename.deb
    
    If you are installing multiple packages at the same time, you can do it all at once using:
    dpkg -i *.deb
    
    NOTE: In a shell command, the asterisk is a wild card in the argument. In this case it will cause the program to apply the command to any file whose name ends with “.deb”.
  4. If required dependencies are not installed on your system already, you will get unmet dependencies errors as dpkg does not automatically take care of them. To correct these errors and finish the installation, run
    apt-get -f install
    
    Apt-get will attempt to rectify the situation by either installing the needed dependencies (if they are available from the repositories), or removing your .deb files (if the dependencies cannot be installed).


More install methods

Sooner or later some software that you want to install will not be available in the repositories and you may need to use other installation methods. These methods include:









8.0:     Using MEPIS

This section gives the user a basic orientation to the applications used in MEPIS Linux for common tasks. It is not intended to be an exhaustive list, but to focus on those that are installed with MEPIS. to provide common alternatives, and to point to resources for configuration and use. In topic areas where installed applications are minimal or absent, a representative sample of available applications has been presented.

The section is divided into the following topics:

Click on the link that interests you to see how MEPIS is used in that topic area.







8.1:     Internet (client)

Web browsers

Two web browsers, Konqueror and Mozilla's Firefox, are installed with MEPIS Linux 8.0 and available by clicking KMenu --> Internet. The Debian packagers also provide a rebranded variant of Firefox named IceWeasel, which is updated frequently. If coming from Windows, be sure to consult Section 3.2: Coming from Windows about migrating data.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Browser



Email

An email client Kmail is installed with MEPIS Linux 8.0 and available by clicking KMenu --> Internet. It is part of the Kontact office suite whose icon can be found on the left side of the Kicker panel. Thunderbird (or Debian's rebranded Icedove) is another popular choice installable through the repos. If coming from Windows, be sure to consult Section 3.2: Coming from Windows about migrating data.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Email


Chat and discussion

IM

MEPIS Linux 8.0 comes installed with Kopete, a multi-protocol client. Start it from KMenu --> Internet --> Instant Messaging --> Kopete.

In addition, you can use Skype (KMenu --> Internet --> More Applications --> Skype) or a web-based client such as Meebo in Firefox.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Instant_Messenger


Voice chat

Skype is available through Synaptic for MEPIS Linux, though the Linux version may lag behind the Windows version in terms of features and version numbering. Once installed, to start, click KMenu --> Internet --> More Applications --> Skype. The latest version of Skype for Linux includes video support, though suitable webcam drivers are required before this feature will work.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Voice_Chat


Video chat

No video chat program is installed by default in MEPIS Linux 8.0, although Kopete can transmit webcam images under certain protocols. Ekiga and aMSN are available for download from the standard repositories; Ekiga in particular seems to have very good hardware recognition, including audio. See also Skype above.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Video_Chat


IRC

IRC (Internet Relay Chat) can be conducted in MEPIS Linux 8.0 by setting up an IRC account in Kopete.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#IRC


Usenet

The MEPIS Linux 8.0 user has a couple of choices for participating in Usenet (USEr NETwork), the distributed internet discussion system. Thunderbird can be set up as a reader by clicking File --> New... --> Account, selecting Newsgroup account and filling in the server name. There is also the dedicated Pan Newsreader with a large feature set that can be installed through Synaptic.


RSS

MEPIS Linux 8.0 offers three easy ways to subscribe to RSS (Really Simple Syndication) feeds. In Firefox or IceWeasel, you can simply go to the page with the RSS and click Bookmarks --> Subscribe to This Page and the application you have selected under Preferences will open. There is also a large range of add-ons that can be installed by clicking Tools --> Add-ons. Thunderbird or IceDove can be set up for RSS feeds by clicking File --> New --> Account, selecting RSS News & Blogs and naming the account. Then right-click the new folder and select Manage Subscriptions. Finally, there is a dedicated desktop application called Akregator, reached by clicking KMenu --> Internet --> News --> RSS Feed Reader (Akregator), and others are available from the repos.


BitTorrent

BitTorrent, the peer-to-peer file sharing protocol, can be managed by the KDE application KTorrent which is installable through Synaptic for use with MEPIS Linux 8.0. Ktorrent can then be found by clicking KMenu --> Internet --> File Transfer --> BitTorrent Client (KTorrent). Once you have downloaded a .torrent file from a tracker site, you simply need to double click it and KTorrent will ask you where to save the package and initiate the download.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#File_Sharing


FTP

You have a number of choices for FTP transfer in MEPIS Linux 8.0. You can use one of the browsers installed by default; for the latter, there is also a useful FTP extension called FireFTP that provides increased functionality. Alternatively, you can use the dedicated FTP client provided by MEPIS Linux 8.0, gFTP, that can be found by clicking KMenu --> Internet --> File Transfer --> gFTP. See also Bluetooth, below.

Other common choices:  http://www.mepis.org/docs/en/index.php?title=Linux_software#FTP


Bluetooth

See also Section 5.8: Bluetooth

Bluetooth provides a means to connect and exchange information between personal devices such as mobile phones, laptops, digital cameras, etc., over a secure short-range radio frequency. Installing kdebluetooth through the repos provides many basic tools (see Section 5.8) that are available by right-clicking the Bluetooth icon on the right side of the Kicker panel and are mostly self-explanatory.

Object transfer

Various applications can use Bluetooth to pass objects (files, pictures, vCal entries, vCards, etc.) between devices, though some work better than others and success depends a lot on the particular device. All rely on the Object Exchange protocol (OBEX), a kind of binary HTTP optimized for ad-hoc wireless links that is built in on many devices like PDAs and mobile phones.

OBEX Client (kbtobexclient) is installed with kdebluetooth, and easily used from the host computer or the device:

For other options, see the MEPIS Wiki links listed below.







8.2:     Multimedia

Music

Playing music

Three music players are provided with MEPIS Linux 8.0. They can all be found under KMenu --> Multimedia

Other common choices:  http://www.mepis.org/docs/en/index.php?title=Linux_software#Music_Player


Ripping music

There are various ways to rip music in under KDE using KIO Slaves from the K3B project, as well as using K3B directly.

Other common choices:  http://www.mepis.org/docs/en/index.php?title=Linux_software#Music_Ripper


Composing/editing music

aRts home page: http://www.arts-project.org/>http://www.arts-project.org/
aRts handbook: http://www.arts-project.org/doc/handbook/index.html

Other common choices: 
http://www.mepis.org/docs/en/index.php?title=Linux_software#Music_composer.2Feditors


Organizing music

See Section 8.4: Home productivity



Video

Playing videos

MEPIS Linux 8.0 comes with 3 video players: Kmplayer can be found under KMenu --> Multimedia while Mplayer and RealPlayer10 are under the More Applications submenu.

Other common choices:
http://www.mepis.org/docs/en/index.php?title=Linux_software#Video_Player

NOTE: To achieve a higher level of operability with video playback and control, install the following additional packages:

libdvdnav4, libdvdplay, libdvdread libvcdinfo

Ripping videos

MEPIS Linux 8.0 doesn't come with any video ripping software by default, but there are plenty of choices available for download. Acidrip and DVD::Rip are all you need to rip non-copyrighted DVDs to your hard disk. None of these programs will operate on DVDs that have encryption. You will need a package called libdvdcss2 to work with encrypted media, see Section 5.7: Sound configuration: Restricted formats.

Other common choices: 
http://www.mepis.org/docs/en/index.php?title=Linux_software#Video_Recording.2FRipping


Editing videos

Video editing can be very harddisk intensive and is best done with a reasonably powerful machine with lots of storage space.

Kino is provided with MEPIS Linux 8.0 and can be found by clicking KMenu --> Multimedia --> More Applications --> Kino. It features excellent integration with IEEE-1394 for capture, VTR control, and recording back to the camera.
Kino home page:  http://www.kinodv.org/

Other common choices:
http://www.mepis.org/docs/en/index.php?title=Linux_software#Video_Editor

NOTE: To achieve a higher level of operability with video editing, install the following additional packages:

dvdrtools, dvd+rw-tools, dvd-slideshow, submix-dvd


Graphics

Viewing images

There are three means of viewing images in MEPIS Linux 8.0.

Other common choices:
http://www.mepis.org/docs/en/index.php?title=Linux_software#Image_Viewers


Editing images

Using Synaptic Package Manager in MEPIS Linux 8.0 users can install a very powerful image editor called GIMP (GNU Image Manipulation Program). Similar in function to Adobe Photoshop, the GIMP will be installed for access under KMenu --> Graphics --> Image Editor (GNU Image Manipulation Program). See 7.2: Installing new software with Synaptic.

GIMP home page: http://www.gimp.org/
GIMP tutorials: http://www.gimp.org/tutorials/

Other common choices:
http://www.mepis.org/docs/en/index.php?title= Linux_software#Image_Editors


Organizing images

See Section 8.4: Multimedia management



TV to PC

Watching television on a PC requires a good recent hardware configuration with sufficient processor speed and memory, software to process the signal for display and an adapter card that works with Linux. A number of programs are available and are listed below; which one works for a given tuner card is VERY DEPENDENT on which native driver(s) your card uses.

Here is a partial list of available software, from basic to advanced, that you can install:

For details and other options, follow the MEPIS Wiki link below.







8.3:     Office productivity

Office suites

MEPIS Linux comes with access to a great free office suite called OpenOffice.org. This suite is the Linux equivalent and near drop-in replacement for Microsoft Office®. The most frequently used component, OpenOffice.org Writer is available under the OpenOffice.org Task Manager KMenu --> Office --> OpenOffice.org. The remaining components below marked optional will be available after installation through Synaptic.

Openoffice.org versions 3 and above offer limited support for the .docx, .xlsx and .pptx file formats of Microsoft Office 2007.

MEPIS Wiki: OpenOffice: http://www.mepis.org/docs/en/index.php?title=OpenOffice.org
OpenOffice.org home page: http://www.openoffice.org/

Other common choices:
http://www.mepis.org/docs/en/index.php?title= Linux_software#Office_Productivity

NOTE: The utility KCharSelect allows you to find unusual characters (foreign letters, symbols, etc.) and paste them to the clipboard for use in a word processor or other program. It is found by clicking KMenu --> Utilities --> More Utilities --> KCharSelect



Desktop publishing

OpenOffice.org can produce simple documents for publication, but for people who want more power and flexibility, more powerful programs are available through Synaptic.



FAX

In addition to internet options, the MEPIS Linux user has means of working with a FAX from the desktop.

Internet FAX price comparison: http://www.faxprices.com/



PDF documents

You can view your PDF files by clicking them to open them in the default KPDF, available separately by clicking KMenu --> Office --> More Applications --> PDF viewer (KPDF). For other PDF operations such as copying text or images, merging, etc., follow the link to the MEPIS Wiki.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#PDF



Contact Manager

MEPIS Linux 7.0 includes Kontact, a Personal Information Manager. It links your contacts with your email, calendar, newsreader, journal and notes all in a single window. Kontact can be accessed by clicking KMenu --> Office --> Kontact.



Organizer

Installed by default with MEPIS Linux 8.0 is the excellent organizer KOrganizer, the calendar and scheduling component of Kontact. It is available by clicking KMenu --> Office --> More Applications --> Korganizer. The application fully integrates its components, facilitating many everyday operations with its features.



Business management

Powerful business programs are available for use in MEPIS Linux, though none is installed by default. If not be available in Synaptic, they would have to be installed through other methods of software installation (see Section 7.3: Installing programs by other methods).

Other common choices: 
http://www.mepis.org/docs/en/index.php?title=Linux_software#Business_Management







8.4:     Home productivity

See also 8.3: Office productivity


Money management

Open-source programs for managing personal finances are available that can import standard formats such as QIF.

Other common choices:
http://www.mepis.org/docs/en/index.php?title=Linux_software#Money_Management



Multimedia management

Photos

DigiKam is an excellent management tool for photos. It is installed by default with MEPIS Linux 8.0, and can be found by clicking KMenu --> Graphics --> digiKam.

Other common choices:
http://www.mepis.org/docs/en/index.php?title=Linux_software#Photo



Music

Amarok is a powerful music management tool supplied by default with MEPIS Linux 8.0 and reached by clicking KMenu --> Multimedia --> Amarok. A detailed handbook is available off the Help menu.

Also included in MEPIS Linux 8.0 is a tool called ID3 Tags (Kid3), reached by clicking KMenu --> Multimedia --> More Applications, that allows you to edit the ID3v1 and ID3v2 tags in MP3 files efficiently. A handbook is available off the Help menu.

Other common choices:
http://www.mepis.org/docs/en/index.php?title=Linux_software#Music



List management

Kontact includes a pair of applications that are useful for making and managing lists. One is To-Do, where individual lists can be created and tracked. A nice feature here is that you can make a to-do item out of any email you receive in KMail by right-clicking the message and selecting Create Task/Reminder. Also useful is Notes, which allows you to create lists on yellow sticky notes and place them on your desktop.

In addition, you can use the installed spreadsheet OpenOffice.org Calc or a small intuitive program for home list-making called QuickList available through Synaptic.



Genealogy

GRAMPS (Genealogical Research and Analysis Management Programming System) is a free Software Project with a professional genealogy program and a Wiki. It can be run as a Knoppix LiveCD for testing purposes. Can use data files exported from other programs exported in the GEDCOM format.







8.5:     Security and Privacy

Firewall

Guarddog firewall KMenu --> Internet --> Security --> Guarddog is installed by default with MEPIS Linux 8.0. It is preset to protect your system from external hackers while not being intrusive during normal use. The Guarddog interface is clear and offers many options, but most users will almost never have to open it or change anything.

The most common need to open Guarddog comes when the user is required to permit a protocol through the firewall, for instance when installing a network printer. Check the Guarddog handbook for details on when and how to do this.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Firewall



Antivirus

MEPIS Linux 8.0 does not currently require antivirus software because no viruses able to attack and damage a Linux system are in circulation. The purpose of installing an antivirus would be to assist with stopping Linux users from unknowingly passing virus-infected emails and other documents to Windows users, as well as to provide an open-source tool for protection in a dual-boot setup with Windows.

KlamAV is available for MEPIS Linux 8.0 from the repos. The program is inactive until it is opened by a user with root privileges.



AntiRootkit

Rootkits are intended to hide software action from the operating system, and can be used malevolently. Here are two of the most common anti-rootkit applications, available through Synaptic:

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#AntiRootKit



Password protection

Passwords are protected in MEPIS Linux 8.0 by the use of KDE Wallet, which is enabled by default. To change KDE Wallet's behavior, click KMenu --> Control Center --> Security & Privacy --> KDE Wallet.

NOTE: it is important to set a strong password in the first place. A strong password:



Encryption

File or folder encryption is made possible by KGpg, available by clicking KMenu --> Utilities --> PIM --> KGpg. This utility is also integrated with Konqueror, so that a file or folder may be encrypted by right-clicking it and selecting Actions --> Encrypt.


Privacy

User privacy is enabled system-wide by default in MEPIS Linux 8.0, so that items such as recent documents, web browsing history, etc., are cleared during shutdown. You can change that behavior by clicking KMenu --> Control Center --> Security & Privacy --> Privacy. Some applications (e.g., Firefox/IceWeasel) have their own privacy controls as well.

Web content filtering in Linux can be executed using a program such as Dansguardian, available through Synaptic.



Vulnerability

Open-source vulnerability scanners and intrusion-detectors for servers are available for use with MEPIS Linux.









8.6:     Utilities

See also Section 8.7: System

NOTE: many more utilities are available for MEPIS 8.0 than the few installed by default: open Synaptic, click Sections at the bottom of the left panel, and scroll down the list to select the category Utilities.


Accessibility

Various open-source utilities exist for MEPIS Linux 8.0 users with disabilities. Here are two of the most commonly used, available from the repos.

Other accessibility applications are available through Debian and KDE projects:


Desktop

The following packages for use on the desktop can be found under KMenu --> Utilities --> Desktop.

Other KDE Desktop applications: http://www.kde-apps.org/



Folders and Files

MEPIS Linux 8.0 comes with a powerful graphical program to manage files and folders called Konqueror, the web browser, file manager and file viewer for KDE. There is also a command-line program available from the repos called Midnight Commander that uses the entire terminal screen. Each has its advantages, depending on your preferences and the task you need to accomplish.

A couple of smaller packages for working with files are also installed with MEPIS Linux 8.0.

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Advanced_file_tools



Printing

Print utility packages are available for MEPIS Linux 8.0.







8.7:     System

See also Section 5:  Configuration

Finding files and folders

A number of powerful means of finding files or folders, both graphical and command-line, are available for MEPIS Linux 8.0.

GUI:

CLI:



How to list your hardware

For configuration you will probably need to discover exactly what hardware is connected to your system. Use one of the following methods.

Basic list

One place to get information about your hardware is Kinfocenter. Click KMenu --> System --> KInfo Center, and you will see the list of hardware in the left panel, and details in the right.

Detailed list

You can get more detailed information using a command-line program that comes pre-installed with MEPIS.



How To Get System Info in Linux: http://www.computerbob.com/guests/how_to_get_system_info_in_linux.php




Screensavers

KDE has its own screensaver program known as KScreensaver. You reach it by right-clicking the desktop, select Configure Desktop... --> Screen Saver. The settings screen is pretty clear, but the Help document has details. A set of creative screensavers can be added with Xscreensaver.



Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Screen_Saver



Killing runaway programs

When a program refuses to end, you can kill it in a number of ways. Here are two of the most common:



MEPIS Wiki: Killing a runaway program: http://www.mepis.org/docs/en/index.php?title=Killing_a_runaway_program




A symbolic link (also soft link or symlink) is a special kind of file that points to another file, much like a shortcut in Windows or an alias in Macintosh. A symbolic link does not contain any actual data (as a hard link does), it just points to another file somewhere in the system.

There are two ways to create a symlink: Konqueror or the command line.



Wikipedia: Symbolic link: http://en.wikipedia.org/wiki/Symlink
The Seven Unix/Linux File Types: http://sblinux.org/pages/permissions01.html#filetypes




System monitoring and scheduling

A variety of tools to help you monitor your system are available in MEPIS Linux 7.0. can be found at various locations under the KMenu --> System menu tree. For details on these tools, check the MEPIS Wiki.



Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Utilities







8.8:     Good practices

This section covers the good basic practices that MEPIS Linux 8.0 users should follow to keep their system efficient and secure.

Backup

The most important practice is to back up your data and configuration files regularly, a process that is easy in MEPIS Linux. It is highly recommended that you back up to a different drive than the one your data is on! You can buy a new storage device, or use an old hard drive if you can find one.

Back up data:

Make sure you back up your data, including documents, graphics, music, and mail. By default, most of this is stored in your Home directory (/home/YourUserName/).


Back up configuration files:

Here is a list of items for backup:


Back up a list of installed program packages:

It's also a good idea to save in your /home/username directory a file that contains the list of programs that you have installed with Synaptic, apt-get or KPackage (see Section 7: Software Management ). If in the future you need to reinstall, you'll just have to paste the names of the files to an apt-get install command. You can create an inventory of all packages on your system installed since installation with:

dpkg --get-selections >list_packages.txt

To reinstall ALL those packages at once:

dpkg --set-selections <list_packages.txt
apt-get update
apt-get dselect-upgrade


Back up using Keep

Keep is a front end for Rdiff-Backup that functions as a backup system for KDE. It is installed with MEPIS Linux 8.0 and can be found by clicking KMenu --> System --> Backup System (Keep).

NOTE: You must run Keep as root to avoid getting an error message. You can set this by right-clicking the Keep menu entry, selecting Edit Item, checking Run as different user, and entering root as the user's name. Also, it is important to make sure that permissions are set identically on the directories being used.

To back up using Keep, follow these steps:

  1. Open the app, click on Add directory to backup.
  2. Select a directory for backup, e.g. the default /home/username.
  3. Choose a backup location, e.g. /mnt/SomeRemoteLocation. You can also back up over a network, see the Keep FAQs.
  4. Decide on any backup options, e.g., how frequently the backup should occur.
  5. Click on Finish.
  6. Click on Backup now, highlight the source to back up, and click OK.

To restore a back up:

  1. Open the app, click on Restore a backup.
  2. Select the backup to restore.
  3. Select the destination directory.
  4. Choose a backup date to restore, if there is more than one date.
  5. Click on Finish.


Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Backup



Disk cloning

As a precaution in case of complete harddisk failure, some users create a complete image of their harddrive, a technique called disk cloning or ghosting. In case a new harddrive must be installed, the user can simply restore the entire image to be back in operation in a few minutes. Open-source (e.g., Partimage, G4L) and proprietary (e.g., Acronis) ghosting software are available to carry out this procedure. Depending on the software used, you may have to carry this out from a separate drive or a LiveCD.

Cloning can also be used to make an identical working copy of your hard disk or partition to a second disk or partition with an equal or larger size than the original by using the command line tool dd. Unlike the cloning tools listed above, dd copies the hard disk or partition on a sector by sector basis, so everything is copied, including unused sectors. That being the case, it can take some time for larger drives.



Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Backup



Remove unneeded services

It's a good idea to remove services that start at boot time and you don't need both to improve security and to limit resources utilization. To stop a program, for example called UnneededProgram from starting, execute this command as root:

update-rc.d -f UnneededProgram remove

Here is a list of services that you might not need (check!):

There are also KDE applications for configuring other services. Installed by default is found by clicking KMenu --> Control Center --> KDE Components --> Service Manager. The Service Manager module displays a static list of services that are started on demand and cannot be modified, and a second list of services that can be loaded when KDE starts or manually started when needed. You can also install KSysV from the repos for more advanced control of the startup scripts.



MEPIS Wiki: Service configuration: http://www.mepis.org/docs/en/index.php?title=Runlevel
An introduction to services, runlevels, and rc.d scripts: http://www.linux.com/articles/114107
KSysV Handbook: http://docs.kde.org/stable/en/kdeadmin/ksysv/index.html



Disk maintenance

It is rare that you will need to do much disk maintenance compared to Windows, since Linux operating systems and the disk filesystems they utilize are designed differently. Still, there may come a moment when you want to check for partition/disk errors, something done in Windows with scandisk. To check for filesystem and disk read/write errors, go through the following steps:

NOTE: The act of defragmenting or “defragging” a drive, so well known in Windows®, is ordinarily unneeded in MEPIS Linux 8.0 as long as you have a standard Linux filesystem such as ext3 or ReiserFS.



Upgrade precautions

These are some time-tested rules of thumb for new users of MEPIS Linux to avoid getting into trouble when upgrading their software:



MEPIS Wiki: upgrade vs. dist-upgrade: http://www.mepis.org/docs/en/index.php?title=Upgrade_vs._dist-upgrade
MEPIS Wiki: Sources.list: http://www.mepis.org/docs/en/index.php?title=Sources.list_MEPIS_8.0







8.9:     Games

See also Section 9.3: Windows® programs under MEPIS

Because of space limitation, MEPIS Linux 8.0 comes with only a few simple games, but many more are available. Browsing the extensive list of games available through Synaptic (click Sections --> Games at the bottom of the left panel) or following the links below will bring up many other titles for your enjoyment.

Adventure Games

There are no Adventure Games installed by default. Here are a couple of popular ones you can install via Synaptic to get you started.



Arcade Games

There are many arcade games that can be downloaded via Synaptic.



Board Games

Two Mahjongg-type games are installed by default, KMahjongg and Shisen-Sho. You can find them under KMenu --> Games --> Board Games.

Here are some others to whet your appetite:



Card Games

Here are some fun card games available from the repos for MEPIS 8.0.



Tactics & Strategy Games

Two Strategy games are installed by default: KSudoku and SameGame. They are reached by clicking Kmenu --> Games --> Tactics & Strategy.

There are many others that can be downloaded via Synaptic. A couple of the most popular:


Windows games

A number of Windows games can be played in MEPIS Linux 8.0 by using a Windows emulator such as Cedega or DOSBox, or some may even run under Wine: see Section 9.3: Windows® programs under MEPIS for details.








8.10:     Kids stuff

While there is no kids stuff provided with the default MEPIS Linux 8.0 installation besides a few games, there is a great deal available through Synaptic or from online resources. You can also search Debian testing for junior- to find packages associated with the DebianJr project (see Links and Guides). The following suggestions will give you a sense of what is available.


Education


Desktop Fun

Security


Graphics








8.11:     antiX

Introduction

This document is taken from the official anti FAQ (see links) and is intended for the first-time user. When you boot up antiX you are probably looking at a desktop that differs in look and function from the familiar. This difference is due to the window managers being used to control what the end-user can see and do. We hope these FAQs will give you a basic orientation to antiX and its window managers, and provide the means to explore further on your own.

Be advised that unlike the rest of the MEPIS User's Manual, this antiX section contains external links embedded in the text. It might be wise to right-click and choose open in a new tab when exploring them.

Window Managers

What window managers are available in antiX?

Two different window managers come installed and ready to use:
1) the minimalist manager Fluxbox (default)
2) the lightweight IceWM.

Both window managers can be run with or without the ROX Desktop environment that provides drag-and-drop functionality and the Conky system monitor that displays real-time information.

How do I change from one to another?

You can easily switch from the default Fluxbox by right-clicking anywhere on the desktop to display the menu (from now on = “Menu”), then clicking WM's to select one of the others.

And to get back?

ROX pinboard or panel: click Menu --> WM's --> ROX and select the appropriate toggle.

Conky: in Fluxbox, click Menu --> WM's --> Conky on/off.

IceWM: click Start --> Programs --> Desktop --> Alternatives -->FluxBox.

How do I get out of antiX?

Click Menu --> Exit, which will present you with the choice to lock screen, log out, reboot, or shut down.

Organized FAQs

  1. Fluxbox
  2. IceWM
  3. ROX
  4. Conky
  5. smxi

8.11.1:       Fluxbox

  1. First look
  2. Basic configuration
  3. Basic operation
  4. Basic customization
  5. Advanced
  6. Links

Fluxbox: First look

Where do I start? I don't see a Start or Menu button.

Just right-click anywhere on the desktop and use the menu to open any application.

What is this desktop?

The desktop is run by Fluxbox, a lightweight window manager for the X Window System that provides the display resources and functions.

Where are the icons?

Fluxbox does not use icons, but you can switch to the ROX desktop (see section below) if you would like them.

What's that stuff in the upper left corner?

That is the output of Conky, a light-weight system monitor that gives you real-time information on various aspects of your computer.

And that bar at the bottom?

That is called the toolbar or panel, and it displays current info such as the workspace, open applications, background applications and the date/time.


Basic Configuration

How do I set up a wireless connection?

There are 3 options, all found in the antiX Contol Centre (CC): Wicd, MEPIS Network Assistant and ceniwrapper.

1) In the directory Menu --> Settings --> Control Centre --> Network --> you will find the wireless frontend Wicd that antiX uses to make its wireless connection. Hints on its use can be found here. See also the detailed discussion in the MEPIS Wiki for more information, and search the Mepis Community Forum for particular cards.

2) For more advanced operations,l you can also consider the MEPIS Network Tool, which can be found in the antiX CC.

3) The command-line (CLI) tool Ceni from the Sidux developers is a wrapper that is very efficient for setting up a connection: select "Set Wired Connection."

What about dial-up?

In antiX CC --> Network. This brings up Gnome PPP, a graphical frontend for the excellent WvDial tool. Intuitive interface makes it easy to use.

How do I set up printing?

Unless you have an HP printer (see next entry), do one of the following:

1) In antiX CC --> Hardware. A screen will open showing you the printers that have been found, with an icon to click for an assistant to add a new printer.

2) Open up a browser (Menu --> Browser), and enter:

http://localhost:631/ 

This will take you to the CUPS interface, where you can set up your printer. For help on particular printers and drivers, check the OpenPrinting database.

How do I set up an HP printer?

You will need to install (see installing software) some additional packages:

hpijs
hpijs-ppd
hplip-data
hplip
hplip-gui
cups-pdf
cupsys-client
cupsys-driver-gutenprint
gs-gpl
lpr
magicfilter
gv
xprint-utils

You should then be able to set up your printer by opening up a browser (Menu --> Browser), and entering:

http://localhost:631/ 

What about a scanner?

This one should be easy. Connect your scanner to the computer, and click Menu --> Images --> Scan (xsane) or Menu --> Images --> Scanimage. This will bring up Xscanimage where, after selecting from the scanners it has found (it may have multiple entries for your one scanner, so try them all until one works), you will see a very basic screen which is pretty self-evident. To adjust the values of your scanner, click Menu --> Run and type xcam.

You can then edit the scan in GQview (Menu --> Images --> Image browser). For details on using GQview, check its User Manual.

What application should I use for system setup?

antiX comes with the MEPIS Assistants to make configuration of hardware easier. All can be found in the antiX CC --> System

Details on this utility can be found in the MEPIS Wiki.

I want to configure my monitor--how do I do that?

The easiest method is to use the MEPIS X-Windows Assistant in antiX CC --> System

For details on this application, see the MEPIS Wiki.

Are there any other MEPIS Assistants I should know about?

In addition to the MEPIS Network Assistant that has already been mentioned, the MEPIS User Assistant unites a number of tools having to do with user management. Found in antiX CC --> System

For details on this application, see the MEPIS Wiki.

Can I use a MP3 player such as an iPod with antiX?

You can play MP3 files with XMMS, and you can view and edit ID3 tags by installing the program EasyTAG. But there is no simple way to synchronize your player with your host computer without installing Amarok and the KDE files it depends on.

Is there a way to interact with a digital camera?

The easiest method is to just treat it as a storage device by using a USB card reader. Then when you connect it to the computer, it will be mounted and available as an entry in the directory /media. You can either click Menu --> Files to examine and move or delete the contents, or click Menu --> Images --> Image browser to bring up GQview that features single click access to view images and move around the directory tree.

How do I install nvidia/Ati driver for antiX?

The best way to do this is via the smxi script. See: 8.11.5: smxi

Can I use a webcam?

Many webcams will work with antiX, see the discussion in the Mepis Wiki.


Fluxbox: Basic Operation

Where are my files?

As in all Linux versions, personal files are located in antiX by default in the /home directory of the Linux file system.

Is there an easy way to find a specific file?

Click Menu --> Search to bring up catfish, a handy file-searching interface that is intuitive to use.

How are files managed?

Click Menu --> Home to open a graphical file manager that is at the heart of the ROX desktop (see section below). It opens to your home directory, where you can change to view to include hidden system files by clicking on the eye icon up on the menu bar. Right-click a file to see management options.

For a command-line file manager, click Menu --> Admin/Tools --> Tools --> MC to bring up Midnight Commander, whose main interface consists of two panels displaying the file system with numbered commands on the bottom. Press F1 for help.

What if I need to edit a text file?

You have two good options in antiX, available by clicking Menu --> Office --> Text Editors.

1) Nano is a command-line application run by control keys listed at the bottom of the screen. Press Ctrl-G to access the help file.

2) Leafpad is a simple graphical application that includes essential features and uses familiar pull-down menus.

In addition, you can open any text for editing in the file managers Rox-filer and MC, discussed above.

What if a file is compressed in some format such as tar, etc?

Click Menu --> Admin/Tools --> to bring up Xarchive, migrate to the file location, highlight the file and click Extract on the icon bar.

How do I install and manage software?

There are a number of methods of managing software in antiX, the most common of which are the command-line application Apt and the graphical user interface for it known as Synaptic.

1) To get to Apt just click Menu --> Terminal and become root (type su followed by root's password). For setup and use see the MEPIS Wiki or the Apt Howto.

2) To get to Synaptic, which is sometimes easier for a newbie, open a root terminal as just described, then just type in the word synaptic. It is also found in the antiX CC --> System, called Manage Packages. Detailed directions can be found in Section 7.2 of the MEPIS User's Manual.

How can I get my email?

Clicking Menu --> Email will bring up the application Claws Mail, an email client and news reader based on GTK+. You enter setup by following the wizard that pops up the first time you use the application, or any time by clicking on the menu bar Configuration --> Create new account... and filling in the blanks with the information for your email account(s). It is pretty straightforward, but if help is needed you can consult the Claws Mail User Manual.

What does antiX offer for web browsing?

The default browser is the full-featured IceWeasel, a fork of Firefox entirely made with free software. Click Menu --> Browser to launch.

Two other lightweight browsers are also included under Menu --> Net. Dillo is a fast, minimalistic multi-platform web browser that is highly secure, while the Links2 browser is a graphics and text mode web browser that is also very fast and safe and has pull-down menus available by clicking on the top bar.

Can I chat with antiX?

There are three chat programs that come installed with antiX, all located under Menu --> Net --> Chat.

1) Clicking on IRC will bring up a simple IRC program called Xchat. Fill in the connection information and you are ready to go; if you need help, check the Quick Start Guide.

2) When you click on Messenger, the well-known program Pidgin (formerly called Gaim) starts up, a multi-protocol Instant Messaging client that allows you to use all of your IM accounts at once. Setup is intuitive, and if you need help you can check these FAQs.

3) Finally, clicking the entry Irssi brings up a speedy and very capable command-line IRC client. Setup and use is not obvious, so be sure to check the Irssi documentation.

What can I use to burn a CD/DVD?

Click Menu --> Multimedia --> Video --> Burner. This will bring up Brasero, an easy yet powerful burning application.

What do I use for a news (RSS) reader?

You have a few good options:

1) Use an online aggregator such as Bloglines that you access through a browser.

2) Use the email plugin claws-mail-feeds-reader. Then click Menu --> Email to open Claws-Mail, click on the menu bar Configuration --> Plugins..., highlight the plugin RSSyl and click Open. A My Feeds section is now added to the folder pane. Right-click the header or any feed for management options.

3) Install a desktop aggregator from the repositories (use Synaptic and search on RSS feed).

How do I play music?

To play an audio CD, pop it in your CD player, then (there is no autoplay) click Menu --> Multimedia --> Audio --> Music player. This brings up XMMS, a multimedia player for unix systems. Click on the forward button (second from left) to start the CD.

You can select a different source of the audio files to play in XMMS. To do this, right-click on the XMMS player top bar, and from the pop-up menu select Play File to select the audio file to play. To play an audio mp3 or ogg vorbis file, simply left-click on it and XMMS opens automatically and starts playing the file.

There is also a mixer available by clicking Menu --> Multimedia --> Audio --> Mixer. The application is aumix, and it is pretty evident how to use it.

If you want to use a console music player for your music on hard drive the combination of Ario, based on the music daemon mpd, and ncmpc works very well. See this page about setup and use.

What about playing music from an internet source?

If you want to be able to play an audio file from the Internet, open XMMS and select Play Location, then enter the Internet location (URL) of the file.

Alternatively, you can use Menu --> Multimedia --> Audio --> Stream Tuner, which offers hundreds of thousands of music resources in a fast and clean common interface.

Can I rip music with antiX?

Click Menu --> Multimedia --> Audio --> Ripper to launch Grip, a CD-ripper with many useful features. For details on use, see the User's Guide.

There is also a cli app in antiX called abcde.

The movie DVD I put in did not work. How can I watch movies?

There is no autoplay feature, so after you put in your DVD, click Menu --> Multimedia --> Video --> Video Xine. This brings us gxine, a frontend for the multimedia player xine. Right-click the main viewer screen, and click File --> DVD.

To play a video file (e.g., avi, mpeg, etc.), simply left-click on it and XMMS or Mplayer, depending on the file format, will open automatically and start playing the file.

Is there a screensaver?

Yes, with or without locking. Click Menu --> Settings --> Screen --> Locking (or Saving). Choose one of the categories of Xscreensaver collection, then select the one you want to use. Alternatively, use the lock option in Exit

How do I manipulate an open window?

In addition to the standard operations with the three buttons in the upper-right corner, other possibilities (windowshade, minimize, etc.) are available by right-clicking the titlebar. Double-clicking the title bar will shade the window. You can also resize it by dragging the lower right corner.

What applications are available for standard office use?

All office applications are found by clicking Menu --> Office. antiX comes with a lightweight spreadsheet called Gnumeric and a lightweight word-processor called AbiWord, both of which are capable of opening MS Office files. For greater functionality, install openoffice.org from the repositories —make sure your machine has the capacity.

Other office apps include a PDF reader, a calculator and a personal information manager called OSMO.


Fluxbox: Basic Customization

How do I change the Menu?

In antiX CC --> Desktop --> Edit Fluxbox Settings. You might for instance want to remove the Install entry at the bottom of the Menu.

How do I change the wallpaper?

There are two ways to do this. First, click Menu --> Files, and place any wallpaper you want into the Wallpaper folder. Then do one of the following:

1) Click Menu --> Settings --> Fluxbox --> Wallpaper, and click on the one you want.

2) antiX CC --> Desktop --> Choose Wallpaper. Click on image and then Apply.

How do I change the general style?

Click Menu --> Settings --> Fluxbox --> Styles, and click on the one you want.

How do I change the Panel?

Just right-click it to select whether it auto-hides, where it is placed, how wide it is, the clock format, etc.


Advanced

Is there a compression utility?

Click Menu --> Admin/Tools --> to bring up Xarchive, a simple wrapper for whatever command-line tools such as tar, rpm, zip, etc. are installed.

Are there other styles available?

Lots! Check the Bookmarks Toolbar Folder in Iceweasel, where many good sources are already linked.

What other customization can I consider?

Almost anything you want. Open antiX CC to see what is available.

Where are the configuration files for Fluxbox?

They are in /home/username/.fluxbox, and can be viewed by clicking Menu --> Files, and then clicking on the eye symbol to show hidden files.

Are there any development tools in antiX?

A good selection is available:

1) Click Menu --> Office --> Text Editors to get to Geany, a text editor with the basic features of an integrated development environment (IDE).

2) Click Menu --> Admin/Tools --> Tools to get to the Python shell, as well as the Tcl/Tk tools Tclsh8.4, and TkWish8.4.

What other system tools are provided?

Click Menu --> Admin/Tools --> Tools to get to Pstree to see running processes in tree form, Xdialogue to convert any terminal-based program into a graphical program, and Htop, an interactive process viewer.




8.11.2:       IceWM

  1. First look
  2. Basic configuration
  3. Basic customization
  4. Advanced
  5. Links

IceWM: First look

What is this?

The desktop is run by IceWM, a lightweight window manager for the X Window System whose goal is speed, simplicity, and not getting in the user's way.

Where are the icons?

IceWM does not use icons, but you can switch to the Rox desktop (see section below) if you would like them.

What's that stuff in the upper left corner?

That is the output of Conky, a light-weight system monitor that gives you real-time information on various aspects of your computer.

And that bar at the bottom?

That is called the toolbar or panel, and it displays (L --> R) the start button, a terminal button, a browser icon, the different workspaces, the taskbar, the CPU monitor, an email icon, and the date/time.


IceWM: Basic Configuration

How do I set up a wireless connection?

See entry in fluxbox section.

What about dial-up?

See entry in fluxbox section.

How do I set up printing?

See entry in fluxbox section.

What about a scanner?

See entry in fluxbox section.

What application should I use for system setup?

See entry in fluxbox section.

I want to configure my monitor--how do I do that?

See entry in fluxbox section.

Are there any other MEPIS Assistants I should know about?

See entry in fluxbox section.

Can I use a MP3 player such as an iPod with antiX?

See entry in fluxbox section.

Is there a way to interact with a digital camera?

See entry in fluxbox section.

How do I install nvidia/Ati driver for antiX?

See entry in fluxbox section.

Can I use a webcam?

See entry in fluxbox section.

Where are my files?

As in all Linux versions, personal files are located in antiX by default in the /home directory of the Linux file system.

How are files managed?

Click Start --> Programs --> Home to open Rox-filer a graphical file manager that is at the heart of the ROX desktop (see section below). It opens to your home directory, where you can change to view to include hidden system files by clicking on the eye icon up on the menu bar. Right-click a file to see management options.

For a command-line file manager, click Start --> Programs --> System --> Shells --> mc, which brings up Midnight Commander whose main interface consists of two panels displaying the file system with numbered commands on the bottom. Press F1 for help.

What if I need to edit a text file?

See entry in fluxbox section.

What if a file is compressed in some format such as tar, etc?

See entry in fluxbox section.

How do I install and manage software?

See entry in fluxbox section.

How can I get my email?

See entry in fluxbox section.

What does antiX offer for web browsing?

See entry in fluxbox section.

Can I chat with antiX?

See entry in fluxbox section.

What can I use to burn a CD/DVD?

See entry in fluxbox section.

What do I use for a news (RSS) reader?

See entry in fluxbox section.

How do I play music?

See entry in fluxbox section.

What about playing music from an internet source?

See entry in fluxbox section.

Can I rip music with antiX?

See entry in fluxbox section.

The movie DVD I put in did not work. How can I watch movies?

See entry in fluxbox section.

Is there a screensaver?

See entry in fluxbox section.

How do I manipulate an open window?

In addition to the standard operations with the three buttons in the upper-right corner, other possibilities (windowshade, minimize, etc.) are available by right-clicking the titlebar. Double-clicking the title bar will shade the window. You can also resize it by dragging the lower right corner.

What applications are available for standard office use?

See entry in fluxbox section.


IceWM: Basic Customization

How do you customize IceWM?

It is done by directly editing the configuration files to create your own preferences. Files are found in antiX CC --> Desktop --> Edit IceWM Settings.

What can I change?

You can change anything you want, following the guidelines in IceWm Manual.

What are the most common changes people make to the panel?

Let's focus on four common changes to what you see and how it functions. Open ROX-Filer as described earlier, click on the eyeball to see hidden files, click on .icewm, and finally on Preferences to open that file in a text editor. When you are done with your changes, save and exit. They will take effect the next time you log into IceWM.

1) Change to a 12-hr clock: click on Search on the menu bar, and enter:

timeformat

Look for the entry that reads “Clock Time format” and change the entry below that so it reads:

TimeFormat="%I:%M"

Note that the line has been uncommented and the text in quotes has been changed.

2) Change the number of workspaces: click on Search on the menu bar, and enter:

workspacenames

Change the entry as you would like; for instance, it could read:

WorkspaceNames=" 1 ", " 2 "

3) Get the mailbox icon to work: click on Search on the menu bar, and enter:

command to run on mailbox

Change the entry below to read:

MailCommand="claws-mail"

Again, note that the line has been uncommented and the text in quotes has been changed.

4) Make the panel autohide: click on Search on the menu bar, and enter:

autohide

Change the line below it to read

TaskBarAutoHide=1 # 0/1

Note line has been uncommented and the value changed to “1” (true).

How do I change the menu and the toolbar?

You can do it the same way you did with Preferences, or you can install the application icemc.

How do I change the desktop wallpaper?

Via antiX CC --> Desktop --> Choose Wallpaper. Note you can set a different wallpaper for each wm!

How do I turn off Conky?

Click Start --> Programs --> Desktop -->Conky on/off.


IceWM: Advanced

Is there a compression utility?

See entry in fluxbox section.

Are there other styles available?

See entry in fluxbox section.

What other customization can I consider?

Almost anything you want. Again, the IceWM User's Manual is your best guide.

Are there any development tools in antiX?

See entry in fluxbox section.

What other system tools are provided?

See entry in fluxbox section.




8.11.3: ROX

  1. First look
  2. Basic configuration
  3. Basic operation
  4. Basic customization
  5. Advanced
  6. Links

ROX: First look

What is this desktop?

This is the ROX Desktop, based around the Linux file system. Its core component is ROX-Filer, a powerful graphical file manager that antiX uses as the default application for managing files. Other components available in antiX include the ROX-Panel and the ROX-Pinboard, toggled separately from Fluxbox under the submenu Menu --> WM's --> ROX.

What can you do with the ROX-Filer?

Well, manage files of course! But it has many other capabilities that are covered below and in documents listed under Links.

What is the ROX-Desktop good for?

Its great benefit is to allow you to use icons for any item in the file system with a simple drag-and-drop.

What use is the ROX-Panel?

Its primary function is to allow you to create and customize your own panel.


ROX: Basic Configuration

How can I keep from having to toggle the ROX-Desktop every time?

ROX-desktop can be made permanent through a simple edit in Fluxbox or IceWM. In antiX CC --> Desktop --> Edit Fluxbox Settings --> Startup to open geany. Remove the ### from this line (in fluxbox, or add the line to IceWM startup file)

### rox -pinboard=antiX & 

Save and logout/login to your customized ROX-desktop (see below) using the window manager of your choice. Restore the comment symbols to this line if you want to stop the permanent use of the ROX-desktop.

Note: If you choose to have Rox-desktop permanent, then the pinboard/panel choices in the Fluxbox --> WM's --> Rox submenu should no longer be used.


ROX: Basic Operation

What are the basic moves to use with ROX-Filer?

How do I move files around?

This is probably best done by having 2 file-manager windows open, and just drag from the one to the other.

How do I put icons on my ROX desktop?

It's pretty easy! To add icons linking to devices, applications, folders and files to the desktop simply drag and drop from within ROX-Filer.

What about a device, e.g. a cdrom or floppy drive?

Open ROX-Filer and navigate to and open the /media folder. Left-click on the device you want, and drag and drop to wherever you want on the screen.

Can I link applications?

You can do that too, though you first need to know where the bin for the app is. Usually it is usr/bin, but you can find it by opening a terminal and typing:

which NameOfApplication

Once you know where it is, open ROX-Filer and navigate to its location. Left-click on the application file (if there is a symlink one, choose this) and--here we go again--drag and drop to where you want on the screen.

Even folders and files are done the same way?

You got it.

What are the tricks with ROX-Panel?

You use the same techniques as described above, just end up on the panel instead of the desktop. To remove again, right-click and select Delete item.

I can still see my Fluxbox panel even though I toggled to the ROX-Panel. What should I do?

It will disappear once your cursor is on the ROX-Panel, but there is an easy workaround: right-click the Fluxbox panel, and click on Auto hide to have it disappear when not in use.


ROX: Basic Customization

How do I change the Rox wallpaper?

Follow these steps:
1) Put your wallpaper in the Wallpaper folder in your home directory.
2) Click on the home folder, navigate to Wallpaper, and drag and drop (left mouse) your chosen background to the desktop.
3) Right-click on the dragged file and choose Backdrop, then drag the file into the space where it says Drop an image here. Select the image treatment at the top (tile, stretch, etc.).
4) Right-click on the dragged image file, and select Remove Item(s).

More information can be found in the desktop customization guide.


ROX: Advanced

How can I set the default opening application for a file?

If you wish to change the default application that will be used to open a file types, follow these directions.
1) Right-click on the file you are interested in changing, and click File --> Set Run Action
2)Type the name of the application in the box labeled Enter a shell command. Note: Leave a space between the last letter of the app and the " sign.
3) Save and now your file will open in the application of your choosing.

Is it possible to have more than one pinboard configuration?

Yes it is. Open the default and make whatever changes you would like. Then open ROX-Filer, click the eye icon to see hidden files, and navigate to ~/.config/rox.sourgeforce.net/ROX-filer/. Right-click the file Pinboard to open as text, then save it with another name.

Can I get ROX-Pinboard to open my own pinboard instead of the default one?

You can launch your personal pinboard by editing the Fluxbox menu as described earlier. Open the Menu editor, and add this line anywhere:

[exec] (Mypinboard) {rox --pinboard=mypinboard}

Be sure to replace “mypinboard” wtih the actual name of the pinboard you want to load. This is great if you use pinboard only occasionally and don't want to boot directly into it at startup. At the same time, it's faster than launching the command from terminal. In this fashion, multiple pinboards can be configured, named (mypinboard2, etc.), and entered into the fluxbox menu. Very convenient!

Can I customize the icons?

If you have added icons to the desktop, then:
1) Open ROX-Filer and navigate to the /.icons/ROX-SVG/scalable
2) Open the folder that corresponds to the type you wish to alter.
3) Right-click on the desktop icon type you want to alter (File or Mount Point or Dir) and click Set Icon --> Only for the file...
4) Now drag and drop the icon from the ROX folder into the box and voila! The chosen icon now appears on the desktop.

How do I edit the name of a file?

Right-click on the file's icon and click Edit Item and change the name displayed below The text displayed under the icon is... Then click OK.

What are ROX hotkeys?

Hotkeys in ROX allow a specific key sequence to open a folder or files with a single or at most 2 clicks. See this detailed explanation.




8.11.4: Conky

  1. First look
  2. Basic configuration
  3. Basic operation
  4. Basic customization
  5. Advanced
  6. Links

Conky: First look

What is this stuff I see in the upper left corner?

That is the output of Conky, a powerful system monitor loaded by default in antiX.

What's it good for?

Conky can display just about anything you want to keep track of, either on your desktop or in its own window.

Can you give me some examples?

Sure: disk space, memory usage, system load, wireless status, battery status, network download and upload speed, internet connections by protocol, RAM usage, swap usage, running processes etc.


Conky: Basic Configuration

How do I set it up?

Conky comes already installed and configured by default on antiX to display basic system information.


Conky: Basic Operation

How do I turn it off?

In Fluxbox, click Menu --> WM's --> Conky on/off. Repeat to turn it back on.


Conky: Basic Customization

How do I change Conky's look or information?

Follow these steps:
1) Open antiX CC --> Desktop --> Edit Conky. This will bring up a text editor with your default .conkyrc script.
2) Before you start editing, save a copy of your default conky script under a different name such as “conkyrc_default”. That way if you make a mistake or don't like your changes you can just reload your default script.
3) Make any changes you would like to the conky setup, save and exit, then click Menu --> WM's --> Conky on/off twice to toggle it off and back on to see your changes. The options section in the .conkyrc file supplies some useful tips.

Can I use the terminal to do this?

You can edit the Conky config file in a terminal by typing (substitute your actual username):

nano /home/yourusername/.conkyrc

This will bring up the config file in Nano.

That's a long file: where do I put my changes?

All style changes go above the word “TEXT” (toward the bottom), content changes go below.


Conky: Advanced

What extra features does Conky have?

There is a long list of the possible variables here.

How can I make style changes such as color, boxes, etc?

Available style variables are listed here.

Can you give me a couple of examples of advanced use?

Sure, you might want to try these to begin with, changing colors as you wish:

For more examples, follow the links below and search the internet.




8.11.5: smxi

  1. What is smxi?
  2. What can smxi do?
  3. How do you use smxi?
  4. Wwhat about sgfxi?
  5. Getting help

What is smxi?

smxi is a script written by a programmer named h2 that enables users to keep their antiX install up-to-date and running as a rolling release.

What can smxi do?

When run, smxi allows users to install a new kernel, install ATI and Nvidia graphics drivers, run apt-get upgrade or apt-get dist-upgrade safely, change antiX to a Sid-based or sidux-based system, and lots more!

How do you use smxi?

smxi is already installed in antiX-M7.5 and ready to run. You MUST run smxi outside of X (the window system) To get out of X when on your desktop, press Ctrl-Alt-F1 to get to a terminal prompt, then become root (su + password) and type:

 smxi

smxi will ask a series of questions the first time it is run, including which system options you want to run (ie default, sidux, sid). antiX developer anticapitalista suggests selecting the continue-no-changes option, using apt-get (rather than aptitude) and apt-get dist-upgrade

What about sgfxi? What does that do?

sgfxi is the script in smxi that deals with installing graphical drivers, As with smxi, it MUST be run out of X desktop. At root login type

sgfxi

How can I get help on this?

For more information about the smxi script, see:

There are many CLI programs available in addition to these graphical ones, just click around or look over the antiX website.







9:    Advanced Use

In this section you will find introductions to some of the more common advanced uses of MEPIS Linux 8.0. Click on any section that interests you for details.



For other advanced uses, please consult the MEPIS Wiki: http://www.mepis.org/docs/en/index.php?title=Main_Page








9.1:     Internet (Server)

Server uses

There are many ways to use MEPIS Linux 8.0 on a server. Click on any of the following items for details:









9.2:     Development

Introduction

If you are a programmer or interested in programming, MEPIS Linux 8.0 is an excellent environment for you to work in. Although only rudimentary development software is provided in the default install, a wealth of tools is readily available from the repositories; many of these are the same tools used to create MEPIS Linux 8.0! To see what is available, open Synaptic, click on the Sections button in the lower left panel, then on Development.

Text Editors

Various text editors are available by default on in MEPIS Linux 8.0 Kate and Kwrite can be accessed by clicking KMenu --> Office --> Editors.

GUI
CLI

Other common choices: http://www.mepis.org/docs/en/index.php?title=Linux_software#Text_Editing
Wikipedia: Comparison of text editors: http://en.wikipedia.org/wiki/Comparison_of_text_editors


Programming tools

C and C++

The GNU C compiler, gcc, is included in MEPIS Linux 8.0 by default. The GNU C++ compiler is available from the repositories in the g++ package; a number of other C and C++ compilers are also available. The Kdevelop IDE, while it supports several languages, was written with C++ and C in mind. Install it from the repositories with the kdevelop package.

Java

MEPIS Linux 8.0 ships with the Sun Java 6.07 runtime environment; the full developer kit can be installed by installing the sun-java6-jdk package. The Java 5 runtime environment and development kit are also available, and the GNU gcj Java compiler. Newer versions for Linux are available from Sun's website.

The popular Eclipse IDE is available from the repositories; it can be installed by simply selecting the “eclipse” package, but there are many optional add-on packages for it as well. The BeanShell interpreted Java environment is available from the repos, and the NetBeans IDE, available free from Sun, also works on MEPIS Linux 8.0.

Python

Python 2.5 comes preinstalled on MEPIS Linux 8.0. You can launch the interactive interpreter by typing python at the console. Python 2.4 as well as a large selection of additional python libraries are also available from the repositories, where you will also find the eric, idle, and boa-constructor IDEs.

Mono (.NET)

The “mono” packages in the repository provide a .NET-compatible runtime and development environment (for C#, ASP.NET, etc). Install the mono-2.0-devel package to get the runtime environment and development tools. A mono IDE monodevelop is also available.

Other tools


Web Development

MEPIS Linux 8.0 does not come with default applications already installed for designing web pages, but several are available from the repositories:

For those looking to do web development (as opposed to web design), the repositories boast a wide array of web frameworks, services, API's and tools. Check the MEPIS Wiki for more information


Development utilities

Some handy development utilities are available for MEPIS Linux 8.0 from the repos. Here are two of the more commonly used:







9.3:     Windows® programs under MEPIS Linux 8.0

See also 9.4:  Virtual machines

Introduction

There is a certain number of applications, both open-source and commercial, that will allow Windows applications to run under MEPIS Linux. They are referred to as emulators, meaning that they duplicate the functions of Windows on a Linux platform. Many MS Office applications, games and other programs can be run using an emulator with varying degrees of success ranging from near-native speed and functionality to only basic performance.

Open-source

Wine is the primary open-source Windows emulator for MEPIS Linux 8.0. It is a kind of compatibility layer for running Windows programs, but does not require Microsoft Windows® to run the applications. New Wine versions are rapidly packaged by Community members and made available on the Mepis Package Sharing forum and then on the Community website.

DOSBox creates a DOS-like environment intended for running MS-DOS-based programs, especially computer games.


Commercial

CrossOver Office allows you to install many popular Windows productivity applications, plugins and games in Linux, without needing a Microsoft Operating System license. Supports Microsoft Word, Excel and PowerPoint (up to 2003) particularly well.

Cedega is designed to run DirectX and OpenGL games from the Microsoft Windows Platform under Linux. Popular games such as Elder Scrolls IV: Oblivion, Battlefield 2142, World of WarCraft, Madden 2007 and Civilization IV can be played on MEPIS Linux 8.0 with this application.







9.4:     Virtual machines

See also 9.3 Emulators

Introduction

Virtual machine applications are a class of programs that simulate a "virtual computer" in memory, allowing you to install any operating system on the machine. It is useful for testing, running non-native applications, and providing users the feeling of having a machine of their own. Many MEPIS Linux users make use of virtual machine software to run Microsoft Windows “in a window” to seamlessly provide access to software written for Windows on their desktop. It is also used for testing to avoid installation.

Applications

A number of virtual machine software applications for Linux exist, both open-source and proprietary. MEPIS 8.0 makes it particularly easy to use VirtualBox, so we will focus on that here. For details and the most recent developments, see the MEPIS Wiki and Mepis Virtual Machines/Emulators forum linked below.

Here is an overview of the basic steps to set up and run VirtualBox:

Excellent documentation is available through Help on the menu bar or as a PDF from the website.









9.5:     Alternate Window Managers

Traditional window managers

A window manager in Linux is essentially the component which controls the appearance of windows and provides the means by which the user can interact with them. MEPIS Linux 8.0 comes with the K Desktop Environment, or KDE for short, which provides basic desktop functions, many applications for daily needs (Kmail, Amarok, K3b, etc.), and development tools and user documentation as well. MEPIS Linux 8.0 uses KDE 3.5.10 because it is mature and stable; at some point in the future it will move to KDE 4.x, which is currently under intense development.

KDE is a very powerful desktop environment, but others are available from the repos. Once installed, you can choose the window manager you want from the Menu --> Session Type on the login screen (KDM) and log in to as you normally would. For Gnome, you can replace KDM with the Gnome login screen GDM.



Compiz: the 3D window manager

It is now possible to have great eye-candy from 3D-accelerated effects on the desktop, such as wobbly windows, window-drawing effects, or the now famous “desktop cube.” MEPIS 8.0 makes it easy to use Compiz to do this, which makes use of new drivers Xgl and AIGLX and can create a cube workspace. In addition, Compiz Fusion is a separate project that builds upon Compiz.

Compiz packages are in the repos, along with additional plugins developed by Compiz Fusion (see also the method in the MEPIS Wiki). The setup is pretty straightforward:

  1. Open Synaptic and search on “compiz”.
  2. Check and install all packages found.
  3. Reboot the computer.
  4. Click on the new Compiz Fusion icon in the panel to start it.
  5. Right-click the icon to reload the window manager or configure Compiz.
  6. If you want Compiz to start on boot, create a link to /usr/bin/compiz in /home/UserName/.kde/Autostart

You will need good hardware and up-to-date video drivers for success.

NOTE: Compiz installation and configuration can be complicated and hardware-intensive, and is best avoided by beginners.










9.6:     Accessing other partitions

Overview

Immediately after installing MEPIS Linux you have access to the root filesystem. Everything you need to run MEPIS Linux is already mounted there. But you may need to take extra steps to access data elsewhere, or you might want to set up a partitioning schema that safely stores your data outside your /home directory partition. In cases like that, you may need to know how to mount partitions other than your root partition.

But what exactly is a partition?  
Here is a good, basic definition from the Linux Documentation Project:

Partitioning is a means to divide a single hard drive into many logical drives. A partition is a contiguous set of blocks on a drive that are treated as an independent disk. A partition table is an index that relates sections of the hard drive and attached devices to partitions.

When you installed MEPIS Linux, it set up a root filesystem on the partition that you designated. But other partitions can be mounted to the root filesystem and so be made available to the system and its users.

In general, a partition can be mounted dynamically whenever it becomes physically connected, mounted manually when you need access to it, or mounted automatically upon boot. In terms of actual process, dynamic mounting is done by the by udev device manager, while the options for manual mounting as well as for automatic mounting at boot are governed by the configuration file /etc/fstab. The udev device manager listens for devices being added or removed from the system, such as a USB drive, and makes them available to the system. Usually, fstab is the only one that users might need to modify.

The following sections discuss these methods in more detail.

9.6.1:    Dynamic mounting

Dynamic mounting occurs when a device is plugged into the system. Most of the time, it will allow you to have access to the device's partition without any action on your part, usually through a window opened up by KDE. Thus, when you plug in a device (USB memory stick, camera, PDA, etc.), the window that pops up showing the contents of that device ultimate depends on dynamic mounting by udev.

The following description udev outlines the mounting process (edited from Wikipedia):

udev is a generic kernel device manager that runs as a daemon [background process] on a Linux system and listens for a new device being initialized (or a device being removed) in the system. The system provides a set of rules that match the properties of the discovered device. A matching rule will possibly name and create a device node and run configured programs to set-up and configure the device. udev rules can match on properties like the kernel subsystem, the kernel device name, the physical location of the device, or properties like the device's serial number. Rules can also request information from external programs to name a device or specify a custom name that will always be the same, regardless of the order devices are discovered by the system.

Rarely, however, no matching occurs and the device is not made available to the system by KDE. This may be due to a hardware problem or a udev problem. It is easy to find out whether the device has been recognized by the system. First plug it in, then open a terminal and type:

dmesg | tail

If the hardware has been recognized, you should see its name and address in the output. That means that the problem lies at the next step, and you may have to modify udev (not recommended for newbies). Search first on your device ID number (e.g., ID 03f0:2112) to see what others have done. For guidance on writing udev rules, consult the how-to below.



9.6.2:    Manual mounting

If you need access only on an occasional basis to a partition that is not on a device dynamically mounted, such as a partition on your HDD from another OS, you can mount it manually with a couple of graphical tools in MEPIS Linux 8.0.

My Computer

A new feature of MEPIS Linux 8.0 is the presence on the desktop of an icon labelled My Computer. When you click it, you will see a number of icons, one of which is called Storage Media. Click on that, and you will see icons for all mounted storage media —simply click on the one that interests you to view the contents.

KwikDisk

KwikDisk is a kicker applet that will show up in the system tray (looks like three colored cubes) just to the right of the taskbar when set up by the user. It is installed with MEPIS 8.0, so you can enable it by clicking KMenu --> System --> File System --> Removal Media Utility (KwikDisk). To have it be there permanently, create a link to it in /home/UserName/.kde/Autostart.

It has a variety of uses:

Again, simply click on the device that interests you to view the contents.

This will work for any Linux partition, and for Windows 98, 2000 and XP as well. You may have to provide root's password, depending on how permissions are set up.



9.6.3:    Automatic mounting

In order to set MEPIS to automatically mount another partition at boot time so that it will be accessible at all times, you will need to edit options in the /etc/fstab configuration file. Before we get into the details, let's go over the basic structure of every line in that file:

The fstab file

The file /etc/fstab has two parts: permanently available devices and, starting after the comment line: “Dynamic entries below.” These are partitions detected at the time you installed MEPIS Linux, but which are not integral to operating MEPIS. They may be manually mounted, per Section 9.6.2, above. When they are mounted, the settings listed in /etc/fstab will govern their placement and permissions in the root filesystem.

But when you wish to change a partition from the “occasionally mounted manually” category to one that is automatically mounted all the time, a few changes need to be made to the /etc/fstab configuration file.

Here is a typical entry for the first primary partition of a main hard drive:

/dev/sda1   /   ext3   defaults,noatime   1   1

Each of the six elements of this entry contains information that must be presented in a specific order, as we can show with this table where the same entry is divided out into the standard categories:

[Device] [Mount Point] [Filesystem] [Options] [dump] [fsck order]
/dev/sda1 / ext3 defaults, noatime 1 1
 

Now that the structure of the entries makes some sense, we can proceed to edit the file.



Automounting a partition to the root filesystem

As with most Linux configuration files, editing this configuration file (see Section 10.3) can easily be done with a text editor, after you back up the original file.

  1. Open the Konsole terminal window (Kmenu --> system --> Terminal Program [Konsole]) and type:
    cp /etc/fstab ~/Backups/fstab.original
    
    This will copy the current /etc/fstab into your /home/username/Backups directory under the name “fstab.original” in case you need to restore it later. To restore it you would need to issue this command as root:
    cp /home/username/Backups/fstab.original  /etc/fstab
    
    Note that in the first command, you copied a system file to your personal directory using the tilde —a shorthand for “user home directory.” All cool. But the command to restore a system file needs to be much more precise. In addition to issuing the command as the root user, you need to specify the user home directory more strictly —from the root point of view.
     
  2. To open up the current /etc/fstab in the text editor kwrite, with root privileges, type in konsole:
    kdesu kwrite /etc/fstab 
    
  3. Locate the line designating the partition you want to have mounted; the first column will refer to it as /dev/sdxn where x is a letter and n is a number. Highlight the entire line and cut it, then paste it into the upper part of the file. For example let's use /dev/sda3 as it originally appears:
    sysfs /sys sysfs defaults 0 0
    # Dynamic entries below
    /dev/sda1 /mnt/sda1 ext2 noauto,users,exec 0 0
    /dev/sda2 /mnt/sda2 auto noauto,users,exec 0 0
    /dev/sda3 /mnt/sda3 auto noauto,users,exec 0 0
    
    For the future, when you're sober, it might be good to document your change with a comment line so you know what is what. The following is an example of the new line in place, with a comment line added:
    sysfs /sys sysfs defaults 0 0
    # automatically mounted partitions
    /dev/sda3   /mnt/sda3   auto   noauto,users,exec 0 0
    # Dynamic entries below
    /dev/sda1   /mnt/sda1   ext2   noauto,users,exec 0 0
    /dev/sda2   /mnt/sda2   auto   noauto,users,exec 0 0
    
  4. VERY IMPORTANT: you must change the option in column 4 to auto! Do not alter anything in column 3, which may or may not already contain the word “auto.” Column 3 refers to filesystem type, not to mounting options. The lines should now look similar to this, with only one word changed:
    sysfs /sys sysfs defaults 0 0
    # automatically mounted partitions
    /dev/sda3   /mnt/sda3   auto   auto,users,exec 0 0
    # Dynamic entries below
    /dev/sda1   /mnt/sda1   ext2   noauto,users,exec 0 0
    /dev/sda2   /mnt/sda2   auto   noauto,users,exec 0 0
    
  5. Check to see that the original line for the partition is missing from the bottom section of Dynamic entries, and exists only in the new, upper section. An error will result if the line designating any partition exists twice.
  6. Save the file and exit Kwrite. To put your changes into effect, open a terminal, become root, and type:
    mount -a

    Now fstab will be parsed and all filesystems that are set to mount at boot will be immediately mounted if they are not already. You will find the partition mounted under /mnt.



Automounting a partition to a subdirectory

To make it more convenient, you can mount it to another location. Let's say you want your Windows XP partition to show up as a mounted directory under /home. Here's how:

  1. First, create the folder where you want it to be. Open Konqueror, right-click an empty space and click Create New --> Folder... and enter XP as the name we're going to use.
  2. Open up the current /etc/fstab in the text editor kwrite, with root privileges, by typing in konsole:
    kdesu kwrite /etc/fstab 
    

    As before, back up the file before you start working on it.

  3. Locate the line in the dynamic section for the partition you want to mount in /home. Here we will assume the original line looks like this, though yours may differ:
    /dev/hda1 /mnt/hda1 /mnt/hda1 ntfs-3g defaults,noatime 0 0
  4. Cut it from the dynamic section and paste it above in the fixed section. Then change the mount location to your new directory:
    /dev/hda1 /home/UserName/XP/ ntfs-3g defaults,noatime 0 0
  5. As before, if you see the word noauto in your particular entry, you should change it to auto.
  6. Save and exit. When you reboot, your hda1 partition's contents should show up in the “XP” subdirectory in your /home directory.
  7. After first boot, you may find that MEPIS has changed the ownership of the subdirectory mointpoint to “root”. For mounting an NTFS partition this may not be a problem, as the default NTFS mount options set the group ID to “users” and allow that group rw permissions. If it is an ext3 or other Linux partition, you will not have write permission. So change the ownership back with the following CLI command, using Konsole:
    su [and give root password when prompted]
    chown -R silverbear:users /home/silverbear
    
    Note: Most users will want to change silverbear to their own username. Check to see that you have the correct user and group owner with:
    ls -l
    or by checking your home directory in Konqueror using the Detailed List View mode. Once it's fixed, subsequent booting does not affect the ownership.


Troubleshooting

Windows FAT partition

ALthough Windows NTFS partitions (as used in Windows 2000 and later) usually present little problem, there is sometimes difficulty with the necessary system permissions to write or delete files on a Windows FAT partition (as in Windows 98). If this seems to be the case on your computer, you'll need to insert a step after Step 4 above:

Inserted Step: setting permissions when mounting a VFAT partition

Set the following additional mount options for a Windows FAT partition. Note that MEPIS should already have identified it as a vfat partition in the third column, so all your changes need only be in the fourth column (bolded below):

/dev/sda5   /mnt/sda5   vfat   user,users,gid=disk,umask=0000,utf8=true   0 0

If you need to set something other than full read/write/execute permissions for everyone who logs into your MEPIS system, you will need to do more study before fine-tuning your mounting permissions.







9.7:     Scripts

Introduction

A script is a simple text file that can be written directly from a keyboard, and consists of a logically sequenced series of operating system commands. The commands are handled one at a time by a command interpreter which in turn requests services from the operating system. The default command interpreter in MEPIS is Bash. The commands must be understandable to Bash, and command lists have been established for programming use. A shell script is the Linux counterpart of batch programs in the Windows world.

Scripts are used throughout the Linux OS and applications that run on it as an economical method of executing multiple commands in an easily created and modified manner. During boot, for instance, many scripts are invoked to start up specific processes such as printing, networking, etc. Scripts are also used for automated processes, system administration, application extensions, user controls, etc. Finally, users of all kinds can employ scripts for their own purposes.

A simple script

Let's do a very simple (and famous) script to get the basic idea.

This simple script doesn't do very much, but it does establish the principle that a simple text file can be used to send commands to control your system's behavior.

Example of a useful script

Let's look at a useful script for the ordinary user that reduces all the moves involved in backing up multiple sets of files into a single keystroke. The script below relies itself on a system script provided by the default installation of MEPIS Linux 8.0 called Rdiff-backup that copies one directory to another, keeping a record of the differences in a special subdirectory so you can still recover files lost some time ago. (Incidentally, Rdiff-backup uses in turn on a script called Diff.)

In this example, a user named “newbie” wants to set up a script to back up documents, music, mail and pictures from the /home directory to an external drive.

1 #!/bin/bash
2 #
3 # This Rdiff-Backup script backs up to a second hard drive
4 # It must be run as root in order to mount the second hard drive
5
6 # To restore files, issue the command: cp -a /mnt/sda1/username /home
7 # To restore, but not overwrite: cp -a -i --reply=no /mnt/sda1/username /home
8
9 # Mount the external devices
10
11 mount /dev/sdb1
12 mount /dev/sdb2
13 mount /dev/sdb3
14
15 # Execute the backup
16
17 rdiff-backup /home/newbie/Documents /mnt/sdb2/Documents
18 rdiff-backup /home/newbie/Music /mnt/sdb1/Music
19 rdiff-backup /home/newbie/Mail /mnt/sdb2/Mail
20 rdiff-backup /home/newbie/Pictures /mnt/sdb3/Pictures
21 
22 # Unmount the external devices
23
24 umount /dev/sdb1
25 umount /dev/sdb2
26 umount /dev/sdb3

Now let's look at this script's components:

Anyone who wanted to use such a script would have to carry out a few execution steps:

  1. Copy the whole script.
  2. Right-click the desktop and select Create New --> Text file...
  3. Give the file a name that makes sense (no spaces, though), and add the "sh" extension so you will recognize it is a script. For this example, you might select Backup_DocsMusicMailPictures.sh
  4. Open the new text file and paste in the script.
  5. Change any names, locations, etc. to what they are on your particular system. In the example above, you may well have different names and/or locations for the directories to be backed up, and different devices where they are supposed to go.
  6. Save that script in a place you can easily find it when you need it, let's say you make a new directory /home/scripts for it.
  7. Right-click the script, select Properties, click on the Permissions tab, and check the Is executable box and click OK.
  8. When you are ready to backup, open a terminal and type:
    sh /home/scripts/Backup_DocsMusicMailPictures.sh

    Hint: use the tab key to autocomplete the file name after you type the first few letters.









10:     Under the Hood

10.0: Introduction

Users coming from Microsoft Windows® typically find a lot of unfamiliar concepts, and get frustrated trying to do things the way they are accustomed to doing them. This section will give you a conceptual overview of some basic aspects of MEPIS Linux, and how they differ from other systems to help ease your transition.

MEPIS Linux ultimately inherits its fundamental design from Unix, an operating system that has been around in various forms since 1970 —much earlier than MS-Windows®.  MEPIS Linux 8.0 is also mainly composed of free, open-source software (FOSS) (i.e. software that is distributed without restrictions on the use of its source code). The Unix heritage plus the open-source nature of MEPIS have a strong impact on its design.

Unix provided the foundation for the development of Linux starting in 1991. As is well known, Linus Torvalds united his developing kernel with the free software framework of the GNU Project, started by Richard Stallman in 1984, and the resulting OS is now referred to most correctly as GNU-Linux.

A user interface of some sort needs to serve for input and control. At its simplest, this interface is a command line, as in the original Unix and also in the original MS-DOS prior to MS-Windows, but today all the most popular Linux versions today use a graphical user interface (GUI) that relies on the X Window System, a software system and protocol that provides the basic framework for graphical display.

Finally, MEPIS builds directly on the highly popular Linux distribution called Debian, its direct upstream source of fundamental structures and features. Founded in 1993, Debian has become preeminent in areas such as package development, release protocol, organizational structure and commitment to free software. To the solid core provided by Debian's stable release (which the Debian development version “Lenny” is about to become), MEPIS adds user-friendly features such as a very simple installation tool, excellent hardware recognition, a set of configuration “Assistants,” and a LiveCD framework —all supported by a lively and knowledgeable Community that contributes to MEPIS the artwork and documentation, as well as additional software packages.









10.1:     The filesystem structure

Orientation

There are two basic uses of the term “filesystem.” The first is the Operating System's Filesystem. This refers to the files and their organization that the operating system uses to keep track of all the hardware and software resources it has as its disposal while running. The other use of the term filesystem refers to the Disk Filesystem, designed for the storage and retrieval of files on a data storage device, most commonly a disk drive. The Disk Filesystem is set when the disk partition is first formatted, prior to writing any data on the partition.



The Operating System's Filesystem

One of the first problems many new Linux users struggle with is how the filesystem works. If you have been looking around your MEPIS Linux 8.0 system trying to find the C:\ drive or D:\ drive, for instance, you are searching in vain: MEPIS handles hard drives and other storage media differently from Windows. Rather than having a separate filesystem tree on every device, MEPIS has a single filesystem tree ( called the root of the filesystem) which is marked “/” and contains every attached device. When a storage device is added to the system, its filesystem is attached to a directory or subdirectory of the file system; this is called mounting a drive or device.

If you open Konqueror and browse to “/”, you will notice a number of directories with names based on the Unix Filesystem Hierarchy Standard. Here is a simple description of the major directories in MEPIS 8.0 along with a common example of when users commonly work with files there (see MEPIS Wiki for details):



The Disk Filesystem

The disk filesystem is something about which the average user does not need to be much concerned. The default disk filesystem used by MEPIS Linux 8.0 is called ext3, a version of the ext2 filesystem that is journaled —i.e., it writes changes to a log before enacting them, rendering it more robust. The filesystem ext3 is set during installation when your your hard drive is formatted.

By and large, ext3 has more years, in its track record over any of its rivals, of combining stability and speed, and we do not recommend installing MEPIS onto a different disk filesystem unless you are well-educated in the differences. However, MEPIS can read and write to many other formatted disk filesystems, and may even be installed on some of them, if for some reason one of them is preferred over ext3.

NOTE: if you are dual or multi-booting different operating systems on the same computer, see Section 9.6: Accessing other partitions for more information.









10.2:     Permissions

MEPIS is an account-based operating system. This means that no program can run without a user account to run under, and any running program is thereby limited by the permissions granted to the user who started it.

In MEPIS Linux 8.0 there is one and only one user account which has permission to do everything; this account is called root (not to be confused with the “root” of the filesystem, mentioned in Section 10.1 see: root filesystem). The root user has a unique password that is set during system installation. When you run programs (such as Synaptic or MEPIS System Assistants) that need to access or change protected operating system files and directories, you will be prompted for the root password. Once you enter it, MEPIS will be able to make the specific changes it needs.

NOTE: Much of the security and stability that Linux is known for hinges on the proper use of limited user accounts, and the protection provided by default file and directory permissions. For this reason, you should operate as root only for a procedure that requires it. Never log into MEPIS as root to run the computer for normal activities!


Basic information

The default file permissions structure in Linux is fairly simple, but more than adequate for most situations. For each file or folder, there are three permissions that can be granted, and three entities (owner/creator, group, others/world) to which they are granted. The permissions are:

Every file and folder acquires a single user designated as its owner when it is created on the system. (Note that if you move a file from another partition where it has a different owner, it will keep the original owner; but if you copy and paste it, it will be assigned to you.) It also has a single group designated as its group, by default the group to which the owner belongs. The permissions you grant to others affect everyone who isn't the owner or in the owning group.

NOTE: For advanced users, there are additional special attributes beyond read/write/execute that can be set: sticky bit, SUID, and SGID. For more information, see Links and Guides for Section 10.2.



Viewing, setting and changing permissions

Konqueror

To view or change a file's permissions in KDE, right-click the file and select Properties. Click the Permissions tab. Here you can set the permissions granted to the owner, group, and others using the pull-down menus. For some files (like scripts, for instance), you need to check the box to make them executable, and for folders you can check a box to limit the deletion of files inside it to the owners. If necessary, you can click Advanced Permissions and see the permissions grid for the file.

NOTE: you must be operating as root to change the permission of a file or directory whose owner is root.


KUser

KUser is part of KDE and can be reached by clicking KMenu --> System --> More Applications --> User Manager (KUser) and supplying the root password. The main screen has two tabs, one for users and the other for groups; above them sits a toolbar and on top a menu bar. Here are the icons on the toolbar:

KUser icons

The first three buttons in the toolbar have to do with user management (default tab): add user, edit user, and delete any user highlighted. The second three are used with similar functions for group management (Groups tab), and allow you to decide who belongs to each group. The screens that pop up are pretty self-explanatory, but you can consult the KUser Handbook found under Help.

MUser

The MEPIS User Assistant can also be used to add or delete a user. In addition, it can restore default values for groups and memberships.


CLI commands

Although Konqueror and KUser cover most daily situations, sometimes it can be preferable to deal with the command line. Basic permissions are represented by r (read), w (write) and x (execute).

To view permissions of a file on the command line, type this:

ls -l NameOfFile

The -l switch will cause the file to be list in long format, displaying its permissions among other information. Here is an example of what the user "newbie" might see for the Firefox profiles.ini file:

newbie@Computer:$ ls -l /home/newbie/.mozilla/firefox/profiles.ini
-rw-r--r-- 1 newbie users 94 2008-10-22 10:07 profiles.ini

The bolded "rw-r--r--" bit right after the opening dash (indicating it is a regular file) contains read/write/execute permissions for owner, group and others: 9 characters total. Here it shows us that the owner has read and write but not execute (rw-), but the group and others can only read (r--). The owner in this case is specified to be "newbie" who belongs to the group "users".

If for some reason it was necessary to change the ownership of this file to root using the command line, you would use the chown command like this:

chown root /home/newbie/.mozilla/firefox/profiles.ini

For details on using chown, as well as the more detailed chmod, see Links and Guides for Section 10.2.



Example

Sometimes a program needs to have a user registered before it will operate correctly. Let's take an example with the photo organizer DigiKam, which can be fussy about this. According to the directions on the DigiKam home page, the username should be added to the user group “camera” but that group is not listed. Here's how you would do that:

  1. Click KMenu --> System --> More Applications --> User Manager (KUser), and supply root's password.
  2. Click on the Groups tab, and confirm that there is no group name “camera.”
  3. Click on the add group icon, or on the menu bar Group --> Add...
  4. In the dialogue box that pops up, type camera as Group name.
  5. Highlight your username in the column on the right, then click the middle Add... button to move your username into the column Users in Group.
  6. Click OK.
  7. The Group tab now includes the group “camera” with your username.








10.3:     Configuration files

With only rare exceptions, program and system settings on MEPIS Linux 8.0 are stored in discrete plaintext configuration files; there is no “Registry” which requires special tools to edit. Most configuration files are just simple lists of parameters and values which are read by programs when they launch to determine their behavior.

User config files

Files that hold individual user settings (such as high scores for your games, or the layout of your desktop) are stored within a user's home directory, typically as a hidden file or directory, and can only be edited by that user or by root.

These personal configuration files are actually less often edited directly than system files because most of the user configuration is done graphically through the applications themselves. When you open an application and click Edit --> Preferences, for example, your selections are written to a (usually hidden) configuration file in your user directory. Likewise in Firefox, when you type about:config in the address bar, you are editing the hidden configuration files.



System config files

Files that hold system-wide configurations or defaults (such as the file that determines which services automatically launch during boot up) are largely stored in the /etc/ directory and are only editable by root. Most of these files are never touched directly by regular users, such as these for instance:

Some configuration files can contain just a few lines, or even be empty, while others may be quite long. The important point is that if you are looking for a configuration file for an application or process, head for the /etc directory and look around.



Example

We already looked at editing the configuration file /etc/fstab to mount other partitions (Section 9.6), but let's look at another example here.

Display problems can be solved with a number of grahical and command-line tools, as we saw in Section 5.2.2, but once in a while a user needs to directly edit the system-wide configuration file /etc/X11/xorg.conf. (NOTE: like all configuration files, this should always be backed up before editing.) This file is long and has lots of entries, but let's say you are still having problems with your USB mouse after using the standard tools, and want to check how it is actually configured. You open the file, then search and find the correct entry, something like this:

Section "InputDevice"
  Identifier "USB Mouse"
  Driver "mouse"
  Option "Device" "/dev/input/mice"
  Option "Protocol" "auto"
  Option "ZAxisMapping" "4 5"
  Option "Buttons" "5"
EndSection

To try to improve mouse functionality, you might decide to substitute the exact information about the mouse's manufacturer and model in place of the word “auto.” Similar steps are sometimes taken with a monitor or keyboard, for instance, when no other tool has worked.








10.4:     Runlevels

MEPIS Linux boots up by executing the program init. After completing the boot process, init executes all start scripts in a directory specified by the default runlevel (this runlevel is given by the entry for id in /etc/inittab). Like most other Linux versions, MEPIS has 7 runlevels:

0Halt (power down)
1Single-user mode: provides a root console without logon. Useful if you lose your root password
2Multiuser with no network
3Console logon, no X (i.e. no GUI)
4Not used/custom
5Default GUI logon
6Reboot

MEPIS defaults to runlevel 5, therefore any init scripts set up in the level 5 config file will run at boot.



Use

Understanding runlevels can be handy. When users have a problem with X Window Manager, for instance, they can not work on it on the default runlevel 5, because as we just saw that is the level where X runs. But they can drop to runlevel 3 where they can work to fix things by opening a terminal, becoming root, and typing:

telinit 3

Once you are out of X and looking at a prompt, login with your normal username and password. To get back to the login screen, become root and type:

telinit 5

Other useful commands when you are looking at the prompt on runlevel 3 include:

It is equally possible to boot to runlevel 3 by merely adding the number three at the end of the boot options on the GRUB screen. From there you can simply type:

startx

to get to runlevel 5 and your desktop.









10.5:     The Kernel

Introduction

Last place in this User's Manual goes to the first and most important element of MEPIS Linux 8.0: the Linux kernel. Every Linux version (distro) uses some version of the kernel, which was first developed and is still maintained by Linus Torvalds, with input from many other programmers around the world.

The following diagrams and descriptions of the GNU/Linux kernel come from the Anatomy of the Linux kernel and gives the average user a clear sense of the kernel's place in the Linux OS:

Kernel

At the top is the user, or application, space. This is where the user applications are executed. Below the user space is the kernel space. Here, the Linux kernel exists.

There is also the GNU C Library (glibc). This provides the system call interface that connects to the kernel and provides the mechanism to transition between the user-space application and the kernel. This is important because the kernel and user application occupy different protected address spaces. And while each user-space process occupies its own virtual address space, the kernel occupies a single address space.

The kernel itself has a number of components that include process management, memory management, network stack (definition of a particular group of protocols along with the software to implement them), virtual file system, and device drivers. The largest of these by far is the collection of device drivers that are necessary to make your hardware usable.

Much more detail is available from the documents referenced in the Links and Guides for Section 10.5.



Kernel versions

The Linux kernel is in constant development, so it uses a version numbering system to keep track. MEPIS Linux 8.0 is released using the kernel 2.6.27, but that will change over time. To find out your current major kernel version name, open a terminal and type:

$ uname -r

You will see a result something like 2.6.27-1-mepis-smp (32bit) or 2.6.27-1-mepis64-smp (64bit). The MEPIS kernel also has an internal version number that you can see by looking on the "Installed files" tab of the current kernel entry in Synaptic.

Unlike other software on your system, the kernel is not upgraded automatically except below the minor revision level (indicated by the third number in the kernel name). To upgrade the kernel when a new one becomes available in the repos, follow this procedure:

  1. Open Synaptic as root and search on the word “linux-image”.
  2. Look at the results carefully, and install the image marked upgradeable that has the word "mepis" attached and the next higher version number.

Such updates (only internal version number changes) can be installed without endangering the reboot process. Kernel upgrades, where the major number changes will show up as a new package instead of an upgrade in Synaptic, should be approached with caution. They can be problematic, and may require manual editing of GRUB (see Wiki).

To solve particular problems, advanced users sometimes make use of kernel patches. A patch is program that updates files according to instructions contained in a separate file, called a patch file. The patch file consists of a list of differences that can be run to change the original file. For details, follow the Wiki link below.

Advanced users sometimes compile and install their own kernel, starting with the kernel source code. The motivation for doing this can range from pure fun to practical goals such as to produce a kernel optimized for a certain architecture and use. Although the procedure is complicated, detailed directions can be found in the MEPIS Wiki if needed.



Kernel headers

In order to compile some programs you might need to have kernel headers, which are C files that define structures and constants that are needed for building most standard programs. Some programs ask for kernel sources, but most often the headers are sufficient. You can find them in Synaptic, but you have to be careful to match the headers to your kernel version. For this reason, it is actually somewhat easier to open a terminal, become root, and type:

 apt-get install linux-headers-$(uname -r)

This code will enter automatically the number of your working kernel and fetch the appropriate headers.



Kernel panic and recovery

A kernel panic is a relatively rare action taken by the MEPIS Linux system when it detects an internal fatal error from which it cannot safely recover. It can be caused by a number of different factors that range from hardware problems to a bug in the system itself. When you get a kernel panic, try rebooting with the MEPIS Linux LiveCD, which will overcome temporarily any software problems and hopefully allow you to see and offload your data. If that doesn't work, then unplug all unnecessary hardware and try again.

Your first concern is to access and secure your data. Hopefully, you have it backed up somewhere. If not, you can use one of the data recovery programs such as testdisk or ddrescue that are supplied with MEPIS Linux 8.0 (details in the Wiki). Your last resort is to take your harddrive to a professional recovery business.

There are a number of steps you might have to take to recover a functional MEPIS Linux system once you have your data safe, although ultimately you may have to reinstall using the LiveCD. Depending on the type of failure, the following steps may be undertaken:

Be sure to ask on the MEPIS Community Forum if you have any questions about these procedures.









11:     More resources

If you are looking for something that is not covered in this Manual, these MEPIS resources are available for more help.

MEPIS Community website

Built and maintained by members of the MEPIS community, this website has links to nearly all aspects of MEPIS Linux online. Designed to be the primary bookmark for the MEPIS Linux user, it contains not only links to other MEPIS-related websites, but up-to-date news on MEPIS Community Projects —such as the Community Software Repository and the MEPIS Torrent Team— that are available nowhere else. Available in six languages.



Wiki

The MEPIS Wiki contains a great deal of other material. As an ongoing product of volunteer users, it can be more up-to-date and detailed than the Manual. Here's how to find what you're looking for:

  1. Follow the structure by drilling down in the four areas laid out on the Main Page:
    • Getting Started: intended to provide new MEPIS users with the basic tools to get their system up and running.
    • General Knowledge Database: intended to provide users with more advanced tools to understand and use their MEPIS system.
    • Help and Guides: self-explanatory title, there is great stuff here for MEPIS users.
    • Wiki Issues: topics pertaining to the Wiki itself.
  2. Consult Special Pages:
    • Click on the Wiki Categories link in the left panel, and select your topic of interest. This is a very useful but often overlooked way to find answers to your questions.
    • If you are looking for something added recently, click on the Recent Changes link.
    • Click on the link Special pages for other possible aids.


Forums

MEPIS Linux 8.0 users have a number of forums at their disposal:

See the Links and Guides section at the bottom of the page for all the above.

Forum protocol

To get the answer you are seeking on any of these forums, please try to follow these procedures:



A number of search engines can be used for more help:

NOTE: much of the Linux documentation on the web is out-of-date or unsuitable for MEPIS Linux 8.0, and could actually do more harm than good to your system! Ask on the Mepis Community Forum, if you are not certain whether or not an internet tip is applicable to MEPIS 8.0.









12:     Glossary of common terms

Introduction

Linux terms can be confusing and offputting at first, so this Glossary provides a list of the ones used in this Manual to get you started. For more help on the terms used in the Linux computer world, see Links and Guides.

If you reached this page by clicking on a green glossary link, use your browser's [<—]   back button to return you to your previous page.



Terms

backend:   Also back-end. The backend includes the various components of a program that process the user input entered through the frontend. See also frontend.

backport:   Backports are new packages that have been recompiled to run on a released distribution in order to keep it up-to-date.

BASH: The default shell on most Linux systems as well as on Mac OS X, BASH is an acronym for Bourne-again shell. For more information, see Links and Guides at the bottom of the page.

BitTorrent:   Also bit torrent or torrent. A method invented by Bram Cohen to distribute large files without the need for a single individual to provide the hardware, hosting and bandwidth resources required.

Bootloader:   Program that initially chooses an operating system to load after the BIOS has finished intializing the hardware. Extremely small in size. the bootloader's only job is to hand contol of the computer over to the Operating System's kernel. Advanced bootloaders offer a menu to choose between several installed operating systems.

Boot options:   Also cheat codes. Additional boot and kernel commands available to modify the boot and installation procedures. An example is “vga=normal” which tells the system to disable the default resolution, often used for older monitors.

chainloading:   Also chain loading. Instead of directly loading an operating system, a boot manager like GRUB can use chain loading to pass control from itself to a boot sector on a hard disk partition. The target boot sector is loaded in from disk (replacing the boot sector from which the boot manager itself was loaded) and the new boot program is executed. In addition to when it is necessary, as in booting Windows from GRUB, the advantage to chainloading is that each operating system on the hard disk drive —and there could be dozens— can be responsible for having the correct data in it's own boot sector. So GRUB residing in the MBR need not be rewritten every time there are any changes. GRUB can simply chainload the relevant information from the boot sector of a given partition whether it has changed or remained the same since the last boot time.

cloop error:   A failure to read a block of compressed data. CLOOP is shorthand for compressed loopback device, a linux kernel module that allows a compressed filesystem to be read, such as is used on a MEPIS LiveCD.

command line interface (CLI):   Also known as console, Konsole, terminal, command prompt, shell, or bash. This is a UNIX-style text interface, which MS-DOS was also designed to resemble. A root console is one where administrative privileges have been acquired after entering the root password.

desktop environment:    The software which provides a graphical desktop (windows, icons, desktop, task bar, etc) for an operating system user. MEPIS integrates the KDE desktop and configures it to feel familiar to both Windows® and Mac OS X® users.

disk image:    A file containing the complete contents and structure of a data storage medium or device such as a hard drive or DVD. See also ISO.

Distribution:     A Linux Distribution, or “distro”, is a particular packaging of the Linux kernel with various GNU software packages, and different desktops or window managers. Since —unlike the proprietary code used in the Microsoft and Apple OS's— GNU/Linux is Free, Open-Source Software, literally anyone in the world who has the ability can freely build on what has been done and innovate a new vision of a GNU/Linux operating system. MEPIS Linux is a distro based on the Debian Linux family.

file system:    Also filesystem. This refers to the way that files and folders are logically arranged on a computer's storage devices so they may be found by the operating system. It can also refer to the type of formatting on a storage device, such as the common Windows formats NTFS and FAT32, or the Linux formats EXT3 or ReiserFS, and in this sense refers to the method actually used to encode binary data on the Hard Disk Drive, floppy, flash drive, etc.

free-as-in-speech:   The English word “free” has two possible meanings: 1) without cost, and 2) without restrictions. In part of the open-source software community, an analogy used to explain the difference is 1) “free” as in beer vs. 2) “free” as in speech. The word freeware is used universally to refer to software that is simply without cost, whereas the phrase free software loosely refers to software that is more properly called open-source software, licensed under some type of open source license such as the GPL.

frontend:    Also front-end. The front-end is the part of a software system that interacts directly with the user. See also backend.

GPL:   The GNU General Public License. This is a license under which many open-source applications are released. It specifies that you may view, modify, and redistribute the source code of applications released under it, within certain limits; but that you may not distribute the executable code unless you also distribute the source code to anyone who asks for it.

Graphical User Interface (GUI):   This refers to a program or operating system interface that uses pictures (icons, windows, etc), as opposed to text (command-line) interfaces.

home directory:   One of the 17 top-level directories branching from the root directory in MEPIS Linux, /home contains a subdirectory for every registered user of the system. Within each user's home directory s/he has full read-write privileges. Further, most of the user-specific configuration files for various installed programs are stored in hidden subdirectories within the /home/username directory —as is downloaded email. Other downloaded files usually go by default into the home/username/Documents or /home/username/Desktop subdirectories.

ISO:   A disc image following an international standard that contains data files and filesystem metadata, including boot code, structures, and attributes. This is the normal method for delivering Linux versions such as MEPIS over the Internet. See also disk image.

kernel:   The layer of software in an operating system that interacts directly with the hardware.

Kicker:   The panel in KDE that appears by default at the bottom of the screen and contains navigation icons, open (minimized) programs and system notifications. It is highly configurable, and can include a utility to switch between any of several desktops you can run simultaneously, if your primary desktop surface tends to get cluttered with open programs. For a graphic and a short explanation of its default appearance, see Section 3.3: Kicker.

LiveCD:   A bootable compact disc from which one can run an operating system, usually with a complete desktop environment, applications, and essential hardware functionality. In 2003, MEPIS was the first distribution of Linux to include a GUI-based Installer application on the desktop of a fully functional LiveCD, so a separate Installation CD was no longer needed. Simultaneously, MEPIS was also the first Linux to include GUI-based tools, now called Assistants, on the LiveCD to help a user repair a broken system.

MBR:   Master Boot Record: the first 512-byte sector of a bootable hard disk drive. Special data written to the MBR enables the computer's BIOS to pass the boot process off to a partition with an installed operating system.

md5sum:   A program that calculates and verifies a file's data integrity. The MD5 hash (or checksum) functions as a compact digital fingerprint of a file. It is extremely unlikely that any two non-identical files will have the same MD5 hash. Because almost any change to a file will cause its MD5 hash to also change, the MD5 hash is commonly used to verify the integrity of files.

mirror:   Also mirror site. An exact copy of another Internet site, commonly used to provide multiple sources of the same information to supply reliable access to large downloads.

module:   Modules are pieces of code that can be loaded and unloaded into the kernel upon demand. They extend the functionality of the kernel without the need to reboot the system.

mountpoint:   The place on the root filesystem where a fixed or removable device is attached (mounted) and accessible as a subdirectory. All computer hardware needs to have a mountpoint in the filesystem to be usable. Most standard devices such as keyboard, monitor and your primary hard disk drive are mounted automatically at boot.

NTFS®:   Microsoft's New Technology File System debuted in 1993 on the Windows NT Operating System, geared to business networks, and with revisions entered the mainstream Windows users' desktop computers in later versions of Windows 2000. It has been the standard file system since Windows XP was introduced in late 2001. Unix/Linux-oriented folk say it stands for "Nice Try File System."

open-source:   Software whose source code has been made available to the public under a license that allows individuals to modify and redistribute the source code. In some cases, open-source licenses restrict the distribution of binary executable code. For more information visit the Open Software Initiative (link below).

package:   A package is a discrete, non-executable bundle of data that includes instructions for your package manager about installation. A package doesn't always contain a single application; it might contain only part of a large application, several small utilities, font data, graphics, or help files.

package manager:   A package manager such as (Synaptic or KPackage) is a collection of tools to automate the process of installing, upgrading, configuring, and removing software packages. See 7.2: Synaptic Software Package Manager

port:   A virtual data connection that can be used by programs to exchange data directly, instead of going through a file or other temporary storage location. Ports have numbers assigned for specific protocols and applications, such as 80 for HTTP, 5190 for AIM, etc.

repo:   See repository.

repository:   A software repository is an internet storage location from which software packages may be retrieved and installed via a package manager. In MEPIS Linux, the repository list file (/etc/apt.sources.list) is typically modified through the default package manager Synaptic.

root   Root has two common meanings in Unix/Linux OSs, and they are intimately connected, but the distinction is important to understand. The root filesystem is the basic logical structure of all the files the operating system can access, whether programs, processes, pipes or data. It should follow the Unix Filesystem Hierarchy Standard, which specifies where in the hierarchy to locate all types of files.

The second meaning of root is the computer user who owns the root filesystem —and so has all permissions necessary to do anything to any file. While it is sometimes necessary to temporarily assume the powers of the root user to install or configure programs, it is dangerous and violates the basic security structure of Unix/Linux to log in and operate as root unless absolutlely necessary. In a command line interface, a regular user can temporarily become root by issuing the command su then entering the root password.

runlevel   A runlevel is a preset operating state on a Unix-like operating system. A system can be booted into any of several runlevels, each of which is represented by a single digit integer. Each runlevel designates a different system configuration and allows access to a different combination of processes (i.e., instances of executing programs). See Section 10.4: Runlevels

script:  An executable text file, containing commands in an interpreted language. Usually refers to BASH scripts which are used extensively “under the hood” of the Linux operating system, but other languages may be used as well.

source code:   The human-readable code in which software is written prior to being assembled or compiled into machine-language code.

switch:   A switch (also flag, option or parameter) is a modifier appended to a command to change its behavior. A common example is -R (recursive), which tells the computer to carry out the command through all subdirectories.

tarball:   An archiving format, like zip, popular on the Linux platform. Unlike zip files, though, tarballs may use one of a number of different compression formats, such as gzip or bzip2. They usually end in file extensions like .tgz, .tar.gz, or .tar.bz2. Many archive formats are supported in MEPIS with a graphical application called Ark. Usually an archive can be extracted simply by right-clicking on it in KDE.

window manager:   A component of a desktop environment that provides the basic maximize/minimize/close/move functions for windows in the GUI environment. Sometimes it can be used as an alternative to a full desktop environment. In MEPIS, the default window manager is called KWin, and is an integral part of the K Desktop Environment (KDE). In antiX, the default is Fluxbox, a very light windows manager that requires very little graphics and system RAM.

Unix:   Also UNIX. The operating system which Linux is modeled after, developed in the late 1960's at Bell Labs and used primarily for servers and mainframes. Like Linux, Unix has many variations.

X:   Also X11, xorg. The X Window System is a networking and display protocol which provides windowing on bitmap displays. It provides the standard toolkit and protocol to build graphical user interfaces (GUIs) on Unix-like operating systems and OpenVMS, and is supported by almost all other modern operating systems. In Mepis Linux, the X server operates on runlevel 5. See also: http://en.wikipedia.org/wiki/X_display_manager






Table of Contents

In case you have a defective browser like Internet Explorer that can't read the fly-out Menu:





end of file