COMP 3000 2011 Report: Swift Linux

From Soma-notes

Distribution Report Part I: Swift Linux: User Experience

The following report provides background information on Swift Linux, installation/startup manual, basic operations on key programs that come with it and user evaluation.

Background

Swift Linux is a light linux distribution based on MEPIS which is based on Debian and antiX. It is originated in the USA and runs on an i486 and i686 architecture. Swift is designed specifically to run on older computers as it only requires at least 128 MB of RAM and a Pentium 2 or a newer processor. Swift Linux targets Windows XP users or Linux users that have older machines. It contains BleachBit which is a memory management software to clean unnecessary files. It offers compatibility with Debian software packages but at the same time runs extremely fast due to its low hardware requirements. Its speed is described on its official website that if a machine “is fast enough for Windows 98 ... it’s fast enough for Swift Linux”1. Swift Linux comes with 3 different editions: Diet Swift Linux, Swift Linux and Special Editions. It is available for free on its official website, it’s also available on LinuxCD and OSDisc. Its size is approximately 600 MB.

Installation / Startup

Installation was tested using two different virtualization programs. VMWare Player on Windows and Parallel Desktops on Mac OS. No problems encountered in either one. Below is a brief description of parallel desktops swift linux installation:

  • Open parallel desktops, click the "+" button to create new virtual OS.
  • Click the drop-down menu, and choose an image file. Then choose more Linux, and click other Linuxs , start it.
  • Your installation will start soon, and about one minute later, you will be logged in the Swift Linux, screenshot provided on the right hand side:
Swift installation
Boot options provided at startup
Main desktop screen after startup

The installation process went very well, no errors whatsoever.

Swift Linux allows you to pick from different boot options as illustrated in the screenshot on the right hand side.

This approach could help you save time and login to the correct mode you want, after this, you will see the interface of Swift Linux in particular mode.

Installation took approximately 5 minutes which proves that it perfectly serves its intended purpose which is to work smoothly on older hardware. As soon as OS started up, a white screen was displayed with all the system specifications along with a task manager that displayed CPU usage, kernel version, Time and Date, RAM usage, Swap usage and battery in case no AC adapters were connected.

Swift Linux started with 4 “Workspaces” which resembles the multiple desktops feature on the newest Mac OS X.

The “taskbar” starts with shortcuts to the following: Show desktop, Home Folder, Terminal, Browser, Control Center and Quit followed by the workspaces running which is set to 4 workspaces by default. It was noted that the “start menu” has a Debian logo on it.

Basic Operation

Swift Linux uses IceWM as its window manager. According the IceWM's official website, IceWM is known for its simplicity and speed. Thus it fits perfectly with Swift's purpose. It also supports multiple keyboard shortcuts that windows users are used to (for example, alt+tab) making the transition very easy to Swift Linux.

It was noted that on the Minnesota Swift Linux installed, the applications run after one click. The desktop started with 18 desktop icons: Files, Help, Control, Terminal, Search, Apps, Synaptic, Browser, Sylpheed, Video, Music, Leafpad, Geany, AbiWord, Gnumeric, OO-Write, OO-Calc and OO-Impress.

What is common between all these applications is they are all very light-weighted. For example, Sylpheed is a light-weighted mail client, Leafpad, a very simple text editor, Geany, a light-weight integrated development environment package.

This version comes with OpenOffice. The only Swift version that does not come with OpenOffice is the Swift Diet version. Below we explore basic operations for the following applications: browser, compiler, office package, media player, swift control center and BleachBit.

Browser - Iceape:

It was noted that every time we started Swift Linux’s IceApe browser it gives a “not responding” error even though the browser is working fine. Also upon exit, it asks if you’d like to clear all the browsing data and it seems that there is no way of disabling this feature. Other than that Iceape never crashed during testing and it was also very fast.

Iceape startup error

Geany - Compiler:

A simple hello.c program that was used in Lab 2 was tested to compile on Swift. It was noted as well that it is a lot faster than when I tried it on Ubuntu on the second lab. Geany is very easy to use and very user friendly. Compilation errors are laid out very clearly in the bottom.

