<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux User &#187; Applications</title>
	<atom:link href="http://www.linuxuser.co.uk/category/tutorials/applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxuser.co.uk</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 13:02:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Take your Linux PC back to the future!</title>
		<link>http://www.linuxuser.co.uk/tutorials/take-your-linux-pc-back-to-the-future/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/take-your-linux-pc-back-to-the-future/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 15:33:28 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=6340</guid>
		<description><![CDATA[Take your PC back to 1985 with a cool selection of tools and tricks that build a fully functioning desktop computer on the console! ]]></description>
			<content:encoded><![CDATA[<!--desktop1-1024x624--><p>There are many reasons to use the console. Sometimes you need to run on older hardware. Or you may be stuck running remotely over a slow connection, where using an X11 desktop is just painfully slow. There are lots of articles that describe the tools and utilities available for the console.</p>
<p>But how do you use them all together? This tutorial will look at one way that you can combine all of these programs together to give you a fully functional desktop. You’ll essentially end up with a console desktop where you can check email, surf the web, chat with people, catch up on the news, and more. We’ll use tmux to organise your desktop and make the most of your screen real estate.</p>
<p>Email will handled by Mutt; web browsing by ELinks. The great thing is that there are multiple options for many of the tasks you may wish to do. So these should only be taken as examples. You can replace any of these utilities with your favourite versions. You should end up with a desktop that you’d be proud to use in 1985. Note: For easier screen grabbing we took the grabs for this article in X11, running these apps from an xterm window.</p>
<p style="text-align: center;"><a rel="attachment wp-att-6357" href="http://www.linuxuser.co.uk/tutorials/take-your-linux-pc-back-to-the-future/attachment/desktop1/"><img class="aligncenter size-large wp-image-6357" title="desktop1" src="http://www.linuxuser.co.uk/wp-content/uploads/2011/10/desktop1-1024x624.png" alt="Take your Linux PC back to the future!" width="614" height="374" /></a></p>
<p><strong>Setting up your console</strong><br />
The first step is setting up your console. You can set the colours used by setting escape characters. You can set the fonts you want to use with the command ‘<em>setfont</em>’. In Ubuntu, the fonts available are located in <em>/usr/share/consolefonts</em>. Most simply, you can run ‘<em>setfont fontname</em>’ to set some other font dynamically. If you want to see all of the characters available in the font you selected, you can use ‘<em>showconsole</em>’. When you are ready to set this new font as your default on login, set the environment variable ‘<em>CONSOLE_FONT</em>’ in the file <em>/etc/kbd/config</em>.</p>
<p><strong>Monitoring your machine</strong><br />
One of the classic tools for monitoring your machine is Conky. You can also use Conky on the console. An example configuration would be:</p>
<pre>out_to_x no
out_to_console yes
total_run_times 1
TEXT
${time %H:%M}|free space:${fs_free /}|$loadavg|free mem:$memeasyfree</pre>
<p>You could place this in a file called .<em>conkyintmux</em> in your home directory. Then you can tell tmux to use this as its status line with the line:</p>
<pre>set-option -g status-right “#(conky -c ~/.conkyintmux)”</pre>
<p>in your tmux configuration file.</p>
<p><strong>File management</strong><br />
People who are old enough to remember the days of DOS will likely remember Norton Commander. There is an open source version called Midnight Commander. This utility provides all of the file management tools that you will ever need. By executing ‘mc’, you will have a two-pane display of your file system, and can move, view and edit files at the touch of a key.</p>
<p><strong>Web browsing</strong><br />
Some of the options available include Lynx, w3m, Links, Links2 and ELinks. You can even surf the web using Emacs. Links2 has the added ability to display graphics using the frame buffer or SVGA driver, among many others. It can also handle frames and tables correctly. So, for that reason, we’ll use it here. If you do want to use it in a non-text mode, you will have to switch to a new virtual console (usually by pressing <em>Alt+Fn</em>, where n is a number). You may also need to check into permissions to access the graphics device. A very quick fix if this is an issue is to run <em>Links2</em> under sudo.</p>
<p><strong>Getting your daily tasks</strong><br />
Many people use Google Calendar to organise their lives. Google has released a console-based tool called gcalcli which allows you to interact with your Google Calendars. There are several options available to add new appointments, or query and display your current appointments in lots of interesting ways. One possibility is to show what your next appointment is in your tmux status line, with:</p>
<pre>set-option -g status-interval 60
set-option -g status-left “#[fg-blue,bright]#(gcalcli --user ‘username’ --pw ‘password’ agenda | head -2 | tail -1)#[default]”</pre>
<p>This will update every 60 minutes.</p>
<p><strong>Keeping up with news</strong><br />
Many people get their daily dose of news through RSS feeds. The options on the console include Snownews and Canto. Here we’ll use newsbeuter. It has been described as the Mutt of RSS feed readers. The URLs of your feeds are stored in the file <em>~/.newsbeuter/urls</em>. You can either enter them manually, one per line, or you can import an OPML file that you got from some other news-reading program. You would do this with:</p>
<pre>newsbeuter -i import.opml</pre>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p>Once it is up and running, it really does look like Mutt for RSS feeds.</p>
<p><strong>Email, the Mutt way</strong><br />
Mutt is one of the more popular email clients out there. It supports local mail delivery, so you could use something like Fetchmail to go out and collect your email and deliver it locally on your machine. Mutt also supports IMAP connections, so you can use it to check your email directly if you have an external email server. This comes in handy for all the people who use Gmail to handle their email needs. You set it up in the configuration file .muttrc in your home directory. To receive mail, you would set the following options:</p>
<pre>set from = “yourusername@gmail.com”
set realname = “Your Real Name”
set imap_user=”your.email@gmail.com”
set imap_pass=”yourpassword”
set folder=”imaps://imap.gmail.com:993”
set spoolfile=”+INBOX”
set postponed=”+[Gmail]/Drafts”
set trash=”imaps://imap.gmail.com/[Gmail]/Trash”
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates</pre>
<p>You will also need to create the following directories in your home directory:</p>
<pre>mkdir ~/.mutt
mkdir ~/.mutt/cache</pre>
<p>You can also send your email through the SMTP server at Gmail with Mutt. To do this, you will need to set the following options:</p>
<pre>set smtp_url=”smtp://your.email@smtp.gmail.com:587”
set smtp_pass=”yourpassword”</pre>
<p><strong>Chatting on the console</strong><br />
There are several chat programs available for the console. The one we’ll look at here is CenterIM. It supports ICQ, Yahoo! chat, AIM, IRC, Jabber, LiveJournal, gadu-gadu and MSN. Configuration can be handled with menus from within the program. It is broken up into a nice set of panels with contacts on the left and your message window on the right. This is all configurable, too.</p>
<p><strong>Twittering on the console</strong><br />
There are a handful of applications that let you tweet from the console. Twidge is one of them. With it, you can check on tweet timelines, send tweets, add and remove users to your follow list, and get a list of recent tweets from those that you follow. You will need to authorise twidge so that it will have access to your Twitter account. Once you do that, you can start interacting through commands. To send a tweet, you would use:</p>
<pre>twidge update “Trying out twidge from the console”</pre>
<p>Your tweet needs to be no more than 140 characters, and needs to be quoted so that the shell treats it like a single object to hand in to twidge. To check the recent activity, you can simply use:</p>
<pre>twidge lsrecent</pre>
<p>As a repeating display, you can use:</p>
<pre>while true; do twidge lsrecent | head -n 10; sleep 60; clear; done</pre>
<p>This will print out the top ten lines of your feed, refreshing every 60 seconds. You can go ahead and change the number of lines and/or the refresh time easily.</p>
<p><strong>Setting up screen estate with tmux</strong><br />
Tmux is kind of like a next-generation GNU Screen. It not only allows you to multiplex a single console, but it also lets you divide your console display into multiple windows. You can interact with tmux by pressing <em>Ctrl+b</em> and a command. For example, to create a new window would require ‘Ctrl+b c’. Each window can be broken down into several panes. You can navigate the windows with <em>‘Ctrl+b n’</em> (next window) and <em>‘Ctrl+b p’</em> (previous window). You can navigate panes with <em>‘Ctrl+b o’</em> (select the next pane in the current window).</p>
<p>The real power comes in the ability to script everything. There is a complete command language available. You can set all of the windows and panes, and all of the applications to be started in each window/pane, in the file <em>.tmux.conf</em> in your home directory.</p>
<p><strong>Scripting tmux</strong><br />
Now we will pull the whole thing together by letting tmux script it all together. One starting point could be:</p>
<pre>new -s TmuxDesk “links2 http://www.google.com”
splitw -t TmuxDesk:0 “centerim”
select-layout tiled
splitw -t TmuxDesk:0 “mutt”
select-layout tiled
splitw -t TmuxDesk “mc”
select-layout tiled
splitw -t TmuxDesk “while true; do twidge lsrecent | head -n 10; sleep 60; clear; done”
select-layout tiled
splitw -t TmuxDesk “newsbeuter”
select-layout tiled
set-option -g status-interval 60
set-option -g status-right ‘#(conky -c ~/.conkyintmux)’</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/take-your-linux-pc-back-to-the-future/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Use Wine to run Windows software on Linux</title>
		<link>http://www.linuxuser.co.uk/tutorials/use-wine-to-run-windows-software-on-linux/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/use-wine-to-run-windows-software-on-linux/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 13:42:36 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=5936</guid>
		<description><![CDATA[Sometimes using Windows applications is unavoidable, so in this tutorial we will make use of Wine to show you how to run Windows applications seamlessly within Linux…
]]></description>
			<content:encoded><![CDATA[<!--Wine-versus-1024x392--><!--WineInAction-300x167--><p>Even though the Linux software catalogue is huge, there are times when you may feel that you are missing an application that is otherwise available on Windows. There could be many reasons behind why you want that exact application. Probably the most common is that support for a particular file format or an application used at work is simply not available for Linux. Thankfully, there are many ways by which you can use a Windows app on your Linux system. Here’s a quick breakdown of some of the most popular methods…</p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-5938" title="Wine versus" src="http://www.linuxuser.co.uk/wp-content/uploads/2011/08/Wine-versus-1024x392.png" alt="Use Wine to run Windows software on Linux" width="614" height="235" /></p>
<p><strong>Dual booting: </strong>In this method you will need to create a separate partition and install Windows on it. Then whenever you need to run a Windows application you will need to restart your system, then boot into Windows and use the app. This method is only recommended for an intermediate audience who are comfortable with partitioning their hard drives. It also requires that you have a large amount of disk space at<br />
your disposal.<br />
<strong>Virtual machine: </strong>In this scenario you will need to install a virtualisation program such as VMware Workstation or VirtualBox on your Linux system, then install Windows as a virtual machine. You can the use this virtual machine to run Windows applications without rebooting your system. However, using virtual machines requires a considerable amount of system resources in terms of RAM, CPU and disk space as the virtual machine needs to run a fully fledged operating system within another operating system simultaneously.<br />
<strong>Using Wine: </strong>Wine lets you run Windows applications without rebooting or virtualisation. In this tutorial we will be using Wine to run Windows applications on a Linux system.</p>
<p><strong>Introducing the world of Wine</strong><br />
Wine (a recursive acronym for Wine Is Not an Emulator) is a translation layer (or a program loader) capable of running Windows applications on Linux and similar other POSIX-compatible operating systems. Wine does not emulate Windows applications on Linux – instead it provides alternative implementations of DLLs  that a typical Windows application calls and a process substitute for the Windows NT kernel. Wine is made of 100 per cent Microsoft-free code.<br />
Wine supports a large number of applications, but not all are supported equally. You can visit the Wine Application Database (AppDB, http://appdb.winehq.org) to see how well your favourite Windows application works with Wine. AppDB is maintained by the community and you can also add your own discoveries. AppDB defines the following type of ratings…</p>
<p><strong>Platinum: </strong>An application can be rated as Platinum if it installs and runs flawlessly ‘out of the box’. No changes are required in Wine configuration files.<br />
<strong>Gold: </strong>Application works flawlessly with some DLL overrides, other settings or third-party software.<br />
<strong>Silver: </strong>Application works excellently for ‘normal’ use. For example, a game works fine in single-player but not in multiplayer; Windows Media Player works fine as a plug-in and standalone player, but cannot handle DRM etc.<br />
<strong>Bronze: </strong>The application works, but it has some issues, even for normal use. For example, a game may not redraw properly or display fonts in wrong colours, be much slower than it should etc.<br />
<strong>Garbage: </strong>An application gets this rating if it cannot be used for the purpose it was designed for. If so, there should be at least one bug report in Bugzilla. The application cannot be installed, does not start, or starts but has so many errors that it is nearly impossible to use it.</p>
<figure id="attachment_5945" class="wp-caption aligncenter"><img class="size-medium wp-image-5945" title="WineInAction" src="http://www.linuxuser.co.uk/wp-content/uploads/2011/08/WineInAction-300x167.jpg" alt="Use Wine to run Windows software on Linux" width="300" height="167" /><figcaption>In this guide we&#39;re demonstrating Wine with Microsoft Office</figcaption></figure>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p><strong>01 Installing Wine</strong><br />
Wine is available for all popular UNIXes, including Ubuntu, Debian, Red Hat, SUSE, Mandriva, FreeBSD, Solaris and Mac OS X.</p>
<p><strong><a href="http://www.linuxuser.co.uk/tutorials/use-wine-to-run-windows-software-on-linux/2/" target="_self">Continue to page 2</a> to see how to install Wine within Ubuntu…</strong></p>
<p><a href="http://twitter.com/LinuxUserMag" class="twitter-follow-button" data-show-count="false">Follow @LinuxUserMag</a><br />
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/use-wine-to-run-windows-software-on-linux/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Google+: Extract your contacts from Facebook using Open-Xchange</title>
		<link>http://www.linuxuser.co.uk/news/google-extract-your-contacts-from-facebook-using-open-xchange/</link>
		<comments>http://www.linuxuser.co.uk/news/google-extract-your-contacts-from-facebook-using-open-xchange/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 12:26:27 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[contacts]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[open-Xchange]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=5839</guid>
		<description><![CDATA[Google’s New Facebook Alternative Sparks Personal Data Liberation War. Along with the latest news on the matter, you'll find a hot-off-the-press step-by-step guide to extracting your friends' information from Facebook using Open-Xchange. Now, get out there and enjoy this new found liberation. And by all means, go forth and enjoy YOUR data.]]></description>
			<content:encoded><![CDATA[<!--googledlf-200x150--><!--open-xchange-rafael-laguna-200x150--><p>Few of our readers will need telling about Google’s new Facebook alternative. However, the launch of the Google+ has also sparked a war of ideologies within the personal data space. With the new social network being widely pillored for simply offering an identical service to Facebook, just not from Facebook, it appears data freedom is being used as Google’s key differentiator.</p>
<figure id="attachment_5842" class="wp-caption alignleft"><img class="size-thumbnail wp-image-5842" title="googledlf" src="http://www.linuxuser.co.uk/wp-content/uploads/2011/07/googledlf-200x150.jpg" alt="Google+: Extract your contacts from Facebook using Open-Xchange" width="200" height="150" /><figcaption>Battle Hardened - Google’s Data Liberation Front </figcaption></figure>
<p>Alongside building Google+, a team headed by Subversion developer Brian Fitzpatrick has been working on Google Takeout, a set of tools, which simplify mass export of data from multiple Google products in one go. The development team, which calls itself ‘The Data Liberation Front’, was started by Google four years ago on the basis of CEO Eric Schmidt’s stance:</p>
<p>“How do you be big without being evil?  We don&#8217;t trap end users. So if you don&#8217;t like Google, if for whatever reason we do a bad job for you, we make it easy for you to move to our competitor.”</p>
<p>Google’s stance stands in stark contrast to Facebook, who have begun blocking the popular Facebook Friend Exporter tool. Friend Exporter is a free extension for Chrome, developed by open source enthusiast and Chromium committer Moralfhammed Mansour. The tool was developed last year to let people export their friends’ email addresses, phone numbers and other details as a text file or directly into Gmail in order to allow direct communication outside of Facebook. However, with Google+ presenting a very real threat of mass exodus and a spike in usage, Facebook has now blocked the extension.</p>
<p><em>“Facebook just removed the emails from their mobile site. They implemented a throttling mechanism that if you visit your ~5 friends in a short period of time, it will remove the email field,” commented Mansour on his Google+ page. “</em>No worries, a new version is in the making &#8230; I am bloody annoyed now, because this proves Facebook owns every user’s data on Facebook. You don&#8217;t own anything! If I were you, I would riot this to the media outlets again<em>.”</em></p>
<p>Mansour is not the only person working to liberate your data from Facebook. Open source email and communications software provider OpenXchange are also developing a dedicated Facebook export function for their Social OX module.</p>
<figure id="attachment_5840" class="wp-caption alignright"><img class="size-thumbnail wp-image-5840" title="open-xchange-rafael-laguna" src="http://www.linuxuser.co.uk/wp-content/uploads/2011/07/open-xchange-rafael-laguna-200x150.jpg" alt="Google+: Extract your contacts from Facebook using Open-Xchange" width="200" height="150" /><figcaption>Open-Xchange CEO Rafael Laguna</figcaption></figure>
<p>SocialOX is a set of features in Open-Xchange to centralise management of personal information distributed across different systems and services, like address data on Xing or LinkedIn, birthdays on Facebook, various brands of calendar software like Google, Exchange or Lotus.</p>
<p>We contacted Open-Xchange CEO Rafael Laguna, who tells us that the SocialOX tool and, in particular, the Facebook export functionality is currently in beta, requiring a somewhat labourious seven step process. However, he kindly provided us with this basic tutorial:</p>
<p><strong>That’s it: OX.IO to the rescue. Your contact data that you desire, all in one spot…</strong><br />
This newly &#8220;merged&#8221; address book can then be exported as vCard and imported into whatever you like making your magic address book available wherever you like &#8211; no questions asked &#8211; by no sugar mountain or paranoid android. :)</p>
<p>Ok, first, to be clear &#8212; this is still sort of geeky at the moment, so buyer beware (even though its free)…</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p><strong>1. </strong>Allow popups in your browser. Then go to <a href="https://www.ox.io/" target="_blank">ox.io</a></p>
<p><strong>2. </strong>Click on &#8220;Create Account&#8221; and do so</p>
<p><strong>3. </strong>Click on the link you received in your Email &#8211; you&#8217;ll be logged into your private OX account immediately.</p>
<p><strong>4. </strong>Click cancel on the Wizard screen, you may go back there later from the help menu, instead go to the Mail View (click on the envelope in the top left corner) and click on the “Add Email account…” and add at least that account that you use for communications with the people from your network. NOTE: Your email account must be IMAP – not POP, or it won’t work. Also, your Open-Xchange account will not copy and emails, it just makes that account available inside the Web UI.</p>
<p><strong>5. </strong>Optional: Add more Email accounts (must be IMAP). The more Email your Open-Xchange user can harvest for Email addresses and names the more it can overcome the limitations of the API&#8217;s.</p>
<p><strong>6. </strong>Now we will import your networks and address books. If you only want to import Facebook skip to step 7, otherwise use the import wizard first. Go to “Help (the “?” on the top)-&gt;Wizard”. On page 2 you can select from many other services. Don’t do Facebook, this comes last. The more the better.</p>
<p><strong>7. </strong>Go to the contacts view (the black figure icon), click on the “Import facebook contacts” button. Click the “—or create a fresh one for your profile” oAuth Account button to allow access of Open-Xchange to your Facebook account. Press “Start” when done.</p>
<p>This will run a while. For each email account we go through each mail folder and use the first 6000 Emails to look for contacts. The more Emails we parse the more of your Facebook friends contacts will have this data. Go do something else and come back later…</p>
<p>At the end of the process the download of the newly merged super address list will start. Import to your liking, in Apple iCal, Gmail/G+, Facebook, Outlook, whatever you like. The data is also in the newly created “Facebook” address book for more exporting or playing pleasure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/news/google-extract-your-contacts-from-facebook-using-open-xchange/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Firefox 4 Sync step-by-step</title>
		<link>http://www.linuxuser.co.uk/tutorials/firefox-4-sync-step-by-step/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/firefox-4-sync-step-by-step/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 10:53:25 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[firefox 4]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[step-by-step]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=5199</guid>
		<description><![CDATA[Firefox 4's brand new Sync feature is one of the main attractions of the latest release. It allows you to sync browser data, such as bookmarks, preferences, history, and tabs – but not extensions – across multiple Firefox installations. Here's how it's done...
]]></description>
			<content:encoded><![CDATA[<!--Sync_1-1024x815--><!--Sync_2-1024x815--><!--Sync_3-1024x854--><!--Sync_4-1024x854--><p style="text-align: center;"><a href="http://www.linuxuser.co.uk/wp-content/uploads/2011/03/Sync_1.png" rel="lightbox[5199]"><img class="aligncenter size-large wp-image-5203" title="Sync_1" src="http://www.linuxuser.co.uk/wp-content/uploads/2011/03/Sync_1-1024x815.png" alt="Firefox 4 Sync step-by-step" width="614" height="489" /></a></p>
<p><strong>01 Setting up Sync</strong><br />
Setting up the Sync feature from scratch is a cinch. Choose Tools&gt;Set Up Sync, press the ‘Create a New Account’ button and fill in the required fields.</p>
<p style="text-align: center;"><a href="http://www.linuxuser.co.uk/wp-content/uploads/2011/03/Sync_2.png" rel="lightbox[5199]"><img class="aligncenter size-large wp-image-5202" title="Sync_2" src="http://www.linuxuser.co.uk/wp-content/uploads/2011/03/Sync_2-1024x815.png" alt="Firefox 4 Sync step-by-step" width="614" height="489" /></a></p>
<p><strong>02 Sync Options</strong><br />
If you don’t want to sync specific data (eg passwords), press the Sync Options button and disable the options you want.</p>
<p style="text-align: center;">

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p><strong><a href="http://www.linuxuser.co.uk/wp-content/uploads/2011/03/Sync_3.png" rel="lightbox[5199]"><img class="aligncenter size-large wp-image-5200" title="Sync_3" src="http://www.linuxuser.co.uk/wp-content/uploads/2011/03/Sync_3-1024x854.png" alt="Firefox 4 Sync step-by-step" width="614" height="512" /></a></strong></p>
<p><strong>03 Adding a device</strong><br />
If you already have an account, press the Connect button to generate a unique code. On the primary machine (the one you used to create a Sync account), choose Edit&gt;Preferences&gt;Sync, click on the Add Device link and enter the provided code.</p>
<p style="text-align: center;"><a href="http://www.linuxuser.co.uk/wp-content/uploads/2011/03/Sync_4.png" rel="lightbox[5199]"><img class="aligncenter size-large wp-image-5201" title="Sync_4" src="http://www.linuxuser.co.uk/wp-content/uploads/2011/03/Sync_4-1024x854.png" alt="Firefox 4 Sync step-by-step" width="614" height="512" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/firefox-4-sync-step-by-step/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Replacing Microsoft Exchange Server with an open source alternative</title>
		<link>http://www.linuxuser.co.uk/tutorials/replacing-microsoft-exchange-server-with-an-open-source-alternative/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/replacing-microsoft-exchange-server-with-an-open-source-alternative/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 14:50:27 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Zimbra Collaboration Suite]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=4669</guid>
		<description><![CDATA[Zimbra is the first enterprise-grade open source alternative for Microsoft Exchange Server. Read on to find out how to set up your own open source collaboration and email server and finally wave goodbye to Microsoft Exchange...
]]></description>
			<content:encoded><![CDATA[<!--buy_online--><p><em>This article originally appeared in <a href="http://www.linuxuser.co.uk/magazine-issues/linux-user-developer-94-is-out-now/ target=">issue 94</a> of <a href="http://www.linuxuser.co.uk" target="_blank">Linux User &amp; Developer</a> magazine.<a href="http://www.imagineshop.co.uk/linuxuseranddeveloper/" target="_blank"><img class="size-full wp-image-2388 alignright" title="Replacing Microsoft Exchange Server with an open source alternative" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/07/buy_online.jpg" alt="Replacing Microsoft Exchange Server with an open source alternative" width="92" height="24" /></a> Subscribe and save more than 30% and receive our exclusive money back guarantee – click <a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=WEB100">here</a> to find out more.</em></p>
<p>Email and collaboration servers are vital to any organisation, whether small or medium in size. ‘Collaboration services’ is an umbrella term used to refer to services which help people inside an organisation to communication. These services include email, calendars, chat etc. Traditionally organisations used to pay hefty licence fees for Microsoft Exchange Server to enable these services – not to mention the vendor lock and the ecosystem lock that come as part of Exchange. Vendor lock means only Microsoft will be able to support Exchange and it decides when the licence support goes away. Ecosystem lock means it only runs on Windows servers and the client support is partial towards Microsoft-based clients only.</p>
<p>Meet Zimbra, an open source collaboration server which provides support for services like email, calendars, wiki, web, instant messaging etc. Zimbra Open Source Edition is completely free and can even be compiled on your own if you like. Like many other open source packages (such as Red Hat Linux), Zimbra also maintains commercial versions of its software with extra features such as Microsoft Outlook support, iPhone sync support, clustering and high-availability support, and technical support.  This tutorial covers Zimbra Open Source Edition.</p>
<p><strong>Please Note</strong><br />
The following changes can alter your system behaviour. Therefore it is recommended that you use a test machine or better yet a virtual machine (using VMware workstation or VirtualBox) to test out these steps. Proceed with caution if you are using your main machine for this tutorial. If you are performing these steps on a virtual machine, make sure that you are using the ‘Bridged Networking’ mode. This will enable the virtual machine to participate directly on the network as if it were a physical machine.</p>
<p><strong>Resources<br />
</strong>Ubuntu 10.04 LTS 64-bit (Server version is supported, desktop version will also work but not supported by Zimbra.) This tutorial uses Ubuntu 10.04 LTS Desktop System.</p>
<p><strong>sysstat: </strong>this is a collection of tools for system monitoring:</p>
<pre class="brush: bash; title: ; notranslate">$ sudo apt-get install sysstat</pre>
<p><strong>BIND DNS server: </strong>BIND is a DNS server package. This is required to install a DNS server on our Ubuntu box:</p>
<pre class="brush: bash; title: ; notranslate">$ sudo apt-get install bind9</pre>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p><strong>Network information: </strong>You should have the following information handy about your network. The following lists the required information and the assumed values for this tutorial…</p>
<pre class="brush: bash; title: ; notranslate">Local IP Address: 192.168.1.34
Netmask : 255.255.255.0
DNS Server (Private): 192.168.1.34 (Same as the local IP address, as we will be installing a DNS server on the same machine)
Gateway: 192.168.1.1 (Internet gateway, or the Router IP address)
DNS Server (Public): 8.8.8.8 (Google Public DNS Server)
Hostname: ludzserver
Fully qualified hostname: ludzserver.lud.com
Domain name: lud.com</pre>
<p><strong>Zimbra Open Source Edition installer:</strong> Download the Zimbra Open Source Edition <a href="http://www.zimbra.com/downloads/os-downloads.html" target="_blank">here</a>. For this tutorial we are using file <a href="http://files2.zimbra.com/downloads/6.0.8_GA/zcs-6.0.8_GA_2661.UBUNTU8_64.20100820044710.tgz" target="_blank">zcs-6.0.8_GA_2661.UBUNTU10_64.20100820044159.tgz</a> which is meant for Ubuntu 10.04 LTS.</p>
<p>Preparing for Installation</p>
<p><strong>Configuring the network settings<br />
</strong>It is recommended that you use the static network setting for the server. Perform the following steps to set up the static network settings on your server…<br />
<strong>1. </strong>Remove network-manager: network-manager is known to cause to problems in a server environment.<br />
<strong>2. </strong>Edit the network interface file to look like following:<br />
@config file: /etc/network/interfaces</p>
<pre class="brush: bash; title: ; notranslate">auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.1.32
netmask 255.255.255.0
gateway 192.168.1.1</pre>
<h3 style="text-align: center;"><a href="http://www.linuxuser.co.uk/tutorials/replacing-microsoft-exchange-server-with-an-open-source-alternative/2/" target="_self">Continue to: Page 2</a></h3>
<p><a href="http://www.linuxuser.co.uk/magazine-issues/linux-user-developer-94-is-out-now/" target="_self">See what else featured in issue 94</a><br />
<a href="http://www.linuxuser.co.uk/magazine-issues/linux-user-developer-issue-95-is-out-now/" target="_self">Check out the latest issue</a><br />
<a href="http://www.linuxuser.co.uk" target="_self">Return to the homepage</a></p>
<p><a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=ACGLUD&amp;utm_source=Internal&amp;utm_medium=House%2BAd&amp;utm_content=MPU&amp;utm_campaign=Linux%2BUser%2B3%2Bfor%2B%C2%A31" target="_self">Linux User &amp; Developer is the magazine for the GNU Generation<br />
Click here to try 3 issues for £1</a></p>
<h3><a href="http://twitter.com/LinuxUserMag" target="_blank">
                <img src="http://www.linuxuser.co.uk/wp-content/themes/linuxuser"/images/twitter_follow.png" width="160" height="60" border="2" alt="twitter follow us" />
            </a></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/replacing-microsoft-exchange-server-with-an-open-source-alternative/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to create a screencast of your Linux desktop</title>
		<link>http://www.linuxuser.co.uk/tutorials/how-to-create-a-screencast-of-your-linux-desktop/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/how-to-create-a-screencast-of-your-linux-desktop/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 16:33:29 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[screencast]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=4536</guid>
		<description><![CDATA[Screencasts have become a very popular way to make tutorials to explain how software or services work in recent years. Let’s look at how you can make them of your own cool project, or anything cool you're doing with Linux...
]]></description>
			<content:encoded><![CDATA[<!--buy_online--><!--Screencast-image00--><p><em>This article originally appeared in <a href="http://www.linuxuser.co.uk/magazine-issues/linux-user-developer-94-is-out-now/ target=">issue 94</a> of <a href="http://www.linuxuser.co.uk" target="_blank">Linux User &amp; Developer</a> magazine.<a href="http://www.imagineshop.co.uk/linuxuseranddeveloper/" target="_blank"><img class="size-full wp-image-2388 alignright" title="How to create a screencast of your Linux desktop" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/07/buy_online.jpg" alt="How to create a screencast of your Linux desktop" width="92" height="24" /></a> Subscribe and save more than 30% and receive our exclusive money back guarantee – click <a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=WEB100">here</a> to find out more.</em></p>
<p>Screencasts are short narrated video screen captures of your computer screen. They are usually shared on the web and used heavily by tutorial websites. They make tutorials a lot more lively and at times can be more effective than tutorials that use only text and images. You can create a screencast quite easily and share it with others on your website or over a video sharing service such as YouTube or Vimeo. Let’s look at how you can create a screencast using free software on your Linux desktop or laptop. We’ll set up the software recordMyDesktop through Ubuntu and then create a simple screencast so that you can see how the entire cycle works.</p>
<p><strong>Resources</strong><br />
<a href="http://recordmydesktop.sourceforge.net" target="_blank">recordMyDesktop </a><br />
<a href="http://audacity.sourceforge.net/" target="_blank">Audacity </a><br />
<a href="http://www.virtualbox.org/" target="_blank">Virtual Box </a><br />
<strong><br />
01 Let’s make a screencast</strong><br />
To explain how to make a screencast on your Linux desktop or laptop, we’ll install the software recordMyDesktop, set it up and then create a simple screencast. The screencast we’ll create here will be about how to install software on Ubuntu Linux using the Synaptic Package Manager. First we’ll look at what are the different elements involved in performing this task, then we’ll look at the installation of the software, we’ll create a storyboard for the screencast, before we proceed to recording the video and audio. After the recording is done, we’ll edit both the video and audio elements and add some text to create the final product.</p>
<figure id="attachment_4544" class="wp-caption aligncenter"><a href="http://www.linuxuser.co.uk/wp-content/uploads/2010/12/Screencast-image00.jpg" rel="lightbox[4536]"><img class="size-full wp-image-4544" title="Screencast image00" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/12/Screencast-image00.jpg" alt="How to create a screencast of your Linux desktop" width="571" height="288" /></a><figcaption>recordMyDesktop has a simple and clean interface that leaves out all the complicated options</figcaption></figure>
<p style="text-align: left;"><strong>02 The plan and the storyboard</strong><br />
Before you start playing with all the cool tools involved in making your screencast, it is quite important to plan things out. You need to figure out what your screencast aims to do, how long it’s going to be, what the level of understanding the audience you are creating this video for is, among other things. You also need to write a storyboard for your screencast. A storyboard is a rough representation of the video and can be used as a general timeline of scenes. Each scene would address a different aspect of your product. In the screencast we are working on, we would need the following:<br />
<strong>1. </strong>Introduction (explain to viewers what you will cover in the video)<br />
<strong>2. </strong>What is Synaptic<br />
<strong>3. </strong>How to launch Synaptic<br />
<strong>4. </strong>How to install software using Synaptic<br />
<strong>5. </strong>How to remove a package<br />
<strong>6. </strong>Adding/removing repositories<br />
<strong>7. </strong>Refreshing your sources<br />
<strong>8. </strong>Comparison to other package managers<br />
<strong>9. </strong>Conclusion (a few words summarising what you have covered)</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p><strong>03 Write the script</strong><br />
Once your storyboard is ready, you have a scaffolding of your screencast. Now it’s time to fill this in with some content. The content we are using in this screencast consists of a video and an audio commentary. In this step, you will need to write out the script for the audio commentary that you will read out for the screencast based on the storyboard. Read the text out loud a few times to make sure things are fine and that you are comfortable with the commentary. Let’s get our hands dirty with the video now.</p>
<h3 style="text-align: center;">Continue to: <a href="http://www.linuxuser.co.uk/tutorials/how-to-create-a-screencast-of-your-linux-desktop/2" target="_self">Page 2 &#8211; getting down to business</a></h3>
<p><a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=ACGLUD&amp;utm_source=Internal&amp;utm_medium=House%2BAd&amp;utm_content=MPU&amp;utm_campaign=Linux%2BUser%2B3%2Bfor%2B%C2%A31" target="_self">Linux User &amp; Developer is the magazine for the GNU Generation<br />
Click here to try 3 issues for £1</a></p>
<p><a href="http://www.linuxuser.co.uk" target="_self">Return to the homepage</a></p>
<p style="text-align: center;"><a href="http://twitter.com/LinuxUserMag" target="_blank">
                <img src="http://www.linuxuser.co.uk/wp-content/themes/linuxuser"/images/twitter_follow.png" width="160" height="60" border="2" alt="twitter follow us" />
            </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/how-to-create-a-screencast-of-your-linux-desktop/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Make Firefox extensions with Mozilla Jetpack</title>
		<link>http://www.linuxuser.co.uk/tutorials/make-firefox-extensions-with-mozilla-jetpack/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/make-firefox-extensions-with-mozilla-jetpack/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 17:25:18 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Jetpack]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=4455</guid>
		<description><![CDATA[Mozilla Jetpack is designed to make it incredibly easy to build Firefox add-ons using a number of common web technologies like HTML and JavaScript. Join Kunal Deo as he demonstrates how to get setup ready for your creative juices to start flowing...]]></description>
			<content:encoded><![CDATA[<!--buy_online--><p><em>This article originally appeared in <a href=" http://www.linuxuser.co.uk/magazine-issues/linux-user-developer-issue-93-is-out-now/" target="_blank">issue 93</a> of <a href="http://www.linuxuser.co.uk" target="_blank">Linux User &amp; Developer</a> magazine.<a href="http://www.imagineshop.co.uk/linuxuseranddeveloper/" target="_blank"><img class="size-full wp-image-2388 alignright" title="Make Firefox extensions with Mozilla Jetpack" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/07/buy_online.jpg" alt="Make Firefox extensions with Mozilla Jetpack" width="92" height="24" /></a> Subscribe and save more than 30% and receive our exclusive money back guarantee – click <a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=WEB100">here</a> to find out more.</em></p>
<p><strong>Resources:</strong><br />
Before we go any further it&#8217;s worth making sure you have everything you need to follow this tutorial.</p>
<p><strong><a href="http://www.mozilla.com" target="_blank">Mozilla Firefox  3.6 or later</a></strong><br />
If you are trying to build a standalone application, you can also use the XULRunner SDK that uses Gecko 1.9.2 or later. Using Firefox is much easier since the SDK is already configured to work with Firefox</p>
<p><strong><a href="http://www.python.org" target="_blank">Python 2.5 or later</a></strong><br />
To check the version of Python installed in the system, perform the following command:</p>
<pre class="brush: python; title: ; notranslate">$ python
[~ $:] python
Python 2.6.1 (r261:67515, Jun 20 2010, 21:47:49)</pre>
<p><strong>Mercurial (optional)<br />
</strong>In case you want to check out the Jetpack SDK  source code from its source code repository, you will need Mercurial installed on your system, since the Jetpack is hosted on the Mercurial version control system. To install Mercurial on Ubuntu, perform the following command:</p>
<pre class="brush: python; title: ; notranslate">$ sudo apt-get install mercurial</pre>
<p>Following installation, Mercurial’s hg command should be available.</p>
<p><strong>Mozilla Jetpack SDK </strong><br />
To obtain the Jetpack SDK from the Mercurial repository, perform the following command:</p>
<pre class="brush: python; title: ; notranslate">$ hg clone http://hg.mozilla.org/labs/jetpack-sdk/</pre>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p>Please note that the Mercurial repository of the Mozilla Jetpack SDK is being updated constantly and may not work with this tutorial. Please use the stable version of the Jetpack SDK for maximum compatibility. To set up the SDK development environment, enter the following command from the jetpack-sdk directory:</p>
<pre class="brush: python; title: ; notranslate">$ source bin/activate
</pre>
<p>There was a time when a dinosaur named Internet Explorer used to rule the planet ‘Internet’. It was so big that in order to support Internet Explorer, people would happily ditch the support for other browsers. Then came a meteoroid called Firefox (read the name) that destroyed most of the dinosaurs and established a lot of key features that changed the face of planet Internet for times to come. It was like freeing humankind from a ruthless alien empire. These features were…</p>
<p><strong>Open source: </strong>There is no doubt that open source software packages are of great quality. But mainstream adoption has always been a difficult task to achieve for an open source application. Firefox was one of the first open source projects which went head on head with something that was as popular as Internet Explorer. Being an open source project, it attracted lot of developers who worked under the Mozilla Foundation’s guidelines to create it.</p>
<p><strong>Portable: </strong>Firefox was portable like most open source applications. But at the same time it was also a popular web browser. This got lot of web developers to develop their websites and web apps so they would also work with Firefox. Previously the situation was a little awkward for those of us who were using our Linux boxes with either Netscape or Mozilla web browser, because most of the websites and web apps were only designed to work with Internet Explorer. Firefox helped a lot in the adoption of Linux and other desktop operating systems because it ensured that the internet would not be incompatible on Linux or other alternative operating systems.</p>
<p><strong>Extensibility: </strong>This was and still is the landmark feature that Firefox had to offer. Companies like Apple, Google and Microsoft are still figuring out the extensibility of their browsers, but Firefox had got it just right from the start. Extensibility allowed users to add features to Firefox without hacking into the original source code. This allowed users to customise the browser according to their own needs.<br />
Out of these three features, extensibility proved to be the most popular for the Firefox project. Not that the other web browsers weren’t extensible, but the extension mechanism in other web browsers was… for lack of a better word, let’s call it horrible. We all know about the trouble with spyware and Internet Explorer BHOs (Browser Helper Objects). Firefox, being an open source browser, provided a  very easy way to install extensions and manage them. It also included a sandbox-type environment and a consistent user interface. Even developing Firefox extension proves very easy. You do not need to learn C/C++ or any other low-level programming language.</p>
<h3 style="text-align: center;">Continue to: <a href="http://www.linuxuser.co.uk/tutorials/make-firefox-extensions-with-mozilla-jetpack/2" target="_self">Page 2 &#8211; Ways you can extend Firefox</a></h3>
<p><a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=ACGLUD&amp;utm_source=Internal&amp;utm_medium=House%2BAd&amp;utm_content=MPU&amp;utm_campaign=Linux%2BUser%2B3%2Bfor%2B%C2%A31" target="_self">Linux User &amp; Developer is the magazine for the GNU Generation<br />
Click here to try 3 issues for £1</a></p>
<a href="http://twitter.com/LinuxUserMag" target="_blank">
                <img src="http://www.linuxuser.co.uk/wp-content/themes/linuxuser"/images/twitter_follow.png" width="160" height="60" border="2" alt="twitter follow us" />
            </a>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/make-firefox-extensions-with-mozilla-jetpack/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to sync your iPad with Linux</title>
		<link>http://www.linuxuser.co.uk/tutorials/how-to-sync-your-ipad-with-linux/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/how-to-sync-your-ipad-with-linux/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 16:51:04 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Apple iPhone]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPod]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=4409</guid>
		<description><![CDATA[Apple makes some great hardware, but their closed eco system is far from Linux-friendly. Thankfully it can be done - here's how you can use your iPad, iPhone and iPod with your Ubuntu Linux computer…]]></description>
			<content:encoded><![CDATA[<!--buy_online--><!--Sync-your-iPad-being-detected--><p><em>This article originally appeared in <a href="http://www.linuxuser.co.uk/magazine-issues/linux-user-developer-94-is-out-now/ target=">issue 94</a> of <a href="http://www.linuxuser.co.uk" target="_blank">Linux User &amp; Developer</a> magazine.<a href="http://www.imagineshop.co.uk/linuxuseranddeveloper/" target="_blank"><img class="size-full wp-image-2388 alignright" title="How to sync your iPad with Linux" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/07/buy_online.jpg" alt="How to sync your iPad with Linux" width="92" height="24" /></a> Subscribe and save more than 30% and receive our exclusive money back guarantee – click <a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=WEB100">here</a> to find out more.</em></p>
<p>Even if you are not a technology buff, it’s hard not to notice how the iPad has taken over the world of gadgets. Before its launch, the iPhone and the iPod touch had a similar impact and they are visible just about everywhere you go. All of Apple’s portable devices use iTunes to synchronise their information with a computer, and iTunes is only available on Windows and Mac systems. So where does that leave Linux users like you and me? Thankfully it&#8217;s not a lost cause &#8211; let’s take a look at how you can get the maximum out of your fruit branded mobile device on an Ubuntu desktop setup. You&#8217;ll also be pleased to hear that all the solutions that we look at here will work on your Apple mobile device without the device requiring to be jailbroken.</p>
<p>You&#8217;ll have to forgive the obligitory disclaimer however &#8211; all the software and syncing solutions discussed in this article are not built or approved by Apple, and therefore cannot be guaranteed to work as intended. Now, on with the guide&#8230;</p>
<p><strong>Required resources</strong><br />
<a href="http://www.libimobiledevice.org" target="_blank"><strong>libimobiledevice</strong></a> The project that allows you to sync your iPod, iPad, or iPhone to your Linux machine<br />
<a href="http://handbrake.fr/downloads.php" target="_blank"><strong>Handbrake</strong></a> For converting videos from one format to another<br />
<a href="http://fuse.sourceforge.net" target="_blank"><strong>Fuse File system</strong></a> This allows read-write access to your Apple devices</p>
<h3><strong>Installation</strong></h3>
<p><strong>1. Getting libimobiledevice</strong><br />
Both Ubuntu 10.04 and 10.1 support the iPhone, iPod touch and iPad out of the box. This is using the libimobiledevice project, which is hosted <a href="http://www.libimobiledevice.org" target="_blank">here</a>. You can visit the project’s website and download the source code, along with that of the supporting packages. Ready-made binaries for several popular distributions are also available from this website. However, the easiest way to get hold of the libimobiledevice packages is by using your distribution’s package management system. For example, Ubuntu Linux and openSUSE have the software in their official repositories. Ubuntu 10.04 and 10.1 users can skip the next step.</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p><strong>2. Installing on Ubuntu 9.10</strong><br />
Although Ubuntu 9.10 does not ship with support for the Apple devices, you can set things up reasonably easily. Launch the package source manager by going to<em> System&gt;Administration&gt;Software Sources</em>. Click on the Other Software tab and then on the Add button. Now add the line ‘<em>ppa:pmcenery/ppa</em>’ as the source. Save it and hit the Reload button to reload the repository information. Now launch the Synaptic Package Manager and install the package ‘<em>libimobiledevice0</em>’. Note that you will need to restart your computer for the installation process to complete correctly.</p>
<p><strong>3. Installing libimobiledevice for everyone else</strong><br />
If you have landed on a computer which does not have libimobiledevice pre-installed and you can’t find it in your distribution’s binary repositories, you can always download the source release of libimobiledevice and compile it yourself. First, make sure that you have the development tools required for compiling packages installed. Download the source package from the libimobiledevice project website and extract it to a temporary location. Get into the source directory and execute the following commands:</p>
<pre class="brush: bash; title: ; notranslate">./configure
make
sudo make install</pre>
<p><strong>4. Plug and play</strong><br />
When you have set things up, you should plug your iPad, iPod or iPhone into your Ubuntu computer. Connect it with the USB cable that you got with your device. When you plug it in, you should see two windows pop up, like the ones shown in the screenshot below, and your device’s icon appear on the Desktop. The two window panes will ask you which applications you want to use to view and manage the photos and the music on your device. The list that will appear depends upon what applications you have installed on your computer. If you see this screen, you should be in business. Let’s proceed and see how you can manage the music, photos, video and other data on your Apple device.</p>
<p style="text-align: center;"><em> </em></p>
<figure id="attachment_4420" class="wp-caption aligncenter"><em><em><a href="http://www.linuxuser.co.uk/wp-content/uploads/2010/12/Sync-your-iPad-being-detected.jpg" rel="lightbox[4409]"><img class="size-full wp-image-4420 " title="Sync your iPad - being detected" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/12/Sync-your-iPad-being-detected.jpg" alt="How to sync your iPad with Linux" width="472" height="268" /></a></em></em><figcaption>An Apple iPad being detected and mounted in Linux</figcaption></figure>
<p><em> </em></p>
<h3 style="text-align: center;"><a href="http://www.linuxuser.co.uk/tutorials/how-to-sync-your-ipad-with-linux/2" target="_self">Continue to page 2 &#8211; working with your music</a></h3>
<p><a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=ACGLUD&amp;utm_source=Internal&amp;utm_medium=House%2BAd&amp;utm_content=MPU&amp;utm_campaign=Linux%2BUser%2B3%2Bfor%2B%C2%A31" target="_self">Linux User &amp; Developer is the magazine for the GNU Generation<br />
Click here to try 3 issues for £1</a></p>
<a href="http://twitter.com/LinuxUserMag" target="_blank">
                <img src="http://www.linuxuser.co.uk/wp-content/themes/linuxuser"/images/twitter_follow.png" width="160" height="60" border="2" alt="twitter follow us" />
            </a>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/how-to-sync-your-ipad-with-linux/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Automatic web app testing through Firefox</title>
		<link>http://www.linuxuser.co.uk/tutorials/automatic-web-app-testing-through-firefox/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/automatic-web-app-testing-through-firefox/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 15:51:54 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[selenium]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[web apps]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=4263</guid>
		<description><![CDATA[The Selenium project has some very useful tools for testing your web applications, including an excellent Firefox extension. In this tutorial we get started with Selenium IDE and RC…
]]></description>
			<content:encoded><![CDATA[<!--buy_online--><!--Selenium-Fig-01--><p><em>This article originally appeared in <a href=" http://www.linuxuser.co.uk/magazine-issues/linux-user-developer-issue-93-is-out-now/" target="_blank">issue 93</a> of <a href="http://www.linuxuser.co.uk" target="_blank">Linux User &amp; Developer</a> magazine.<a href="http://www.imagineshop.co.uk/linuxuseranddeveloper/" target="_blank"><img class="size-full wp-image-2388 alignright" title="Automatic web app testing through Firefox" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/07/buy_online.jpg" alt="Automatic web app testing through Firefox" width="92" height="24" /></a> Subscribe and save more than 30% and receive our exclusive money back guarantee – click <a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=WEB100">here</a> to find out more.</em></p>
<p>Selenium is a set of open source tools which you can use to set up automated tests for your web applications. The tools are quite simple to install and use, and are quite flexible (Fig 1). A great advantage of using an automated testing tool such as the ones provided by Selenium is that you can schedule the nightly testing of your web applications. The testing is triggered off automatically at a certain hour and you see the report in the morning.</p>
<p>The tools that we will look at here are Selenium IDE and Selenium RC. Selenium IDE (integrated development environment) is essentially a Firefox plug‑in that allows you to record, edit and play browsing sessions. So when you perform certain actions on a webpage, such as clicking on a link, Selenium IDE will record the steps involved and allow you to edit them and have them performed automatically. Selenium RC is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP website using any mainstream JavaScript-enabled browser.</p>
<figure id="attachment_4266" class="wp-caption aligncenter"><a href="http://www.linuxuser.co.uk/wp-content/uploads/2010/11/Selenium-Fig-01.jpg" rel="lightbox[4263]"><img class="size-full wp-image-4266" title="Selenium Fig 01" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/11/Selenium-Fig-01.jpg" alt="Automatic web app testing through Firefox" width="556" height="202" /></a><figcaption>Fig 1. The different products and tools available from the Selenium project</figcaption></figure>
<p><strong>01 Introducing Selenium IDE</strong><br />
Selenium IDE is an integrated development environment for running Selenium tests. It has been implemented as a Firefox extension, and has a recording feature which will maintain a list of user actions as they are performed and store them as a reusable script to play back. Selenium IDE also offers full editing of test cases for more precision and control. This tool has been advertised by the Selenium team as the easiest and the quickest way to get started with Selenium. One drawback, however, is that your testing is limited to Firefox. Although Firefox runs on all operating system platforms, it still has a long way to go to becoming the most popular web browser around. Testing your web application with Internet Explorer is still a necessity for a lot of developers. Selenium IDE does not allow you to do that.</p>
<p><strong>02 Installing Selenium IDE</strong><br />
Installing Selenium IDE is quick and easy. All you need is to have a recent version of the Firefox web browser and an internet connection. Point Firefox <a href="https://addons.mozilla.org/en-US/firefox/addon/2079" target="_blank">here</a> and add the Selenium IDE extension. Once it’s installed, you will need to restart your web browser to activate the Selenium IDE extension. Then you should be in business. Check to make sure that Selenium IDE is indeed installed. Go to Tools&gt;Selenium IDE to check it out.</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p><strong>03 Quick tour of IDE settings</strong><br />
Although Selenium IDE is a pretty straightforward tool to use, there are a number of settings changes that you can make. To access these settings, you can click on the Preferences button in the Selenium IDE Add-On pane. This will launch a Preference pane for Selenium IDE. It has three tabs: General, Formats and Plugins. Tweak the settings here to make changes to the way Selenium IDE functions. For example, you can add or modify the format in which Selenium should expect information. It supports several different scripting languages including Perl, PHP and Ruby. Just be careful to make changes after understanding things.</p>
<p><strong>04 Record your first script</strong><br />
There are a number of things that you can do using Selenium IDE. You can either record the moves you make on a website as a script, and have it played back or edit it and then play it, or you can write a script from scratch. Let’s look at how to record our steps on a website first. Pick a website and visit it with Firefox. Once you are at the website, launch Selenium IDE by going to Tools&gt;Selenium IDE in the Firefox menu. The Selenium IDE pane will now launch. At the top right-hand side of the pane you will see a red button. This button is what you will need to use to record your script. Hit the button to begin recording. Now browse the page you want to test and perform the steps you need for this particular test. Once you are done, hit the red button again.</p>
<p><strong>05 View the script</strong><br />
If you look at the Selenium IDE pane you will see that it has two tabs – Table and Source. These are for two editing modes: Table for graphical editing, and Source for textual editing of the script. In the Table view, the data is quite well organised for you to edit. At the top there’s a box that lists all the steps that were recorded by you. When you click on any of the steps, you see an expanded version of it below. This is where the command and the content are separated and presented to you for easy editing. You can also look at logs and other information in this view. The Source view is a bit cleaner. You have an editor and the logs. As the name suggests, you get to view the script in its source, and edit and save it.</p>
<h3 style="text-align: center;"><a href="http://www.linuxuser.co.uk/tutorials/automatic-web-app-testing-through-firefox/2" target="_self">Continue to page 2</a></h3>
<p><a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=ACGLUD&amp;utm_source=Internal&amp;utm_medium=House%2BAd&amp;utm_content=MPU&amp;utm_campaign=Linux%2BUser%2B3%2Bfor%2B%C2%A31" target="_self">Linux User &amp; Developer is the only magazine for the GNU Generation. Click here to try 3 issues for £1.</a></p>
<p><a href="../magazine-issues/linux-user-developer-issue-93-is-out-now/" target="_self">Find out what else featured in issue 93 of the magazine</a><br />
<a href="../" target="_self">Return to the homepage</a></p>
<a href="http://twitter.com/LinuxUserMag" target="_blank">
                <img src="http://www.linuxuser.co.uk/wp-content/themes/linuxuser"/images/twitter_follow.png" width="160" height="60" border="2" alt="twitter follow us" />
            </a>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/automatic-web-app-testing-through-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Mozilla Prism to add web apps to your desktop</title>
		<link>http://www.linuxuser.co.uk/tutorials/use-mozilla-prism-to-add-web-apps-to-your-desktop/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/use-mozilla-prism-to-add-web-apps-to-your-desktop/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 05:00:20 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[web apps]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=3853</guid>
		<description><![CDATA[Mozilla Prism lets you run web apps in their own desktop window allowing a certain degree of freedom compared to running the app in a web browser, while restricting crashes to the app’s window. Follow Sukrit's step-by-step guide to find out just how easy it is…]]></description>
			<content:encoded><![CDATA[<!--buy_online--><!--Prism-image00-300x224--><p><em>This article is due to appear in issue 93 of <a href="http://www.linuxuser.co.uk" target="_blank">Linux User &amp; Developer</a> magazine.<a href="http://www.imagineshop.co.uk/linuxuseranddeveloper/" target="_blank"><img class="size-full wp-image-2388 alignright" title="Use Mozilla Prism to add web apps to your desktop" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/07/buy_online.jpg" alt="Use Mozilla Prism to add web apps to your desktop" width="92" height="24" /></a> Subscribe and save more than 30% and receive our exclusive money back guarantee – click <a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=WEB100">here</a> to find out more.</em></p>
<p>Prism is an open source project from the Mozilla team that allows you to run web applications in standard windows, just like desktop applications. They get their own icon and can be launched directly from the Ubuntu menu. Application crashes are restricted to the window they are running in. Prism comes in two different flavours: for the desktop and as an extension for Firefox. Let’s take a look at both.</p>
<p><strong>1. What is Mozilla Prism?</strong><a href="http://www.linuxuser.co.uk/wp-content/uploads/2010/10/Prism-image00.jpg" rel="lightbox[3853]"><img class="alignright size-medium wp-image-3874" title="Prism image00" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/10/Prism-image00-300x224.jpg" alt="Use Mozilla Prism to add web apps to your desktop" width="240" height="179" /></a><br />
Mozilla Prism is what is referred to as a ‘single-site browser’. It is a web browser implementation that allows web applications to be integrated with a traditional desktop and act like native applications. Launching a web app using Prism is done in the same way as launching an application installed on your computer, from the Applications or Start menu. The Prism browser is simplified to not get in the way of the web app. Aside from being able to launch and run popular web applications such as Facebook, Google Analytics, and Google Mail like desktop applications, Prism also allows you to launch websites in a similar manner. Another great thing about Prism is that, like most products that come from the Mozilla team, it is a cross-<br />
platform application that works on Linux, Mac OS X and Windows.</p>
<p><strong>2. Installing Mozilla Prism – the quick way</strong><br />
There are two ways to install Mozilla Prism. If using a distribution such as Ubuntu or Fedora Linux, you should be able to find a ready-to-use binary in the applications repository. You can use a command such as ‘# sudo apt-get install prism’ to install it on Ubuntu Linux. RPM packages for Fedora and other Red Hat-based distributions are available.</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p><strong>3. Installing Mozilla Prism manually</strong><br />
We looked at how easily you can install Mozilla Prism using the package manager that comes with distributions such as Ubuntu Linux. However, there are times when you would rather install applications manually. At the time of writing this article, the latest release of Mozilla Prism was version 1.0, beta 4. You can get it <a href="http://prism.mozillalabs.com/started/" target="_blank">here</a>. Download the file next to the Prism option, not the Firefox plug-in. Once downloaded, you can extract the tar.bz2 compressed archive using the command:</p>
<pre># sudo tar -jxvf prism.1.0b4.en-US.linux-i686.tar.bz2 -C /opt/prism</pre>
<p>You can pick a different location than ‘/opt/prism’ if you like. To launch it, execute the command ‘# /opt/prism/prism’.<br />
<strong><br />
4. Installing Mozilla Prism apps – the easy way</strong><br />
Distributions such as Ubuntu Linux have had popular web applications such as Facebook and Google Mail bundled with Mozilla Prism in its repositories for a while now. What this means is that you need not bother much about installing Mozilla Prism and then manually installing these web applications; you can simply install the ready-made prism-facebook or prism-google-analytics package and you should be in business. So, to install the Facebook web application on your Ubuntu desktop (Fig 2), all you would have to do is to execute the command ‘# sudo apt-get install prism-facebook’. Simple as that. You can install several other applications in a similar manner. Here’s a list of some of the other web applications packaged with Mozilla Prism that are part of the Ubuntu repositories: prism-google-mail, prism-twitter, prism-google-docs, and prism-google-analytics.<br />
<strong><br />
5. Installing Mozilla Prism apps manually</strong><br />
As we mentioned in the previous step, there are a number of popular web applications pre-packaged for you to download and use. However, should you come across a web application that is not available as a ready-made package, Prism allows you to manually install web applications to your desktop. Once you have installed Mozilla Prism, you can launch it from the menu by going to Applications&gt;Internet&gt;Prism. A window will then appear for you to add your new app. You will need to fill out the details of the app you want installed here…</p>
<h3 style="text-align: center;"><a href="http://www.linuxuser.co.uk/tutorials/use-mozilla-prism-to-add-web-apps-to-your-desktop/2/" target="_self">Continue to Page 2</a></h3>
<p><em><a href="http://www.linuxuser.co.uk/magazine-issues/linux-user-developer-issue-92-is-out-now/" target="_self">More Linux User &amp; Developer tutorials here.<br />
Click here to see what else features in the latest issue.</a></em></p>
<a href="http://twitter.com/LinuxUserMag" target="_blank">
                <img src="http://www.linuxuser.co.uk/wp-content/themes/linuxuser"/images/twitter_follow.png" width="160" height="60" border="2" alt="twitter follow us" />
            </a>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/use-mozilla-prism-to-add-web-apps-to-your-desktop/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Master lighttpd &#8211; the lightweight alternative to Apache</title>
		<link>http://www.linuxuser.co.uk/tutorials/master-lighttpd-the-lightweight-alternative-to-apache/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/master-lighttpd-the-lightweight-alternative-to-apache/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 10:12:40 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=3647</guid>
		<description><![CDATA[Is your Apache web server too slow? Koen Vervloesem shows you how to use lighttpd instead. This lightweight web server alternative is perfect for virtual private servers and ageing hardware solutions…]]></description>
			<content:encoded><![CDATA[<!--buy_online--><p><em>This article originally appeared in <a href=" http://www.linuxuser.co.uk/magazine-issues/linux-user-developer-issue-92-is-out-now/" target="_blank">issue 92</a> of <a href="http://www.linuxuser.co.uk" target="_blank">Linux User &amp; Developer</a> magazine.<a href="http://www.imagineshop.co.uk/linuxuseranddeveloper/" target="_blank"><img class="size-full wp-image-2388 alignright" title="Master lighttpd - the lightweight alternative to Apache" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/07/buy_online.jpg" alt="Master lighttpd - the lightweight alternative to Apache" width="92" height="24" /></a> Subscribe and save more than 30% and receive our exclusive money back guarantee – click <a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=WEB100">here</a> to find out more.</em></p>
<p>Apache is obviously the most popular open source web server, and it’s a good one too. But in some circumstances it really pays off to look at alternatives. For instance, when you rent a virtual private server with not much RAM, you’ll soon meet the limits of Apache. By default, this web server is quite resource-hungry and although there are ways to let it use less memory, tuning Apache is something of a dark art.</p>
<p>So if you don’t have the time to fine-tune Apache on your low-end VPS, why not try another web server? lighttpd (pronounced ‘lighty’) is a promising alternative, because its developers are focusing on performance and simplicity. Moreover, most of the functionality you are used to in Apache – such as modules, URL rewriting and support for CGI and FastCGI – is also available in lighttpd.</p>
<p>The main difference between the two web servers is simple: Apache creates a separate process for each request, whereas lighttpd is able to process multiple requests inside one process. That’s why the latter uses less RAM, as well as less processor time. And that’s why lighttpd can be a better choice than Apache when your server has a small amount of RAM or has to handle large amounts of requests. The latter situation explains why lighttpd is used by popular websites such as Wikipedia and YouTube, and the former situation is why you could benefit from using lighttpd on your VPS to host your blog.</p>
<p><strong>Installing and configuring lighttpd</strong></p>
<p><strong>Resources:</strong><br />
<a href="http://www.lighttpd.net/" target="_blank">lighttpd </a><br />
<a href="http://blog.lighttpd.net/" target="_blank">lighttpd blog </a><br />
<a href="http://redmine.lighttpd.net/wiki/lighttpd" target="_blank">lighttpd documentation </a><br />
<a href="http://redmine.lighttpd.net/projects/lighttpd/boards" target="_blank">lighttpd forums </a></p>
<p>lighttpd is available in the repositories of most mainstream Linux distributions. Just install the lighttpd package and maybe some lighttpd-mod packages for extra modules. After starting the web server manually with ‘<em>/etc/init.d/lighttpd start</em>’, it normally starts serving the webpages in <em>/var/www</em> or (in openSUSE) <em>/srv/www/htdocs</em>. For this article, we used Debian Lenny (5.0).</p>
<p>All configuration of lighttpd is done in the file <em>/etc/lighttpd/lighttpd.conf</em>. The syntax is simple: each line has a variable name, an equals sign and the value of the variable. Strings and Boolean values are surrounded by double quotes; numbers are not. A list is surrounded by parentheses and uses commas to separate its elements.</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p>Some basic variables you have to define are the document root and the port that lighttpd is listening to:</p>
<pre class="brush: bash; title: ; notranslate">server.document-root = “/var/www/”
server.port = 80
</pre>
<p>You’ll also want to define the location of the error log and access log (which needs the <em>mod_accesslog</em> module, which is enabled by default):</p>
<pre class="brush: bash; title: ; notranslate">server.errorlog = “/var/log/lighttpd/error.log”
accesslog.filename = “/var/log/lighttpd/access.log”
</pre>
<p>If you don’t want to show a directory listing in directories without an index file, add the following line:</p>
<pre class="brush: bash; title: ; notranslate">dir-listing.activate = “disable”
</pre>
<p>Now after you have changed something in the configuration file, you have to tell lighttpd to reload it:</p>
<pre class="brush: bash; title: ; notranslate">/etc/init.d/lighttpd force-reload
</pre>
<p>It’s also a good idea to test the syntax of the configuration file first:</p>
<pre class="brush: bash; title: ; notranslate">lighttpd -t -f /etc/lighttpd/lighttpd.conf
</pre>
<p><a href="http://www.linuxuser.co.uk/tutorials/master-lighttpd-the-lightweight-alternative-to-apache/2/" target="_self">Continue to page 2…</a></p>
<p><a href="http://www.linuxuser.co.uk" target="_self">Return to the Linux User &amp; Developer homepage</a></p>

<a href='http://www.linuxuser.co.uk/tutorials/master-lighttpd-the-lightweight-alternative-to-apache/attachment/lighttpd-dirlisting/' title='lighttpd dirlisting'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/10/lighttpd-dirlisting-200x150.jpg" class="attachment-thumbnail" alt="lighttpd dirlisting" title="lighttpd dirlisting" /></a>
<a href='http://www.linuxuser.co.uk/tutorials/master-lighttpd-the-lightweight-alternative-to-apache/attachment/lighttpd-dirlistingdisabled/' title='lighttpd dirlistingdisabled'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/10/lighttpd-dirlistingdisabled-200x150.jpg" class="attachment-thumbnail" alt="lighttpd dirlistingdisabled" title="lighttpd dirlistingdisabled" /></a>
<a href='http://www.linuxuser.co.uk/tutorials/master-lighttpd-the-lightweight-alternative-to-apache/attachment/lighttpd-force-reload/' title='lighttpd force-reload'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/10/lighttpd-force-reload-200x150.jpg" class="attachment-thumbnail" alt="lighttpd force-reload" title="lighttpd force-reload" /></a>
<a href='http://www.linuxuser.co.uk/tutorials/master-lighttpd-the-lightweight-alternative-to-apache/attachment/lighttpd-lighttpd-conf/' title='lighttpd lighttpd.conf'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/10/lighttpd-lighttpd.conf_-200x150.jpg" class="attachment-thumbnail" alt="lighttpd lighttpd.conf" title="lighttpd lighttpd.conf" /></a>
<a href='http://www.linuxuser.co.uk/tutorials/master-lighttpd-the-lightweight-alternative-to-apache/attachment/lighttpd-modules/' title='lighttpd modules'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/10/lighttpd-modules-200x150.jpg" class="attachment-thumbnail" alt="lighttpd modules" title="lighttpd modules" /></a>

<a href="http://twitter.com/LinuxUserMag" target="_blank">
                <img src="http://www.linuxuser.co.uk/wp-content/themes/linuxuser"/images/twitter_follow.png" width="160" height="60" border="2" alt="twitter follow us" />
            </a>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/master-lighttpd-the-lightweight-alternative-to-apache/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OpenOffice.org Base &#8211; No Frills Document Management</title>
		<link>http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 13:33:22 +0000</pubDate>
		<dc:creator>RussellBarnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[document management]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[OpenOffice.org]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=3479</guid>
		<description><![CDATA[A no-frills personal document management system can come in handy in many situations. Read on to find out how OpenOffice.org Base can really come into its own…]]></description>
			<content:encoded><![CDATA[<!--buy_online--><p><em>This article originally appeared in <a href="http://www.linuxuser.co.uk/magazine-issues/issue-91/" target="_blank">issue 91</a> of <a href="http://www.linuxuser.co.uk" target="_blank">Linux User &amp; Developer</a> magazine.<a href="http://www.imagineshop.co.uk/linuxuseranddeveloper/" target="_blank"><img class="size-full wp-image-2388 alignright" title="OpenOffice.org Base - No Frills Document Management" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/07/buy_online.jpg" alt="OpenOffice.org Base - No Frills Document Management" width="92" height="24" /></a> Subscribe and save more than 30% and receive our exclusive money back guarantee – click <a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=WEB100">here</a> to find out more.</em></p>
<p>Document management systems (DMS) are not necessarily reserved for companies with complex workflows and thousands of documents. A no-frills personal DMS can come in handy in many situations. You can use it to organise your research materials, or manage article submissions. While there are a few open source DMSes out there, most are geared towards companies who need to manage their complicated document workflow. Also, most DMSes are server-based applications which require some skill to deploy and maintain.</p>
<p>But why not build your own little desktop document management solution? After all, OpenOffice.org Base is a rather capable tool for creating databases, and the OpenOffice.org Basic built-in scripting language can help to add some nifty features to your database applications. Like the idea but don’t know where to start? No problem: this tutorial will guide you through the process of creating a simple document management database and adding a couple of useful features to it with OpenOffice.org<br />
Basic macros.</p>
<p>The first order of business is, of course, to create a new database. Fire up the OpenOffice.org Base application, and use the Database Wizard to create a new database. When prompted, tick the ‘Yes, register the database for me’ checkbox to register the created database as a data source. Press Finish to save the database under the DocMaBase name (or any other name you like) and open it for editing.</p>
<p>The next step is to add a table and populate it with fields. Switch to the Tables section and click on the ‘Create Table in Design View’ link. Which fields to add to the table depend largely on what information you want to store in the database. In our case, we add the following fields: ID (a numeric primary key), Title (the document’s title), DateAdded (record creation date), Notes (miscellaneous notes), Status (document’s status, eg In Progress, Archived etc), FileName (name of the attached document) and FileObj (a binary field for storing documents). Once the table is ready, give it a name (eg ‘documents’) and save it.</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("LUD_MidPage_MPU1");
						</script>
					</div><p>We now need to create a form which will act as a graphical front-end to the data stored in the ‘documents’ table. To create a new form, switch to the Forms section and click on the ‘Create Form in Design View’ link. Creating a form using the Form Designer is rather straightforward. All you have to do is to add the fields you want to the form, then specify their properties. There are, however, a couple of things that require some additional work. Since the Status field is used to store the status of the document, it is most likely to contain only a handful of unique items (In Progress, Proofread, Archived and so on).</p>
<p>So instead of typing the same status every time you create a new record, you can add a combo box which lets you simply select the desired item from the list. To do this, choose the Combo Box control in the Form Controls toolbar and draw a box in the form. This opens the Combo Box Wizard which helps you to configure the created combo box. By default, the created combo box is empty, so you have to enter the name of the status you want. Once you’ve done that, the entry is saved in the database and it appears in the combo box.</p>
<p>The key feature of the document management solution is the ability to store documents and files in the database itself. To add this feature, you need two form elements: a file selection field and buttons to import and export the selected file. The buttons are used to trigger OpenOffice.org Basic macros that insert the selected file into the FileObj field and save the file in the specified directory on the hard disk.</p>

<a href='http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/attachment/openofficeorgbase-fig1/' title='OpenOfficeOrgBase Fig1'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/09/OpenOfficeOrgBase-Fig1-200x150.jpg" class="attachment-thumbnail" alt="OpenOfficeOrgBase Fig1" title="OpenOfficeOrgBase Fig1" /></a>
<a href='http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/attachment/openofficeorgbase-fig2/' title='OpenOfficeOrgBase Fig2'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/09/OpenOfficeOrgBase-Fig2-200x150.jpg" class="attachment-thumbnail" alt="OpenOfficeOrgBase Fig2" title="OpenOfficeOrgBase Fig2" /></a>
<a href='http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/attachment/openofficeorgbase-fig3/' title='OpenOfficeOrgBase Fig3'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/09/OpenOfficeOrgBase-Fig3-200x150.jpg" class="attachment-thumbnail" alt="OpenOfficeOrgBase Fig3" title="OpenOfficeOrgBase Fig3" /></a>
<a href='http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/attachment/openofficeorgbase-fig4/' title='OpenOfficeOrgBase Fig4'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/09/OpenOfficeOrgBase-Fig4-200x150.jpg" class="attachment-thumbnail" alt="OpenOfficeOrgBase Fig4" title="OpenOfficeOrgBase Fig4" /></a>
<a href='http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/attachment/openofficeorgbase-fig5/' title='OpenOfficeOrgBase Fig5'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/09/OpenOfficeOrgBase-Fig5-200x150.jpg" class="attachment-thumbnail" alt="OpenOfficeOrgBase Fig5" title="OpenOfficeOrgBase Fig5" /></a>
<a href='http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/attachment/openofficeorgbase-formdesign/' title='OpenOfficeOrgBase FormDesign'><img width="200" height="150" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/09/OpenOfficeOrgBase-FormDesign-200x150.jpg" class="attachment-thumbnail" alt="OpenOfficeOrgBase FormDesign" title="OpenOfficeOrgBase FormDesign" /></a>

<p><a href="http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/2/" target="_self">Proceed to page 2…</a></p>
<p><a href="http://www.linuxuser.co.uk/tutorials/" target="_blank">Click here</a> for more tutorials from Linux User &amp; Developer</p>
<a href="http://twitter.com/LinuxUserMag" target="_blank">
                <img src="http://www.linuxuser.co.uk/wp-content/themes/linuxuser"/images/twitter_follow.png" width="160" height="60" border="2" alt="twitter follow us" />
            </a>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/openoffice-org-base-no-frills-document-management/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

