Ubuntu

From

Unofficial Ubuntu 5.10 (Breezy Badger) Starter Guide

This guide http://ubuntuguide.org/ was started by Chua Wen Kiat (Kuala Lumpur, Malaysia). It is now being maintained by the Linux Center of University of Latvia, and everyone else who is willing to contribute.

Contributors: orvils, Cargo, Quash, Byte, krampo, Simos ...


Ubuntu 6.06 (Dapper Drake) guide: in progress...


Translations: Latviešu Русский Polski Traditional Chinese ItalianoPersian Português do Brasil Português


Contents

[hide]
bullet1 Unofficial Ubuntu 5.10 (Breezy Badger) Starter Guide
bullet2 General Notes
bullet3 Getting Started
bullet3.1 What is Ubuntu
bullet3.2 Where to view Ubuntu screenshots
bullet3.3 Where to find a list of all the programs/libraries that comes with Ubuntu
bullet3.4 Where to download Ubuntu
bullet3.5 Where to order Ubuntu CDs for absolutely FREE
bullet3.6 Where to find help for Ubuntu
bullet3.7 Where to look for new programs
bullet3.8 Where to look for style elements for your desktop
bullet4 Repositories
bullet4.1 How to add extra repositories
bullet5 Ubuntu Updates
bullet5.1 How to manually update Ubuntu
bullet6 Installing additional software (Automatix)
bullet6.1 How to get Automatix
bullet7 Add-On Applications
bullet7.1 How to install Menu Editor for GNOME
bullet7.2 How to install Clipboard Daemon for GNOME
bullet7.3 How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox
bullet7.4 How to install Flash Player (Macromedia Flash) Plug-in for Mozilla Firefox
bullet7.5 How to install PDF Reader (Adobe Reader) with Plug-in for Mozilla Firefox
bullet7.6 How to install Download Manager (Downloader for X)
bullet7.7 How to install FTP Client (gFTP)
bullet7.8 How to install File share utility (DC++)
bullet7.9 How to install P2P BitTorrent Client (Azureus)
bullet7.10 How to install P2P eMule Client (aMule)
bullet7.11 How to install P2P Gnutella Client (LimeWire)
bullet7.12 How to install Messenger (Skype)
bullet7.13 How to install WinPopup (LinPopUp)
bullet7.14 How to install Multimedia Codecs
bullet7.15 How to install DVD playback capability
bullet7.16 How to install Multimedia Player (xine-ui)
bullet7.17 How to install Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox
bullet7.18 How to install VLC Multimedia player
bullet7.19 How to install Multimedia Player (XMMS)
bullet7.20 How to install Multimedia Player (amaroK)
bullet7.21 How to install Multimedia Player (RealPlayer 10)
bullet7.22 How to install Stream Directory Browser (streamtuner)
bullet7.23 How to install Music Organizer (Cowbell)
bullet7.24 How to install ID3 Tag Editor (EasyTAG)
bullet7.25 How to install Video Editor (Kino)
bullet7.26 How to install Audio Editor (Audacity)
bullet7.27 How to install DVD Ripper (dvd::rip)
bullet7.28 How to install CD Ripper (Goobox)
bullet7.29 How to install Image Viewer (digiKam)
bullet7.30 How to install Email Client (Mozilla Thunderbird)
bullet7.31 How to install Newsreader (Pan)
bullet7.32 How to install RSS/RDF/Atom Newsreader (RSSOwl)
bullet7.33 How to install Web Authoring System (Nvu)
bullet7.34 How to install Web Development Environment (quanta plus)
bullet7.35 How to install Project Management Application (Planner)
bullet7.36 How to install Accounting Application (GnuCash)
bullet7.37 How to install Desktop Publishing Application (Scribus)
bullet7.38 How to install Diagram Editor (Dia)
bullet7.39 How to install Compiled HTML Help (CHM) Viewer (xCHM)
bullet7.40 How to install CD/DVD Burning Application (GnomeBaker)
bullet7.41 How to install CD/DVD Burning Application (K3b)
bullet7.42 How to install Dialup PPP Client (GNOME PPP)
bullet7.43 How to install Broadband ADSL/PPPoE Client (RP-PPPoE)
bullet7.44 How to install Boot-Up Manager (BUM)
bullet7.45 How to install Partition Editor (GParted)
bullet7.46 How to install Firewall (Firestarter)
bullet7.47 How to install network traffic analyzer (Ethereal)
bullet7.48 How to install Vulnerability Scanner (Nessus)
bullet7.49 How to install RAR Archiver (rar)
bullet7.50 How to install Extra Fonts
bullet7.51 How to install Chinese Input Method (SCIM)
bullet7.52 How to install Desktop Applets (gDesklets)
bullet7.53 How to install Basic Compilers (build-essential)
bullet7.54 How to install Integrated Development Environment (Anjuta)
bullet7.55 How to install 3D modeling tool (Blender 3d)
bullet7.56 How to install game Tuxracer
bullet7.57 How to install game Frozen-Bubble
bullet7.58 How to install game Scorched3D
bullet7.59 How to install virtual planetarium (Stellarium)
bullet7.60 How to install KDE Edutainment applications
bullet8 Other Desktop Environments
bullet8.1 How to install KDE
bullet8.2 How to install XFCE
bullet9 Commercial Applications
bullet9.1 How to install Windows 9X/ME/2000/XP (Win4Lin)
bullet9.2 How to install Windows Applications (CrossOver Office)
bullet9.3 How to install Windows Games (Cedega)
bullet10 User Administration
bullet10.1 How to set/change/enable root user password
bullet10.2 How to disable root user account
bullet10.3 How to allow root user to login into GNOME
bullet10.4 How to switch to root user in Console mode
bullet10.5 How to add/edit/delete system users
bullet10.6 How to add/edit/delete system groups
bullet10.7 How to automatic login into GNOME (not secure)
bullet10.8 How to allow more sudoers
bullet10.9 How to use "sudo" without prompt for password (not secure)
bullet10.10 How to explicitly destroy the "sudo" session
bullet10.11 How to change files/folders permissions
bullet10.12 How to change files/folders ownership
bullet10.13 How to change files/folders group ownership
bullet11 Hardware
bullet11.1 How to install Graphics Driver (NVIDIA)
bullet11.2 How to load NVIDIA Settings in the background on GNOME Startup
bullet11.3 How to disable NVIDIA graphics logo on GNOME startup
bullet11.4 How to install Graphics Driver (ATI)
bullet11.5 How to identify Modem chipset
bullet11.6 How to install Modem Driver (SmartLink)
bullet11.7 How to configure PalmOS Devices
bullet11.8 How to list partition tables
bullet11.9 How to list filesystem disk space usage
bullet11.10 How to list mounted devices
bullet11.11 How to list PCI devices
bullet11.12 How to list USB devices
bullet11.13 How to speed up CD/DVD-ROM
bullet11.14 How to mount/unmount CD/DVD-ROM manually, and show all hidden and associated files/folders
bullet11.15 How to forcefully unmount CD/DVD-ROM manually
bullet11.16 How to remount /etc/fstab without rebooting
bullet12 CD/DVD Burning
bullet12.1 How to blank CD-RW/DVD-RW
bullet12.2 How to burn files/folders into CD/DVD
bullet12.3 How to burn Image (ISO) files into CD/DVD
bullet12.4 How to duplicate CD/DVD
bullet12.5 How to create Image (ISO) files from CD/DVD
bullet12.6 How to create Image (ISO) files from folders
bullet12.7 How to generate MD5 checksum files
bullet12.8 How to check MD5 checksum of files
bullet12.9 How to mount/unmount Image (ISO) files without burning
bullet12.10 How to set/change the burn speed for CD/DVD Burner
bullet12.11 How to enable burnproof for CD/DVD Burner
bullet12.12 How to enable overburn for CD/DVD Burner
bullet13 Networking
bullet13.1 How to configure Google Talk
bullet13.2 How to activate/deactivate network connections
bullet13.3 How to configure network connections
bullet13.4 How to configure dialup connections
bullet13.5 How to configure broadband connections
bullet13.6 How to change computer name
bullet13.7 How to change computer descriptions
bullet13.8 How to change computer Domain/Workgroup
bullet13.9 How to assign Hostname to local machine with dynamic IP using free DynDNS service
bullet13.10 How to share folders the easy way
bullet13.11 How to browse network computers
bullet13.12 How to access network folders without mounting
bullet13.13 How to mount/unmount network folders manually, and allow all users to read
bullet13.14 How to mount/unmount network folders manually, and allow all users to read/write
bullet13.15 How to mount network folders on boot-up, and allow all users to read
bullet13.16 How to mount network folders on boot-up, and allow all users to read/write
bullet13.17 How to get ipw2200 and wpa to work
bullet13.18 How to Configure and start PPTP tunnels (VPN)
bullet14 Remote Desktop
bullet14.1 How to configure remote desktop (not secure)
bullet14.2 How to connect into remote Ubuntu desktop
bullet14.3 How to connect into remote Ubuntu desktop via Windows machine
bullet15 Windows
bullet15.1 How to mount/unmount Windows partitions (NTFS) manually, and allow all users to read only
bullet15.2 How to mount/unmount Windows partitions (FAT) manually, and allow all users to read/write
bullet15.3 How to mount Windows partitions (NTFS) on boot-up, and allow all users to read only
bullet15.4 How to mount Windows partitions (FAT) on boot-up, and allow all users to read/write
bullet16 Security
bullet16.1 What are the basic things I need to know about securing my Ubuntu
bullet16.2 How to disable all interactive editing control for GRUB menu
bullet16.3 How to disable history listing in Console mode
bullet16.4 How to disable Ctrl-Alt-Del from restarting computer in Console mode
bullet16.5 How to enable prompt before removal/overwritten of files/folders in Console mode
bullet17 Rescue Mode
bullet17.1 How to gain root user access without login
bullet17.2 How to modify kernel boot-up arguments, to gain root user access
bullet17.3 How to use Ubuntu Installation CD, to gain root user access
bullet17.4 How to change root user/main user password if forgotten
bullet17.5 How to change GRUB menu password if forgotten
bullet17.6 How to restore GRUB menu after Windows installation
bullet17.7 How to add Windows entry into GRUB menu
bullet17.8 How to read Linux partitions (ext2, ext3) in Windows machine
bullet18 Tips & Tricks
bullet18.1 How to install .deb files via right click menu
bullet18.2 How to restart GNOME without rebooting computer
bullet18.3 How to turn on Num Lock on GNOME startup
bullet18.4 How to run programs on startup when login into GNOME
bullet18.5 How to switch to Console mode in GNOME
bullet18.6 How to disable Ctrl+Alt+Backspace from restarting X in GNOME
bullet18.7 How to enable Ctrl+Alt+Del to open System Monitor in GNOME
bullet18.8 How to refresh GNOME desktop
bullet18.9 How to refresh GNOME panel
bullet18.10 How to open each folder in the same window in Nautilus
bullet18.11 How to enable autosave in Gedit and disable creation of some_file~ files
bullet18.12 How to show all hidden files/folders in Nautilus
bullet18.13 How to browse files/folders as root user in Nautilus
bullet18.14 How to show Desktop Icons (Computer, Home, Trash)
bullet18.15 How to change default file type "Open with" program
bullet18.16 How to change preferred email client to Mozilla Thunderbird
bullet18.17 How to open files as root user via right click
bullet18.18 How to disable beep sound in Terminal mode
bullet18.19 How to load Web site faster in Mozilla Firefox
bullet18.20 How to disable beep sound for link find function in Mozilla Firefox
bullet18.21 How to apt-get the easy way (Synaptic)
bullet18.22 What packages do the extra repositories provide
bullet18.23 How to install/uninstall .deb files
bullet18.24 How to convert .rpm files to .deb files
bullet18.25 How to rename all files in directory at once
bullet18.26 How to manipulate all image files in directory at once
bullet18.27 How to set System-wide Environment Variables
bullet18.28 How to save "man" outputs into files
bullet18.29 How to hide GRUB menu on boot-up
bullet18.30 How to change the timeout seconds for GRUB menu on boot-up
bullet18.31 How to change default Operating System boot-up for GRUB menu
bullet18.32 How to display Splash Image for GRUB menu on boot-up
bullet18.33 How to convert Wallpaper to Splash Image for GRUB menu
bullet18.34 How to temporary skip boot-up services
bullet18.35 How to permanently disable/enable boot-up services
bullet18.36 How to clean /tmp/ folder contents on shutdown
bullet18.37 How to scroll up and down to view previous outputs in Console mode
bullet18.38 How to find out which version of Ubuntu I am using
bullet18.39 How to set up automatic background change (GNOME)
bullet18.40 How to set up automatic background change (KDE)
bullet18.41 How to add keyboard layouts for other languages
bullet18.42 How to add the Keyboard (Layout) Indicator applet
bullet18.43 How to type extended characters
bullet19 AntiVirus Server
bullet19.1 How to install ClamAV AntiVirus Server
bullet19.2 How to manually update virus databases
bullet19.3 How to manually scan files/folders for viruses
bullet19.4 How to automatically scan files/folders for viruses
bullet20 Samba Server
bullet20.1 How to install Samba Server for files/folders sharing service
bullet20.2 How to add/edit/delete network users
bullet20.3 How to share home folders with read only permission (Authentication=Yes)
bullet20.4 How to share home folders with read/write permissions (Authentication=Yes)
bullet20.5 How to share group folders with read only permission (Authentication=Yes)
bullet20.6 How to share group folders with read/write permissions (Authentication=Yes)
bullet20.7 How to share public folders with read only permission (Authentication=Yes)
bullet20.8 How to share public folders with read/write permissions (Authentication=Yes)
bullet20.9 How to share public folders with read only permission (Authentication=No)
bullet20.10 How to share public folders with read/write permissions (Authentication=No)
bullet21 SSH Server
bullet21.1 How to install SSH Server for remote administration service
bullet21.2 How to SSH into remote Ubuntu machine
bullet21.3 How to copy files/folders from remote Ubuntu machine into local machine (scp)
bullet21.4 How to copy files/folders from local machine into remote Ubuntu machine (scp)
bullet21.5 How to copy files/folders from remote Ubuntu machine into local machine (rsync)
bullet21.6 How to copy files/folders from local machine into remote Ubuntu machine (rsync)
bullet21.7 How to SSH into remote Ubuntu machine via Windows machine
bullet21.8 How to copy files/folders from/into remote Ubuntu machine via Windows machine
bullet21.9 How to limit the user accounts that can connect through ssh remotely
bullet22 DHCP Server
bullet22.1 How to install DHCP Server for automatic IP addresses assignment
bullet23 Database Server
bullet23.1 How to install MYSQL Database Server
bullet23.2 How to install MYSQL Administrator
bullet24 Apache HTTP Server
bullet24.1 How to install Apache HTTP Server for HTTP (Web) Server service
bullet24.2 How to install PHP for Apache HTTP Server
bullet24.3 How to install MYSQL for Apache HTTP Server
bullet24.4 How to map URLs to folders outside /var/www/
bullet24.5 How to change the default port number for Apache HTTP Server
bullet24.6 How to parse RSS into PHP for Apache HTTP Server
bullet25 FTP Server
bullet25.1 How to install FTP Server for File Transfer service
bullet25.2 How to configure FTP user to be "jailed" (chrooted) into their home directory
bullet25.3 How to configure FTP Server to allow anonymous FTP user to read only
bullet25.4 How to configure FTP Server to allow anonymous FTP user to read/write
bullet25.5 How to map anonymous FTP user to folders outside /home/ftp/
bullet25.6 How to change the default port number for FTP Server
bullet25.7 How to ftp into remote Ubuntu machine via Windows machine
bullet26 Streaming Media Server
bullet26.1 How to install GNUMP3d for Streaming Media Server service
bullet26.2 How to change the default directory containing multimedia files for GNUMP3d
bullet26.3 How to change the default port number for GNUMP3d
bullet27 Image Gallery Server
bullet27.1 How to install Gallery for Image Gallery Server service
bullet27.2 How to configure Gallery to be accessible via Internet (Hostname or fix IP) or LAN (fix IP)
bullet27.3 How to configure Gallery to be accessible via LAN (dynamic IP)
bullet27.4 How to backup/restore Gallery data
bullet28 Subversion Server
bullet28.1 How to install Subersion client/server
bullet28.2 How to server Subversion through Apache
bullet29 Troubleshooting
bullet29.1 Configuring network interfaces... (taking too long to load)
bullet29.2 Synchronizing clock to ntp.ubuntulinux.org... (taking too long to load)
bullet29.3 How to disable system time/date from being reset to UTC (GMT)
bullet29.4 How to configure sound to work properly in GNOME
bullet29.5 How to forcefully empty Trash in GNOME
bullet29.6 How to remove duplicate menu/menu items in GNOME
bullet29.7 How to refresh Places menu in GNOME (if mounts to /media/ in /etc/fstab does not show up)
bullet30 Upgrading Ubuntu
bullet30.1 How to upgrade from Breezy Badger to Dapper Drake (experimental)
bullet31 Removed Topics


