Difference between revisions of "Leo:Ubuntu config"

From DiLab
Jump to: navigation, search
(SSD tweaks)
Line 2: Line 2:
This list gets updated as I remember or install new essentials for my Ubuntu environment.
This list gets updated as I remember or install new essentials for my Ubuntu environment.


==== Private config====
== Private config==
I have my private config in a SVN repository, so I can update my various workspaces.
I have my private config in a SVN repository, so I can update my various workspaces.
Some examples for stuff in my configuration:
Some examples for stuff in my configuration:
Line 12: Line 12:
* work environment configurations, for example, custom menus in Nautilus
* work environment configurations, for example, custom menus in Nautilus


==== Development environment====
== Development environment==
sudo apt-get install build-essential
sudo apt-get install build-essential
sudo apt-get install emacs-snapshot
sudo apt-get install emacs-snapshot
sudo apt-get install subversion rapidsvn meld
sudo apt-get install subversion rapidsvn meld


==== Microsoft fonts ====
== Microsoft fonts ==
...so that documents created by MS look better
...so that documents created by MS look better
sudo apt-get install msttcorefonts
sudo apt-get install msttcorefonts
sudo fc-cache -fv
sudo fc-cache -fv


==== Virtual Box====
== Virtual Box==




=== SSD tweaks===
== SSD tweaks==
* Add noatime option for the partition on SSD in /etc/fstab
* Add noatime option for the partition on SSD in /etc/fstab
UUID=my-partition-key / ext4 noatime,errors=remount-ro 0 1
UUID=my-partition-key / ext4 noatime,errors=remount-ro 0 1

Revision as of 06:06, 22 September 2011

This list gets updated as I remember or install new essentials for my Ubuntu environment.

Private config

I have my private config in a SVN repository, so I can update my various workspaces. Some examples for stuff in my configuration:

  • startup scripts: .bashrc and various dot-files
  • aliases
  • ~/bin - various custom scripts
  • ~/lib - custom libraries
  • icons
  • work environment configurations, for example, custom menus in Nautilus

Development environment

sudo apt-get install build-essential
sudo apt-get install emacs-snapshot
sudo apt-get install subversion rapidsvn meld 

Microsoft fonts

...so that documents created by MS look better

sudo apt-get install msttcorefonts
sudo fc-cache -fv

Virtual Box

SSD tweaks

  • Add noatime option for the partition on SSD in /etc/fstab
UUID=my-partition-key  /  ext4    noatime,errors=remount-ro 0       1
  • Create /tmp in RAM by editing /etc/fstab
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
  • Set the scheduler to deadline (as opposed to cfq) in grub
    • Check for the options:
cat /sys/block/sda/queue/scheduler
    • Temporary change the scheduler
sudo su
echo deadline > /sys/block/sda/queue/scheduler
  • Move Firefox cache to /tmp/...
    • open [about:config] in firefox
    • create new string browser.cache.disk.parent_directory and set value to /tmp
  • Check the read speed of your HD:
sudo hdparm -t /dev/sda