Full Circle Magazine - Issue #47

Page 1

Full Circle

LINUX LABS

ISSUE #47 - March 2011

EBOOK SOFTWARE ON LINUX 1

contents ^


Full Circle Linux News

p.04

Program In Python Pt21 p.09

Write For Full Circle

LibreOffice Pt2

p.19

Linux Lab

Review - Piano Booster

p.26

Letters

p.30

Ubuntu Games

p.32

Command & Conquer

p.05

Top 5

p.39

p.20

p.14

Ebook Software in Linux p.16

Ubuntu Women

p.28

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.

2

contents ^


EDITORIAL Welcome to another issue of Full Circle!

Full Circle Podcast

Hosts:

All the best, and keep in touch.

3

contents ^


LINUX NEWS Next after Natty?

$0.99 Ubuntu Books For Kindle Ubuntu Pocket Guide

Firefox 4 doubles IE9's 24-hour download tally

Full Circle Notifier - Beta Release! Full Circle Notifier

Source

For more info, see the FCN Google Group: http://goo.gl/4Ob4

Source 4

contents ^


COMMAND & CONQUER

Conky and Lua

Written by Lucas Westermann

Clock Configuring the clock.

{

},

name='time', arg='%I', max=12, bg_colour=0xffffff, bg_alpha=0.1, fg_colour=0xffffff, fg_alpha=0.4, x=165, y=170, radius=89, thickness=7, start_angle=0, end_angle=360

lua_load /home/lswest/conky_testing/ri ngs-v1.2.lua

Pre-coding

lua_draw_hook_pre ring_stats

5

contents ^


COMMAND & CONQUER {

${goto 115}${voffset 150}${time %A}

}, {

${goto 115}${time %b %d %Y}

},

if pt['arg'] == '%S' then cairo_arc(cr, xc, yc, ring_r, angle_0, t_arc+arc_w) end

name='time', arg='%M', max=60, bg_colour=0xffffff, bg_alpha=0.1, fg_colour=0xffffff, fg_alpha=0.4, x=165, y=170, radius=79, thickness=7, start_angle=0, end_angle=360 name='time', arg='%S', max=60, bg_colour=0xffffff, bg_alpha=0.1, fg_colour=0xffffff, fg_alpha=0.4, x=165, y=170, radius=70, thickness=5, start_angle=0, end_angle=360

MPD Widget

6

contents ^


COMMAND & CONQUER {

},

name='mpd_percent', arg='', max=100, bg_colour=0xffffff, bg_alpha=0.1, fg_colour=0xffffff, fg_alpha=0.4, x=70, y=170, radius=60, thickness=7, start_angle=0, end_angle=360

local updates=conky_parse('${update s}') update_num=tonumber(updat es) if update_num>5 then for i in pairs(settings_table) do setup_rings(cr,se ttings_table[i]) end end

if tonumber(flag) == 1 then <text from above> end cairo_destroy(cr)

if tonumber(flag) == 1 then local updates=conky_parse('${updates}') update_num=tonumber(updates) if update_num>5 then for i in pairs(settings_table) do setup_rings(cr,settings_table[i]) end end

end cairo_destroy(cr) end

${lua my_flag 0} ${if_mpd_playing} ${lua my_flag 1} ${execi 2 python /usr/bin/mpd-cover} ${image /tmp/cover -p 40,138 -s 60x60 -u 15} ${if_match "${mpd_status}" == "Paused"} ${offset 137}${voffset 40}${font DejaVuSans:bold:size=10}Paused $endif ${if_match "${mpd_status}" == "Playing"} ${offset 137}${voffset 20}${font DejaVuSans:bold:size=10}${mpd_artist} ${offset 137}${font DejaVuSans:size=9}${scroll 38 ${mpd_title}}$font $endif $endif

function conky_my_flag(my_arg) flag = my_arg return "" end

7

contents ^


COMMAND & CONQUER