General Notes


  1. This is an Unofficial Ubuntu 5.10 (Breezy Badger) Starter Guide. It is not associated with Ubuntu and Canonical Ltd.
  2. Guide is tested on a full installation of the Ubuntu 5.10 x86 Install CD (Breezy Badger)
  3. If you see a bluish box, this means you have to execute the commands in Terminal mode (Applications -> System Tools -> Terminal) or use the content of that box as mentioned in some other instructions.
  4. To reduce typo mistakes, copy and paste the commands into Terminal mode (right click on the commands -> "Copy" or "Paste". You can also use Ctrl+C to copy and Shift+Insert to paste it)
  5. "sudo" means superuser do. "sudo" will prompt for "Password:". Please specify user password
  6. If you want more information about any command, simply look at the manual page for it using the "man" command. For example, "man sudo" will display the manual page for the "sudo" command.
  7. If you are tired of typing "apt-get" all the time, Read #How to apt-get the easy way (Synaptic)
  8. "apt-get" and "wget" requires Internet connection to install/update/download programs
  9. To download file, right click on the link -> Select "Save Link As..." -> Make sure file name and extension are correct
  10. If you wish to help translating Ubuntu to your native language or to help Ubuntu otherwise visit https://launchpad.net/
  11. May the "humanity to others" spirit be with you always...


If you are using Kubuntu you need to install Gedit
sudo apt-get install gedit
Or replace 'gedit' with 'kwrite', for example, instead of writing
 sudo gedit /etc/apt/sources.list
Write
 sudo kwrite /etc/apt/sources.list
If you are using 64-bit version replace "i386" with "amd64"

Getting Started

What is Ubuntu

bullethttp://www.ubuntulinux.org/ubuntu

Where to view Ubuntu screenshots

bullethttp://shots.osdir.com/slideshows/slideshow.php?release=469&slide=3

Where to find a list of all the programs/libraries that comes with Ubuntu

bulletResult of dpkg -l: Here
bullethttp://packages.ubuntu.com/breezy
bullethttp://distrowatch.com/table.php?distribution=ubuntu

Where to download Ubuntu

bullethttp://www.ubuntulinux.org/download

Where to order Ubuntu CDs for absolutely FREE

bullethttp://shipit.ubuntulinux.org

Where to find help for Ubuntu

bulletSee: System -> Help
bulletOfficial Documentation website
bulletOfficial User Documentation (wiki)
bulletUbuntu Document Storage Facility
bulletMailing Lists
bulletWeb Forums
bulletIRC Channel

Where to look for new programs

bullet http://gnomefiles.org/
bullet http://www.kde-apps.org/
bullet http://freshmeat.net
bullet http://sourceforge.net/

Where to look for style elements for your desktop

bullet http://gnome-look.org/
bullet http://art.gnome.org/

Repositories

How to add extra repositories

bulletRead #General Notes
bulletYou can also add extra repositories using the Synaptic Package Manager. New users may find it more user-friendly to add extra repositories through the Package Manager. If you follow the link above, you do not have follow the rest of this tip.
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
bulletReplace everything with the following lines
## Add comments (##) in front of any line to remove it from being checked.   
## Use the following sources.list at your own risk.  
## You may replace "us" with your country code to get the closest mirror.

deb http://us.archive.ubuntu.com/ubuntu breezy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted

## MAJOR BUG FIX UPDATES produced after the final release
deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe

## UNIVERSE AND MULTIVERSE REPOSITORY (Unsupported by Ubuntu.  Use at own risk.)
deb http://archive.ubuntu.com/ubuntu breezy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu breezy universe multiverse

## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
deb http://packages.freecontrib.org/ubuntu/plf breezy free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf breezy free non-free 
bulletSave the edited file
sudo apt-get update
bullet You may also generate your own sources.list: http://www.ubuntulinux.nl/source-o-matic
Use your own sources.list file only if you understand what you're doing

Ubuntu Updates

How to manually update Ubuntu

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get update
sudo apt-get upgrade

Installing additional software (Automatix)

