Professional Documents
Culture Documents
NEW S!
E RIE
S
UBUNTU
DEVELOPMENT
photo: freefotouk (Flickr.com)
NEW
MN!
THE READERS HAVE SPOKEN COLU
Google In Thunderbird p.20 Linux Labs p.23 Q&A p.42 Review p.34
Write For Full Circle p.22 Ubuntu Women p.07 Top 5 p.46 Letters p.38
The articles contained in this magazine are released under the Creative Commons Attribution-Share Alike 3.0 Unported license.
This means you can adapt, copy, distribute and transmit the articles but only under the following conditions: You must attribute
the work to the original author in some way (at least a name, email or URL) and to this magazine by name ('full circle magazine')
and the URL www.fullcirclemagazine.org (but not attribute the article(s) in any way that suggests that they endorse you or your use of the work). If
you alter, transform, or build upon this work, you must distribute the resulting work under the same, similar or a compatible license.
Full Circle magazine is entirely independent of Canonical, the sponsor of the Ubuntu projects, and the views and opinions in the
magazine should in no way be assumed to full circle
have magazineendorsement.
Canonical #49 2 contents ^
EDITORIAL
This magazine was created using :
W
ell, I'm sure that most of you will have upgraded to 11.04 by the time you read this,
and the debate rages on about Unity. Reader comments about Unity are featured
on page 27. Posing a question, and letting you folks answer it is something I want to
keep each month. Although, from this issue onwards, I won't be using email. For the
Unity question, I received approximately 250 emails in one day - that went from short comments to
a full page rant. All of which I had to sift through! For this month, I've created a short Google Form
for you to complete.
Also starting this month is Daniel Holbach's series of articles dealing with Ubuntu development.
The first part shows the development process for the six-month cycle. Very interesting! I've Full Circle Podcast
written an article on how to use Google (Gmail, Docs, etc.) in Thunderbird. It's not definitive, but it Released every two weeks, each
shows just how powerful Thunderbird is with its addons. episode covers all the latest
Ubuntu news, opinions, reviews,
interviews and listener feedback.
You'll notice (I hope!) that I've redesigned the contents page. The Side-Pod is a new addition,
This is to group articles together and to try and make sure all it's an extra (irregular) short-form
articles are on the contents page, rather than just some as I had it podcast which is intended to be a
branch of the main podcast. It's
before.
somewhere to put all the general
technology and non-Ubuntu stuff
And, finally, keep your eyes peeled when flipping through the that doesn’t fit in the main
latest issue of Ubuntu User magazine. We advertise Ubuntu User on podcast.
our site, and they, in turn, are kind enough to advertise FCM in their
Hosts:
magazine with a full page ad! Robin Catling
Ed Hewitt
All the best, and keep in touch. Dave Wilkins
Ronnie
http://fullcirclemagazine.org
ronnie@fullcirclemagazine.org
F
Android's iTunes void edora 15, or "Lovelock," and Linux Mint 11, or "Katya," both
made their grand entrances onto the world stage in the past
The open-source audio and video
few days, giving users of the free and open source Linux
jukebox Miro debuts a new version
operating system yet more compelling options to choose from.
that wants to be iTunes for
Android. Miro 4 for Windows, Mac,
[T]he final release of Fedora 15 launched [...] to a global audience of
and Linux, adds simple and
fans eager to check out its implementation of the GNOME 3 desktop.
effective desktop-to-Android
synchronization to the program,
Linux Mint 11 "Katya" uses neither Unity nor GNOME 3; rather, the What is it? A fully functioning linux
which also offers media file
project developers chose to stick with GNOME 2.32 instead, providing a box the size of a USB stick. HDMI:
conversion, torrent management,
comfortable and familiar option for fans of that desktop environment. check. USB: check (well, one port,
podcast catching, and media
anyway). 700MHz ARM11 processor
discovery. The Android syncing
Source: pcworld.com with 128MB of memory: check.
features focus on music and videos
With storage available through an
and includes built-in app browsing
SD card slot, this thing has
and management via in-program
everything you could want in a
access to the Google Android
computer (except maybe Wi-Fi; at
Marketplace and the Amazon.com
the time of this writing I was unable
Android Marketplace. Full Circle Notifier
“
to confirm networking), and you
can carry it on your key-chain.
We set the bar very high. We Our very own Full Circle Notifier is now at 1.0.2. FCN is a small
want to be the open iTunes," application that sits in your system tray and will not only announce
The Raspberry Pi Foundation [...]
said Nicholas Reville, co- issue/podcast releases, and can be set to automatically download
expect to in many cases donate
founder and executive director of them for you too! Several
these computers through their
the Participatory Culture people have created
foundation to interested and
Foundation, which publishes Miro packages of FCN and
deserving students. There’s no
and the Miro Video Converter, a translations are starting.
catch, either, as its creators intend
separate program that also comes For more info, see the
to sell the system for $25.
baked into the standard Miro. FCN Google Group:
http://goo.gl/4Ob4
Source: pcworld.com
Source: cnet.com
full circle magazine #49 4 contents ^
COMMAND & CONQUER
Written by Lucas Westermann
Graphicsmagick
O “
n April 22nd, reader status of file (incomplete, This option specifies the geometry
John Niendorf corrupted, etc). of the image window, including x
[Graphicsmagick] is
contacted me to and y offset. Example: -geometry
gm montage excellent if you want
request an article on 1600x1050+10+10. to do a batch
[<options><input>]* <output>
Graphicsmagick. In response to his Combines all the input files into conversion...
-size <height>x<width>
email, I plan to cover the basic use- the single output file, with some This option is passed before the
cases of graphicsmagick formatting options (tiling, display input file, and allows jpeg images
(henceforth referred to as “gm”), a image name below image, etc). to be read in as a small size, in
more advanced use (batch level of compression).
order to cut down processing time.
processing), and creation of MIFF gm mogrify <options> <input
file> Great for batch creation of -crop <width>x<height>{+-
files as visual image directories. }<x>{+-}<y>{%}
Transforms the file. thumbnails. Example: -size
170x160. This option allows you to crop the
If your needs are anything like gm convert <options> <input image to the size you specify (and
mine, you'll find that gm is file> <output file> -thumbnail <height>x<width> supply an offset).
excellent if you want to do a batch Transforms the file (same as This option uses preset options to
conversion, or if you want to mogrify, except that mogrify create a thumbnail quickly. This list of options should be
quickly create a thumbnail from a overwrites the file). enough to get you started and
large image without opening a -resize <height>x<width>
experimenting. Once you've found
graphics app. Before reading the gm composite <file to This option actually scales the
change> <base file> [<mask a command you like, with suitable
list, please take into account that image to the supplied size.
file>] <output file> options, you may want to apply it
<something>* means that it can be Merges, blends, and masks the -gaussian <radius>{x<sigma>} to a large section of files within
repeated indefinitely, and files to create a new image. This option applies a gaussian blur the current directory. In order to
anything in square brackets is to the image. Sigma refers to the do so, you would use a command
optional (but useful to know This is just a very basic outline of standard deviation. Generally similar to this (see below for
about). So, without further ado, the possible commands, and a you'll need only the radius option. explanation of options):
here's a list of commands I find basic framework of arguments
useful, and keep in mind these are -quality <value> find . -name "*jpg" | xargs -
that can be used with it. As for
basic frameworks: This option sets the quality of the l -i basename "{}" ".jpg" |
common options: xargs -l -i gm convert -
output image (for
quality 100% "{}.jpg"
gm identify <file> -geometry JPG/MIFF/TIFF/PNG). <value> can "{}.png"
lists information on format and <height>x<width><+/-><x><+/- be an integer between 0 and 100
><y>
size of image, and also displays (where 100 = best quality, lowest Here, find . -name “*jpg”
full circle magazine #49 5 contents ^
COMMAND & CONQUER
returns a list of all jpg files in the gm display directory.miff
current directory, which gets
passed to xargs, which goes line- If you're wondering why this
by-line (“-l”) and removes the might be useful, imagine having
suffix(“.jpg”) from the list (“{}”) thousands of photos on one PC,
using basename. Afterwards, the and you're looking for a single one.
list is passed to xargs again, and it Instead of working on that
then executes gm convert -quality computer and trying to find the
100% “{}.jpg” “{}.png”, which file, you could copy over the miff
essentially takes each image and file and browse it at your leisure,
converts it to a png file. The or use it to create a catalogue of
middle-step is necessary to avoid thumbnails.
having files called “*.jpg.png” after
batch is complete. This trick could Hopefully you've found the tips
also be used for cropping, editing, in this article helpful, and will
or resizing a large number of files. continue to put them to good use.
If you have any requests or
Your Hosts:
Last, but not least, I'll be questions, you can reach me at
Robin Catling
covering how to create a visual lswest34@gmail.com. Please put
Ed Hewitt
image directory (a file of the words “Command & Conquer”,
Dave Wilkins
thumbnails of the images within a “C&C”, “Full Circle Magazine”, or
Audio: Victoria Pritchard
folder). To create the file, use this “FCM” in the subject line, so I don't
command: overlook it. Also, please try to
Show Notes
write the emails in English or
00:42 WELCOME and INTRO
gm convert 'vid:*.jpg' German, since I otherwise have to
directory.miff 01:04 SINCE LAST TIME…
rely on Google Translate.
04:55 REVIEW Issue #48 of Full Circle Magazine
The miff extension stands for 12:05 REVIEW: Ubuntu 11.04
the ImageMagick Magick Image 57:26 CONTRIBUTE
File Format. The reason for the 1.26:23 FEEDBACK
format is due to the fact that gm 1.27:19 OUTRO AND WRAP
was forked from imagemagick Lucas has learned all he knows from
repeatedly breaking his system, then
back in 2002. In order to display having no other option but to
the file afterwards, simply run the discover how to fix it. You can email
command: Lucas at: lswest34@gmail.com.
T
his time, we are going to should contain “logo.png”.
Next, in the hierarchy box, elif response == gtk.RESPONSE_CANCEL:
finish our playlistmaker
print 'Closed, no files selected'
program. Last time, we select treeview1, go to the dialog.destroy()
got a good bit done, but signal tab, and, under
we left some things incomplete. GtkTreeView | cursor- Notice that we aren't returning anything. This is what caused the error. So to
We can't save the playlist, we don't changed, add a handler for fix this, we want to add the following line of code after the dialog.destroy()
have the movement functions on_treeview1_cursor_chan line.
done, we can't select the file path ged. Remember, as I told
to store the file in, and so on. you last month, to click off Return ([],"")
However, there are a few things that to make the change
that we need to do before we start stick. Finally, again in the This will keep the error from happening. Next, let's add the text box event
coding. First, we need to find an hierarchy box, select handler we created in glade. To our dictionary, add the following line.
image for the logo for our txtFilename, and go to the
application in the about box, and signal tab. Scroll down "on_txtFilename_key_press_event": self.txtFilenameKeyPress,
for when the application is until you find 'GtkWidget',
minimized. You can dig around in and scroll down further As you remember, this creates a function to handle the keypress event. We'll
the /usr/share/icons folder for an until you get to 'key-press- next create the function.
icon you like, or you can go on the event'. Add a handler for
'on_txtFilename_key_press def txtFilenameKeyPress(self,widget,data):
web and get one, or create one
if data.keyval == 65293: # The value of the return key
yourself. Whatever you get, put it _event'. Save your glade self.SavePlaylist()
into your code folder with the project and close glade.
glade file and the source code the routine, you have the code
from last month. Name it logo.png. Now it's time to complete our SavePlaylist function. The user
shown above. doesn't have to even click the
Next, we need to open the glade project. We'll start from where we
file from last month and make a left off using last month's code. button.
You might imagine, this simply
few changes. looks at the value of each key that
The first thing I want to do is Now on to new code. Let's deal
is pressed when the user is in the with the toolbar button ClearAll.
First, using the MainWindow, modify the code in class FileDialog.
txtFilename text box, and When the user clicks this button,
go to the General tab, and scroll If you remember from last time, if
compares it to the value 65293, we want the treeview and the
down until you find Icon. Using the the user clicked the 'Cancel'
which is the code that is assigned ListStore to be cleared. This is a
browse tool, find your icon and button, there was an error raised.
to the return key (enter key). If it simple one-liner that we can put
select that. Now the text box We will fix that first. At the end of
matches, then it calls the
full circle magazine #49 7 contents ^
PROGRAM IN PYTHON - PART 23
into the on_tbtnClearAll_clicked
def AddFilesToTreeview(self,FileList):
routine. Look at the 'for' statement counter = 0
portion. We use an iterator to walk for f in FileList:
def through the list called FileList. extStart = f.rfind(".")
on_tbtnClearAll_clicked(self, fnameStart = f.rfind("/")
widget): Basically, in this case, the iterator
extension = f[extStart+1:]
simply goes through each entry in fname = f[fnameStart+1:extStart]
self.playList.clear() the list returning each item fpath = f[:fnameStart]
separately. What we are going to data = [fname,extension,fpath]
We are simply telling the do is create an iterator, fill that self.playList.append(data)
counter += 1
playList ListStore to clear itself. with the selected rows in the
That was easy. Now we'll deal with treeview, and use that like a list.
the Delete toolbar button. Much So the code (middle right) for def on_tbtnDelete_clicked(self,widget):
harder, but once we get into it, on_tbtnDelete_clicked will be. sel = self.treeview.get_selection()
you'll understand. (model,rows) = sel.get_selected_rows()
iters=[]
The first line creates the for row in rows:
First we have to discuss how we TreeSelection object. We use that iters.append(self.playList.get_iter(row))
get a selection from the treeview to get the rows selected (which is for i in iters:
widget and the ListStore. This is if i is not None:
only one because we didn't set the self.playList.remove(i)
complicated, so go slowly. In order model to support multiple self.RowCount -= 1
to get data back from the selections), fill that into a list self.sbar.push(self.context_id,"%d files in list." %
ListStore, we first have to get a called iters, and then walk it (self.RowCount))
gtk.TreeSelection which is a helper removing (like the .clear
object that manages the selection method). We also def on_btnGetFolder_clicked(self,widget):
within a treeview. Then we use decrement the variable fd = FileDialog()
that helper object to retrieve the RowCount, and then display filepath,self.CurrentPath = fd.ShowDialog(1,self.CurrentPath)
model type, and an iterator that the number of files in the self.txtPath.set_text(filepath[0])
contains the selected rows. status bar.
The only thing really different form of a list, even though there is
I know that you are thinking Now, before we get to the from before is the last line of this only one entry. That's why we use
“What the heck is an iterator?” move functions, let's deal with the code. We are putting the name of 'filepath[0]'.
Well you already have used them save-file-path function. We'll use the path returned by the
and don't even know it. Think our FileDialog class as before. FileDialog into the textbox that we Let's do the file-save function.
about the following code (above We'll do all the code (bottom set up previously using the We can safely do that before we
right) from the right)for this in the set_text method. Remember that deal with the move functions.
AddFilesToTreeview function from on_btnGetFolder_clicked routine. the data returned to us is in the We'll create a function called
last month.
full circle magazine #49 8 contents ^
PROGRAM IN PYTHON - PART 23
SavePlaylist. The first thing we
def SavePlaylist(self):
need to do (above right) is check fp = self.txtPath.get_text() # Get the filepath from the text box
to see if there is anything in the fn = self.txtFilename.get_text() # Get the filename from the filename text box
txtPath text box. Next we need to
check to see if there is a filename Now check the values...
in the txtFilename text box. For
if fp == "": # IF the path is blank...
both of those instances, we use self.MessageBox("error","Please provide a filepath for the playlist.")
the .get_text() method of the text elif fn == "": # IF the filename is blank...
box. self.MessageBox("error","Please provide a filename for the playlist file.")
else: # Otherwise we are good to go.
Now that we know that we
have a path (fp) and a filename plfile = open(fp + "/" + fn,"w") # Open the file
(fn), we can open the file, print our plfile.writelines('#EXTM3U\n') # Print the M3U Header
M3U header, and walk the playList. for row in self.playList:
The path is stored (if you will plfile.writelines("%s/%s.%s\n" % (row[2],row[0],row[1])) #Write the line data
plfile.close # Finally close the file
remember) in column 2, the
filename in column 0, and the
Lastly, we pop up a message box informing the user that the file has been saved.
extension in column 1. We simply
(right) create a string and then self.MessageBox("info","Playlist file saved!")
write it to the file and finally close
the file. We now need to put in a call to this routine in our on_btnSavePlaylist_clicked event handler routine.
def SetupToolTips(self):
self.tbtnAdd.set_tooltip_text("Add a file or files to the playlist.")
self.tbtnAbout.set_tooltip_text("Display the About Information.")
self.tbtnDelete.set_tooltip_text("Delete selected entry from the list.")
self.tbtnClearAll.set_tooltip_text("Remove all entries from the list.")
self.tbtnQuit.set_tooltip_text("Quit this program.")
self.tbtnMoveToTop.set_tooltip_text("Move the selected entry to the top of the list.")
self.tbtnMoveUp.set_tooltip_text("Move the selected entry up in the list.")
self.tbtnMoveDown.set_tooltip_text("Move the selected entry down in the list.")
self.tbtnMoveToBottom.set_tooltip_text("Move the selected entry to the bottom of the list.")
self.btnGetFolder.set_tooltip_text("Select the folder that the playlist will be saved to.")
self.btnSavePlaylist.set_tooltip_text("Save the playlist.")
self.txtFilename.set_tooltip_text("Enter the filename to be saved here. The extension '.m3u' will be added
for you if you don't include it.")
EXTRA! EXTRA!
Last, but certainly not least, we
want to put our logo into our
About box. Just like everything
else there, there's an attribute for
about.set_logo(gtk.gdk.pixbuf
_new_from_file("logo.png"))
Full Circle Special
That's about it. You now have a Editions Released On
fully functioning program that
looks good, and does a wonderful Unsuspecting World*
job of creating a playlist for your
music files.
I
n the last article we used You can think of frames as the article text. Start by creating a On the Options tab, name the
paragraph styles to format boxes used to control the flow of new document. Now, in the frame “Article Header.” The frames
our document by creating text, graphics, and other elements menus, go to Insert > Frame. The are automatically named using the
reusable styles for in your document. One of the key frame dialog will pop up. On the format “Frame#” where # is the
consistency in our document. In features of frames is their ability type tab, check Relative for both number of frames in the
this article we will create a more to link together. When two frames Width and Height. Set the Width document. It is a good practice to
advanced layout using frames. are linked, the text from one to 100% and the Height to 25%. In give your frames meaningful
While there are programs, like frame automatically flows into the the position section, set the names to help you remember their
Scribus, which are designed more other, even if the two frames are Horizontal to From Left by 0.00” to purpose.
specifically toward more advanced on different pages. This feature Paragraph area. Set the Vertical
layouts, LibreOffice gives us makes frames ideal for position to From Top by 0.00” to By default, frames have a
several tools which allow us to newsletters and other article- Margin. border on all four sides, but we
produce documents with more based documents. want a border only at the bottom
than just a simple, letter-style
layout. One of the most useful of We will create the beginning
these tools is the frame. article layout, shown in figure 1,
using frames to control the flow of
U
buntu is made up of to an archive or mirror. Every day strict freeze dates. With every fixed, and a release candidate
thousands of different CD images are built for a selection freeze date that is reached, release is made, and if it does not
components, written in of different Ubuntu flavours. developers are expected to make contain any serious problems, it
many different Ubuntu Desktop, Ubuntu Server, fewer, less-intrusive changes. becomes the final release.
programming languages. Every Kubuntu, and others, specify a list Feature Freeze is the first big
component - be it a software of required packages that get on freeze date after the first half of Thousands of source packages,
library, a tool, or a graphical the CD. These CD images are then the cycle has passed. At this stage, billions of lines of code, and
application - is available as a used for installation tests, and features must be largely hundreds of contributors, require
source package. Source packages provide the feedback for further implemented. The rest of the cycle a lot of communication and
in most cases consist of two parts: release planning. is supposed to be focused on planning to maintain high
the actual source code, and fixing bugs. After that, the user standards of quality. At the
metadata. Metadata includes the Ubuntu’s development is very interface, then the beginning of each release cycle,
dependencies of the package, much dependent on the current documentation, the kernel, etc, we have the Ubuntu Developer
copyright and licensing stage of the release cycle. We are frozen, then the beta release is Summit where developers and
information, and instructions on release a new version of Ubuntu put out which receives a lot of contributors come together to
how to build the package. Once every six months, which is possible testing. From the beta release plan the features of the next
this source package is compiled, only because we have established onwards, only critical bugs get releases. Every feature is
the build process provides binary
packages, which are the .deb files
users can install.
It would be great to
have contributors come
on the show and
express an opinion in
person.
I
n this article, I’m going to lastly click ‘Continue’ (above).
concentrate on the three
main Google contact items; Thunderbird will display the
Gmail, Google Contacts (part best import settings for you
of Gmail), and Google Calendar. (below left).
The main problem in using
Thunderbird (version three in this You can, using the button,
case) with Gmail was synchronizing configure the settings manually,
contacts, but that’s now easily but for ease of use, click ‘Create
possible using an addon. Account’. After a few moments
(depending on your download
First, we want to show our them from the server. You’ll still Account and fill in your real name, speed), you’ll see all your Google
Google emails in Thunderbird. It’s be able to access your emails from Google mail account, and your mail in Thunderbird (below right).
important to note that we’ll be another computer via the web Google mail password, tick the box
showing emails in Thunderbird - by browser. if you want Thunderbird to As you can see (in the tree view
that I mean Thunderbird won’t remember your password, and in the left panel) you also have
download your emails and delete Go to: File > New > Mail
T
please follow the guidelines
he single rule for an shown here.
Games/Applications
article is that it must When reviewing games/applications please state clearly:
somehow be linked to For a more detailed list of the
Ubuntu or one of the style rules and common pitfalls
• title of the game
many derivatives of Ubuntu please refer to:
• who makes the game
(Kubuntu, Xubuntu, Lubuntu, etc). https://wiki.ubuntu.com/UbuntuMa
• is it free, or a paid download?
gazine/Style - in short: US spelling,
• where to get it from (give download/homepage URL)
Write your article in whichever no l33t speak and no smilies.
• is it Linux native, or did you use Wine?
software you choose. I would • your marks out of five
recommend OpenOffice, but When you are ready to submit
• a summary with positive and negative points
PLEASE SPELL AND GRAMMAR your article please email it to:
CHECK IT! articles@fullcirclemagazine.org
Hardware
If you can't write articles, but When reviewing hardware please state clearly:
Writing hang out in Ubuntu Forums, send
us interesting forum threads that • make and model of the hardware
In your article, please indicate we could print. • what category would you put this hardware into?
where you would like a particular • any glitches that you may have had while using the hardware?
image to be placed. Please do not • easy to get the hardware working in Linux?
embed images into your Open Non-English Writers
• did you have to use Windows drivers?
Office document. • marks out of five
If your native language is not
• a summary with positive and negative points
English, don't worry. Write your
Images article, and one of the
proofreaders will read it for you
Images should be JPG with low and correct any grammatical or
compression. spelling errors. Not only are you
You don't need to be an expert to write an
helping the magazine and the article - write about the games, applications
Regarding image sizes: if in
doubt, send a full size screengrab
community, but we'll help you with and hardware that you use every day.
your English!
and we will crop the image.
full circle magazine #49 22 contents ^
LINUX LAB
Written by Robin Catling
Swappiness Part 2 - Swap On, Swap Off
L
ast time, we established a is the same as on disk, or, the write by the memory manager. It's
kind of sliding scale to • File-backed pages are those values are unchanged since they a data-security thing.
determine whether or not containing volatile values which were instantiated. Clean pages can
a Swap partition is a) haven't been written back out to be discarded whenever the At times of peak workload, this
essential, b) useful, c) wasteful, or disk. These might contain changes memory is required for something is the operation which slows
d) obsolete. Don't worry, this isn't in memory that haven't been else as they match the original everything down, as the kernel
an exam. However, it may be worth written out yet. data available on disk. runs out of empty and clean pages
looking into the topic of Virtual in the pool; it has to write dirty
Memory Management, to call it by • Anonymous mappings are • Dirty pages contain changed pages to disk before it can
its proper name, a little further. volatile pages which don't data since the last read or continue on with its prioritized
Ancient Linux hackers among you correspond to any file instantiation. These have tasks. File-backed pages are
will have to excuse the Dr. Seuss- name; these to be 'evicted' - the flushed by writing-back to their
level distillation which follows (or contain the changed values parent file on disk. Anonymous
else go write your own 300-page stack and heap recorded to disk mappings, however, have no
book on the subject). variables of - before the backing-file, these are stacks and
running memory can arrays of works-in-progress. Where
tasks, be flushed. do they go? Into Swap!
Page by Page
created by a
program It's If you don't have swap space,
Memory, as used by a Linux
requesting important to then anonymous mappings can't
operating system, is divided into
a memory remember be flushed, they have to stay in
pages, which can themselves be
allocation that Linux has memory until they're deleted. This
categorized by usage:
from the no separate reduces the size of the memory
kernel. disk cache, unlike pool that the kernel can draw on
• Kernel Pages are fixed in
Unix- or DOS-based to keep running all concurrent
memory and never swapped. Some
The cached pages systems. It's designed processes. It has to keep juggling
operating systems have pageable
can be divided into 'clean' to read-in and keep the most file-backed pages, which can be
kernels, but Linux plays it 'safe'.
and 'dirty', which the kernel useful data from disk as cached even slower in operation;
memory manager has to look after pages. Also, the kernel doesn't navigating directory trees and
• Program or application memory
in the background. usually modify the disk directly: performing disk-writes by-the-
pages are held as read-only in
changes are made to the files in book. It's a lot simpler and faster
memory and are exact copies of
• Clean means the data in memory memory, then 'flushed' after a disk- to blast out copies of flat pages to
the binary executable on disk.
full circle magazine #49 23 contents ^
LINUX LAB - SWAPPINESS PART 2
Swap. Remember, RAM is been written on the predictive resident in memory, even if they
expensive, disk is cheap. algorithms used to predict what to are idle. Going up the scale to 100
cache, what to flush, when, and increases the rate of swapping in
Partition or File? how much memory is sensible to an attempt to maximize the
leave in the empty pool. You can amount of free memory available
The original criticism is that a watch your free memory go up and in the pool.
whole swap partition is a waste, down, if you have nothing better The default value for
especially if you have only a small to do. Right after boot-time, swappiness is 60. You can alter it
hard disk or solid state drive. You there's a large pool, decreasing using root permissions and a
can use swap files, as do some when you begin running parameter command such as :
other operating systems we won't application programs, then
increasing again when a program echo 50 >
mention, but remember swap files /proc/sys/vm/swappiness
have to obey the rules alongside exits and the data pages it held are
Which brings us neatly back to
everything else on your journaling released.
Any value set this way lasts the need for Swap. It's only there
file system. A swap partition is ring- until the next re-boot. To change it to support our marvelous multi-
fenced for paging; no other files Swap On permanently, you need to edit the tasking, time-slicing operating
can reside there. vm.swappiness parameter in the system that we run on our
To check the state of your swap /etc/sysctl.conf file . lightning fast, parallel-processing
Kernel Panic partition, use: multi-core CPUs. If you only do one
In adjusting swappiness, you thing at a time, you can happily
swapon -s ignore everything I just said.
This is a recognized medical are making a judgment call; it
condition of mental anxiety, prejudices the kernel memory Before you do, try running the top
which gave me the result shown command in a terminal during a
brought on in Linux users when manager for-or-against swapping
below. busy session.
they run the free or vmstat out to disk. Set swappiness too
commands and discover how little high, you risk your disk-writes
The Linux 2.6 kernel has a
free memory is reported. You can going through the roof; meanwhile
parameter called swappiness
relax, this is quite normal. every concurrent process has to
which you can use to tune the way
wait even longer in line for its data
Linux uses Swap. It is a number
The kernel memory manager to be read back in from disk before
from 0 to 100: 0 means minimal
tries to keep the available RAM it gets a slice of processing time.
swapping, keeping more pages
filled with cached pages in
expectation that the files will be
Filename...........Type Size Used Priority
used again and it won't have to go
to disk to fetch them. This is /dev/sda1 partition 2931856 109840 -1
intentional. Whole books have
full circle magazine #49 24 contents ^
MY STORY
Written by Danish Lala
I
joined my new office in July Fedora and Red Hat Linux, and traffic through the network. Also were solved thanks to the
2010. Assigned to the wanted to try Linux as a Server OS. VNC was installed so that, in case community, which is always there
Purchasing Department, I was Soon, we three started to discuss of any problems, the same could to help us all out.
given my own workstation. Linux Server OSs, and they both be solved without the user being
The IT department in my company tried some flavours on two spare affected (since the network is In this way, Linux replaced an
was humble and friendly. Since PCs which they used as a Server. spread over three different levels older OS on my company server,
they had their department on the After a long testing and trial, they in two separate buildings). The and is now fully functional. And
same floor as my department, we chose to install Fedora as the virus database was also centralised yes, since we are an infrastructure
used to bump into each other Server OS, and also use it to route and henceforth all the updates are company, we have issues on our
often. I was curious to know how the internet traffic through the made from the Central Server. various sites that are as far as 400-
the company network was set up whole company network. Wine was installed and is now used 700 kms from us which are solved
and in what manner it was running. to run some software which runs through TeamViewer.
Being an Ubuntu fan, I wanted The company's network was on Windows but does not yet have
them to have a look at the OS and now administered by Fedora OS, suitable replacements in Linux. All my thanks to the Ubuntu
try it for official use. and the Internet routed through There were some minor issues community, and my best wishes to
the same Server PC which was such as blocking of unintended your readers. Keep reading and
Initially, my PC had some running Fedora (Server Edition). sites by squid, domain assignment, keep using FOSS.
problems; some were related to Also Ubuntu 10.04 was installed on and even some freezes, but they
hardware, and some to software. a second PC to try out new
Hence, the IT guys had to spend additions without affecting the
some time to make amends so that Network. But Linux has its own
my work would not come to a share of problems.
sudden halt altogether. In the
process of problem solving we We had to find replacements
started to discuss Linux. for old programs, and ensure
smooth functioning of the
A few days later, I was talking company network and flow of
about Ubuntu, and my IT guys, operations. We have IP Messenger
Pravin and Kalpesh, were happy to on all PCs, and the OS is Windows,
know that someone in the whole hence Gnome IP Messenger came
company knew about Linux other in as a replacement on the Server.
than themselves. They knew about Squid was deployed to control
2
007: the launch of the homework - or mine - that can get these tablets are glorified objects.
Asus eee-PC created a us on-line via a hot-spot, whilst smartphones, and, what the heck,
market in ultra-portables. being portable enough for a plane the smart people have got one of The next question is what to
Almost four years later, or train. With a cheap office suite, those already. Besides, smudgy run on it? The end of the long tail
the popular press would have you it also plays just enough media and fingerprints on a touch-screen of Windows XP is in sight,
believe it's a market that came and low-resolution games to keep us keyboard never struck me as any although you find far too many XP
went. They don't explain why two amused, but it's not our gaming or kind of advantage. installations which are now
of my local supermarkets are photo-editing machine, unless you effectively out of support.
pushing HP-Compaq netbooks at want to tidy up your Facebook No, there are plenty of Windows 7 is in the ascendant. The
£199, and there's a thriving sector photos before posting. consumers who aren't into machines are powerful enough to
of on-line retailers promoting technology like us, who don't want run it, multi-tasking office, and
refurbished netbooks for even That answer is not an iPad, or the clutter of a full-sized PC in the browser and email clients. It seems
less. Meanwhile, the big an Android tablet. We either don't house. There are silver-surfers and the early experiments in Xandros
manufacturers continue to push do the Apple way, can't justify the sofa-surfers; students; 'road- and Linpus-Lite Linux are about
shiny hand-bag sized toys into expense, or simply can't afford it. warriors' trading on the move, and done, not that I'm sorry.
higher-margin price ranges. At the bottom end, freelancers like me for whom the
17-inch, wide-screen, thigh- But I am finding a number of
Somebody must still be buying incinerator, is simply a waste. the refurb's pre-loaded with a
them. thing called Ubuntu 10.10, if only
So I've bought a netbook, as to bring the price down. Who
I'm looking at my immediate has a friend who runs a training would have thought it? Go forth
circle of acquaintances. There's company - a techno-sceptic, as and evangelize, my children.
five of us looking at small, has Dave Wilkins from the
lightweight mobile devices, having podcast - who had no budget,
a proper keyboard, decent screen, but a need for portable
wifi, and good battery life. computing. Two more
friends are looking
The answer we seek is minus to buy, one of
sim-cards, expensive data plans, whom is allergic Allan J. Smithie is a journalist and
and pretensions to be a phone. It's to technology, commentator based in Dubai. His
the other allergic blog, 'No Expert' is at:
a second or even third computer, http://allanjsmithie.wordpress.com/
good enough for the kid's to carrying heavy
“
11.04, a message appeared The other thing I dislike is the On my Netbook, Unity delivers
“
I think the new Unity desktop saying "your computer doesn't fact that the "launcher" is more vertical pixels for my
is awesome and just what have the necessary hardware for glued to the left side of the applications than any other DE,
Ubuntu needed. It has made Unity". I assume it means that this screen. In all of the videos, even without tweaking. The
me a full-time convert. nonsense requires some screencaps, and demos I have seen combined top panel and
myzombiebrain overpowered, overheating, of Ubuntu, most of the time the application menu does it for me.
overclocked, overblown video card bottom panel was removed and Alain J. Baudrez
“ I do not like Unity because it which uses more power than the replaced with a Dock (AWN, Docky,
“
lacks keyboard shortcuts and rest of the computer. Needless to etc). Since this was the way so I think it's awful. I don't like
configurability. "It is what it say, I don't want or need it on my many folks interacted with their change for change’s sake.
is" is far from Linux, IMO. machine. desktops, why not do the logical Hopefully, a more normal
jadi Kurt Godel thing and lock it on the left side? It Gnome interface will continue to
doesn't make any sense. Unity is a be available, but if Unity becomes
“ “
Frankly, I don't like the new But right now, the total number of Unity in 11.04 is great, when
“
I really like the Unity concept. view (Unity). I switched back tablets shipping with Ubuntu is..... you take the time to learn
Still getting used to it. I miss to the classic view ASAP. This 0. Why are we focusing on the user how it works.
not having the workspace may well be due to old dogs and interface for vaporware? girolez
switcher in the toolbar, otherwise new tricks, but also has something Kevin Seise
“
great! to do with problems in finding Unity might turn out to be a
EmbarkOnIt_Phil things within Unity. It just didn't
seem so intuitive. Why I need great “ Unity 2D is for me!
giantgreengoat
great desktop someday, but
it's truly not ready. It has very
“
Loving Unity so far. No more big buttons to run Writer and Calc, little functionality, lots of bugs,
“
Mint. This is a great opportunity Ubuntu 11.04, I will disable Unity have disabled it. For the rest I I tried 11.04, then went back
for Linux Mint to lead. I'm keeping to continue to use Gnome. I have really like it. to 10.10. My screens (two 22
my eyes on Linux Mint. tested Xfce, Fluxbox, and KDE, and Chris Giltnane inches) showed me weird
Wayne my favorite is Gnome. things at first, then Unity
“
Alejandro Castaño Fernández I believe Unity is a massive appeared. It is beautiful, really, but
“ What's this I hear about having and great step forward to I was lost! I didn't understand how
“
to install some drivers before Unity? What Unity? I used better interaction between to manage it. Yes, I know I should
Unity becomes usable? The Gnome til "Gnome 3" and user and computer. It increases the have taken more time, but I don't
Live CD said something like “I don't "Unity" arrived. Then I working space, and it adds clarity have it. So it is like a piece of Art:
have what it takes so here's the switched to LXDE, and am as in what's open and what's beautiful, but not for me... yet.
old interface” (wrong words happy as can be. Freedom is what available. Franz
obviously, but along those lines). Linux is all about.
“ “
Paul Marc I'll be putting Unity to the Well, I don't really like it. I find
final test at work with a much it's quite complicated, and it
“
still has issues, the CD is going into continue this downward spiral, I I dunno if it's been discussed, Nicholas Manea
the rubbish bin may switch to Mint for the next but how about giving an
“
Craig M. Ling LTS. Too bad for Ubuntu. It's sad to option of displaying the icons Unity helps to keep the
see them take such a hit on an horizontally, the Docky way, at the desktop clutter-free and
“
After the Natty upgrade, it unwise path. Maybe they can pull bottom of the screen? organized. Only problem is
looks very like my previous it off. Time will tell. Most people I Jari Saarelainen that I've yet to figure out how to
Netbook desktop, polished. speak with do not like Unity. customize it further.
“
Will find out how to edit launcher Joseph A. Millikan I think Unity is absolutely kra3
soon. amazing: more space, nice
CoffeeJohny
full circle magazine #49 28 “ There are one or two small
contents ^
I THINK...
niggles, but, when I started using applications, I had to click more three days now, I've discovered
“
it, there were a lot more. It seems Personally I hate Unity. I feel and search. It requires a lot of that it seems a bit flaky. It has
that the niggles are due to my it is trying to take away searching. Once you click an icon crashed several times, it does not
unfamiliarity with the system, and something that I loved about with several open application seem to deal well with multiple
as I use it, I get better at Ubuntu, the total customization instances, it beautifully reveals displays, the launcher occasionally
understanding it. that you can do with everything. those applications in grids, but forgets the monitor dimensions
Andrew Ampers Taylor The panels work so well to put upon further clicking, it doesn't and paints itself in unusual
everything exactly where you want disappear, forcing you to select an positions, and some programs
“
My opinion is that Unity is a bit it, but Unity won't even let you application. I'm not happy with this (backintime?) seem to cause
too slow for my needs. When I right click. I was on the verge of behaviour. Overall I'm happy with problems with the panel. The
open multiple windows (more reverting back to 10.10 before I it. more I use it, the more I like the
than 3 or 4, depending on the found the 'Ubuntu Classic' option. I Robert Ngalu concept, but it really seems like it
applications), it tends to get laggy will certainly never update to a is unfinished/buggy.
“
and slow. I like my PC to be fast. new version if it supports only I truly hate the global menu Wat Grad
Ardelean Călin Unity. idea, as I rarely use any
“
Ryan Holihan window maximized except on I think there is gold in there,
“
I've been on the fence about my netbook. Having a menu but the overall interface did
going with OpenSuse with its separated from the working not please me, therefore I
“
I will not use it on my
Gnome 3 out of the box, or Samsung NF210 10" laptop. I window is awful. I very much miss reverted to Gnome 2.
staying in UbuntuLand with Unity. hope that by the time the the old standard menus, for which JJ
One thing that I think Gnome 3 next LTS version is out, there is a Unity is a poor substitute. I like
does slightly better is the infinite
desktops per window/task. I think
that both Unity and Gnome 3 need
choice of interface. If not, then I
think I'll have to abandon Gnome
having the dock for frequently
used apps and activities, but there
is no reason it cannot co-exist with
“ Well, it's a bit of a change
from the way you used to
work, but, once I got used to
and go with KDE!
to pass their initial milestone Richard old style menus. it, I think it's great!
before truly delivering each camp Dazed_75 a.k.a. Larry Carla Sella
"The Goods."
“
Some things are renamed and
“ “
Joe took a little bit of time to find. Unity on Ubuntu 11.04? I love My take on it is that it's a
Overall, I like it, and think it It! good note/netbook interface,
“
read, and not just Click on Michael St. John I was prepared to dislike it - way of being productive, too many
Pictures. This "Simple" interface is but then found myself clicks and not enough
“
too simple! I will stay with 10.04, I think Unity is a great user thinking it was more efficient customisation for work flow. After
and not use 11.04! interface, but has some once I got used to it. experiencing Gnome 3, I'd have to
Ichido shortfalls. It is hard to find Unfortunately, after using it for say the same about it. I really think
full circle magazine #49 29 contents ^
I THINK...
both are headed in the wrong launch applications), and contra- learning curve.
“
I use it on my 10'' netbook
direction for a desktop interface. intuitive. The joy of Linux/Gnome and I am really satisfied. Much
They are both trying to dumb is in its flexibility and ability for I switched to Xubuntu 11.04 with better than the Windows 7
down the desktop too much. personal configuration. Unity it's XFCE interface, which still GUI. Easy to customize. I really
Randy Blake might be very good if it becomes retains a drop-down panel where I look forward to installing it on my
possible to add extra panels, can quickly find what I need. desktop.
“ Unity exceeded my
expectations by a lot. It is
though maybe this destroys the
whole point?
Denny Angelos Vlassopoulos
“
Compiz plugins I used and loved I have been using Ubuntu Some bugs still, though! slow, and I do not like the way
with the classic Gnome, do not since 6.04. I can't get Unity to Robert Tedder it shows your options. Didn’t seem
work (well) with Unity, such as work on any of my systems! to be able to locate "system" so
wobbly windows, Compiz cube, etc.
Siddarth Kaki
One system has a quad processor,
and 4 gig of memory, and Nvidia “ I tried it on my laptop and
hated it. It doesn't add
that I could set my preferences.
Have un-installed it and returned
7025 video, and still will not load functionality, instead it to version 10.10.
“
Actually, it sounds rather Unity and goes to the default removes it. Too many mouse clicks. Richard
similar to what a lot of Gnome. It can't get the video A dock (I don't use docky, or any
Kubuntu users went through a drivers (says none available, so low other such thing) that is there,
“
I don't like it. Immediately
while back, when they made the res display), but worked fine on except for when it isn't, and having after installing Natty, I tried to
jump to KDE 4. It wasn't fully ready 10.4 and 10.10. to move windows around just to use it for a couple of hours
at the time, had a lot of bugs, and Phantom get things done. but found it inconvenient and
longtime KDE users often hated it intrusive. Things were not where I
“
just because it was so different. I think Unity is a bold step I am impressed that Canonical is expected them to be, or didn't do
Matt Jacobs forward for Ubuntu. Still in its trying new things, and glad that what I expected them to do. After
infancy, the desktop offers a "Ubuntu Classic" is available in a while, I was able to figure things
“ “
Flávio Pontes To me, Unity is a step So for me, if it ain't broke... why fix It seems oriented to casual
backwards for Ubuntu. I it? users and not power users. I
“
As a long term (since Dapper) consider it in the same class as Korne Iole have my panels configured, so
Gnome user, I've found Unity the new Gnome 3: an icon-driven just about everything I need
slow (too many extra steps to UI that's slow and has a steep concerning apps or files is one click
full circle magazine #49 30 contents ^
I THINK...
away. With Unity, a lot of stuff I Fred Mahyuddhien Alghow'ry
would never use was always
“
The thing I love the most
shown, and there seems no way to
customize it to have everything
one click away via a panel. Also, I
“ Some things I was used to are
not easy to find, such as
Ubuntu Update Manager.
about Ubuntu is its ability to
customise it to however you “
For the application developer
who needs desktops, the
interface is not a good option.
want.
use old machines, and so 3D Others, such as the Software We need rapid access to different
effects and other stuff like that Manager, have been updated so The new Unity interface reminds desktops, vis one for personal
seems a big waste of resources. I much that they just look weird. me of a Mac - which has almost no stuff, one for online docs, one for
also don't like Ubuntu distancing However, new does not equal bad. ability to customise. eclipse/netbeans, and one for the
itself so much from other Linux I like the idea of the dock bar, and debugger and test results. So, the
distros. how it disappears when apps are in Unity is so darn frustrating as it loser is Ubuntu, as developers shy
Carol McAnulty full screen mode. Overall, I think it tries to hide features from the away and develop with other
is less cluttered than Gnome 2. user, which is the opposite of what systems (Debian).
“ “
I was already switching often new thing for me. I absolutely love it. Finally, a to find a place captured
between Gnome and KDE, but, Les Martin GUI interface that stays out of largely by KDE and Gnome. I think
for photography, KDE seems your way when it needs to, it will take some time to get used
the way to go now (yay, Digikam!).
I still remember how KDE 4.0 was
introduced, and everybody was
“ I think Unity is not what a
desktop user wants. It would
look good on a smartphone.
and is available all other times.
Arrogant Penguin
to the concept, but the first
impression is nice.
S Sivakumaran
complaining with strong and plain Ergo, I do not want Unity. Even
“
I didn't really like Unity since it
“
arguments. They surely had a clear stronger, I do not want Gnome reduced my web page screen I think it's sad that Ubuntu
reason to do so. Unity sounds very anymore. I already switched to width. Gnome 3 gives me wants to look like Mac. Unity
great, but I don't like the idea that KDE a month ago. I will also not more workspace on my 10" doesn't seem to have
people with older hardware are upgrade to 11.04. netbook than Unity does. functions I like. I use glipper a lot,
left standing in the cold now. Jef and found no way to set it up in
full circle magazine #49 31 contents ^
I THINK...
Unity. I almost switched to another almost like it better than the full
distro till I found I could go classic. blown Unity.
The question I'd like to pose for FCM#50 is:
I don't like Unity, and probably Steve Barcomb
won't use it.
Should Ubuntu keep its current schedule, or
Bill Stout
“ One man's idea forced upon
the masses regardless of the switch to a rolling release?
“
I love it. It is very easy to use, consequences.
and highly intuitive. It works Patrick Hall To give your answer, go to: http://goo.gl/IKjmc
extremely well on my Acer
“
Aspire One D255E, and looks and I love it, this has been a
works great on desktops (used via positive change for me.
live USB). It is quick, easy, and very Jake F
easy on the eyes.
Dustin MacDonald
“
Every time I see the Unity
interface, I feel like I'm using a
tablet, phone, or some other
miniature device. I don't want my
desktop to look like a big tablet. I
actually like GNOME 3 better than
Unity, though I still think the old
GNOME is best for new users.
Jesse H. Melhuish
W
hen dealing with states "Sun". However, Oracle took downloads and mumbo-jumbo, harm (you’ll get the usual “sorry”
virtual machines, over quite a while ago, and the and I imagine many miss it. And warning).
a.k.a. virtual boxes, website at www.virtualbox.org that’s sad. VirtualBox is incredibly
you have your doesn’t even hint at Sun easy to use, and most will probably Once downloaded, installation
choice of 3 major players: Oracle Microsystems any more. figure it out by just poking around, is straightforward, with no quirks
VirtualBox, VMWare, and Parallels. Nevertheless, some Linux but the website is haphazardly other than the usual Linux nag
If you’re looking for a free one, distributions that packaged designed, and was obviously that another version exists in the
then you’re limited to VirtualBox, VirtualBox often have outdated created with aesthetics not in repository (not the right versions,
since VMWare and Parallels will be variations that do state Sun. The mind. Plain Jane comes to mind though). Just remember to
dipping into your pocket. easiest way to tell if a version is up- with underlined hyperlinks all over download and install the
to-date is to look at the version the place and an HTML help guide expansion pack too, or you’ll be
For hardcore Linux users, number. Version 4 is the latest, and instead of a downloadable PDF lacking USB support. You should
VirtualBox is issued under the apparently the only one offered version. see a menu heading, but I’d advise
GNU/GPL licensing structure, but now, for reasons mentioned you put an icon in the panel and/or
the extension pack (read below) is below. Before you start, it’s advisable desktop for easy access. If you’re
issued under PUEL (personal use to do two things before like me, you’ve already got a few
and evaluation license). All those Until version 4, users had the downloading and installing hundred programs installed, and
letters mean “free” and “not for option of VirtualBox (which I’ll call VirtualBox, especially on Linux. the thought of scrolling through a
commercial use”. Versions exist for Base), or VirtualBox OSE (OSE), First, uninstall the VirtualBox you load of programs to find one is
nearly every Linux distribution, with the only difference being USB have if it’s below version 4. If you frustrating.
including Ubuntu, Suse, Debian, support on the latter. Users have version 4, keep it, and
Fedora, Mandriva, Red Hat, and apparently became confused by download just the extension pack The interface is pleasantly
TurboLinux (do they still develop the difference, so Oracle decided (which, for some reason, is rarely designed, and will walk anybody
it?). When in doubt, go to the one version was sufficient - along included). Second, watch which OS through the process. If you are
bottom of the download list where with an extension pack to add USB version you download. You have new to using virtual machines, I’d
you’ll find “All Distributions”. support. Unfortunately, the your choice of Windows, Mac, or recommend experimenting with
change didn’t end the confusion, Linux, but the website doesn’t another version of Linux since they
Linux users will probably state and may have added to it. You see, automatically read what OS you’re require no serial number or special
that VirtualBox is really from Sun the extension is casually using, so choose wisely. You’ll have tweaking. Once you install one
Microsystems. After all, that’s mentioned on the download page, to know if you have AMD64 or x86 guest, the rest fall right into place.
what their program heading states and isn’t hyped or highlighted. It’s technology, although downloading
for their version, and even the icon just there among various the wrong one won’t cause any Now it’s time to clarify a couple
full circle magazine #49 34 contents ^
REVIEW: VIRTUAL MACHINES
of often-used words when dealing guest. You’ll find out later how ports only when peripherals are of updates and verify the serial
with virtual machines. First, the that can come back to haunt you. attached, but it does know the number. In short, count on about
host is what you are currently ports are there. If the expansion 1.5 hours for a full install of
using on your computer. In my As for the RAM, don’t get pack is installed properly, you’ll Windows 7 - most of which is taken
case, it’s Ubuntu Linux 10.04. overly zealous. Fortunately, see a heading in the menu for USB. up by updates and serial number
Second, the guest is the operating VirtualBox will give a warning that Failure to install the expansion verification. XP installers can easily
system (OS) you plan to install in designating too much RAM for the pack will result in the USB area count on 2 hours waiting for 1GB+
the virtual machine - Windows 7 guest will cripple the host OS. As a graying out. Of note, USB 2.0 is of updates and security fixes (if
Ultimate in my situation. rule of thumb, no more than 50% supported, but nothing is available you have an XP disc it’s out-of-date
should be allocated - it was 2GB in for USB 3.0. If you have 3.0 by 2 years or more, so be
Installing a guest is a simple my case. How critical is this? peripherals they’ll be downgraded prepared).
affair - with just a few quirks you Recently, I was called to assist a to 2.0 if allowable.
must watch for: person who had allocated all RAM Once installed, your guest OS
to the guest thereby crippling the Once you’ve set the will have a menu heading in the
• Know which guest you plan to host. Both have to work in tandem, parameters, the magic begins. The VirtualBox directory. Each guest
install. Yes, that sounds stupid, but and they do rely on each other, so partition is created on your hard OS you install gets a new heading,
you have a choice of several, and don’t overdo it. drive, and it’ll be a couple minutes and I’ve personally squeezed 5 on
you don’t want to pick Windows 7 before VirtualBox asks you to the menu, but you can open only
when you really want XP. The hard-drive choice is insert the guest OS DVD in your one at a time. Clicking on any
generally defaulted at 20GB or drive. Linux installers can use a guest heading will open a virtual
• Amount of RAM to devote to the thereabouts, and that’s a fair USB flash drive, if available, or the machine window that you can
guest (see my note below). amount to start with (it seems to DVD, but Windows users are stuck maximize or keep as a smaller
pick about 10% of the hard drive, with the DVD. window overlaying the host
• Amount of hard-drive space and so this amount can vary), but make desktop. A separate menu for just
whether or not you want auto- sure you check the auto-expansion Normally, Windows 7 can take your guest OS will be inside that
expansion. option. This allows the partition to up to an hour or so to install on a window since VirtualBox closes
expand as your Windows or Linux fresh hard drive, but it takes less in after opening the guest (and then
This is the point at which the OS gets larger when you add VirtualBox, mainly because it reopens once you finish). There is a
casual or inattentive user can programs. Failure to check the box borrows basic information from quirk, though. If you go full screen,
make bad decisions. The guest will lock you into the space the host, and already knows the the menu for VirtualBox
choice is straightforward, but if allocated. Fortunately, if you do time, language, date, keyboard disappears and is nowhere to be
you intend to load Windows, be forget, you can go back and style, and other minor things. In found until you run your mouse at
sure you have a valid disc and change that parameter; just do it all, VirtualBox took roughly 30 the screen’s bottom. At that point
serial number. Failure to have before your space is full. minutes to install Windows 7, and, the missing menu appears. If you
either will resort in an aborted from there, Microsoft took opt for the smaller window the
operation and a half-installed It appears VirtualBox reads USB another hour to download a slew menu is always present but you
full circle magazine #49 35 contents ^
REVIEW: VIRTUAL MACHINES
lose screen real estate and may virtual machine and went back to information from the host and Windows 7 times, but suspending
have to scroll to see pages. my host, things got goofy. When runs with it, although you may and restarting will have you up and
attempting to open music files in have to re-enter your wireless key running in about 15 to 20 seconds.
Operationally there isn’t much the host, even with VMWare or if one exists. If you’re wondering, This is about the same time it
of a difference in the guest. In my Parallels closed, the guest OS you will have connections in both takes to get 7 out of hibernation
case Windows 7 worked just fine, would abruptly open to expose the guest and host, and I had on a Windows computer. Quite
and I could switch between host Windows Media Player. I finally browsers open in both with no impressive, actually.
and guest at any time by merely learned to right-click music files to degradation in connection speeds.
minimizing or moving the guest have them open with the program While it could be argued that
virtual window. I wanted outside of the guest. I Once you’re finished using the other virtual machines such as
could understand this if the guest guest ,you have the option of VMWare and Parallels also save
As for file swapping, I’ve always virtual machine was open, but shutting down, suspending, or guests in their current state, they
found it to be problematic. Virtual VMWare and Parallels would go sending a power off signal to the operate quite differently. Parallels
machines like to claim that files the extra mile by opening guest. Shutting down is obvious, on my Apple takes a good minute
can be swapped or read between themselves and then the guest OS. and suspend merely halts the to open a saved desktop, and
host and guest, but my That was just aggravating after a guest for future use (sort of like VMWare took nearly 2 minutes to
experiences have been less than while. VirtualBox suffers no such hibernation or sleep), but I have no open a suspended guest. Both
successful. Sometimes they ills. It never once attempted to idea what sending a power-off were just slow enough that I took
transfer, sometimes they don’t, open the guest without first signal is. It did the exact same to shutting down the guest OS and
and I’ve never gotten the same asking me. thing as shutting down. If you doing cold boots to restart them
results twice. I use Windows 7 only forget where you’re at, and use since the time difference was
because my work requires it, so The only time you may witness the Windows button to shut down, minimal.
file swapping is not a major interference is when guest and don’t worry. VirtualBox figured
concern for me, but if you do need host programs collide. I discovered some users would do that, and One thing to mention is a little
to transfer files between host and that opening Pidgin in Ubuntu should you attempt to shut down quirk that may confuse some.
guest, be prepared for trials and while Messenger was running in via that system, its menu will pop Insert a flash drive or CD/DVD into
tribulations. Windows 7 would cause up to remind you you’re in a virtual your optical drive, and it’ll show up
Messenger to shut down since it machine, and take over by in both the guest and host. Ubuntu
When I authorized file sharing sensed I had signed on from a substituting its options for shows a desktop icon, while
in VMWare and Parallels, I’d often different location. Curiously, Windows. The only real difference Windows 7 shows either a desktop
get crossover interference. When I Pidgin never shut down, just in the 3 termination methods is or taskbar icon. But that’s half the
installed music files in my Messenger. the amount of time it takes to fun. Ejecting a flash drive in
Windows guest, they were opened reactivate the guest. Shutting Ubuntu will not eject it from the
by Windows Media Player by Internet connection is a breeze. down and then powering back on guest OS and Windows would
default, but when I closed that Again, the guest takes the requires a cold boot with the usual always return with a snarky remark
Libre/Open Office about it. The purpose of the series is Downloading Join us on:
L E
the use of LibreOffice. I will be
ately I have committed covering spreadsheets, very month I receive your facebook.com/fullcircle
myself to studying presentations, and so on at some notification of a new magazine
Libre/Open Office point. The best way to learn office edition having been
because I am giving programs is to learn how the released. I can never find twitter.com/#!/fullcirclemag
support to clients, and I have to different features work so you can the right URL or attached file to linkedin.com/company/full-
know a little bit about Office, so put them together to create well get/read it. circle-magazine
this tutorial came at the perfect formatted documents. I am open to
suggestions and ideas. ubuntuforums.org/forum
time for me. Could you please draw a big
display.php?f=270
sign on the website, or just
I hope that you will do this directly send your PDF file to my
series as a general Office guide, My Desktop mail box?
you are UK based [I am - Ronnie]
I
and wouldn't stick with features
and if so you will understand, I
from just LibreOffice. In other read your magazine and I Hsien-Hung
hope.
words, I would like to study the thank you for the quality of
inner workings of LibreOffice and the articles. I love the section Ronnie says: We seem to get a
End of Shipit
how to use them. custom desktops, but I think it lot of email from people who can't
would be more interesting if find the PDF's. There is a menu at
What a disaster! It so annoys
Hanan published how to make this the top of the page (on the FCM
me, these top level people of all
custom desktop. site) which clearly says 'Download'.
kinds in the Linux world. They sit
Elmer says: Everything I have Click that link and you'll see links to
there with their mega mega bits
covered so far will work in both Rubén Darío Alvarado all issues of FCM. It really is as
per second internet connection
OpenOffice and LibreOffice. I simple as that!
and think it applies everywhere.
haven't seriously used Microsoft Ronnie says: We'd love to give
NO IT DOES NOT. Even my
Word in over a decade (for anything you full info on how to recreate Roy's Rant broadband connection is throttled
other than reading documents on
Y
some of the desktops featured in
back e.g. it can take up to 4
computers I have no control over the FCM, but most users don't supply our editorial in FCM#48 minutes to download Full Circle.
programs running on them). I'm enough information regarding their has given me the Upgrading is a nightmare but more
pretty sure Word has a way to desktop. opportunity to let loose on that below. I hope that the local
create things like paragraph styles, with my one and only user groups will be well publicised
but I wouldn't know how to go rant in my life. I sometimes think and I will have a look on a good
full circle magazine #49 38 contents ^
LETTERS
speed day to see how it works and you I am now learning python becoming a competitive desktop which always used to be the first
if I can participate in a small way (though the very name sends operating system, given the fact thing I used to do after installing
but one has to be careful shudders down my spine). that you had to be a professional any new Ubuntu distro. Now I am
otherwise one could be way out of systems administrator just to get forced to look at that useless grey
pocket on postage costs but lets Roy Read Linux installed and running let icon on the launcher for the rest of
not be negative. alone use it to accomplish actual my life.
work. After reading through
Long Term Support Music Apps several issues and installing Linux Don’t get me wrong, I really like
Mint on an old laptop, I'm the look and feel of Unity and the
Y
I used to upgrade every 6 ou forgot to mention convinced that in the next five new dash. I can see how it will
months as new versions of MuseScore years or so we may finally see a make finding and launching
Kubuntu (Desktop) and Ubuntu (http://musescore.org/) true "year of the Linux desktop". applications easier, but all I am
(Laptop) came along but this in the TOP 5 - MUSIC asking for is to be able to decide
became more and more difficult, NOTATION APPS. It's a "must Neal which applications I want on the
plus there were always bugs in the have" for any musician on a Linux launcher and how big the icons
new release, so I am sticking with box. should be. I am a simple man using
10.04 as I need a solid reliable Ubuntu 11.04 Ubuntu to do simple everyday
system so I can be confident of things, such as sending files to
T
Rolando Ramos Torres
satisfying my customers. Please hank you Ed for the very people via email.
bear the LTS people in mind when good review (Full Circle
writing your excellent magazine. Podcast). I agree with So, imagine my disappointment
Our Pleasure! when I also discovered that I can
most of what you said,
I
Ebooks but as someone who has been no longer just right click on a file in
just wanted to express my Nautilus and send it to an email
gratitude to the Full Circle using Ubuntu since 8.10, and a real
Two very useful articles. I have Linux enthusiast but novice user, I recipient. I’ve spent almost an
downloaded calibre as I wanted to crew for publishing this hour trying to find a solution, but
outstanding magazine free of have a few minor issues with Unity.
get the Ubuntu books but when to no avail. For me that is like 2
going to Amazon they would only charge. I find it astonishing that steps forward and 3 steps
something of this high quality can For me the key word is lack of
continue with my purchase if I choice, which used to be what I back.Linux Mint is starting to look
registered a kindle with them, so I be created using open source like a great alternative for me now.
tools. always loved about the whole
gave up. This is not your fault of open source culture. Why can’t we
course, I only mention it in passing do simple things in Unity such as Many thanks again for a
as a general interest thing. As a long time casual Linux user fantastic magazine and podcast
(10+ years), I always enjoyed customising the ridiculous size of
the icons? Why can’t I even remove series!
Thanks for your excellent playing with Linux over the years
but could never imagine it the workspace switcher icon,
magazine every month. Thanks to Marcel AKA @JlabrAdore
full circle magazine #49 39 contents ^
UBUNTU GAMES
Written by Ed Hewitt
Revenge Of The Titans
in any direction across the map, so from hordes of titans for as long as the map, which have to be refined
News towers may have to be placed all possible. A nice bonus is the online to give you currency to purchase
over the map. leaderboard, displaying the best towers. Some titans will also drop
• Trine out on Linux. Hugely times across the world. currency and other power-ups to
successful XBLA and PC title, The Story surrounding RotT is aid you in your battle. The tech-
Trine, has been released on about an alien invasion against The gameplay is rather simple tree system has been seen before
Linux via the 'Humble Frozen- Earth. Later you will be pushing and easy to pick up; essentially you in my RTSs such as C&C, although
byte Bundle'. Trine 2 is the Titans back to their place towers in the path of it's a new concept for tower
expected to be released later homeworld. There is no in-depth oncoming enemies and wait for defence. The tech-tree is split into
this year to Linux. story to RotT, but it has never them to come in range. Each two parts, the research side and
required it. It's just a great arcade mission is roughly the same, across defence. Research is required to
E
ven though the 3rd strategy game with an aim to the the campiagn and other game be able to purchase better
Humble Bundle has now campaign. modes. Though, RotT differs from defences, and there are plenty of
been released, a review typical tower defence games, since upgrades to obtain from either
of Revenge of the Titans The main bulk of the content is it has a tech-tree system and some side. It's a nice system which works
from the previous bundle is long the campaign, which is huge. It resource gathering is involved. well, and you may find yourself
overdue. This Tower Defence RTS consists of 50 missions, which There are crystals dotted around carefully managing your money
indie title was released a few require you to defend your base on
weeks ago. I've waited until its each map across all 5 planets you
release to review the game. visit. The campaign is highly
enjoyable, with plenty of variation
Revenge of the Titans (RotT) is in the maps and the Titans you will
a Sci-Fi Strategy game which be fighting. The campaign eases
mimics the tower defence style you nicely into how RotT works
games. If you are unfamiliar with and plays, but the difficulty will
tower defence, the aim is to block rack up quickly. There is plenty of
advancing armies from moving replay-ability with the campaign
across the map, usually along a set with achievements to be earned
path, and the player is required to and new high scores to gain. With
build defence towers to stop the the campaign exhausted there is
advancing forces. RotT is similar in an 'Endless Mode' and 'Survival
this way, but the enemy will move Mode' where you have to defend
Q Q A
When I installed Ubuntu I just installed Ubuntu (Thanks to Mark distributions. Hopefully it's going
11.04, I selected 11.04 on my machine, an Phelps in the Ubuntu to be fixed soon.
automatic login. I think I HP DM4 with core i5- Forums) In a word -- NO.
Q
can be more productive 430m. The CPU usage on There is Winetricks and
by using the Gnome desktop. How System Monitor is really high Play on Linux, but both are add-ons I want to start a process
can I switch to this desktop? (60+% on at least 2 cores) and I'm that attempt to improve the Wine (boinc manager) on boot,
A
not doing anything. experience by making it easier to without logging in.
A
Run System > install and configure certain apps
A
Administration > Login (From the same and games.
Screen. Choose "classic" person) The reason for (Thanks to sanguinoso
and restart. the high CPU usage was Check the WineHQ app in the Ubuntu Forums) If
gnome-system-monitor database for the games and you put the startup
itself, if you have the same versions you want to run, to see command in
Q
How can I get accurate problem try using ´top´ in a their ratings. Low, or no, ratings /etc/rc.local it will start on boot.
.doc contents using terminal session instead. means you are wasting your time See http://www.debian-
Open Office Word? trying to run that app or game. administration.org/articles/28 for
Sometimes when I open more info.
.doc files in Open Office, indention
Q Q
and spacing would differ I installed Wine in I've started seeing
Q
compared to MS Word. Ubuntu 10.10 x-64, and I something called
A
use it to play my "kworker" listed recently I'm running Ubuntu
(Thanks to The Cog) Windows games, but when I run top. What is it? 10.04. and suddenly the
A
Perfect compatibility some games, like Planet vs Alt-Gr key stopped
will probably not Zombies, work so slow, and some (Thanks to working, meaning I
happen. Even the same games, like World of Warcraft, Llawwehttam in the cannot get @ and many other
version of MS Word on two don't work. Do I have to install any Ubuntu Forums) symbols on the German keyboard.
A
different computers can render other software to use Windows Kworker is what
differently, depending on which games on Linux? controls the ACPI wakeup signals Check your keyboard
version of Windows, or even which from the BIOS. The latest kernel, layout settings in
type of printer it has. well, all of them since 2.6.35, have System > Preferences >
had issues with too many wakeups. Keyboard to make sure
This is an issue across ALL Linux it’s still correct.
full circle magazine #49 42 contents ^
Q&A
Q
My wireless connection 0bda:0158 Realtek make the options look like this:
Semiconductor Corp. Mass
would work fine unless I Storage Device Normally, most of the traffic about
played a video from discard,noatime,errors=remoun a new version is along the lines of,
Bus 002 Device 001: ID t-ro
Youtube, or a flash 1d6b:0002 Linux Foundation "such-and-such is broken on my
source in general, through Firefox 2.0 root hub computer, how can I go back to the
Q
Bus 001 Device 002: ID
3.6 or Chromium. My wireless 04f2:b1aa Chicony old version?" With Natty, a lot of
After upgrading my MSI
connection would disconnect. Electronics Co., Ltd messages ask, "how do I do such-
U135 to Natty, the
A
and-such?" Some are, "it has
wireless connection
(Thanks to The real information is the nine changed, and I don't like change."
repeatedly asks for the
baceman007 in the characters which follow "ID". For Relatively few say, "such-and-such
password, and never connects.
Ubuntu Forums.) What example, "04f2:b1aa" is my does not work," although there are
A
fixed my problem was Chicony device. If you Google the a few.
Open
to go to the settings on my router. ID and "USB" it will probably take Accessories/Terminal
I enabled Security>Firewall>Filter you to the web site: usb- My plan is to skip 11.04 on my
and enter the command:
Multicast. (The router is a Linksys ids.gowdy.us/index.html production environment; I expect
E3000). There might be other gksudo gedit that community feedback will
router settings which could affect You might get a warning about /etc/modprobe.d/blacklist.con make 11.10 much more usable. It
this. his "certificate," which I chose to f will also give me time to consider
ignore. The page should describe Gnome 3, which also represents a
Add this line: major interface change. I might
Q
your device.
How can I identify my blacklist rt2800pci even take KDE for a spin. If you're
USB devices? happy with what you have, I
Q
Save the file and reboot. suggest you avoid changing to
Does the Natty kernel
offer out-of-the-box 11.04.
A
support for TRIM on a
Run TRIM-capable SSD drive? Despite this, I have installed 11.04
Tips and Techniques
A
Accessories/Termina,l on a persistent flash drive, just to
and enter the command: Run To Natty or not to Natty see what people are talking about.
Accessories/Terminal (Thanks, Multisystem!)
and enter this command: Every time a new version of
lsusb
Ubuntu appears, there's a flurry of This does affect the Q&A column.
activity in the Ubuntu Forums. This More than ever, I will be reporting
The result will be a list which gksudo gedit /etc/fstab time (Natty Narwhal 11.04, with its on solutions which I have not tried
looks like this, but longer:
new user interface), there is good myself. Please bear with me.
Find the line for your EXT4- news and bad news.
Bus 003 Device 002: ID formatted Solid State Disk, and
full circle magazine #49 43 contents ^
MY DESKTOP Your chance to show the world your desktop or PC. Email your screenshots and
photos to: misc@fullcirclemagazine.org and include a brief paragraph about
your desktop, your PC's specs and any other interesting tidbits about your setup.
I am running Ubuntu 10.04.2 LTS on my PC with Athlon II X2 This is my desktop - using Gnome, and listening to Severed
245 2.9 GHz processor, 2 GB DDR3 RAM, and 320 HD Drive. Fifth - Machines of War. It has "Minimalis Conky 1.0" by
deny26, and I modified the conkyrc to show gpu sensors. Also
I use MurrinaBlu as my GTK theme/style. You can have it with docky and gnome2-global-menu. Also the github
from the Ubuntu repository. For my metacity theme codeconf.com wallpaper modified.
(window border), I pick Absolute. Then, I install Faenza-
Cupertino, a blue variation of the Faenza icon theme. My Machine's Specification:
• HP DV6T-2000 QUAD
I also add Avant Window Navigator and GNOME Global • GeForce GT 230M 1GB
Menu to make my desktop look a little bit like Mac OS X. • Intel Core i7 Q720 @ 1.60GHz
Finally, the wallpaper is called Intelmac. You can search it • 4GB RAM
on the web. ... and powered by Ubuntu 10.10 Maverick with kernel 2.6.35-
25-generic x86_64
Adhi Prasetia
devcorkvince
My desktop, Unity style I am using Ubuntu Lucid Lynx 10.04 - 64 bit. I customised my
(Ubuntu 10.10 Maverick desktop using screenlet and AWN. Wallpaper is the newest
Meercat x64) in my aircraft from Cessna. I would like to have it one day!
notebook Acer 7530G (17",
AMD Turion X2, 4GB DDR2, Laptop is a Presario A965Tu
HD 320GB, Nvidia 9100M G Intel Centrino Core 2 Duo 2 GHz, with 2 GB RAM.
256MB)
Abhijit Navale
I use DocbarX with theme
"unity_v", Gnome theme,
Elementary, Faenza Icons. I
like simplicity, conciseness
& clarity.
Ksunechkin
gedit is the built-in text editor for Gnome users. Unlike Windows’s If you code primarily in PHP, you may prefer using gPHPEdit. Created
Notepad, however, it’s much more than a text file editor. It supports by Andy Jeffries, and maintained by Anoop John, gPHPEdit supports
line numbers, line highlighting, bracket highlighting, automatic HTML, PHP, CSS, and SQL highlighting. More uniquely, it also
indents, syntax highlighting, modelines, Python consoles, code supports auto-completing PHP functions, auto-completing
snippets, and much more. There’s also a wonderful “external tools” parameters, and a function browser. It also has built-in support for
plugin, which allows you to utilize scripts like automatic building, lint, and an integrated PHP manual. All of it comes in a nice, tidy,
remove trailing spaces, or opening terminals. If you code for a living, simple, Gnome-based interface.
you probably need something more powerful. But if you just need a
basic feature set, look no further than gedit. To install gPHPEdit, use the gphpedit package in the universe
repository.
To install gedit on non-Ubuntu machines (like Kubuntu), use the
gedit package.
Bluefish KompoZer
Homepage: http://bluefish.openoffice.nl/ Homepage: http://kompozer.sourceforge.net/
If you need something more powerful than gedit, and code in If you prefer GUI editing over hard coding, give KompoZer a try. It’s
something other than PHP, give Bluefish a try. This fourteen-year- based on Nvu, an old now-unsupported editor, itself based on Mozilla
old project is much more mature than many of its competitors, so it Composer. After 2006, however, Nvu’s development ended.
has a lot more advanced features. With support for over a dozen KompoZer took up the slack. It supports both WYSIWYG and source
languages, code snippets and wizards, regex searching, external editing. That means you won’t have to handcode things like tables or
scripts, autorecovery, FTP syncronization, and much more, it’s paragraphs, but you can also insert more advanced code. All this
practically a fully-featured IDE. Unlike many of its peers, however, comes in a platform-neutral IDE that looks good in both Gnome and
it’s fairly lightweight and not incredibly resource-intensive. KDE.
To install Bluefish, use the bluefish package in the universe To install KompoZer, use the kompozer package in the universe
repositories. repository.
Quanta Plus
Homepage: http://kde-apps.org/content/show.php?content=10135
If you liked KompoZer, you may also want to try out Quanta Plus. It’s
a KDE application that works as a WYSIWYG editor, a source editor,
or, best of all, both at the same time. Like its well-known commercial
competitor, Dreamweaver, Quanta Plus supports a “Split Screen” The Ubuntu UK podcast is presented by members of the
mode, where you can use either the “VPL” (Virtual Preview Layout) United Kingdom’s Ubuntu Linux community.
mode or the source mode. It also integrates well with the other KDE
apps, like Konsole and Cervisia. It also supports lots of more We aim is to provide current, topical information about, and
for, Ubuntu Linux users the world over. We cover all aspects
advanced IDE features. The only real downside is that it never got
of Ubuntu Linux and Free Software, and appeal to everyone
ported to KDE 4. from the newest user to the oldest coder, from the
command line to the latest GUI.
To install Quanta Plus, use the quanta package in the universe
repository. Because the show is produced by the Ubuntu UK
community, the podcast is covered by the Ubuntu Code of
Conduct and is therefore suitable for all ages.
http://podcast.ubuntu-uk.org/