Feeds

The Netbook Newbie's Guide to Linux

The Big Easy

  • alert
  • submit to reddit

Top 5 reasons to deploy VMware with Tegile

For another demonstration of the connection in Linux between the graphical front end and the underlying text files, let's take a closer look at the Easy Mode interface of the Asus Eee PC. The icons it uses, the way they're grouped, and the applications they evoke, are all defined in a single text file, /opt/xandros/share/AsusLauncher/simpleui.rc. AsusLauncher is the name of the application that creates Easy Mode.

Eee PC Easy Mode

AsusLauncher in action

Before we mess with this file, we'll take the precaution of making a back-up. Open a terminal, switch to the /opt/xandros/share/AsusLauncher directory and type:

sudo cp simpleui.rc simpleui.rc.bak

Now we're ready to edit the file (see Box: Not So Simple). Xandros offers several editors, but as this is an XML file it would be smart to use the supplied editor, called Kwrite, as this has a fancy feature that understands XML structures and uses different colours to display the different XML elements.

While still in the the /opt/xandros/share/AsusLauncher directory type:

sudo kwrite simpleui.rc

There's a very handy crib about all this on the Eee User Wiki, including a suggestion for adding an appropriate icon to the Easy Mode if you're going to do a lot of editing to the configuration file. So my first edit was to add the following stanza:

<parcel simplecat="Favorites" extraargs="/usr/bin/sudo /usr/bin/kwrite  /opt/xandros/share/AsusLauncher/simpleui.rc"

icon="documents_norm.png"

selected_icon="documents_hi.png">

<name lang="en">Menu Edit</name>

</parcel>

This makes the simpleui.rc file very easy to get at, but changes aren't reflected until you restart AsusLauncher. I knocked off a quick and dirty script to do this, which needs to be run with root privileges:

#!/bin/sh
killall AsusLauncher
/opt/xandros/bin/AsusLauncher &

You'll need to save this as a plain text file - I simply called it relauncher - and then make it executable with a command like this:

chmod a+x relauncher

chmod is the Unix utility for "changing the mode", and "a+x" means "make this file executable for everyone on the system".

Security for virtualized datacentres

More from The Register

next story
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
Mathematica hits the Web
Wolfram embraces the cloud, promies private cloud cut of its number-cruncher
Mozilla shutters Labs, tells nobody it's been dead for five months
Staffer's blog reveals all as projects languish on GitHub
'People have forgotten just how late the first iPhone arrived ...'
Plus: 'Google's IDEALISM is an injudicious justification for inappropriate biz practices'
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
iOS 8 Healthkit gets a bug SO Apple KILLS it. That's real healthcare!
Not fit for purpose on day of launch, says Cupertino
Netscape plugins about to stop working in Chrome for Mac
Google kills off 32-bit Chrome, only on Mac
prev story

Whitepapers

Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.