bullet This is a graphical interface for installation of a lot of apps on Ubuntu/Kubuntu/Xubuntu BREEZY and DAPPER (DOES NOT WORK ON Warty or Hoary).
bullet Automatix will help you to install Multimedia codecs; all Firefox plugins (java, flash, etc); RAR, ACE and UNRAR archive support; skype; Acrobat reader 7; Gnomebaker; gftp; DC++ and amule; Frostwire; Audacity; Kino; EasyTag; Mplayer; totem-xine; VLC; Beep Media Player; Opera; Bittornado; Azureus; Enables Numlock on; Programming Tools (Anjuta (C/C++ IDE), Bluefish (HTML editor), (Web Dev)); GnomePPP; MS true type fonts; Streamtuner; NON-FREE audio and dvd codecs; ndisgtk (WiFi configurator Graphical user interface); SUN'S JAVA JRE v1.5; SUN'S JAVA JDK v1.5; wine; gdesklets; Detect Nvidia cards and install drivers and do some other usefull thinks.
bullet For more info see: GetAutomatix.com
bullet If you are in The United States of America DO NOT install NON-FREE audio and dvd codecs. IT IS ILLEGAL TO DO SO.

How to get Automatix

bullet Read #General Notes
bullet Read #How to add extra repositories
bullet To install Automatix in Ubuntu
sudo apt-get install xterm
wget http://beerorkid.com/automatix/automatix_5.8-3_i386.deb
sudo dpkg -i automatix_5.8-3_i386.deb
Applications -> System Tools -> Automatix
bullet To install Automatix in Kubuntu/Xubuntu
sudo apt-get install xterm libglade2-0 libgnomecanvas2-0
wget http://kambing.vlsm.org/ubuntu/pool/main/z/zenity/zenity_2.12.1-0ubuntu1_i386.deb
sudo dpkg -i zenity_2.12.1-0ubuntu1_i386.deb
wget http://beerorkid.com/automatix/automatix_5.8-3_i386.deb
sudo dpkg -i automatix_5.8-3_i386.deb
Main Menu -> System -> Automatix

Add-On Applications

How to install Menu Editor for GNOME

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install smeg
bulletRead #How to refresh GNOME panel
bulletApplications -> System Tools -> Smeg Menu Editor

How to install Clipboard Daemon for GNOME

bulletRead #General Notes
wget -c http://easylinux.info/uploads/gnome-clipboard-daemon-1.0.bin.tar.bz2
sudo tar jxvf gnome-clipboard-daemon-1.0.bin.tar.bz2 -C /usr/bin/
sudo chown root:root /usr/bin/gnome-clipboard-daemon
sudo chmod 755 /usr/bin/gnome-clipboard-daemon
sudo gnome-clipboard-daemon &
export EDITOR=gedit && crontab -e
bulletAdd the following line at the end of file
@reboot gnome-clipboard-daemon
bulletSave the edited file

How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install sun-j2re1.5
echo 3 | sudo update-alternatives --config java
bulletRestart Mozilla Firefox

How to install Flash Player (Macromedia Flash) Plug-in for Mozilla Firefox

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install flashplayer-mozilla
bulletRestart Mozilla Firefox

How to install PDF Reader (Adobe Reader) with Plug-in for Mozilla Firefox

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install acroread
sudo apt-get install mozilla-acroread
sudo apt-get install acroread-plugins
bulletRead #How to refresh GNOME panel
bulletApplications -> Office -> Adobe Reader
bulletRestart Mozilla Firefox

How to install Download Manager (Downloader for X)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install d4x
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> Downloader for X

How to install FTP Client (gFTP)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install gftp
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> gFTP

How to install File share utility (DC++)

bulletRead #General Notes
wget -c http://easylinux.info/uploads/linuxdcpp.tar.gz 
sudo tar zxvf linuxdcpp.tar.gz -C /opt
sudo gedit /usr/share/applications/dcpp.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Encoding=UTF-8
Name=DC++
Exec=/opt/linuxdcpp/ldcpp
Terminal=false
Type=Application
StartupNotify=true
Icon=/opt/linuxdcpp/pixmaps/linuxdcpp.svg
Categories=Application;Network;
bulletSave the edited file
bulletApplications -> Internet -> DC++

How to install P2P BitTorrent Client (Azureus)

bulletRead #General Notes
bulletRead #How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox
wget -c http://kent.dl.sourceforge.net/sourceforge/azureus/Azureus_2.4.0.2_linux.tar.bz2
sudo tar jxvf Azureus_2.4.0.2_linux.tar.bz2 -C /opt
sudo gedit /usr/share/applications/azureus.desktop 
bulletAdd the following to the new file:
[Desktop Entry] 
Name=Azureus
Comment=A Bittorrent client
Exec=/opt/azureus/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;
bulletSave the edited file
bulletApplications -> Internet -> Azureus

How to install P2P eMule Client (aMule)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install amule
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> aMule

How to install P2P Gnutella Client (LimeWire)

bulletRead #General Notes
bulletRead #How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox
wget -c http://easylinux.info/uploads/LimeWireOther.zip
sudo unzip -u LimeWireOther.zip -d /opt/
sudo chown -R root:root /opt/LimeWire/
sudo gedit /usr/bin/runLime.sh
bulletInsert the following lines into the new file
cd /opt/LimeWire/
./runLime.sh
bulletSave the edited file
sudo chmod +x /usr/bin/runLime.sh
sudo gedit /usr/share/applications/LimeWire.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=LimeWire
Comment=LimeWire
Exec=runLime.sh
Icon=/opt/LimeWire/LimeWire.ico
Terminal=false
Type=Application
Categories=Application;Network;
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> LimeWire

How to install Messenger (Skype)

bulletRead #General Notes
wget -c http://download.skype.com/linux/skype_staticQT-1.2.0.18.tar.bz2
sudo tar jxvf skype_staticQT-1.2.0.18.tar.bz2 -C /opt/
sudo ln -s /opt/skype-1.2.0.18/skype /usr/bin/skype
sudo cp /opt/skype-1.2.0.18/skype.desktop /usr/share/applications/skype.desktop
sudo cp /opt/skype-1.2.0.18/icons/skype_32_32.png /usr/share/icons/hicolor/32x32/apps/skype.png
rm skype_staticQT-1.2.0.18.tar.bz2
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> Skype

How to install WinPopup (LinPopUp)

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Samba Server for files/folders sharing service
sudo apt-get install linpopup
sudo gedit /usr/share/applications/linpopup.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=LinPopUp
Comment=LinPopUp
Exec=linpopup
Icon=/usr/share/pixmaps/linpopup.xpm
Terminal=false
Type=Application
Categories=Application;Utility;
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> Accessories -> LinPopUp

How to install Multimedia Codecs

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install gstreamer0.8-plugins
sudo apt-get install gstreamer0.8-lame
sudo apt-get install gstreamer0.8-ffmpeg
sudo apt-get install lame
sudo apt-get install sox
sudo apt-get install ffmpeg
sudo apt-get install mjpegtools
sudo apt-get install vorbis-tools
sudo apt-get install w32codecs
gst-register-0.8

How to install DVD playback capability

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install libdvdcss2

How to install Multimedia Player (xine-ui)

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Multimedia Codecs
bulletRead #How to install DVD playback capability
sudo apt-get install xine-ui
bulletAssociate xine-ui to play multimedia files
gconftool-2 --type string --set /desktop/gnome/volume_manager/autoplay_dvd_command "xine dvd://"
sudo rm -f /usr/share/applnk/Multimedia/xine.desktop
sudo ln -fs /usr/share/xine/desktop/xine.desktop /usr/share/applications/
sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list_backup
sudo sed -e 's/totem.desktop/xine.desktop/g' /usr/share/applications/defaults.list_backup > /tmp/defaults.list
sudo mv /tmp/defaults.list /usr/share/applications/defaults.list
bulletRead #How to refresh GNOME panel
bulletRead #How to refresh GNOME desktop
bulletApplications -> Sound & Video -> xine

How to install Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Multimedia Codecs
bulletRead #How to install DVD playback capability
sudo apt-get install mplayer-386
sudo apt-get install mplayer-fonts
sudo apt-get install mozilla-mplayer
sudo cp /etc/mplayer/mplayer.conf /etc/mplayer/mplayer.conf_backup
sudo gedit /etc/mplayer/mplayer.conf
bulletFind this line
...
vo=x11,         # To specify default video driver (see -vo help for
...
bulletReplace with the following line
vo=xv,         # To specify default video driver (see -vo help for
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> Sound & Video -> MPlayer
bulletRestart Mozilla Firefox

How to install VLC Multimedia player

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Multimedia Codecs
sudo apt-get install vlc
sudo apt-get install vlc-plugin-*

How to install Multimedia Player (XMMS)

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Multimedia Codecs
sudo apt-get install xmms
sudo apt-get install xmms-skins
wget -c http://easylinux.info/uploads/xmms-wma_1.0.4-2_i386.deb
sudo dpkg -i xmms-wma_1.0.4-2_i386.deb
bulletAssociate XMMS to play MP3/M3U/WAV files
sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list_backup
sudo cp /usr/share/applications/defaults.list /tmp/defaults.list_tmp
sudo sed -e 's/audio\/mpeg=.*/audio\/mpeg=XMMS.desktop/g' /tmp/defaults.list_tmp > /tmp/defaults.mp3
sudo sed -e 's/audio\/x-mpegurl=.*/audio\/x-mpegurl=XMMS.desktop/g' /tmp/defaults.mp3 > /tmp/defaults.m3u
sudo sed -e 's/audio\/x-wav=.*/audio\/x-wav=XMMS.desktop/g' /tmp/defaults.m3u > /tmp/defaults.list
sudo mv /tmp/defaults.list /usr/share/applications/defaults.list
sudo rm -f /tmp/defaults.*
bulletRead #How to refresh GNOME panel
bulletRead #How to refresh GNOME desktop
bulletApplications -> Sound & Video -> XMMS

How to install Multimedia Player (amaroK)

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Multimedia Codecs
sudo apt-get install amarok
bulletApplications -> Sound & Video -> amaroK

How to install Multimedia Player (RealPlayer 10)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install realplay
Note: 'realplay' installs RealPlayer 10 from PLF repo. 'realplayer' installs RealPlayer 8 from multiverse.
bulletRead #How to refresh GNOME panel
bulletApplications -> Sound & Video -> RealPlayer 10

How to install Stream Directory Browser (streamtuner)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install streamtuner
sudo apt-get install streamripper
bulletRead #How to refresh GNOME panel
bulletApplications -> Sound & Video -> streamtuner

How to install Music Organizer (Cowbell)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install cowbell
bulletApplications -> Sound & Video -> Cowbell Music Organizer

How to install ID3 Tag Editor (EasyTAG)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install easytag
bulletRead #How to refresh GNOME panel
bulletApplications -> Sound & Video -> EasyTAG