Lucas

imlib_cache_size 0

Scripts:

8

contents ^


HOW-TO

Program In Python - Part 21

Written by Greg Walters

9

contents ^


PROGRAM IN PYTHON - PART 21

10

contents ^


PROGRAM IN PYTHON - PART 21

11

contents ^


PROGRAM IN PYTHON - PART 21 <widget class="GtkWindow" id="MainWindow"> <property name="visible">True</property> <property name="title" translatable="yes">Playlist Maker v1.0</property> <property name="window_position">center</property> <property name="default_width">650</property> <property name="default_height">350</property> <signal name="destroy" handler="on_MainWindow_destroy"/>

<child> <widget class="GtkToolButton" id="tbtnAdd"> <property name="visible">True</property> <property name="label" translatable="yes">Add</property> <property name="use_underline">True</property> <property name="stock_id">gtk-add</property> <signal name="clicked" handler="on_tbtnAdd_clicked"/> </widget> <packing> <property name="expand">False</property> <property name="homogeneous">True</property> </packing> </child>

12

contents ^


PROGRAM IN PYTHON - PART 21

#!/usr/bin/env python import sys from mutagen.mp3 import MP3 try: import pygtk pygtk.require("2.0") except: pass try: import gtk import gtk.glade except: sys.exit(1)

class PlayListMaker: def __init__(self): #============================================= # Window Creation #============================================= self.gladefile = "playlistmaker.glade" self.wTree = gtk.glade.XML(self.gladefile,"MainWindow")

self.wTree.signal_a utoconnect(dict)

if __name__ == "__main__": plm = PlayListMaker() gtk.main()

Glade file:

Python source:

Greg Walters

#=================================================== # Create Event Handlers #=================================================== dict = {"on_MainWindow_destroy": gtk.main_quit, "on_tbtnQuit_clicked": gtk.main_quit}

13

contents ^


HOW-TO

Libre Office - Part 2

Written by Elmer Perry

14

contents ^


LIBRE OFFICE - PART 2

15

contents ^


HOW-TO

Ebook Software In Linux

Written by Kevin O'Brien

Create your library

Calibre: The Desktop Solution

16

contents ^


HOWTO - EBOOK SOFTWARE IN LINUX

E-readers

17

contents ^


HOWTO - EBOOK SOFTWARE IN LINUX

EXTRA! EXTRA! READ ALL ABOUT IT! Full Circle Special Editions Released On Unsuspecting World

NEXT MONTH:

THE PERFECT SERVER SPECIAL EDITION

PYTHON SPECIAL EDITION #01

18

contents ^


HOW-TO

Written by Ronnie Tucker

Write For Full Circle Magazine REVIEWS

Guidelines

Games/Applications

it must somehow be linked to Ubuntu or one of the many derivatives of Ubuntu

When reviewing games/applications please state clearly:

PLEASE SPELL AND GRAMMAR CHECK IT!

Hardware When reviewing hardware please state clearly:

Writing

Non-English Writers Images You don't need to be an expert to write an article - write about the games, applications and hardware that you use every day. 19

contents ^


LINUX LAB

Written by Robin Catling

File Systems Part 2 - Not Invented Here

Chewing the FAT

Apples is Apples

20

contents ^


LINUX LAB - FILE SYSTEMS PART 2

Conclusion

Dead End Canyon

Shiny, shiny

21

contents ^


MY STORY

Written by C. F. Howlett

22

contents ^


MY OPINION

Written by Neil Oosthuizen

Severed Fifth

23

contents ^


MY OPINION

24

contents ^


25

contents ^


REVIEW

Piano Booster

Written by Robert Szabo

iano Booster

The Story

MIDI Keyboards, cables, etc.

Background

26

contents ^


REVIEW: PIANO BOOSTER Bad

9/10 Good

27

contents ^


LETTERS

Every month we like to publish some of the emails we receive. If you would like to submit a letter for publication, compliment or complaint, please email it to: .

