Feeds

The Netbook Newbie's Guide to Linux

The Big Easy

  • alert
  • submit to reddit

Build a business case: developing custom apps

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
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
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
Mozilla keeps its Beard, hopes anti-gay marriage troubles are now over
Plenty on new CEO's todo list – starting with Firefox's slipping grasp
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
prev story

Whitepapers

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.
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.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.