How to install Video Editor (Kino)

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Multimedia Codecs
sudo apt-get install kino
sudo apt-get install kinoplus
sudo apt-get install kino-timfx
sudo apt-get install kino-dvtitler
bulletRead #How to refresh GNOME panel
bulletApplications -> Sound & Video -> Kino Video Editor

How to install Audio Editor (Audacity)

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Multimedia Codecs
sudo apt-get install audacity
bulletRead #How to refresh GNOME panel
bulletApplications -> Sound & Video -> Audacity

How to install DVD Ripper (dvd::rip)

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Multimedia Codecs
bulletRead #How to install DVD playback capability
bulletRead #How to install Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox
bulletRead #How to install RAR Archiver (rar)
sudo apt-get install dvdrip
sudo apt-get install vcdimager
sudo apt-get install cdrdao
sudo apt-get install subtitleripper
sudo ln -fs /usr/bin/rar /usr/bin/rar-2.80
sudo gedit /usr/share/applications/dvdrip.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=dvd::rip 
Comment=dvd::rip
Exec=dvdrip
Icon=/usr/share/perl5/Video/DVDRip/icon.xpm
Terminal=false
Type=Application
Categories=Application;AudioVideo;
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> Sound & Video -> dvd::rip

How to install CD Ripper (Goobox)

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Multimedia Codecs
sudo apt-get install goobox
sudo rm -f /usr/share/applications/goobox.desktop
sudo gedit /usr/share/applications/goobox.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=CD Player & Ripper
Comment=Play and extract CDs
Exec=goobox
Icon=goobox.png
Terminal=false
Type=Application
Categories=Application;AudioVideo;
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> Sound & Video -> CD Player & Ripper

How to install Image Viewer (digiKam)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install digikam
bulletApplications -> Graphics -> digikam

How to install Email Client (Mozilla Thunderbird)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install mozilla-thunderbird
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> Thunderbird Mail Client

How to install Newsreader (Pan)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install pan
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> Pan Newsreader

How to install RSS/RDF/Atom Newsreader (RSSOwl)

bulletRead #General Notes
bulletRead #How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox
wget -c http://easylinux.info/uploads/rssowl_linux_1_1_3_bin.tar.gz
sudo tar zxvf rssowl_linux_1_1_3_bin.tar.gz -C /opt/
sudo chown -R root:root /opt/rssowl_linux_1_1_3_bin/
sudo gedit /usr/bin/runRSSOwl.sh
bulletInsert the following lines into the new file
export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}
cd /opt/rssowl_linux_1_1_3_bin/
./run.sh
bulletSave the edited file
sudo chmod +x /usr/bin/runRSSOwl.sh
sudo gedit /usr/share/applications/RSSOwl.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=RSSOwl
Comment=RSSOwl
Exec=runRSSOwl.sh
Icon=/opt/rssowl_linux_1_1_3_bin/rssowl.xpm
Terminal=false
Type=Application
Categories=Application;Network;
bulletSave the edited file
bulletApplications -> Internet -> RSSOwl

How to install Web Authoring System (Nvu)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install nvu
sudo rm -f /usr/share/applications/nvu.desktop
sudo gedit /usr/share/applications/nvu.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=Nvu
Comment=Web Development Editor
Exec=nvu
Icon=nvu.xpm
Terminal=false
Type=Application
Categories=Application;Network;
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> Nvu

How to install Web Development Environment (quanta plus)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install quanta
bulletApplications -> Programming -> Quanta Plus

How to install Project Management Application (Planner)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install planner
bulletRead #How to refresh GNOME panel
bulletApplications -> Office -> Project Management

How to install Accounting Application (GnuCash)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install gnucash
sudo rm -fr /usr/share/gnome/apps/Applications/
sudo gedit /usr/share/applications/GnuCash.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=GnuCash
Comment=GnuCash Personal Finance
Exec=gnucash
Icon=/usr/share/pixmaps/gnucash/gnucash-icon.png
Terminal=false
Type=Application
Categories=Application;Office;
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> Office -> GnuCash

How to install Desktop Publishing Application (Scribus)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install scribus
bulletRead #How to refresh GNOME panel
bulletApplications -> Office -> Scribus

How to install Diagram Editor (Dia)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install dia-gnome
bulletRead #How to refresh GNOME panel
bulletApplications -> Graphics -> Dia

How to install Compiled HTML Help (CHM) Viewer (xCHM)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install xchm
bulletRead #How to refresh GNOME panel
bulletApplications -> Graphics -> xCHM

How to install CD/DVD Burning Application (GnomeBaker)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install gnomebaker
bulletRead #How to refresh GNOME panel
bulletApplications -> Accessories -> GnomeBaker CD/DVD Creator

How to install CD/DVD Burning Application (K3b)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install k3b k3b-mp3
bulletApplications -> Sound & Video -> K3b

How to install Dialup PPP Client (GNOME PPP)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install gnome-ppp
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> GNOME PPP

How to install Broadband ADSL/PPPoE Client (RP-PPPoE)

bulletRead #General Notes
bulletRead #How to install Basic Compilers (build-essential)
wget -c http://easylinux.info/uploads/rp-pppoe-3.6.tar.gz
sudo tar zxvf rp-pppoe-3.6.tar.gz -C /opt/
sudo chown -R root:root /opt/rp-pppoe-3.6/
sudo gedit /usr/share/applications/RP-PPPoE.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=RP-PPPoE
Comment=RP-PPPoE
Exec=gksudo /opt/rp-pppoe-3.6/go-gui
Icon=
Terminal=false
Type=Application
Categories=Application;Network;
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> Internet -> RP-PPPoE

How to install Boot-Up Manager (BUM)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install bum
bulletRead #How to refresh GNOME panel
bulletSystem -> Administration -> Boot-Up Manager

How to install Partition Editor (GParted)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install gparted
bulletRead #How to refresh GNOME panel
bulletApplications -> System Tools -> GParted

How to install Firewall (Firestarter)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install firestarter
bulletRead #How to refresh GNOME panel
bulletApplications -> System Tools -> Firestarter

How to install network traffic analyzer (Ethereal)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install ethereal
bulletApplications -> Internet -> Ethereal

How to install Vulnerability Scanner (Nessus)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install nessus
sudo apt-get install nessusd
sudo nessus-adduser
sudo ln -fs /etc/init.d/nessusd /etc/rc2.d/S20nessusd
sudo /etc/init.d/nessusd start
sudo gedit /usr/share/applications/Nessus.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=Nessus
Comment=Nessus
Exec=nessus
Icon=/usr/share/pixmaps/nessus.xpm
Terminal=false
Type=Application
Categories=Application;System;
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> System Tools -> Nessus

How to install RAR Archiver (rar)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install rar
sudo ln -fs /usr/bin/rar /usr/bin/unrar
bulletApplications -> Accessories -> Archive Manager

How to install Extra Fonts

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install xfonts-intl-arabic
sudo apt-get install xfonts-intl-asian
sudo apt-get install xfonts-intl-chinese
sudo apt-get install xfonts-intl-chinese-big
sudo apt-get install xfonts-intl-european
sudo apt-get install xfonts-intl-japanese
sudo apt-get install xfonts-intl-japanese-big
sudo apt-get install xfonts-intl-phonetic
sudo apt-get install gsfonts-x11
sudo apt-get install msttcorefonts
sudo fc-cache -f -v
bulletSave the edited file
bulletRead #How to restart GNOME without rebooting computer

How to install Chinese Input Method (SCIM)

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRead #How to install Extra Fonts
sudo apt-get install scim
sudo apt-get install scim-chinese
sudo apt-get install scim-config-socket
sudo apt-get install scim-gtk2-immodule
sudo apt-get install scim-tables-zh
wget -c http://easylinux.info/uploads/fireflysung-1.3.0.tar.gz
sudo tar zxvf fireflysung-1.3.0.tar.gz -C /usr/share/fonts/truetype/
sudo chown -R root:root /usr/share/fonts/truetype/fireflysung-1.3.0/ 
sudo fc-cache -f -v
bulletSystem -> Preferences -> SCIM Input Method Setup
bulletTo activate SCIM
Press 'Ctrl + Space'

How to install Desktop Applets (gDesklets)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install gdesklets
sudo apt-get install gdesklets-data
bulletRead #How to refresh GNOME panel
bulletApplications -> Accessories -> gDesklets
bulletFor more info see: http://gdesklets.gnomedesktop.org/

How to install Basic Compilers (build-essential)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install build-essential

How to install Integrated Development Environment (Anjuta)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install anjuta
bulletApplications -> Programming -> Anjuta IDE

How to install 3D modeling tool (Blender 3d)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install blender
bulletApplications -> Graphics -> Blender 3D modeller

How to install game Tuxracer

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install planetpenguin-racer planetpenguin-racer-data planetpenguin-racer-extras
bulletApplications -> Games -> planetpenguin-racer

How to install game Frozen-Bubble

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install frozen-bubble
bulletApplications -> Games -> Frozen-Bubble

How to install game Scorched3D

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install scorched3d
sudo gedit /usr/share/applications/scorched3d.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=Scorched 3D
Comment=A 3D Remake Of Scorched Earth
Exec=scorched3d
Icon=
Terminal=false
Type=Application
Categories=Application;Game;ArcadeGame;
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletApplications -> Games -> Scorched 3D

How to install virtual planetarium (Stellarium)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install stellarium
sudo gedit /usr/share/applications/stellarium.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=Stellarium
Comment=Virtual planetarium
Exec=stellarium
Terminal=false
Type=Application
Categories=Application;Education;
bulletApplications -> Education -> Stellarium

How to install KDE Edutainment applications

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install kdeedu
bulletApplications -> Education -> ...

Other Desktop Environments

How to install KDE

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletYou may also look at some KDE Screenshots
sudo apt-get install kubuntu-desktop
Note: This installation will require ~400MB of disk space
bulletSystem -> Log Out -> Log Out
bulletTo log in to KDE click on Sessions and choose KDE

How to install XFCE

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletYou may also look at some XFCE Screenshots
sudo apt-get install xubuntu-desktop
bulletSystem -> Log Out -> Log Out
bulletTo log in to XFCE click on Sessions and choose XFCE

Commercial Applications

How to install Windows 9X/ME/2000/XP (Win4Lin)

bullethttp://www.win4lin.com

How to install Windows Applications (CrossOver Office)

bullethttp://www.codeweavers.com

How to install Windows Games (Cedega)

bullethttp://www.transgaming.com

User Administration

How to set/change/enable root user password

bulletRead #General Notes
sudo passwd root

How to disable root user account

bulletRead #General Notes
sudo passwd -l root

How to allow root user to login into GNOME

bulletRead #General Notes
bulletRead #How to set/change/enable root user password
bulletSystem -> Administration -> Login Screen Setup
bulletLogin Screen Setup
Security Tab -> Options -> Allow root to login with GDM (Checked)

