09.06.12: updated to precise 12.04
04.11.11: added more power-saving tweaks
12.10.11: updated to oneiric 11.10
07.06.11: updated to natty 11.04
16.03.11: Original Version for maverick 10.10
This site should hopefully help people to tweak ubuntu precise 12.04 for the Asus EeePC 1015pn. This Netbook has a 10" screen and comes with a intel atom N550 or N570 dualcore cpu. The European version has 2 Gig Ram, Intel GMA 3150/ nVidia GT218 Dual GPU configuration (default vga mode is nvidia) and a pretty powerful 6 cell battery (nominal capacity: 5200 mAh) . Other configurations of this Model might have different RAM, CPU and/or Battery sizes). The Hardware is fully supported by recent kernel versions (3.2+) (incl. a open source wlan driver)
GMA 3150 build into the N550 GPU & a dedicated Nvidia GT218 chip "Next Gen ION") in it and wires the nvidia gpu directly to the display device and HDMI port.
Although there is no switch in the BIOS the 1015pn can be set into a specific VGA mode via sending a acpi_call. Acpi is a industry standard to control hardware devices and brings power management under the control of the operating system. This means we can set VGA Modes and Power states in software!
bumblebee for this)
bumblebee Project is working on a way to start applications using the nvidia gpu in its own X-Screen, but when i last tried it (04/05/2012) this approach had some mayor shortcomings (no hdmi out because it is hard-wired to the nvidia gpu, no vdpau accel, ect.) and was under heavy development.
Hopefully this will get fixed in upcoming releases but for now we need to reboot.
Get the ubuntu Desktop installation Disk from here: http://releases.ubuntu.com/precise/ . Since the EeePC has no CD drive you need to transfer the installation Image to a USB stick. You can do this either via 'Unetbootin' from Windows or if you already have a Ubuntu installation on a desktop Computer use the App 'usb-creator-gtk' via the 'System => Administration => Startup Disk Creator' Menu item.
Now plug the Stick into the USB Port of your EeePC and power it on. You do not need to change anything in the Bios, just press 'Esc' and a Boot up menu Option will appear allowing you to select the primary boot device (either the WD Harddrive or your USB stick) . Choose your USB stick and press Enter.
Now the default ubuntu install will start and ask you some questions. I suggest to keep the Laptop disconnected from the Intiernet during the main install because this might slow down the install drastically. About 15 minutes later the install is done.
Remove all country code Prefixes from the URL's and delete the # before the 'Canocial Partner' Repository.
Now save this file and update your system:
This will install all updates since the initial release date and might install also a new kernel. If so reboot after the update completed.
Recommended Packages were never intended to get installed automatically, but ubuntu devs decided to do this anyway which is just annoying. Reverse this with:
paste this line into the editor window
Some People reported that the brcmsmac driver shipped with the kernel has serious problems with Wlan N networks. I can't comment on this because i only own a b/g router. If you got hit by bis bug set your router to only use Wlan b/g/ networks or use the closed source wl driver by Broadcom
Add these lines at the end of the file to prevent the kernel drivers from loading
Now install the proprietary driver via the "Restricted Drivers manager" or from the terminal
and reload the wlan drivers or reboot.
Add the following at the end of the conf file
Since Gnome 3 there is no GUI way to specify a different backlight level for battery and AC but you can use the following script from askubuntu user chris to set screen brightness via dbus on a power managment event.
Paste the following in the editor window and replace user=chris with user=<your username>
Save the file, close the editor window and make it executeable
Hibernation (also called 'Deep Sleep' or 'Suspend to Disk') has been disabled by default in Ubuntu 12.04 because it did not work on all models. Our Eee PC's can hibernate without a problem, so you can safely re-enable it with:add the following to the file:
After the next Login, "Hibernate" should show up in the power menu.
set a black background by adjusting these 2 lines to:
Window.SetBackgroundTopColor (0.0, 0.00, 0.0); # Nice colour on top of the screen fading to Window.SetBackgroundBottomColor (0.0, 0.00, 0.0); # an equally nice colour on the bottom
Jupiter provides Power Management (Asus 'Super Hybrid Engine') and maps the EeePC's Hotkeys to Functions. A must - have! 7
this bugreport the ubuntu devs think it's a good idea to hide the Startup Applications from the Users. Well, I don't. To re-populate gnome-session-properties run:
9 If you own the 2 Gig RAM Model you can safely reduce the swappiness to get better response times.
add the line
gdebi a try
If the file mimeapps.list does not exist, set a custom open with application for a filetype of your choice. This will populate the mimeapps.list file. Now open it and add / edit the line "application/x-deb" in the [Default Applications] section to
to make the Application start in Gnome & Unity:
to make the application start on Gnome-Fallback only add:
NOTE: This also works for Launcher on the Desktop. If you want a custom Application Launcher to show in Unity only, add the 'OnlyShowIn' line to the corresponding .desktop file
NOTE: This tweak is only useful if you own the 2 Gig RAM model of the EeePC 1015PN and you system runs good. DO NOT USE IT with 1 GB RAM!
The following tweak will help to save some energy by writing temporary & log files to RAM and reducing disk writes 6
What those commands do
First we stop the syslog daemon, then we edit FSTAB and add the new mountpoints. Next we move the /tmp & /var/log folders to a new temporary location and create new folders. Now we apply the changes to fstab, move the old files to their new locations and clean the temp folders. Finally we restart the syslog service.
NOTE: Please bear in mind that moving those logs and temp directories to memory will cause the contents to be lost when you restart. You can still manually copy them to another directory before reboot with
To change the FF cache directory open Firefox, and in the address bar type 'about:config'. Click through the warning message. Now Right click anywhere in the parameter listing and select New -> String. Set the preference name to 'browser.cache.disk.parent_directory' (without the ticks) and set the value to '/tmp/ff-cache' (again without the ticks).
Chromium has command-line options to control memory management. Available options are --memory-model=<high| medium|low> Setting it to high makes chromium never release memory. Medium makes it reduce its working set of the memory when switching tabs, and low makes it reduce its working set when switching tabs and when the browser is not actively being used. In my experience, running chromium with --memory-model=low can improve performance.
Another useful command line switch is --disk-cache-dir. If you have moved your /tmp to Ram, set chromium to use this Location for Cache.
Add your desired Chromium statup option to the /etc/chromium-browser/default file:
Change the line after ' # Options to pass to chromium-browser ' to read:
Tweak Google Chrome:
Add your desired Chrome statup option to the /opt/google/chrome/google-chrome.dektop file:
Replace the Exec Line with:
Exec=/opt/google/chrome/google-chrome --memory-model=low --disk-cache-dir=/tmp %U
see here: http://askubuntu.com/questions/29553/how-can-i-configure-unity/101415#101415
A tweak tool for unity that allows you to export and import a set of settings for Unity is unsettings
I have adjusted the unity configuration to fit our 1024x600 screen. If you want to use my config download the netbook.unsettings file to your Computer.
Open Unsettings, click on the "Load Settings from File" button, select netbook.unsettings you downloaded and click on the "Apply Settings" button.
This is a customized unity build that auto-hides the left application launcher panel if an application is on fullscreen. On our small Laptop screen we need every mm so this is perfect for our devices. Also a click on the panel icon of a running app will minimize the window.
to set the dodge windows behaviour install ccsm:
Select the 'Ubuntu Unity Plugin' and set the "Reveal Trigger" value on the Behavior Tab to "Dodge Windows"
- Indicator Keylock Applet
Once installed, start it by pressing Alt + F2 and then enter: "indicator-keylock"
TODO: no precise buildsyspeek system monitor applet
Oneiric build [all arch]
Once installed, start it by pressing Alt + F2 and then enter: "syspeek"
- My Weather Indicator, Touchpad Indicator and Cryptkeeper by Lorenzo Carbonell
Download the conky-eee1015pn.tar.gz archive from the Downloads page and unpack the files in your $HOME. Now start conky from the terminal or set it as start-up application 10
Navigate to the Key 'Apps - Indicator-Session' and untick the checkbox next to
Lenses are different Tabs in the Unity Launcher, which provide various extra search and listing functions
Unity Recoll Lens:
For more Lenses see: http://askubuntu.com/questions/38772/what-lenses-for-unity-are-available
gnome3-team ppa that contains parts of gnome 3.4 that are not in the precise repositories and the webupd8 ppa for some special adjusted shell extensions with bugfixes.
You can install, en- / disable extensions on the fly via https://extensions.gnome.org/
or a http directory index list of available extensions is @ http://www.fpmurphy.com/gnome-shell-extensions/
NOTE: Some extensions are already installed with custom ubuntu patches from the webupd8 gnome3 ppa. You can manage those via the gnome-tweak-tool's "Extensions" Tab.
Gnome-Shell Themes by webupd8team
Gnome-Shell Themes by Satya164
Apply a new theme with the "Gnome Tweak Tool" or run
Add the Medibuntu Repository: 12
and install these restricted codecs packages:
- Install mplayer2 (the playback engine Smplayer uses)
since this is a daily build ppa you can disable it after the install and update the mplayer package on demmand.
sudo add-apt-repository -r ppa:motumedia/mplayer-daily
Configure Smplayer for vdpau (nvidia GPU with HDMI Audio out) and xv (intel GPU with Cinch connector / Laptop speakers Audio out) simultaneously:
Options - Preferences - General - Video Tab
=> Output Driver: User defined... vdpau:deint=42:denoise=1,xv,
=> untick the 'Enable post processing by default' checkbox
Options - Preferences - General - Audio Tab
=> Output Driver: User defined... alsa:device=hw=1.7,pulse,
=> Checkbox 'Global Volume'
=> Checkbox 'Use Software Volume Control'
Options - Preferences - Preformance
=> Checkbox 'Allow Frame Drop'
=> Loop Filter: 'Skip only on HD Videos'
Options - Interface
=> Autoresize: 'Never'
Options - Advanced - Options for Mplayer
=> Extra options for mplayer:
You can set Audio Sync during playback via the + and - Keys on the Keyboard. But sync is usually ok here and HD content (incl. 1080p) plays very smooth with vdpau (nvidia GPU).
if the first install fails, just re-trigger the installer
add some useful 3rd party repositories by adding the following to the sources.list file:
Sync the Signing Keys:
Have a look in the Software Center for more useful applications. Especially the getdeb repository has loads of helpful stuff available.
Optional: The nouveau modues are disabled by the postinstall script of the acpitools deb package. If you do not intend to use the deb package provided below blacklist them with:
As noted above both VGA Chips can be used in Exclusive Modes (intel or nvidia) or in a Dual GPU Mode (intel and nvidia) . The Nvidia Chip is useful for high performance stuff (like Gaming, HDTV, ect) but draws a lot of power from the battery. For basic operation I find the Intel GMA 3150 sufficient.
In dual Gpu Mode ( "Optimus" Mode) both chips are available via lspci. The "Hot-Switching" between both chips is work-in-progress and requires some mayor xorg rework, so it will still take some time. As a temporary workaround you might want to try bumblebee. Be aware that this is very hackish so only do this if you are confident you can fix a broken system. 13
The scripts in the provided Package allow you to set the desired VGA Mode for the next boot via a simple GUI.
Vdpau Benchmarks with Nvidia Binary Driver
Optional: If you want to stay on the bleeding edge nVidia drivers enable the x-swat ppa:
Make sure that your system is fully updated and you are running the latest installed kernel.
Now run the Sensors auto-detection
Just press enter at each question to use the default answer. Only the last question (add the modules to /etc/modules) should be answered with 'yes'.
After the configuration completed reboot.
Test if it works:
see the 'Command Line Options' section below for more info
Set Default GPU:
The script has more options when called from a terminal with
NOTE: For GPU Hot-Switching you need to install bumblebee
For further Documentation on the VGA modes and acpi_calls for the Eee 1015PN see the hybrid-graphics-linux mailing list. 15
If you can't - or do not want - to use the helper scripts read on.
- Manually install the acpi_call kernel module from the linux-hybrid-graphics project:
check with "dmesg | grep acpi_call" that the module was loaded successfully.
- Set the VGA Mode for the next boot:
1 see LP Bug #760131
2 Bios Version 0702 fixes a Bug when System wakes up from S3
3 see http://ubuntuforums.org/showpost.php?p=10323572&postcount=18
4 see LP Bug #59695
5 source for the fix: http://ubuntuforums.org/showthread.php?t=1741294
6 source for the fix: This Blog post by 'fewt'
7 Jupiter Power Managment Applet http://www.jupiterapplet.org/ ubuntu binary provided by Webupd8 PPA
8 jupiter-mono-icons.tar.gz taken from this Blog Post by 'Nick Campbell'
9 Tweak taken from the ubuntu SwapFAQ
10 Conky script taken from this Blog Post by 'Andrew'
11 Audio Recorder's ubuntu binary provided by osmoma's PPA
12 The Medibuntu Repository hosts packages that might have legal problems in some parts (esp. US) of the world
13 To use the nvidia Chip on-demmand set your Laptop to use Optimus Mode and install bumblebee. Please note that bumblebee is still under heavy development and might not work as expected.
14 acpi_call kernel Module taken from the linux-hybrid-graphics project.
15 especially this message from Raphael Metzler covers the acpi calls for the 1015PN
Please post your Suggestions / Questions in this ubuntuforums.org thread. If you find typos on this page - Congratulations! They're all yours ;)
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at mtron.co.nr
contact: mtron * a1.net