Feeds

The Netbook Newbie's Guide to Linux

The Big Easy

  • alert
  • submit to reddit

Internet Security Threat Report 2014

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".

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
Sway: Microsoft's new Office app doesn't have an Undo function
Content aggregation, meet the workplace ... oh
Sign off my IT project or I’ll PHONE your MUM
Honestly, it’s a piece of piss
Return of the Jedi – Apache reclaims web server crown
.london, .hamburg and .公司 - that's .com in Chinese - storm the web server charts
NetWare sales revive in China thanks to that man Snowden
If it ain't Microsoft, it's in fashion behind the Great Firewall
Chrome 38's new HTML tag support makes fatties FIT and SKINNIER
First browser to protect networks' bandwith using official spec
Admins! Never mind POODLE, there're NEW OpenSSL bugs to splat
Four new patches for open-source crypto libraries
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
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?
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.