How to switch to root user in Console mode

bulletRead #General Notes
sudo -s -H
Password: <specify user password>

How to add/edit/delete system users

bulletRead #General Notes
bulletSystem -> Administration -> Users and Groups
bulletUsers and Groups
Users Tab -> Add User.../Properties/Delete
or
sudo useradd jim
sudo userdel jim
bulletFor more info read
man usermod

How to add/edit/delete system groups

bulletRead #General Notes
bulletSystem -> Administration -> Users and Groups
bulletUsers and Groups
Groups Tab -> Add Group.../Properties/Delete

How to automatic login into GNOME (not secure)

bulletRead #General Notes
bulletSystem -> Administration -> Login Screen Setup
bulletLogin Screen Setup
General Tab -> Automatic Login ->
Login a user automatically on first bootup (Checked)
Automatic login username: Select "system_username"

How to allow more sudoers

bulletRead #General Notes
export EDITOR=gedit && sudo visudo
bulletAppend the following line at the end of file
system_username	ALL=(ALL) ALL
bulletSave the edited file

How to use "sudo" without prompt for password (not secure)

bulletRead #General Notes
export EDITOR=gedit && sudo visudo
bulletFind this line
...
system_username	ALL=(ALL) ALL
...
bulletReplace with the following line
system_username	ALL=(ALL) NOPASSWD: ALL
bulletSave the edited file

How to explicitly destroy the "sudo" session

bulletRead #General Notes
sudo -K

How to change files/folders permissions

bulletRead #General Notes
Right click on files/folders -> Properties
Permissions Tab -> Read/Write/Execute (Checked the permissions for Owner/Group/Others)

How to change files/folders ownership

bulletRead #General Notes
sudo chown system_username /location_of_files_or_folders

How to change files/folders group ownership

bulletRead #General Notes
sudo chgrp system_groupname /location_of_files_or_folders

Hardware

