Feeds

The Netbook Newbie's Guide to Linux

The Big Easy

  • alert
  • submit to reddit

The smart choice: opportunity from uncertainty

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.

Securing Web Applications Made Simple and Scalable

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.