My First Tut in English.
This is my ideal Ubuntu Configuration For yer Netbook. Follow this steps to get a good netbook. (In My Opinion.)
The guide has 4 main parts:
1- Installing UNR
2- LXDE + Conky
3- SSD Fixes
4- Media Codecs
I hope you like it, and please comment for suggestions :)
Install Ubuntu Netbook Remix:
(You need at least a 1 gigabyte USB Stick. It cannot be an SD card, The Aspire one cannot boot from that.)
Making the USB Key
Visit this page and download the .img file: [www.ubuntu.com] .
Download Disk Imager from [https:]]
Insert your USB Stick
Note the drive letter assigned to your USB key (Like E:\ or F:\.)
Start Disk Imager
Select the downloaded file and target device, and click "Write"
Remove your USB Key when the operation is complete
Installing UNR
Then put your USB Key in the Aspire One and boot it. Press F12 on the ACER Logo and select your USB key.
Select your desired language and start UNR with the Install option.
Follow all the steps on the screen, but when partitioning select Manual, then remove all partitions (You will loose all your data so make sure you have a good backup.) Make a 256 MB swap partition, and use the remaining space for an EXT2!!! formatted partition with mount point /. Then continue with the installation.
Tweaking:
UNR needs some tweaking to make it very fast and good. You can do all sub-steps individually, but please do not skit the step for the SSD. Thats Important if you want to enjoy your Netbook a little longer.
1- LXDE Installing LXDE
When UNR is installed boot it up and login.
The first thing we are going to do is install LXDE and get rid of the heavy UNR interface. Copy and paste these things in the terminal:
sudo apt-get install lxde
Enter your password and if needed press Y.
Then logout and select Session: LXDE. Make it the default session.
You will notice how fast it boots.
Adding Networkmanager to the LXDE Panel
We need to add the networkmanager to the panel so you just can use wireless and 3G networks when needed.
Press ALT+F2 and type this:
gksu gedit /etc/xdg/lxsession/LXDE/autostart
Enter your password, and then a text editor will open.
Now add this line at the bottom of the file:
@nm-applet
Then save the file and exit. At the next startup you will be asked to enter your password and Network Manager will start up. If you don't want to enter your password each time you login then make sure you give Networkmanager permissions to the keyring.
Installing Conky and make it work with LXDE
If we want to make conky work with LXDE and PcmanFM then we need to do this:
Paste this in a terminal:
sudo apt-get install conky
Enter your password and press Y if needed.
Then we need to make conky work with PcmanFM.
Paste the following in a terminal
wget http://relst.nl/downloads/.conkyrc && mv .conkyrc ~/.conkyrc -f -v
(This will download a good conkyrc file and place it in your home directory.)
Then add conky to the startup file, Press ALT+F2 and enter this:
gksu gedit /etc/xdg/lxsession/LXDE/autostart
Then add this line at the bottom of the file:
conky
Then save and quit.
Now conky will start up and not interfere with PcmanFM.
Finishing the panel
The LXDE panel needs finishing, so we are going to add a battery monitor and a volume manager to it.
Right-click the panel and select: Panel Settings
Click the tab: Panel Applets
Click Add and select:
Battery Monitor
Click Add.
Do it again but then select: Volume Control.
Optional: If you want to save space on the window list, you can click: Task Bar (Window List) and select Edit, and then mark: Icons Only. This will save a lot of space.
The click Close.
These were the most LXDE things. You can set a wallpaper or so, but this is about it.
SSD Fixes
These tips will save the most of your SSD. If you have a hard drive, then you can skip the entire SSD part.
Fire up a terminal ( ALT+F2 → gnome-terminal).
The Bold lines can be just copied and pasted, the Itallic lines will require a little reading.
gksudo gedit /etc/fstab
Replace “relatime” with “noatime” everywhere you see it. (Probably 1 or 2 times.)
Add these lines(The Italic ones):
tmpfs /var/log tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0
Save and close.
gksudo gedit /boot/grub/menu.lst
Find this line:
## ## End Default Options ##
Underneath are the Boot menu options. You will need the first one. Not the recovery or the Memtest.
After the: root line of the normal boot menu add this: elevator=noop.
Save and close.
gksudo gedit /etc/rc.local
Above the rule: exit 0; add this (all the italic):
# Economize the SSD
sysctl -w vm.swappiness=1 # Strongly discourage swapping
sysctl -w vm.vfs_cache_pressure=50 # Don't shrink the inode cache aggressively
for dir in apparmor apt cups dist-upgrade kismet fsck gdm installer samba unattended-upgrades ;
do
if [ ! -e /var/log/$dir ] ; then
mkdir /var/log/$dir
fi
done
Save and close.
gksudo gedit /etc/init.d/sysklogd
Replace this:
fix_log_ownership()
for l in `syslogd-listfiles -a`
do
chown ${USER}:adm $l
done
}
with this:
fix_log_ownership()
{
for l in `syslogd-listfiles -a --news`
do
# Create directory for logfile if required
ldir=$(echo ${l} | sed 's/[^\/]*$//g')
if [ ! -e $ldir ] ; then
mkdir -p $ldir
fi
# Touch logfile and chown
touch $l && chown ${USER}:adm $l
done
}
Save and close.
This was the SSD part. Now we are going to the Media Part.
Installing Video and Audio Codecs
Paste the following lines in the terminal:
sudo synaptic
This wil fire up synaptic. Do not close the terminal.
Search for mp3, and mark the following stuff:
Gstreamer extra plugins
Gstreamer ffmpeg video plugin
Ubuntu restricted extras
VLC media player
Mplayer Movie Player
SMPlayer
Audacious
gxine
Agree with all the windows, and install the packages. This will add flash player, MP3 support and good video support. At me I could play all the video's I needed.
We also need to add support for rar and 7zip. In the terminal paste this:
sudo apt-get install rar unrar pk7zip-full
And when needed press Y.
This was the media part and the last part of this tut.
Final Notes
I cannot be held responsible for anything you do or let do with your stuff. This tutorial is all on your own risk, With me it worked. I hope you now have a good netbook. I atleastly have.
Remy
Made with help of:
http://sites.google.com/site/computertip/aa1
http://lxde.org