How to install Graphics Driver (NVIDIA)

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install nvidia-glx
sudo apt-get install nvidia-settings
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo nvidia-glx-config enable
sudo gedit /usr/share/applications/NVIDIA-Settings.desktop
bulletInsert the following lines into the new file
[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;
bulletSave the edited file
bulletRead #How to restart GNOME without rebooting computer
bulletApplications -> System Tools -> NVIDIA Settings

How to load NVIDIA Settings in the background on GNOME Startup

bulletRead #General Notes
bulletRead #How to install Graphics Driver (NVIDIA)
bulletSystem -> Preferences -> Sessions
bulletClick on the Startup Programs tab
bulletClick on +ADD
bulletEnter this line in the Startup Command field
nvidia-settings --load-config-only
bulletAssign Order no. one higher than the last entry (if any) in Startup Programs. (Default is 50)
bulletRead #How to restart GNOME without rebooting computer

How to disable NVIDIA graphics logo on GNOME startup

bulletRead #General Notes
bulletRead #How to install Graphics Driver (NVIDIA)
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo gedit /etc/X11/xorg.conf
bulletFind this section
...
Section "Device"
	Identifier	"NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
...
bulletAdd the following line below it
   Option		"NoLogo"
bulletSave the edited file
bulletRead #How to restart GNOME without rebooting computer

How to install Graphics Driver (ATI)

bulletSee Unofficial ATI Linux driver wiki
bulletOr Ubuntuforums.org

How to identify Modem chipset

bulletRead #General Notes
bulletTo install Modem chipset identifier
bulletRead #How to install Basic Compilers (build-essential)
wget -c http://easylinux.info/uploads/scanModem.gz
gunzip -c scanModem.gz > scanModem
chmod +x scanModem
sudo cp scanModem /usr/bin/
bulletTo identify Modem chipset
sudo scanModem
gedit Modem/ModemData.txt

How to install Modem Driver (SmartLink)

bulletRead #General Notes
bulletRead #How to add extra repositories
uname -r (must be 2.6.10-5-386)
wget -c http://easylinux.info/uploads/sl-modem-modules-2.6.10-5-386_2.9.9a-1ubuntu2+2.6.10-34_i386.deb
sudo dpkg -i sl-modem-modules-*.deb
sudo apt-get install sl-modem-daemon

How to configure PalmOS Devices

bulletRead #General Notes
sudo gedit /etc/udev/rules.d/10-custom.rules
bulletInsert the following line into the new file
BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL="ttyUSB*", NAME{ignore_remove}="pilot", MODE="666"
bulletSave the edited file
bulletSystem -> Preferences -> PalmOS Devices
bulletFollow the instructions on screen

How to list partition tables

bulletRead #General Notes
sudo fdisk -l
bulletYou can also use System -> Administration -> Disks

How to list filesystem disk space usage

bulletRead #General Notes
df -T -h
bulletYou can also use System -> Administration -> Disks

How to list mounted devices

bulletRead #General Notes
mount

How to list PCI devices

bulletRead #General Notes
lspci

How to list USB devices

bulletRead #General Notes
lsusb

How to speed up CD/DVD-ROM

bulletRead #General Notes
e.g. Assumed that /dev/cdrom is the location of CD/DVD-ROM
sudo hdparm -d1 /dev/cdrom
sudo cp /etc/hdparm.conf /etc/hdparm.conf_backup
sudo gedit /etc/hdparm.conf
bulletAppend the following lines at the end of file
/dev/cdrom {
    dma = on
}
bulletSave the edited file

How to mount/unmount CD/DVD-ROM manually, and show all hidden and associated files/folders

bulletRead #General Notes
e.g. Assumed that /media/cdrom0/ is the location of CD/DVD-ROM
bulletTo mount CD/DVD-ROM
sudo mount /media/cdrom0/ -o unhide
bulletTo unmount CD/DVD-ROM
sudo umount /media/cdrom0/

How to forcefully unmount CD/DVD-ROM manually

bulletRead #General Notes
e.g. Assumed that /media/cdrom0/ is the location of CD/DVD-ROM
sudo umount /media/cdrom0/ -l

How to remount /etc/fstab without rebooting

bulletRead #General Notes
sudo mount -a


CD/DVD Burning

How to blank CD-RW/DVD-RW

bulletRead #General Notes
e.g. Assumed that /dev/cdrom is the location of CD/DVD-ROM
sudo umount /dev/cdrom
cdrecord dev=/dev/cdrom blank=fast

How to burn files/folders into CD/DVD

bulletRead #General Notes
nautilus burn:///
bulletFile Browser: CD/DVD Creator
bulletDrag files/folders into window
File Menu -> Write to Disc... -> Write

How to burn Image (ISO) files into CD/DVD

bulletRead #General Notes
Right click on Image (ISO) file -> Write to Disc... -> Write

How to duplicate CD/DVD

bulletRead #General Notes
bulletRead #How to create Image (ISO) files from CD/DVD
bulletRead #How to burn Image (ISO) files into CD/DVD

How to create Image (ISO) files from CD/DVD

bulletRead #General Notes
e.g. Assumed that /dev/cdrom is the location of CD/DVD-ROM
sudo umount /dev/cdrom
dd if=/dev/cdrom of=file.iso bs=1024

How to create Image (ISO) files from folders

bulletRead #General Notes
mkisofs -o file.iso /location_of_folder/

How to generate MD5 checksum files

bulletRead #General Notes
md5sum file.iso > file.iso.md5

How to check MD5 checksum of files

bulletRead #General Notes
e.g. Assumed that file.iso and file.iso.md5 are in the same folder
md5sum -c file.iso.md5

How to mount/unmount Image (ISO) files without burning

bulletRead #General Notes
bulletTo mount Image (ISO) file
sudo mkdir /media/iso
sudo modprobe loop
sudo mount file.iso /media/iso/ -t iso9660 -o loop
bulletTo unmount Image (ISO) file
sudo umount /media/iso/

How to set/change the burn speed for CD/DVD Burner

bulletRead #General Notes
bulletApplications -> System Tools -> Configuration Editor
bulletConfiguration Editor
/ -> apps -> nautilus-cd-burner -> default_speed (set/change the burn speed)

How to enable burnproof for CD/DVD Burner

bulletRead #General Notes
bulletApplications -> System Tools -> Configuration Editor
bulletConfiguration Editor
/ -> apps -> nautilus-cd-burner -> burnproof (Checked)

How to enable overburn for CD/DVD Burner

bulletRead #General Notes
bulletApplications -> System Tools -> Configuration Editor
bulletConfiguration Editor
/ -> apps -> nautilus-cd-burner -> overburn (Checked)

Networking

How to configure Google Talk

bulletSee the answer at Google Talk Help Center

How to activate/deactivate network connections

bulletRead #General Notes
bulletSystem -> Administration -> Networking
bulletNetwork settings
Connections Tab -> Select "Ethernet connection" -> Activate/Deactivate

How to configure network connections

bulletRead #General Notes
bulletSystem -> Administration -> Networking
bulletNetwork settings
Connections Tab -> Select "Ethernet connection" -> Properties
Connection -> Enable this connection (Checked)
Connection Settings -> Configuration: Select "DHCP/Static IP address"
DNS Tab -> DNS Servers -> Add/Delete
bulletRead #How to activate/deactivate network connections

How to configure dialup connections

bulletRead #General Notes
bulletTo configure dialup
sudo pppconfig
bulletTo connect dialup
sudo pon provider_name
bulletTo disconnect dialup
sudo poff

How to configure broadband connections

bulletRead #General Notes
sudo pppoeconf

How to change computer name

bulletRead #General Notes
bulletSystem -> Administration -> Networking
bulletNetwork settings
General Tab -> Host Settings -> Hostname: Specify the computer name 
bulletSave and close all opened applications, Reboot computer

How to change computer descriptions

bulletRead #General Notes
bulletRead #How to install Samba Server for files/folders sharing service
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo gedit /etc/samba/smb.conf
bulletFind this line
...
  server string = %h server (Samba, Ubuntu)
...
bulletReplace with the following line
  server string = new_computer_descriptions
bulletSave the edited file
sudo testparm
sudo /etc/init.d/samba restart

How to change computer Domain/Workgroup

bulletRead #General Notes
bulletRead #How to install Samba Server for files/folders sharing service
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo gedit /etc/samba/smb.conf
bulletFind this line
...
  workgroup = MSHOME
...
bulletReplace with the following line
  workgroup = new_domain_or_workgroup
bulletSave the edited file
sudo testparm
sudo /etc/init.d/samba restart

How to assign Hostname to local machine with dynamic IP using free DynDNS service

bulletRead #General Notes
bulletRead #How to add extra repositories
bulletRegister free Dynamic DNS at http://www.dyndns.com/services/dns/dyndns
sudo apt-get install ipcheck
sudo gedit /etc/ppp/ip-up.d/dyndns_update.sh
bulletInsert the following lines into the new file
 #!/bin/sh

 USERNAME=myusername
 PASSWORD=mypassword
 HOSTNAME=myhostname.dyndns.org

 cd /root/
 if [ -f /root/ipcheck.dat ]; then
  ipcheck -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME
 else
  ipcheck --makedat -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME
 fi
bulletSave the edited file
sudo chmod 700 /etc/ppp/ip-up.d/dyndns_update.sh
sudo sh /etc/ppp/ip-up.d/dyndns_update.sh

How to share folders the easy way

bulletRead #General Notes
bulletRead #How to install Samba Server for files/folders sharing service
Right click on folder -> Share folder
Shared folder -> Share with: Select "SMB"
Share properties -> Name: Specify the share name

How to browse network computers

bulletRead #General Notes
e.g. Assumed that network connections have been configured properly
If computers or network folders could not be found, try access them directly
Read #How to access network folders without mounting
bulletPlaces -> Network Servers

How to access network folders without mounting

bulletRead #General Notes
e.g. Assumed that network connections have been configured properly
Network computer's IP: 192.168.0.1
Shared folder's name: linux
bulletApplications -> Run Application...
bulletRun Application
smb://192.168.0.1/linux

How to mount/unmount network folders manually, and allow all users to read

bulletRead #General Notes
bulletRead #How to install Samba Server for files/folders sharing service
e.g. Assumed that network connections have been configured properly
Network computer's IP: 192.168.0.1
Network computer's Username: myusername
Network computer's Password: mypassword
Shared folder's name: linux
Local mount folder: /media/sharename
bulletTo mount network folder
sudo mkdir /media/sharename
sudo mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword
bulletTo unmount network folder
sudo umount /media/sharename/

How to mount/unmount network folders manually, and allow all users to read/write

bulletRead #General Notes
bulletRead #How to install Samba Server for files/folders sharing service
e.g. Assumed that network connections have been configured properly
Network computer's IP: 192.168.0.1
Network computer's Username: myusername
Network computer's Password: mypassword
Shared folder's name: linux
Local mount folder: /media/sharename
bulletTo mount network folder
sudo mkdir /media/sharename
sudo mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword,dmask=777,fmask=777
bulletTo unmount network folder
sudo umount /media/sharename/

How to mount network folders on boot-up, and allow all users to read

bulletRead #General Notes
bulletRead #How to install Samba Server for files/folders sharing service
e.g. Assumed that network connections have been configured properly
Network computer's IP: 192.168.0.1
Network computer's Username: myusername
Network computer's Password: mypassword
Shared folder's name: linux
Local mount folder: /media/sharename
sudo mkdir /media/sharename
sudo gedit /root/.smbcredentials
bulletInsert the following lines into the new file
username=myusername
password=mypassword 
bulletSave the edited file
sudo chmod 700 /root/.smbcredentials
sudo cp /etc/fstab /etc/fstab_backup
sudo gedit /etc/fstab
bulletAppend the following line at the end of file
//192.168.0.1/linux    /media/sharename smbfs  credentials=/root/.smbcredentials    0    0
bulletSave the edited file
bulletRead #How to remount /etc/fstab without rebooting

How to mount network folders on boot-up, and allow all users to read/write

bulletRead #General Notes
bulletRead #How to install Samba Server for files/folders sharing service
e.g. Assumed that network connections have been configured properly
Network computer's IP: 192.168.0.1
Network computer's Username: myusername
Network computer's Password: mypassword
Shared folder's name: linux
Local mount folder: /media/sharename
sudo mkdir /media/sharename
sudo gedit /root/.smbcredentials
bulletInsert the following lines into the new file
username=myusername
password=mypassword
bulletSave the edited file
sudo chmod 700 /root/.smbcredentials
sudo cp /etc/fstab /etc/fstab_backup
sudo gedit /etc/fstab
bulletAppend the following line at the end of file
//192.168.0.1/linux    /media/sharename smbfs  credentials=/root/.smbcredentials,dmask=777,fmask=777  0    0
bulletSave the edited file
bulletRead #How to remount /etc/fstab without rebooting

How to get ipw2200 and wpa to work

bulletSee Ubuntuforuns.org how-tos

How to Configure and start PPTP tunnels (VPN)

bulletRead #General Notes
bulletUse these instructions to automatically install PPTP Client
OR
bulletInstall manually
wget -c http://linux.edu.lv/uploads/content/pptp.tar.gz
tar zxvf pptp.tar.gz
sudo sh ./pptp/install
bulletTo configure PPTP Client
sudo gedit /usr/share/applications/pptpconfig.desktop
bulletReplace content of this file with the following lines
[Desktop Entry]
Name=PPTP Client
Comment=Configure and start PPTP tunnels (VPN)
Categories=Application;Network
Encoding=UTF-8
Exec=gksudo pptpconfig
Icon=gnome-remote-desktop.png
StartupNotify=true
Terminal=false
Type=Application
bulletThe above lines change the default file in three ways: the application is placed in the Application/Internet category, gksudo will make the application run as superuser and we put a nice icon that appears in the menu.
bulletStart the client with Applications -> Internet -> PPTP Client

Remote Desktop

How to configure remote desktop (not secure)

bulletRead #General Notes
Warning! Remote Desktop will only work if there's a GNOME login session
Leaving computer with an unattended GNOME login session is not secure
Use (System -> Lock Screen) and switch off the monitor when computer is left unattended
bulletSystem -> Preferences -> Remote Desktop
bulletRemote Desktop Preferences
Sharing ->
Allow other users to view your desktop (Checked)
Allow other users to control your desktop (Checked)
Security ->
Ask you for confirmation (Un-Checked)
Require the user to enter this password: (Checked)
Password: Specify the password

How to connect into remote Ubuntu desktop

bulletRead #General Notes
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Read #How to configure remote desktop (not secure)
Remote Ubuntu machine: 192.168.0.1
vncviewer -fullscreen 192.168.0.1:0
bulletTo quit vncviewer
Press 'F8' -> Quit viewer

How to connect into remote Ubuntu desktop via Windows machine

bulletRead #General Notes
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Read #How to configure remote desktop (not secure)
Remote Ubuntu machine: 192.168.0.1
bulletDownload VNC Viewer: Here


Windows

How to mount/unmount Windows partitions (NTFS) manually, and allow all users to read only

bulletRead #General Notes
bulletRead #How to list partition tables


e.g. Assumed that /dev/hda1 is the location of Windows partition (NTFS)
Local mount folder: /media/windows
bulletTo mount Windows partition
sudo mkdir /media/windows
sudo mount /dev/hda1 /media/windows/ -t ntfs -o nls=utf8,umask=0222
bulletTo unmount Windows partition
sudo umount /media/windows/

How to mount/unmount Windows partitions (FAT) manually, and allow all users to read/write

bulletRead #General Notes
bulletRead #How to list partition tables
e.g. Assumed that /dev/hda1 is the location of Windows partition (FAT)
Local mount folder: /media/windows
bulletTo mount Windows partition
sudo mkdir /media/windows
sudo mount /dev/hda1 /media/windows/ -t vfat -o iocharset=utf8,umask=000
bulletTo unmount Windows partition
sudo umount /media/windows/

How to mount Windows partitions (NTFS) on boot-up, and allow all users to read only

bulletRead #General Notes
bulletRead #How to list partition tables
e.g. Assumed that /dev/hda1 is the location of Windows partition (NTFS)
Local mount folder: /media/windows
sudo mkdir /media/windows
sudo cp /etc/fstab /etc/fstab_backup
sudo gedit /etc/fstab
bulletAppend the following line at the end of file
/dev/hda1    /media/windows ntfs  nls=utf8,umask=0222 0    0
bulletSave the edited file
bulletRead #How to remount /etc/fstab without rebooting

How to mount Windows partitions (FAT) on boot-up, and allow all users to read/write

bulletRead #General Notes
bulletRead #How to list partition tables
e.g. Assumed that /dev/hda1 is the location of Windows partition (FAT)
Local mount folder: /media/windows
sudo mkdir /media/windows
sudo cp /etc/fstab /etc/fstab_backup
sudo gedit /etc/fstab
bulletAppend the following line at the end of file
/dev/hda1    /media/windows vfat  iocharset=utf8,umask=000  0    0
bulletSave the edited file
bulletRead #How to remount /etc/fstab without rebooting


Security

What are the basic things I need to know about securing my Ubuntu

bulletRead #General Notes
bulletEnsure hard drive is first in BIOS boot-up sequence
bulletTo prevent trespassers from using Linux Installation CD which allows them to gain root user access
bulletTo prevent trespassers from using Linux Live CD (e.g. UBUNTU/KNOPPIX/MEPIS) which allows them to destroy/browse/share the entire hard drive
bulletTo prevent trespassers from installing another Operating System
bulletEnsure a password is set for BIOS
bulletTo prevent trespassers from changing the BIOS boot-up sequence
bulletEnsure computer is located at a secured place
bulletTo prevent trespassers from removing computer's hard drive which allows them to destroy/browse/share the entire hard drive from a different computer
bulletTo prevent trespassers from removing computer's on-board battery which resets the BIOS password
bulletEnsure passwords used on the system cannot be easily guessed
bulletTo prevent trespassers from cracking password file using brute force attacks (e.g. John the Ripper)
bulletCreate password with minimum length of 8 characters
bulletCreate password with mixture of characters/numbers, and upper/lower case
bulletEnsure interactive editing control for GRUB menu is disabled
bulletTo prevent trespassers from modifying kernel boot-up arguments which allows them to have root user access
bulletRead #How to disable all interactive editing control for GRUB menu
bulletEnsure history listing is disabled in Console mode
bulletTo prevent trespassers from seeing previously issued commands
bulletRead #How to disable history listing in Console mode
bulletEnsure Ctrl+Alt+Del is disabled in Console mode
bulletTo prevent trespassers from restarting the system without permission in Console mode
bulletRead #How to disable Ctrl-Alt-Del from restarting computer in Console mode
bulletEnsure interactive option is set for remove, copy and move of files/folders in Console mode
bulletTo prevent accidental removal/overwritten of files/folders
bulletRead #How to enable prompt before removal/overwritten of files/folders in Console mode
bulletFor day to day usage, login as a normal user
bulletTo prevent accidental deletion/modification of system files/folders
bulletRead #How to add/edit/delete system users
bulletDisable root user account, use "sudo" instead
bulletTo reduce the amount of time spent with root privileges, and thus the risk of inadvertently executing a command as root
bullet"sudo" provides a more useful audit trail (/var/log/auth.log)
bulletRead #How to disable root user account
bulletInstall a Firewall
bulletA firewall does not guarantee security but it is in most environments the first line of defense against network based attacks
bulletRead #How to install Firewall (Firestarter)
bulletPerform vulnerability test
bulletNessus is a great tool designed to automate the testing and discovery of known security problems
bulletRead #How to install Vulnerability Scanner (Nessus)

How to disable all interactive editing control for GRUB menu

bulletRead #General Notes
grub
grub> md5crypt
Password: ****** (ubuntu)
Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password)
grub> quit
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst
bulletFind this section
...
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
#   password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
...
bulletAdd the following line below it
password --md5 $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password above)
bulletFind this section
...
title		Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro single
initrd		/boot/initrd.img-2.6.10-5-386
savedefault
boot
...
bulletReplace with the following lines
#title		Ubuntu, kernel 2.6.10-5-386 (recovery mode)
#root		(hd0,1)
#kernel		/boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro single
#initrd		/boot/initrd.img-2.6.10-5-386
#savedefault
#boot
bulletSave the edited file

