Installing Lubuntu on an Acer Aspire One Cloudbook 11
I wanted a cheap laptop with a decent battery life to run a Linux distribution on and decided on the Acer Aspire One Cloudbook 11. This post details what I did after installing Lubuntu.
EDIT: The original post is still below, however, after trying Arch for a while (which was awesome but time consuming) and then Ubuntu (which was a little too heavy), I finally settled on Xubuntu which Just Works™.
My main computer is a Macbook Pro but I wanted something smaller, lighter and inexpensive that I could just throw into my bag and use on the train on the way into work. I decided on the Acer Aspire One Cloudbook 11 which I bought second hand off eBay for about £85.
I bought the laptop with the intention of running Lubuntu, a light weight version of Ubuntu, since I found out most of the laptop's functionality would work without much configuration.
I created a Lubuntu bootable USB stick on my Mac and installed without any problems. The laptop came installed with Windows 10 which I overwrote. I'm not really a fan of Windows and the laptop really struggled to run it anyway (not to mention the storage on the laptop is only 32GB of eMMC memory). Lubuntu was much less demanding of the modest Intel Celeron N3050 processor and 2 GB RAM.
Being a Mac user I'm used to the "natural" or "reverse" scrolling that was introduced in OSX Lion. This was easy enough to configure. First copy
and add the following options into the first
Option "VertScrollDelta" "-46" Option "HorizScrollDelta" "-46" Option "HorizTwoFingerScroll" "1"
I also prefer to have the whole trackpad as a left click and so stopped the lower right area from being a right click by adding
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
You can run
synclient in the terminal to get all options and run
man synaptics for the manual page that describes what each option does.
Disabling the trackpad whilst typing
I kept accidentally touching the trackpad with part of my hand whilst typing. You can disable the trackpad whilst typing by running the following in the terminal:
syndaemon -i 0.5 -t -K -R -d
The 0.5 after the -i is the idle time, i.e. the time it takes for the trackpad to become usable again after finishing pressing a key. I set this to half a second and it seemed to be just right.
The -t option makes it so that only taps and scrolls are ignored. It's still possible to move the cursor whilst typing.
The -K option ignores modifier keys whilst monitoring for keyboard activity. For example, it enables you to still move the cursor and click whilst holding keys such as shift and ctrl.
-R uses the XRecord extension for detecting keyboard activity instead of polling the keyboard state. I'm not sure exactly what this is, but it sounds like a better option than polling for key presses constantly!
Lastly the -d option tells syndaemon to run as a daemon in the background.
Under "Preferences" in the menu theres a "Default applications for lxsession" option. In the autostart section I added the command above so that it is run on login.
If you prefer to make configuration changes using files, the "Default applications for lxsession" program updates the following file (one command per line):
Adjusting the backlight with xbacklight
The following information is here just for completeness, but may not be required. For some reason the function keys to adjust the backlight weren't working at first, so I messed with xbacklight to get them working, but then found that just ticking "Handle display brightness keys" in Preferences > Power manager worked.
If for some reason this doesn't work, you can use xbacklight to change the screen brightness.
First create a new file in /etc/X11/xorg.conf.d ending in .conf such as "10-backlight-conf" and add the following:
Section "Device" Identifier "Card0" Driver "intel" Option "Backlight" "intel_backlight" EndSection
xbacklight -[dec|inc] [percentage] should work in the terminal. You can use lxhotkey to assign keys to run the xbacklight command above (more on lxhotkey below).
Getting the hotkeys working
This was what I spent most of my time configuring. I'll go through them one by one. Getting them to work involved adding commands to the LXHotkey program which you can find under Preferences > Setup Hot Keys.
Note lxhotkey adds any configuration options to the following file if you prefer to edit the file manually:
F1 and F1: Brightness keys
See "Adjusting the backlight with xbacklight" above.
F3: Wifi toggle
Unfortunately I haven't been able to get this one working yet, but turning off the wifi isn't something I need to do often and it's easy enough to do it by clicking on the wireless icon in the task bar and clicking "Enable Wi-Fi".
This triggers the XF86Sleep keycode. Open lxhotkey and click the button to create a new action. Click in the Hotkey1 box, hold function and press F and you'll see that XF86Sleep appears in the box. In the commandline box, add the following command:
F5: Switch display to external monitor
I've not tested this, but pressing this key outputs
Super + P which is the shortcut on Windows to switch to an external display. I presume it works because it causes my screen to go blank when I press it.
F6: Turn the display off
This turns the display off and I believe this works in hardware because no keycode gets triggered when pressing this key.
F7: Disable the trackpad
I've not got this working, but it's supposed to disable the trackpad. It doesn't trigger a keycode so I think it probably relies on a driver in Windows.
F8 - F10: Mute, Volume down and Volume up
To get these working, press the relevant key in lxhotkey and add the following commands:
amixer -q -D pulse sset Master toggle
amixer -q -D pulse sset Master 3%- unmute
amixer -q -D pulse sset Master 3%+ unmute
I've managed to get this laptop to do exactly what I wanted and it cost me less than £100. It runs really well with Lubuntu and is perfect for coding on the train!
If you have any trouble getting things working let me know by commenting on this post and I'll see if I can help!
If you found this post helpful, please consider buying me a coffee.