Filed under: Features, Hardware, Linux
Eee PC Tips: A crash course in Linux
So you're an early adopter and you've run out to buy yourself Asus's $400 Eee PC because it seemed like a great price for a fully functional 2 pound computer that's about the size of a typical hardcover book (and far smaller than Harry Potter and the Deathly Hallows). But the innovative easy to use interface might get old pretty quickly if you want to do more than surf the web and create letters, spreadsheets, and PowerPoint style presentations for your friends telling them how cool you are because you have an Eee PC while they don't.
Asus includes instructions for loading Windows XP onto the Eee PC, but it requires an external DVD drive, some drive compression, and you know, a copy of Windows XP. Curiously, Asus does not include any instructions for unlocking the built-in potential of Xandros Linux, the operating system that ships with the Eee PC. But as we mentioned in this week's Squadcast, it just takes a little bit of work to unlock this machine's potential.
If you've got a bit of Linux experience under your belt, it's pretty simple to add some programs, enable an advanced desktop, and tweak the Eee PC to your heart's content. But it turns out that even if you're a Linux noob, the learning curve isn't that steep. Here are some of the most useful Eee hacks/tweaks we've discovered in our first half week of playing with it. Thanks to the Eee User community for helping inspire our hacking.
Enabling Full Desktop Mode
Earlier this year, we heard that Asus would be releasing a Linux-based desktop that would compete with the OLPC XO computer. But the Eee PC would look like a computer for grownups, not a Fisher Price toy. And it would be available in both developed and developing nations. Oh yeah, and while Asus was slapping a new super-easy to use interface on the PC, there would also be a "Full Desktop" mode that would look more like Windows/your typical Linux distribution with the KDE desktop installed.
As it turns out, when we got our hands on the Eee PC, there was no full desktop mode enabled. Asus probably wanted to cut down on the customer service calls it would be getting if people could easily install and remove unsupported applications. So the Eee PC ships with "Easy Mode" enabled, and no clear way to set up the full desktop. The problem is that in Easy Mode, you have access to just a handful of software updates from Asus's server. There's no simple way to install GIMP, Audacity, or any other open source application you may have your heart set on.
We say no, easy way, because it turns out you can pull up a terminal in easy mode and use apt-get. And that's exactly what we're going to do in order to enable the full desktop. You could just use apt-get to install all the software your heart desires without ever enabling full desktop mode. It would certainly save you a few MB of precious memory (while the Eee PC has 4GB of solid state storage, only about 1.3GB is available, since the OS eats up a large chunk). But it's also more of a headache to do everything from the command line if you're used to graphical user interfaces.
- Open up a terminal buy pressing Ctrl+Alt+T
- Type "sudo bash" to gain root access (Be careful what you do with root access. The only reason we're using it now is so that you don't have to type sudo before each command. But you could easily mess up your machine if you perform every command as an administrator)
- Type "apt-get update" to make sure you have access to the most up to date packages
- Type "apt-get install kicker" and answer "y" when asked if you want to install
- Type "apt-get install ksmserver" and answer "y" when asked if you want to install
- Type exit to leave the root account
- Type exit to close your terminal window

Press it and your Eee PC will reboot into Full Desktop mode, which should look something like this:

Now you have access to a full start menu, program launcher, taskbar, and several applications that were hidden in easy mode, including an RSS reader, remote desktop client, and the Synaptic Package Manager, which makes installing new programs a whole lot easier.
When you shut down and restart your Eee PC, you will continue to boot into easy mode. But if you want to boot into full desktop mode every time, just select the Settings tab in easy mode, click on Personalization, and then select the check box next to Full Desktop Mode.
Update: While the method above shows the easiest way to enable full desktop mode, be forewarned that you will not be able to save anything to your desktop. Files saved to your desktop will disappear each time you reboot your PC. You can either save files and icons to other folders, or you can edit your simplestart.sh file according to the instructions at EeeUser. If you follow that link you'll note that a new method for enabling the advanced desktop has been devised since this article was originally published, but you'll have to rely on downloading files from an unofficial repository created by Eee users.
Installing unsupported applications
There are three ways to install applications on the Eee PC.
- You can use the apt-get command in a terminal window like we just did to install the full desktop.
- You can download, uncompress, and install applications manually using a terminal. We really don't recommend this method, as it's not user friendly at all. But if you want to install, say, the latest version of the Opera web browser for Linux, this method might work best.
- You can use the Synaptic package manager which is a graphical interface for apt-get. This is the method we recommend.