How to disable history listing in Console mode

bulletRead #General Notes
rm -f $HOME/.bash_history
touch $HOME/.bash_history
chmod 000 $HOME/.bash_history

How to disable Ctrl-Alt-Del from restarting computer in Console mode

bulletRead #General Notes
sudo cp /etc/inittab /etc/inittab_backup
sudo gedit /etc/inittab
bulletFind this line
...
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
...
bulletReplace with the following line
#ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
bulletSave the edited file
sudo telinit q

How to enable prompt before removal/overwritten of files/folders in Console mode

bulletRead #General Notes
sudo cp /etc/bash.bashrc /etc/bash.bashrc_backup
sudo gedit /etc/bash.bashrc
bulletAppend the following lines at the end of file
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
bulletSave the edited file


Rescue Mode

How to gain root user access without login

bulletRead #General Notes
bulletEasiest method (will not work if GRUB menu password is set)
bulletBoot-up computer
bulletIf GRUB menu is hidden, press 'Esc' to enter the GRUB menu
bulletSelect
Ubuntu, kernel 2.6.10-5-386 (recovery mode)
bullet
bulletPress 'Enter' to boot
bulletOther methods
bulletRead #How to modify kernel boot-up arguments, to gain root user access
bulletRead #How to use Ubuntu Installation CD, to gain root user access

How to modify kernel boot-up arguments, to gain root user access

bulletRead #General Notes
bulletBoot-up computer
bulletIf GRUB menu is hidden, press 'Esc' to enter the GRUB menu
bulletIf GRUB password is set, press 'p' to unlock the GRUB menu
bulletSelect
Ubuntu, kernel 2.6.10-5-386
bulletPress 'e' to edit the commands before booting
bulletSelect
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash
bulletPress 'e' to edit the selected command in the boot sequence
bulletAdd "rw init=/bin/bash" to the end of the arguments
grub edit> kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash rw init=/bin/bash
bulletPress 'b' to boot

How to use Ubuntu Installation CD, to gain root user access

bulletRead #General Notes
bulletBoot-up computer into Ubuntu Installation CD
bulletAt "boot:" prompt, add "rescue" to the argument
boot: rescue
bulletFollow the instructions on screen

How to change root user/main user password if forgotten

bulletRead #General Notes
bulletRead #How to gain root user access without login
bulletTo change root user password
# passwd root
bulletTo change main user password
# passwd system_main_username

How to change GRUB menu password if forgotten

bulletRead #General Notes
grub
grub> md5crypt
Password: ****** (ubuntu)
Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password)
grub> quit
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst
bulletFind this line
...
password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
...
bulletReplace with the following line
password --md5 $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password above)
bulletSave the edited file

How to restore GRUB menu after Windows installation

bulletRead #General Notes
bulletRead #How to use Ubuntu Installation CD, to gain root user access
e.g. Assumed that /dev/hda is the location of /boot partition
# grub-install /dev/hda

How to add Windows entry into GRUB menu

bulletRead #General Notes
bulletRead #How to list partition tables
e.g. Assumed that /dev/hda1 is the location of Windows partition
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst
bulletAppend the following lines at the end of file
title		Microsoft Windows
root		(hd0,0)
savedefault
makeactive
chainloader	+1
bulletSave the edited file

How to read Linux partitions (ext2, ext3) in Windows machine

bulletRead #General Notes
bulletDownload Explore2fs: Here
OR
bulletSee www.fs-driver.org

Tips & Tricks

How to install .deb files via right click menu

bulletRead #General Notes
wget -c http://easylinux.info/uploads/nautilus-actions_1.0-1_i386.deb
sudo dpkg -ivh nautilus-actions_1.0-1_i386.deb
rm -f nautilus-actions_1.0-1_i386.deb
gedit ~/.installer
bullet Insert the following lines into the new file
#!/bin/bash
# nautilus-deb-installer

package_name=`basename $1`

if zenity --question --title "Alert" --text "Do you wish to install the package $package_name?"
then
foo=`gksudo -u root -m "Please enter your password to install $package_name" /bin/echo "0"`
sudo dpkg -i "$1" | zenity --progress --pulsate --title "Please Wait" --text $"Installing $package_name"
zenity --info --title "Installation Complete" --text "The package $package_name has been installed"
else
zenity --info --title "Installation aborted" --text "The package $package_name was not installed"
exit 1
fi
bullet Save the edited file
sudo chmod +x .installer
nautilus-actions-config
bullet Click on "Add"
Label: Install Package
Tooltip: Install selected package
Path: /home/<your username>/.installer
Parameters: %M
bullet Go to Conditions tab
File Pattern: *.deb
Files only

How to restart GNOME without rebooting computer

bulletRead #General Notes
bulletSave and close all opened applications
Press 'Ctrl + Alt + Backspace'

or
sudo /etc/init.d/gdm restart

How to turn on Num Lock on GNOME startup

bulletRead #General Notes
bulletRead #How to add extra repositories
sudo apt-get install numlockx
sudo cp /etc/X11/gdm/Init/Default /etc/X11/gdm/Init/Default_backup
sudo gedit /etc/X11/gdm/Init/Default
bulletFind this line
...
exit 0
bulletAdd the following lines above it
if [ -x /usr/bin/numlockx ]; then
 /usr/bin/numlockx on
fi
bulletSave the edited file
bulletRead #How to restart GNOME without rebooting computer

How to run programs on startup when login into GNOME

bulletRead #General Notes
bulletSystem -> Preferences -> Sessions
bulletSessions
Startup Programs Tab -> Add/Edit/Delete

How to switch to Console mode in GNOME

bulletRead #General Notes
bulletTo switch to Console mode
Press 'Ctrl + Alt + F1' (F2 - F6)
bulletTo switch between consles in Console mode
Press 'Alt + F1' (F2 - F6)
bulletTo switch back to GNOME mode
Press 'Alt + F7'

How to disable Ctrl+Alt+Backspace from restarting X in GNOME

bulletRead #General Notes
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo gedit /etc/X11/xorg.conf
bulletAppend the following lines at the end of file
Section "ServerFlags"
	Option		"DontZap"		"yes"
EndSection
bulletSave the edited file
bulletRead #How to restart GNOME without rebooting computer

How to enable Ctrl+Alt+Del to open System Monitor in GNOME

bulletRead #General Notes
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete"
gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor"

How to refresh GNOME desktop

bulletRead #General Notes
killall nautilus

How to refresh GNOME panel

bulletRead #General Notes
killall gnome-panel

How to open each folder in the same window in Nautilus

bulletRead #General Notes
bulletApplications -> System Tools -> Configuration Editor
bulletConfiguration Editor
/ -> apps -> nautilus -> preferences -> always_use_browser (Checked)

How to enable autosave in Gedit and disable creation of some_file~ files

bulletRead #General Notes
bulletApplications -> System Tools -> Configuration Editor
bulletConfiguration Editor
/ -> apps -> gedit-2 -> preferences -> editor -> save -> create_backup_copy (Unchecked)
/ -> apps -> gedit-2 -> preferences -> editor -> save -> auto_save (Checked)

How to show all hidden files/folders in Nautilus

bulletRead #General Notes
bulletPlaces -> Home Folder
bulletTo temporary show all hidden files/folders in Nautilus
Press 'Ctrl + H'
bulletTo permanently show all hidden files/folders in Nautilus
Edit Menu -> Preferences
Views Tab -> Default View -> Show hidden and backup files (Checked)

How to browse files/folders as root user in Nautilus

bulletRead #General Notes
bulletTo install File Browser (Root)
sudo gedit /usr/share/applications/Nautilus-root.desktop
bullet
bulletInsert the following lines into the new file
[Desktop Entry]
Name=File Browser (Root)
Comment=Browse the filesystem with the file manager
Exec=gksudo "nautilus --browser %U"
Icon=file-manager
Terminal=false
Type=Application
Categories=Application;System;
bullet
bulletSave the edited file
bulletRead #How to refresh GNOME panel
bulletTo browse files/folders as root user in Nautilus
bulletApplications -> System Tools -> File Browser (Root)

How to show Desktop Icons (Computer, Home, Trash)

bulletRead #General Notes
bulletApplications -> System Tools -> Configuration Editor
bulletConfiguration Editor
/ -> apps -> nautilus -> desktop ->
computer_icon_visible (Checked)
home_icon_visible (Checked)
trash_icon_visible (Checked)

How to change default file type "Open with" program

bulletRead #General Notes
Right click on file -> Properties
Open With Tab -> Add
Select "Open with" program
Select "Open with" program (Checked)

How to change preferred email client to Mozilla Thunderbird

bulletRead #General Notes
bulletRead #How to install Email Client (Mozilla Thunderbird)
bulletSystem -> Preferences -> Preferred Applications
bulletPreferred Applications
Mail Reader Tab -> Default Mail Reader -> Command: mozilla-thunderbird %s

How to open files as root user via right click

bulletRead #General Notes
gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root
bulletInsert the following lines into the new file
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
	gnome-sudo "gnome-open $uri" &
done
bulletSave the edited file
chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root

Right click on file -> Scripts -> Open as root

How to disable beep sound in Terminal mode

bulletRead #General Notes
bulletApplications -> System Tools -> Terminal
bulletTerminal
Edit Menu -> Current Profile...
General Tab -> General -> Terminal bell (Un-Checked)

How to load Web site faster in Mozilla Firefox

bulletRead #General Notes
bulletApplications -> Internet -> Firefox Web Browser
bulletMozilla Firefox
Address Bar -> about:config
Filter: ->
network.dns.disableIPv6 -> true
network.http.pipelining -> true
network.http.pipelining.maxrequests -> 8
network.http.proxy.pipelining -> true
bulletRestart Mozilla Firefox

How to disable beep sound for link find function in Mozilla Firefox