Text Editor:

Swift Linux comes with two text-editing packages, it has OpenOffice which contains OO-Write, OO-Impress and OO-Calc. It also has its own AbiWord (text editor) and Gnumeric (spreadsheet). A simple test documents were produced on both AbiWord and Gnumeric. No problems whatsoever encountered. Gnumeric operates exactly as Microsoft Excel with the same formula packages but runs at a faster speed. Leafpad is also a text editor available which is equivalent to Notepad on Windows or TextEdit on Mac OS.

Music

Swift Linux comes installed with a Music software that provides the very basic features of a media player. It allows you to add a playlist of songs and it also has a music equalizer.

Swift Music Program

Swift Control Center

Swift Control Center

Control Center is Swift's equivalent to Windows' control panel or Mac OS's System Preferences. It has all the controls that you need to customize the system. Control Center starts with 6 tabs that are explored below:

  1. Desktop: Allows you to choose a wallpaper, change themes, edit system monitor, edit IceWM settings, change cursor them. Edit system monitor and edit IceWM settings open up a Geany .c code that allows you edit the programming of these two options.
  2. System: Allows you to manage packages, manage users, configure system, edit configuration files, choose startup services and set date and time. Each option of these asks you to enter your administrator username and password.
  3. Network: Allows you to edit network interfaces (ceni command), wireless settings (rutilt command), configure GPRS/UMTS connection, configure dial-up connection, connect wirelessly (wicd command) and manage firewall settings.
  4. Session: Allows you to change keyboard layout, edit login options, change slim background, set auto-login and set screen resolution.
  5. Disks: Allows you to partition a drive, image a partition, mount connected devices, synchronize directories, backup your system and USB configuration.
  6. Hardware: Allows you to obtain system information, PC information, setup a printer, configure mouse, configure sound system and adjust audio mixer.

Swift Linux asks you for administration password to change a lot of options which provides a sense of security that no unauthorized change will happen.

BleachBit

A memory management tool that swift linux is perhaps popular with. It allows users to have full control over cleaning unused files that take up memory. It allows you to simply remove cache, temporary internet files ... etc. There's an option to preview files first before clearing them.

Swift BleachBit Memory Management Software

Usage Evaluation

Swift Linux vs. the competition

Comparing with other distributions of Linux, Swift distribution has smaller size and runs faster. The below table shows the difference among several famous Linux distributions1:

Distro Works well
with 256 MB
of RAM?
Over 20,000
software
packages?
User-friendly?
Swift Linux Yes Yes Yes
Ubuntu No Yes Yes
Linux Mint No Yes Yes
Puppy Linux Yes No Yes

The above table is an exact copy of Swift Linux's about page.



Overall Swift Linux ran exactly as described. It is a very light-weighted version of Linux that is supported on older hardware. With a minimum requirement of only Pentium 2 and only 128 MB of RAM, Swift ran extremely fast on modern computers. There are a few issues that were encountered that we explore below:

  1. Iceape gave an error every time we booted it. The error says that it is "not responding" although it was running perfectly fine.
  2. Iceape gives you the option to clear browsing data on startup and on exit by default. There is no apparent way of disabling that option which some users may find annoying.
  3. Bleachbit was advertised as it is one of the main attractions of Swift Linux, however there was no desktop shortcut for it on the desktop.
  4. Search application on Swift does not work that well. For example, as a test we tried to search for BleachBit but it could not find it.

Swift comes with different versions where each version has its own benefits. What is common among all these versions is the lightweight.

The fact that Swift Linux uses IceWM, transition for windows users is very smooth. It is very intuitive to find specific programs using the "start" menu - which has the Debian logo on it. Despite the problems reported above with the search application for example it was still very easy to locate different applications we were looking for.

Swift Linux's user-friendliness was not achieved in the control center. Editing login options for example or editing system monitor screen required programming knowledge. There is no user friendly version to edit those.

Desktop system monitor was very useful to track the system usage as you run new programs. Having it handy - right on your desktop wallpaper allows the user to be constantly aware of how much memory and CPU usage the system is currently using and make adjustments accordingly (quit unused programs for example).

