Ubuntu: Difference between revisions

From The Incoherency.Net Wiki
Jump to navigation Jump to search
Denis (talk | contribs)
Denis (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:


  sudo update-alternatives –config editor
  sudo update-alternatives –config editor
== Enable 32-bit code on 64-bit install ==
sudo apt-get install ia32-libs


== Fixing the Boot-up Splash ==
== Fixing the Boot-up Splash ==
Line 23: Line 27:
  sudo apt-get install libdvdread3
  sudo apt-get install libdvdread3
  sudo /usr/share/doc/libdvdread3/install-css.sh  
  sudo /usr/share/doc/libdvdread3/install-css.sh  
== Enabling Desktop Icons ==
* ''ALT+F2''
* Enter '''gconf-editor''' in the '''Run Application''' dialogue box.
* Navigate to '''apps''' -> '''nautilus''' -> '''desktop'''
* Toggle the desired ''_icon_visible'' booleans


== Rebuild X11 Configuration ==
== Rebuild X11 Configuration ==
Line 42: Line 53:


  make modules_install INSTALL_MOD_PATH=/home/denis/tmproot/
  make modules_install INSTALL_MOD_PATH=/home/denis/tmproot/
== Reinstall GRUB ==
# Pop in the Live CD, boot from it until you reach the desktop.
# Open a terminal window or switch to a tty.
# Type "grub"
# Type "root (hd0,4)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sda5, which translates to hd0,4 for grub).
# Type "setup (hd0)", ot whatever your harddisk nr is.
# Quit grub by typing "quit".
# Reboot.
== Theme Goodness ==
apt-get install murrine-themes
apt-get install gnome-backgrounds
apt-get install community-themes
== Enable Remote Desktop via the CLI ==
$ gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true

Latest revision as of 20:38, 31 October 2011

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

Fixing the Default Editor[edit]

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

sudo update-alternatives –config editor

Enable 32-bit code on 64-bit install[edit]

sudo apt-get install ia32-libs

Fixing the Boot-up Splash[edit]

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

After making the adjustments, run the following:

sudo dpkg-reconfigure usplash

Enabling DVD Playback[edit]

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

Enabling Desktop Icons[edit]

  • ALT+F2
  • Enter gconf-editor in the Run Application dialogue box.
  • Navigate to apps -> nautilus -> desktop
  • Toggle the desired _icon_visible booleans

Rebuild X11 Configuration[edit]

sudo dpkg-reconfigure -phigh xserver-xorg

Building a Custom Kernel[edit]

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[edit]

make modules_install INSTALL_MOD_PATH=/home/denis/tmproot/

Reinstall GRUB[edit]

  1. Pop in the Live CD, boot from it until you reach the desktop.
  2. Open a terminal window or switch to a tty.
  3. Type "grub"
  4. Type "root (hd0,4)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sda5, which translates to hd0,4 for grub).
  5. Type "setup (hd0)", ot whatever your harddisk nr is.
  6. Quit grub by typing "quit".
  7. Reboot.

Theme Goodness[edit]

apt-get install murrine-themes
apt-get install gnome-backgrounds
apt-get install community-themes

Enable Remote Desktop via the CLI[edit]

$ gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true