bulletRead #General Notes
bulletApplications -> Internet -> Firefox Web Browser
bulletMozilla Firefox
Address Bar -> about:config
Filter: -> accessibility.typeaheadfind.enablesound -> false
bulletRestart Mozilla Firefox


How to apt-get the easy way (Synaptic)

bulletRead #General Notes
bulletSystem -> Administration -> Synaptic Package Manager
Synaptic Package Manager
bulletTo enable the extra Universe and Multiverse repositories
  1. Settings -> Repositories
  2. Click the Settings button
  3. Tick Show disabled software sources
  4. On the Repositories dialog box click Add. There are three separate repositories; Breezy Badger, Security Updates and Updates. Select each repository and check Officially supported, Restricted copyright, Community maintained (Universe) and Non-free (Multiverse). Ensure you click OK between each repository to save your changes
  5. You should now see checkboxes next to each repository, scroll through the list and ensure they are all checked
bulletTo add backports and PLF (new versions of many applications. Unsupported. May contain illegal packages. Use at own risk.)
  1. Settings -> Repositories
  2. Click on Add and then Custom
  3. Paste the following five lines into the box and Click Add Repository, one line at a time:
deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
deb http://ubuntu-backports.mirrormax.net breezy-extras main restricted universe multiverse
deb http://packages.freecontrib.org/ubuntu/plf breezy free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf breezy free non-free 
bulletTo refresh the list of known packages (equivalent to apt-get update)
Edit Menu -> Reload Package Information
bulletTo install all possible upgrades (equivalent to apt-get upgrade)
Edit Menu -> Mark All Upgrades... -> Default Upgrade
Edit Menu -> Apply Marked Changes
bulletTo search for a package (equivalent to apt-cache search package_name)
Edit Menu -> Search... Specify the package name
bulletTo install the selected package (equivalent to apt-get install package_name)
Select "package_name"
Package Menu -> Mark for Installation
Edit Menu -> Apply Marked Changes
bulletTo remove installed package (equivalent to apt-get remove package_name)
Select "package_name"
Package Menu -> Mark for Removal
Edit Menu -> Apply Marked Changes

What packages do the extra repositories provide

bulletRead #General Notes
bulletRead #How to apt-get the easy way (Synaptic)
bullet The PLF repository provides
  1. DVD playback support (libdvdcss2)
  2. Skype
  3. Sun Java SDK (Software Development Kit) and JRE (Java Runtime Environment)
  4. Opera Web browser
  5. RealPlayer 10
  6. Win32 binary multimedia codecs

How to install/uninstall .deb files

bulletRead #General Notes
bulletTo install .deb file
sudo dpkg -i package_file.deb
bulletTo uninstall .deb file
sudo dpkg -r package_name

How to convert .rpm files to .deb files

bulletRead #General Notes
sudo alien package_file.rpm

How to rename all files in directory at once

bulletRead #General Notes
bulletTo install "mvb" file name renamer
wget -c http://easylinux.info/uploads/mvb_1.6.tgz
sudo tar zxvf mvb_1.6.tgz -C /usr/share/
sudo chown -R root:root /usr/share/mvb_1.6/
sudo ln -fs /usr/share/mvb_1.6/mvb /usr/bin/mvb

bulletTo rename all files in directory at once
mvb NEW_NAME

How to manipulate all image files in directory at once

bulletRead #General Notes
bulletTo install bash batch image processing script
bulletRead #How to add extra repositories
sudo apt-get install imagemagick
wget -c http://easylinux.info/uploads/bbips.0.3.2.sh
sudo cp bbips.0.3.2.sh /usr/bin/bbips
sudo chmod 755 /usr/bin/bbips
bulletTo manipulate all image files in directory at once
bbips

How to set System-wide Environment Variables

bulletRead #General Notes
sudo cp /etc/bash.bashrc /etc/bash.bashrc_backup
sudo gedit /etc/bash.bashrc
bulletAppend the System-wide Environment Variables at the end of file
bulletSave the edited file

How to save "man" outputs into files

bulletRead #General Notes
man command | col -b > file.txt

How to hide GRUB menu on boot-up

bulletRead #General Notes
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst

bulletFind this line
...
#hiddenmenu
...
bulletReplace with the following line
hiddenmenu
bulletSave the edited file

How to change the timeout seconds for GRUB menu on boot-up

bulletRead #General Notes
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst
bulletFind this line
...
timeout     3
...
bulletReplace with the following line
timeout     X_seconds
bulletSave the edited file

How to change default Operating System boot-up for GRUB menu

bulletRead #General Notes
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst
bulletFind this line
...
default     0
...
bulletReplace with the following line
default     X_sequence
bulletSave the edited file

How to display Splash Image for GRUB menu on boot-up

bulletRead #General Notes
e.g. Assumed that hd0,1 is the location of Ubuntu boot partition
wget -c http://easylinux.info/uploads/ubuntu.xpm.gz
chmod 644 ubuntu.xpm.gz
sudo mkdir /boot/grub/images
sudo cp ubuntu.xpm.gz /boot/grub/images/
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst
bulletFind this section
# menu.lst - See: grub(8), info grub, update-grub(8)
#      grub-install(8), grub-floppy(8),
#      grub-md5-crypt, /usr/share/doc/grub
#      and /usr/share/doc/grub-doc/.
...
bulletAdd the following line below it
splashimage (hd0,1)/boot/grub/images/ubuntu.xpm.gz
bulletSave the edited file

How to convert Wallpaper to Splash Image for GRUB menu

bulletRead #General Notes
e.g. Assumed that wallpaper.png is the Wallpaper to be converted to Splash Image
splashimage.xpm.gz is the Splash Image for GRUB menu
convert -resize 640x480 -colors 14 wallpaper.png splashimage.xpm && gzip splashimage.xpm
bulletRead #How to display Splash Image for GRUB menu on boot-up (use splashimage.xpm.gz instead of ubuntu.xpm.gz)

How to temporary skip boot-up services

bulletRead #General Notes
Press 'Ctrl + C'

How to permanently disable/enable boot-up services

bulletRead #General Notes
bulletRead #How to install Boot-Up Manager (BUM)

How to clean /tmp/ folder contents on shutdown

bulletRead #General Notes
sudo cp /etc/init.d/sysklogd /etc/init.d/sysklogd_backup
sudo gedit /etc/init.d/sysklogd
bulletFind this section
...
 stop)
  log_begin_msg "Stopping system log daemon..."
  start-stop-daemon --stop --quiet --oknodo --exec $binpath --pidfile $pidfile
  log_end_msg $?
...
bulletAdd the following line below it
  rm -fr /tmp/* /tmp/.??*
bulletSave the edited file

How to scroll up and down to view previous outputs in Console mode

bulletRead #General Notes
bulletTo scroll up to view previously outputs
Press 'Shift + Page Up'
bulletTo scroll down to view previously outputs
Press 'Shift + Page Down'

How to find out which version of Ubuntu I am using

cat /etc/issue

How to set up automatic background change (GNOME)

bulletRead #General notes
mkdir ~/.backgrounds
cd ~/.backgrounds
wget -c http://easylinux.info/uploads/change_background.py
chmod +x change_background.py
bulletTo change desktop background every time you reboot your computer
export EDITOR=gedit && crontab -e
bulletAdd the following line at the end of file
@reboot ~/.backgrounds/change_background.py
For more information about periodic processes see
man 5 crontab
bullet ~/.backgrounds is hidden directory, see #How to show all hidden files/folders in Nautilus
bulletCopy images you wish to see on your background to ~/.backgrounds directory

How to set up automatic background change (KDE)

bulletRead #General notes
bulletGo to K-menu -> System Settings -> Desktop -> Background
bulletChoose Slide Show
bulletPress Setup...
bulletPress Add... to add pictures you wish to see as desktop background
bulletSet 'Change picture after' to desired picture rotation interval.
bulletPress 'OK'


How to add keyboard layouts for other languages

bulletRead #General notes
bulletGo to System -> Preferences -> Keyboard
bulletChoose Layouts
bulletPress Add... to add the secondary keyboard layout. It is simpler to have two layouts; the maximum is currently four for Xorg.
bulletChoose Layout Options
bulletExpand option Group Shift/Lock behaviour
bulletChoose the key combination that enables you to switch between keyboard layouts. The default is by pressing both Alt keys at the same time. A common alternative is to use Alt+Shift.
bulletPress Close.

See #How to add the Keyboard (Layout) Indicator applet to add the Keyboard Indicator applet.


How to add the Keyboard (Layout) Indicator applet

bulletRead #General notes
bulletRead #How to add keyboard layouts for other languages
bulletRight-click on empty space on the top panel so that you see the pop-up menu.
bulletClick Add to Panel...
bulletChoose Keyboard Indicator (it is under the Utilities section, at the end)

The Keyboard Indicator applet appears on the panel. The default language should be USA for U.S. English. You can either right-click on this applet for more options or see above on how to configure.


How to type extended characters

bulletRead #General notes
bulletRead #How to add keyboard layouts for other languages
bulletRead #How to add the Keyboard (Layout) Indicator applet
bulletAdd the keyboard layout US English International (with dead keys)
bulletMake US English International (with dead keys) the default keyboard layout.

The key marked ['"] is now a dead key. When you press it, nothing happens. However if you press a consonant immediately afterwards, the consonant appears with an accent.

bullet ' + a = á
bullet ' + e = é
bullet and so on for i-í, o-ó, y-ý, c-c', z-z', n-n', l-l', u-ú, r-r'
bullet " + a = ä
bullet " + e = ë
bullet and so on for y-ÿ, u-ü, i-ï, o-ö

Similarly, ` and a consonant generates à, è, ù, ì, ò. Similarly, ~ and a consonant generates ã, u~, i~, õ, ñ.

To type ' and ", press RightAlt+' and RightAlt+" respectively. To type ' and ", you may also press '+<space> and "+<space> respectively.

There are more characters available by keeping RightAlt pressed and typing a character. Therefore,

bullet RightAlt+q = ä
bullet RightAlt+w = å
bullet RightAlt+e = é
bullet RightAlt+r = ®
bullet RightAlt+t = þ
bullet RightAlt+y = ü
bullet RightAlt+u = ú
bullet RightAlt+i = í
bullet RightAlt+o = ó
bullet RightAlt+p = ö
bullet RightAlt+[ and ] for « and » respectively.
bullet RightAlt+a = á
bullet RightAlt+s = ß
bullet RightAlt+d = ð
bullet RightAlt+l = ø
bullet RightAlt+; = ¶
bullet RightAlt+: = °
bullet RightAlt+z = æ
bullet RightAlt+c = ©
bullet RightAlt+n = ñ
bullet RightAlt+m = µ
bullet RightAlt+, = ç
bullet RightAlt+/ = ¿
bullet RightAlt+1 = ¡