Revision 3 as of 2008-05-22 07:24:12

Clear message

Include(EeePC/Header)

Hold ALT and drag with the mouse to move windows which are larger than the screen.

Customizing the tiny desktop

You may notice that such a tiny desktop doesn't leave a lot of real estate for applications. There are a few tweaks we can set for the gnome desktop in order to make some more room. I've used these and it does allow for a bit more space in our otherwise cramped display:

Setting smaller font sizes

gconftool-2 --set /apps/nautilus/preferences/desktop_font --type string "Sans 8"
gconftool-2 --set /desktop/gnome/interface/document_font_name --type string "Sans 8"
gconftool-2 --set /desktop/gnome/interface/font_name --type string "Sans 8"
gconftool-2 --set /apps/metacity/general/titlebar_font --type string "Sans Bold 8"
gconftool-2 --set /desktop/gnome/interface/monospace_font_name --type string "Monospace 8"

All applications can go full-screen using F11

gconftool-2 --set /apps/metacity/window_keybindings/toggle_fullscreen --type string "<Alt>F11"

Smaller toolbars using icons only

gconftool-2 --set /desktop/gnome/interface/toolbar_style --type string "icons"

Setting the right mixer (fixes the mute key)

gconftool-2 --set /desktop/gnome/sound/default_mixer_tracks --type list --list-type string "[PCM]"

Do not display the incorrect battery warning at login

gconftool-2 --set /apps/gnome-power-manager/notify/low_capacity --type bool 0

Unconstrain windows to the top of the screen

gconftool-2 --set /apps/compiz/plugins/move/allscreens/options/constrain_y --type bool 0

Making the top & bottom panels smaller

gconftool-2 --set /apps/panel/toplevels/top_panel_screen0/size --type integer 19
gconftool-2 --set /apps/panel/toplevels/bottom_panel_screen0/size --type integer 19

Removing icons from the Menu

gconftool-2 --set /desktop/gnome/interface/menus_have_icons --type bool 0

Consolidate to a single gnome-panel

I've also removed the second panel from my desktop to squeeze that little bit more in. This takes a bit of manual work (assuming you want to keep the existing applets).

  • right-click on all the existing applets and remove the 'Lock to panel'
  • right-click on the applets from the panel you want to remove and select 'Move'.
  • move all the existing applets (show desktop, workspace switcher, trash, etc) to the other panel by dragging them via the mouse.
  • right-click on the now empty panel and 'Delete this panel'.
  • right-click on all the panel applets (after you've placed them) and 'Lock to panel' when you're done.

I found that in order to get everything to fit I removed the Main Menu and replaced it with the "slab" menu, which is in the gnome-main-menu package.

sudo aptitude install gnome-main-menu
  • once you've installed this package you'll likely need to logout and log back in for it to be available.
  • once you've logged back in you can right-click the panel and select 'Add to panel'.
  • select 'Default menu and application chooser' from the list.
  • right-click and 'Remove from panel' your old menu.
  • you'll also likely want to right-click 'Move' the new menu into proper position.

See this blog post for more details and a screenshot:

Overclocking

WARNING: This is for experienced users only. You may experience system lockups if you do not do the steps correctly.

NOTE: This section is not required for the EeePC 900 which runs at 900MHz by default. It only applies to the previous 701 model.

Overclocking the system is what allows the EeePC to run at the advertised 900MHz, vs the 630MHz/675MHz that it actually runs at. I have my machine overclocked and I have not seen any ill effects. Again, this is for experienced users only. Use this at your own risk.

In order to achieve the overclocking we'll need to compile a kernel module available for download at a Google code site.

You'll most likely need the kernel headers installed as well as build-essential before we can get started:

sudo apt-get install build-essential linux-headers-generic

Download the source, and create the module:

wget http://eeepc-linux.googlecode.com/files/eeepc-linux-0.2.tar.gz
tar -xf eeepc-linux-0.2.tar.gz
cd eeepc-linux/module
make

You should now have a file called eee.ko. To make this module a permanent fixture of your current kernel we'll add it to the list of modules that are loaded at boot time and move it to the proper location.

sudo mv eee.ko /lib/modules/$(uname -r)/kernel/

Then edit the /etc/modules file and add the module name eee to the end of the file.

Next register and load the new module into the kernel.

sudo depmod -a
sudo modprobe eee

In general, jumping directly to the overclocked speed can cause lockups so smaller jumps toward the speed are suggested. Below is an example of gradually making your way to the overclocked speed:

sudo sh -c 'echo 85 24 1 > /proc/eee/fsb'
sudo sh -c 'echo 100 24 1 > /proc/eee/fsb'
echo "FSB overclocked to 100MHz"

And going back down to the default speeds again:

sudo sh -c 'echo 85 24 1 > /proc/eee/fsb'
sudo sh -c 'echo 70 24 1 > /proc/eee/fsb'
echo "FSB returned to 70MHz"

More information regarding overclocking the EeePC available here: [http://wiki.eeeuser.com/howto:overclockfsb]

Reducing Drive Writes

  • Set the 'noatime' or 'relatime' mount options in the /etc/fstab file. Look for the 'defaults' section and add 'defaults,noatime'.

UUID=57480a3f-e7db-4a5e-9fca-7df45f5a7d9d /               ext2    defaults,noatime,errors=remount-ro 0       1
  • Put data that is not needed long-term on a tmpfs, which is written to memory. Below is an example:

tmpfs      /var/log        tmpfs        defaults           0    0
tmpfs      /tmp            tmpfs        defaults           0    0
tmpfs      /var/tmp        tmpfs        defaults           0    0
tmpfs      /var/log/apt    tmpfs        defaults           0    0

You will lose the data in these areas after a reboot. Data in /tmp is not a big deal, though you may want logs longer than that. If so see below for additional tips on network based logging.

If you did create a swap partition and want to make sure the EeePC does not use it, you can add the following line to the end of the /etc/sysctl.conf file:

vm.swappiness=0

2008/03/28 - Ubuntu 8.4 will offer aufs, [:aufsRootFileSystemOnUsbFlash:"AUFS ( Another Union File System ) Root File System On Usb Flash"], as an option.

Reducing power consumption

  • Install the powertop package and follow some of its basic suggestions on increasing battery life. The current lack of ACPI support limits what powertop can do.