The Register® — Biting the hand that feeds IT

Feeds
  • print
  • alert

Customer Success Testimonial: Recovery is Everything

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

Regcast training : Hyper-V 3.0, VM high availability and disaster recovery

Latest Comments

Mandriva

I manage to get Mandriva 2009.0 going on my girlfriends AAO (she'd had enough of Linpus Lite!). To say that it was arduous would be an understatement - you have to install it via an external CD/DVD Drive or net install. Seems, though, to be the only distro whos wireless works out-of-the-box(ish). I have found that with each different distro there is a need to be initially 'hardwired' to the internet as the wireless device drivers rarely work straight away. To be fair wireless support is the only real problem I personally have had. Oh, and Mandriva takes an age to boot compared to Linpus. Still, it reminds me of the early days of hacking Linux to work! To be honest, the best way to get a distro up and running is to compile an up to date version of the kernel on the intended device and clear-out all the chaff so that you are only left with the module you need. If your device has an Atom processor, Intels C compiler is free for NC use...

0
0

Nice to see that...

...we've essentially reached the concensus that these "broken" netbook Linux GUIs are doing no favours for anyone and a "proper" GUI would give a much better account of.

Shame my comments to that effect on the previous two installments of this series were flamed to high heaven by two persistent individuals. No matter - the good will out.

0
0

why not...

Just replace the fisher-price interface with a proper linux gui and leave the underlying Xandros intact? Done that with my eee, and now don't leave home without it. Did £120 worth of work while waiting to see the dentist once - the thing has paid for itself several times over.

0
0

More from The Register

SCO vs. IBM battle resumes over ownership of Unix
Zombie lawsuit back and wants to suck the brains out of Linux
Bjarne Again: Hallelujah for C++
Plus: Now officially OK to admit you never used STL algorithms
Interwebs taunt Sir Jony over Apple eye candy makeover
Hey Ive, Ive... add more unicorns, willya?
Apple: iOS7 dayglo Barbie makeover is UNFINISHED - report
Plus: You don't like the icons? Blame marketing
Red Hat to ditch MySQL for MariaDB in RHEL 7
So long, Oracle! Don't let the door hit you on the way out
Shy? Socially inadequate? Fiddling with your phone could help
App 'tells the brutal truth' about social inadequates' chatup lines
Java EE 7 melds HTML5 with enterprise apps
New release arrives with GlassFish, NetBeans support
 breaking news
'Office Facebook' firm Tibbr wants you to PAY for mobe-meetings app
Great idea. Punters won't cough for it though
 breaking news
The only Waze is Google: Ad giant tipped to gobble map app 'for $1.3bn'
Pac-Man-satnav-ish upstart in bidding war with Apple, Facebook
 breaking news
PM Cameron calls for modern, programmable computers! (We think)
IT education musings to G8 chiefs to mystify IT industry