Feeds

The Netbook Newbie's Guide to Linux

The Big Easy

  • alert
  • submit to reddit

The Power of One eBook: Top reasons to choose HP BladeSystem

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.

Boost IT visibility and business value

More from The Register

next story
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
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
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
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.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.