Feeds

The Netbook Newbie's Guide to Linux

The Big Easy

  • alert
  • submit to reddit

High performance access to file storage

The structure of simpleui.rc isn't too hard to get to grips with, even if you're not familiar with XML. The body of the file defines two different kinds of objects: simplecat, which is the broad grouping into application types like 'Work', 'Play', and so on; and parcel, which defines how to invoke a particular application, what icon should represent it on the desktop and what name to give the icon. The naming is done in over a dozen different languages, but for our present purposes we'll chauvinistically ignore everything except the line where lang="en".

Eee PC Relauncher script

Entering the Relauncher script in nano

Notice the placing of the angle brackets, and in particular the fact that each parcel definition is closed with a </parcel> flag.

One of the things I use a netbook for is movie script writing. No, you don't need a $500 software application to do this right. There's a wonderful free website called Zhura.com I use all the time, so I want to make it directly accessible from my Eee PC Easy Desktop.

'Copy and paste' was invented for exercises like this. So I pick an existing parcel definition that's close to what I need - iGoogle will do - copy the whole thing from <parcel... down to and including the </parcel> closer, and paste that in again at the end of the file just before the </simpleui> which signs off the whole Simple UI definition.

Not So Simple

The simpleui.rc file in /opt/Xandros/share/AsusLauncher is a "master configuration file". Normally, you'd leave it alone, instead editing a local copy of the file kept elsewhere - typically in a hidden directory under the home directory. A well-behaved application would know to look there first, only referring to the master configuration file if it couldn't find the user copy.

Unfortunately, Asus has been moving the location of this local copy around during recent software updates, so to keep things simple I'm sticking with the master file.

It's for the sake of simplicity, too, that I'm making these changes to the AsusLauncher by hand, rather than availing myself of the ready-made software solutions that Eee PC fans have cooked up. I'm certainly not knocking these useful contributions, but they tend to conceal rather than reveal the underlying principles. Once you understand these principles, by all means go ahead with offerings like these if you think they'll help.

High performance access to file storage

More from The Register

next story
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
OpenSSL Heartbleed: Bloody nose for open-source bleeding hearts
Bloke behind the cockup says not enough people are helping crucial crypto project
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
US taxman blows Win XP deadline, must now spend millions on custom support
Gov't IT likened to 'a Model T with a lot of things on top of it'
prev story

Whitepapers

Mainstay ROI - Does application security pay?
In this whitepaper learn how you and your enterprise might benefit from better software security.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.