You Missed One!

Join us on: Dougn Redhammer

Ebook Genetics Ludo

Happy Anniversary!

Saurabh 28

contents ^


LETTERS HEEEEEEEELP!

Cornelis Craig Anderson

Joel Kilthau

RadioTray No Copy & No Paste

29

contents ^


UBUNTU WOMEN Written by Elizabeth Krumbach

Elizabeth Krumbach

Flavia Weisghizzi

30

contents ^


UBUNTU WOMEN

Full Circle Podcast

Review News Gaming

Full Circle Podcast is a proud member of the Tech Podcasts Network.

31

contents ^


UBUNTU GAMES

Vendetta Online

Written by Ed Hewitt

32

contents ^


UBUNTU GAMES

Score: 7/10 Good

Bad

33

contents ^


Q&A

If you have Ubuntu-related questions, email them to: , and Gord will answer them in a future issue.

Compiled by Gord Campbell

Q

I need a program to read documents aloud; is there one in Ubuntu?

Q

The red triangle with the exclamation mark, which indicates that the system is unable to figure out if there are updates, never goes away.

sudo apt-get update

Q

I bought a Canon Lide 110 Scanner, but I can't scan with it.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recvkeys 16126D3A3E5C1192

sudo add-apt-repository ppa:plaxx/random-fixes sudo apt-get update sudo apt-get install libsane sane-utils

resistor-led serial transmitter from the lirc website, and it worked flawlessly for over a year.

Q

I have a Dell Latitude E5500 laptop, and I was trying to set up the fan control daemon to sort out my noise and thermal issues using i8kfan. Wipster

Q

I am an Ubuntu newbie. So far, my two partitions (Ubuntu and WinXP) worked fine, I always had a boot option at startup. Then my Windows boot option simply disappeared.

sudo update-grub

Q

My netbook only has 4GB storage space, so I'm wondering if it's possible to install programs to other devices such as an SDHC card?

Q

I just did a fresh install of Mythbuntu 10.10 on a box that was previously running 9.10. My homebrew IR blaster isn't working; it's the standard diode34

contents ^


Q&A packages". What are these files, and how are they used?

Q

I was messing around a little with the panel at the top of the screen when I removed something I really didn't want to remove. How can I restore the main menubar thing to have all of the original buttons and the like without having to reinstall and start over?

Tips and Techniques Installing on an External Drive

gconftool --recursive-unset /apps/panel && killall gnomepanel

Q

In the Ubuntu repositories, there are files listed by the Synaptic Package Manager as "place holders", and some called "transitional dummy 35

contents ^


Q&A

sudo fdisk -l

36

contents ^


MY DESKTOP

Your chance to show the world your desktop or PC. Email your screenshots and photos to: and include a brief paragraph about your desktop, your PC's specs and any other interesting tidbits about your setup.

Danang Dwi Kristiyanto

BHAVEEK DESAI 37

contents ^


MY DESKTOP

John Niendorf

yafc18

38

contents ^


TOP 5

School Tools

Written by Andrew Min

Nanny

iTALC

nanny

italc-master

39

contents ^


TOP 5 - SCHOOL TOOLS Vym

GCompris

gcompris

vym

40

contents ^


TOP 5 - SCHOOL TOOLS Edubuntu

is presented by members of the United Kingdom’s Ubuntu Linux community. We aim is to provide current, topical information about, and for, Ubuntu Linux users the world over. We cover all aspects of Ubuntu Linux and Free Software, and appeal to everyone from the newest user to the oldest coder, from the command line to the latest GUI. 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.

edubuntu

,

41

contents ^


HOW TO CONTRIBUTE

Thorsten Wilms

Deadline for Issue #48: Sunday 10th April 2011. Release date for issue #48: Friday 29th April 2011.

FULL CIRCLE NEEDS YOU!

42

contents ^


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.