Because this distribution is a light Linux operating system, it could not be that powerful like Ubuntu. Here are some disadvantages of it:

  • For some versions of Swift Linux, the original text size is too small, and it takes time to reset the size.
  • Many software such as OpenOffice only has some basic features. Swift may not provide enough features to implement a more complicated document.
  • It is developed many years ago, therefore, many fantastic and famous software could not be installed on Swift distribution.

Overall, Swift has reached its goal of simplicity and fast speed. It runs very smoothly on older computers.

References

  1. Introduction in Swift Linux Official Website
  2. Reviews: Ubuntu Linux 5.04
  3. IceWM Official Website

Distribution Report Part II: Swift Linux: Software Package

Software Packaging

How is software packaged for this distribution?

  • What packaging format and utilities are used?

Since Swift Linux is based off Debian, and it is intended to be lightweighted, it just used DPKG with .deb format and its front-end APT (Advanced Packaging Tool). DPKG installed is the most recent so far (v 1.16.0.2) and the APT version used is 0.8.14.1. The latest "stable" release of dpkg is 1.15.7.2 which makes the version installed on Swift up-to-date but not stable and prone to errors.

The command dpkg -l will give all installed packages in a nice formatted table includes that Name, Version and a small Description of each package (See Figure)

Listing all packages using dpkg-l
  • How can you use these utilities to get a list of installed packages?
  • How do you add and remove packages?
  • How extensive is the software catalog for this distribution?

Please also include any other relevant information on the software packages associated with your distribution.

Major package versions

Report on the version numbers and upstream source (URL of original source) for some of the major software packages included in your distribution as part of the standard install:

  • Linux Kernel or other kernel
  • libc
  • X.org or other GUI foundation
  • Major GUI toolkits (Gtk+, Qt, Motif, etc.)
  • shell (bash, csh, etc.)
  • utilities (ls, ps, busybox)
BusyBox Details

SWIFT Linux distribution has installed BusyBox v1.17.1 (Debian 1:1.17.1-10), which is released in July 24, 2010. Therefore, it is not quite old one, the latest version of BusyBox (v1.19.3)is released in October 30, 2011. When user types BusyBox , the details in the distribution of BusyBox should be popped up. From the output, we can find many functions defined in v1.17.1 have been removed by distribution authors. BusyBox unified common UNIX utilities. It provides the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system.[1] As we know, SWIFT is a light Linux distribution, and its requirements and functionality are very limited, distribution authors may delete some needless functions based on the above reasons.


  • software packaging (rpm, dpkg, etc.)

The distribution in my laptop installed dpkg, whose version is v1.16.0.2, However, the latest stable version of dpkg has updated to v1.15.7.2, which is released in May, 2010. and apt(advanced front-end for dpkg) is v0.8.14.1, the latest one. This distribution authors did not change much on dpkg and apt, cause it is core package management tool, no needs to do any updates. The dpkg itself is a low level tool, however, the APT are used to fetch packages from remote locations or deal with complex package relations, which are more commonly used than dpkg on its own, because they have a more sophisticated way of dealing with package relationships and a friendlier interface, these should be the reasons why distribution authors choose dpkg and apt to manage packages in SWIFT Linux. [2]


  • Web browser

Iceape-browser v2.0.13-1 has been pre-installed in this SWIFT Linux distribution. The

  • email


  • other packages that are key to system usage

Choose at least 10 packages that fit into this list (you don't need to cover every category) and report the following:

  • What is the vintage of the included package? How old is it, and how far is it behind the latest stable release for this package?
  • How heavily has the package been modified by the distribution authors? (You'll need to figure out how to determine this.)
  • Why do you think this particular package was chosen for this distribution's standard install? You may speculate, but please make an argument informed by relevant facts.

Initialization

Here describe how your distribution initializes itself. Specifically, give an outline of what programs are executed and in what order. Also document how you discovered this information. You do not need to include every program; however, you should be able to identify at least five major programs that are run.

Note that you should provide an explanation for how all of the major processes end up running on a fully initialized system.

References

  1. About BusyBox
  2. dpkg Wiki