Keep in mind, these other applications might not fit well on the Eee PC's 800 x 480 pixel screen. And they might not like its hardware configurations either. If you want the least possible risk of messing up your new toy, only install applications from Asus's server. But if you're willing to take a few risks, read on.
- Open Synaptic
- Select the Settings Tab
- Select the Repositories option
- You should see two entries. Select New to add some more.
- Enter the URL on the first line and the distribution and extra information on the following lines. For example, if you read somewhere that you can install "deb http://www.archlug.org/apt/ xandros4 xorid/uploads" you would enter "http://www.archlug.org/apt/" (without quotes) on the first line, "xorid" on the second, and "uploads" on the third.

Although you can add Debian repositories and access a huge library of applications, we recommend sticking with Xandros repositories as those applications are designed to run on the variant of Linux the Eee PC uses. If you can't find what you're looking for in the Xandros repositories, you might want to try "deb http://http.us/debian.org/debian/ stable main."
Eee User has posted a list of relatively safe repositories to their wiki.
Now it's time to install something. Let's try Audacity, an open-source audio editor that runs on Windows, OS X, and Linux. First up, let's make sure the Debian repository is added. And then we have to hit the Reload button at the top left of Synaptic in order to refresh the list of available programs.
- Click the search button and enter Audacity (you could also enter GIMP, or any other program you're looking for).
- Right click the checkbox next to Audacity and select Mark for installation.
- Click Apply and Synaptic will download and install the application.

Once you have you repositories installed, you can also add and remove programs from the terminal by typing "sudo apt-get install" and "sudo apt-get remove." For example, "sudo apt-get remove Audacity." This could come in handy if Synaptic doesn't want to remove an application once you've installed it, which has happened to us a few times so far.
Adding a start menu in easy mode
If you expect to switch back and forth between full desktop and easy mode occasionally, you might want to add a start menu to easy mode. It won't be as attractive or full featured as the start menu in full desktop mode, but you can customize the start menu and add applications that don't show up in the tabbed interface. Somewhat ironically, this process is a bit more involved than enabling the full desktop mode.
Thanks to Notebook Review for the tips on enabling the start menu.
- Open a terminal in easy mode by pressing Ctrl+Alt+T
- Type "sudo bash" to gain root access
- Create a hidden folder by typing "mkdir /home/user/.icewm"
- Copy a config file to your new directory by typing "cp /etc/X11/icewm/preferences /home/user/.icewm/"
- Copy your menu editing file by typing "cp /etc/X11/icewm/menu /home/user/.icewm/"
- Type "nano /home/user/.icewm/preferences" to open an editor
- Scroll down until you find "TaskBarShowStartMenu," and change the 0 to 1
- Hit Ctrl+x to exit

Unfortunately, there's pretty much nothing useful in your start menu. You're going to want to edit the menu file in order to populate the menu with programs.
- Type "nano /home/user/.icewm/menu" to open up your menu file in an editor.
- Create new entries under the appropriate sections following the format "prog 'title' icon_name program_options." In other words, adding prog Audacity Audacity will add a shortcut to bring up Audacity.
Conclusion
Whew. That might be a lot to take in all at once if you've never used Linux before. But once you've enabled your full desktop and figured out how to use Synaptic, we suspect you'll never look at easy mode again. The Eee PC really is a full fledged laptop computer, with a 900MHz processor, 512MB of RAM, and 4GB of internal memory, plus an MMC/SD/SDHC card slot for extra storage. It also does a pretty good job of supporting external hardware like monitors, USB hard drives or CD/DVD drives, mice and keyboards. So if you can get used to typing on a teeny weeny keyboard, you could almost replace your 6 pound laptop with this 2 pound puppy.
Get a WordPress.com Blog
With Halloween fast approaching, it's a great time to get in some practice defending your territory against zombies. In Graveyard Shift, you take aim at zombies and other creepy-crawlies, blasting them into splatters of cartoony green guts. It's a casual first-person shooter, and it's very easy to get the hang of - use the mouse to aim, click to fire. Graveyard Shift has at least 15 levels, and it might even have some secret stages I haven't unlocked yet.
They key to getting good at Graveyard Shift is learning to use ...

Reader Comments (Page 2 of 3)
Brad Linder said 9:25AM on 11-10-2007
Tap: That's an odd one. There may be a solution that will preserve your data, but the only solution that I'm aware of is to hold down F9 while booting to do a full system restore. This will restore your Eee PC to factory settings and erase any personal data you've added. Hopefully since you've only had your Eee PC a few days, that won't be too much personal data.
Reply
tap said 10:59AM on 11-10-2007
Brad - No Sweat. Restored my EEE back to normal and went through the procedure for changing to Full Desktop again. This time it worked. And didn't lose much. Just got my EEE yesterday.
Reply
tap said 8:56PM on 11-10-2007
Does annyone know how to disable the removable device popup that comes when you insert an SD card?
Reply
Lin said 8:10AM on 1-04-2008
Tap,
Did you ever get an answer or figure out the answer to your question about removable devices? I have the same problem.
Ray said 12:45PM on 11-13-2007
I've never used linux before but it would be cool if we EEE users could turn this tiny computer into a GPS navigator. Any recommendations, suggestions and instructions on how to accomplish this would be greatly appreciated. Tkx.
Reply
Evaldas said 2:23PM on 11-12-2007
Nice thread it helped me very much, but i have one question and i hope you will answer it, i use full desktop mode but my desktop shortcut icons after restart disappears. How can i make to stay them after restart :/
Reply
Brad Linder said 2:29PM on 11-12-2007
Evaldas:
You need to modify your startsimple.sh file. There are some instructions on the Eee User forum, but it looks like it's not a perfect solution yet. You might want to wait until the kinks have been worked out.
http://wiki.eeeuser.com/howto:getkde
Reply
Evaldas said 4:24AM on 11-13-2007
Yes i agree i think i will wait when everything will be tested, and of course i hope you will post the solve of this problem on this website too :) thank you
Reply
ida said 7:29PM on 11-13-2007
I am trying to use my LG VX8300 Verizon cell phone as a modem for my EEE PC to access the internet. Please understand I know nothing about Linux. Here is what I've tried:
Connect my phone to the EEE via a USB cable;
Connect my cell phone to Verizon's mobile web;
Go to Network Connections;
Go to Create.
It recognizes the cell phone as hardware: LG CDMA USB modem. When it tries to create the connection, it says: status: operation failed. error: unable to determine interface to use (lanservice.cpp:574).
Can you explain to me how to alter the Linux module in order to make this work with my LG?
Thanks so much for any advice.
Reply
Mark Crislip said 4:08PM on 11-15-2007
as of nov 15, it doesnt work.
as best I can tell from the apt-get messages, the files are no longer there.
"couldn't stat source package list..."
Reply
Lionel said 11:01AM on 11-18-2007
I am totally new to Linux. I followed your instructions to enable the full desktop version and it worked great. (Thanks!) But when I turned the computer off and then restarted all the files and icons I had put on the new full desktop were gone. Does the desktop in Linux not work like a Windows desktop where you can put files and icons on it and they stay put? Or does this have something to do with the 'easy mode' that it still starts up in?
I don't even know where the missing files and icons went; when you search for their file names, they show up as being in the trash but they don't seem to really be in the trash and they don't dump when you empty the trash.
Thanks for any help!
Reply
Mark said 2:41PM on 11-22-2007
Thanks for this, its certainly something I was wondering how to do in light of getting my EeePc when it arrives next week. Quick question, I've been looking about for information prior to the beast arriving, I need to install some kind of screen reader/text to speech on to it, anyone had any experiance installing, say something like Orca on to it?; Or anyone seen anything where anyone has information on doing this: I'm a tadge worried I'll screw the machine up soon as I get it, if the librarys arn't compatable etc... PS this is my first move out of being a whore to M***** so I'm new to the whole Linux thing until I get going on the Eeepc with a screen reader running on it (I'm blind).
thanks in advance
Reply
Scott Evans said 4:49PM on 11-27-2007
Could you post the installation of the new Skype Beta that works with a video camera. Have you tested this on the EEEPC yet. Much appreciated..
Scott
Reply
Matthew said 5:54PM on 12-01-2007
I use Linux exclusively on my desktop and laptop computer, but when my Eee PC arrives, I'll probably stick with the "Easy Mode". I like the easily-accessible shortcuts personally. I'm betting there is some way to customize the "Easy Mode" tabbed interface. I'll look into that when I get it.
Lionel: No, there is no reason why your files/icons should be off the desktop. I'm not that familiar with IceWM, i've only toyed with it for a short time, but every linux DE that i'm familiar with uses /home/username/Desktop/ as the folder where all your desktop files are located. If they are now in your trash it seems like they got moved there somehow (i wouldn't be able to tell you high). but it should be easy enough to fix this. Load up your terminal and type "mv /home/username/.Trash/* /home/username/Desktop/" where "username" is your username. If you don't know what it is, do this in the terminal, "cd /home/ && ls" and there will probably only be one thing listed there. It should be your username.
Reply
Dale said 8:44AM on 12-02-2007
I am wondering if you could offer any advice. I followed the instructions above to a "T" and the terminal box closed following the second "exit" prompt. Now the machine does a double reboot, but I cannot find the Advanced Mode option under "Personalization"
Thanks
Reply
hooke said 8:39AM on 12-07-2007
I have one. put in 1gig ram. easy to do and my machine is better and faster in every way.
Reply
Paul In San Francisco said 8:42AM on 12-08-2007
Thanks. You made that very easy. I don't think that I will be going back to Easy Mode anytime soon. I've got the full desktop working, with some decent wallpaper and this thing is starting to look and act like the real computer that it is. I can see why these things are flying off the shelves.
Reply
mstorey said 7:02PM on 12-08-2007
Thanks for the mods and hacks! One question, how do I remove programs that I dont need; such as the games, Thunderbird, and so on. I'm hoping this will free up a little more disk space. The Eee fits perfectly in my job as I fly constantly to various jobs. I also am interested if my VPN program will load on linux.
Reply
Brad Linder said 7:08PM on 12-08-2007
Removing applications is more trouble than it's worth unless you really know what you're doing. You could easily "remove" them using apt-get or Synaptic, but all this will do is remove them from the menu. They'll still be taking up space on your PC because the Eee comes with 2 partitions, one that's a protected 2.3GB partition with all of your system files and another for user access.
Effectively all you can easily change is the user portion. This is great for Linux newbies, because it means that you can restore your system to factory settings in a matter of seconds by holding a special key during the reboot process. But it also means that if you try to remove Thunderbird, all you're actually doing is removing a link to the hidden system files.
If you want to really remove applications you'll have to jump through a few more hoops:
http://forum.eeeuser.com/viewtopic.php?id=2650&p=1
Reply
Master-Q said 2:51AM on 12-13-2007
Please Fix Typo:
"Open up a terminal buy pressing Ctrl+Alt+T"... not buy but by.
Great guide, thanks.
Master-Q
Reply