Ubuntu: Difference between revisions

From The Incoherency.Net Wiki
Jump to navigation Jump to search
Denis (talk | contribs)
No edit summary
Denis (talk | contribs)
No edit summary
Line 6: Line 6:


  sudo update-alternatives –config editor
  sudo update-alternatives –config editor
== Fixing the Boot-up Splash ==
On some notebook LCDs the splash screen will fail to display unless the resolution is manually configured. The resolution is specified in ''/etc/usplash.conf''
# Usplash configuration file
xres=1024
yres=768


== Enabling DVD Playback ==
== Enabling DVD Playback ==

Revision as of 04:26, 22 March 2008

http://www.denis.lemire.name/images/posts/ubuntu.png

Fixing the Default Editor

Ubuntu defaults to using nano over Vi. To correct this sacrilegious behavior, use the following command:

sudo update-alternatives –config editor

Fixing the Boot-up Splash

On some notebook LCDs the splash screen will fail to display unless the resolution is manually configured. The resolution is specified in /etc/usplash.conf

# Usplash configuration file
xres=1024
yres=768

Enabling DVD Playback

sudo apt-get install libdvdread3
sudo /usr/share/doc/libdvdread3/install-css.sh 

Rebuild X11 Configuration

sudo dpkg-reconfigure -phigh xserver-xorg

Building a Custom Kernel

See How To Compile A Kernel - The Ubuntu Way on HowtoForge for complete details.

Summary:

apt-get update
apt-get install linux_source kernel-package libncurses5-dev fakeroot wget bzip2
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

Installing Modules to an Alternate Path

make modules_install INSTALL_MOD_PATH=/home/denis/tmproot/