Monday, May 10, 2010

Setup Guide for Lucid Lynx (10.04) LTS

Updating the entire system
sudo apt-get update


Adding Multimedia into Ubuntu
sudo apt-get install ubuntu-restricted-extras

Setting up VLC movie player
sudo apt-get install vlc
sudo /usr/share/doc/libdvdread4/install-css.sh

Installing Sun Java Support and Firefox Java Plugin
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin


Nvidia Video Drivers
Note: There seems to be a bug where as a standard user you cannot use System, Administration, Hardware drivers to install your video drivers and it doesn't prompt for elevated credentials

Thus, open a terminal window and run
sudo su
/usr/bin/jockey-gtk

Chose: NVIDIA accelerated graphics driver (version current) [Recommended]
Highlight that and click on Activate

After the reboot, you can then access System, Administration, Nvidia X Server Settings and modify your configuration

Turning on basic eyecandy
This is most likely already on, check from
System, Preferences, Appearance, Visual Effects
The setting should be on normal...you can advance it to Advanced if you want more eyecandy like wobbly windows

Installing compiz
sudo apt-get install compizconfig-settings-manager
Make adjustments from System, Preferences, CompizConfig Settings Manager

Installing the Emerald Theme Manager
sudo apt-get install emerald libemeraldengine0

now we need to make Emerald start once you boot into Ubuntu. To do so, go to System > Preferences > CompizConfig Settings Manager
check "Window Decoration" and click it, then in the "Command" field enter this:
emerald --replace

Go here: http://compiz-themes.org/index.php
Get a theme

Creating an installer disk (ISO) at the end with all of my changes
sudo remastersys backup filename.iso

Ensuring accurate time
System, Administration, Time and Date
Click shield at bottom to make changes
Under Configuration, change from Manual to "Keep Synchronized with Internet Time Servers"
Choose "Install NTP Support" when asked
Once completed, click on "Select Servers"
add at the bottom, "pool.ntp.org" click on Add.

Changing Grub bootloader (to modify default boot entry)

sudo gedit /etc/default/grub
modify GRUB_TIMEOUT=#
modify GRUB_DEFAULT=# (counting starts at 0)

sudo update-grub

Saturday, March 27, 2010

Comprehensive Setup Guide for Ubuntu 9.04 (Jaunty Jackalope)

Note: I realized that I never published this on this blog site, and I haven't actually written a guide yet for Ubuntu 9.10. Since Ubuntu 10.04 is right around the corner, I will probably just wait for Ubuntu 10.04 to be released and then update this guide to be 100% compatible with the new version.

For the record, 95% of the information below pertains and works correctly with Ubuntu 9.10.



What applications come with Ubuntu 9.04 right out of the box?
  • Firefox: Web browser
  • Pidgin : Instant Messenger client (support for MSN, yahoo, aim, icq, etc)
  • OpenOffice 3.0.1: Word processor, spreadsheet, slide show.
  • Gimp: Photoediting/Graphics application
  • Brasero: CD/DVD burning software
  • Transmission: BitTorrent client
  • Rhythmbox Music Player: Music player
  • Movie Player: video player
  • Evolution: email package
  • F-Spot Photo Manager: Photo-editing package
  • Document Viewer: for opening PDF files

How do I open a terminal window...a shell...a command line?
Applications, Accessories, Terminal.

How to update all of my software to the latest and greatest?
sudo apt-get update
sudo apt-get upgrade

Adding Multimedia Repository support into Ubuntu
First, Ubuntu does not come with the ability to playback encrypted DVD's, MP3 files or other Windows codec stuff. The reason, is because these are not-open source, royalty free or have other license restrictions. The good news is that you can easily add this support with 1 single command;
Note: This also covers video codecs necessary for YouTube videos.

sudo apt-get install ubuntu-restricted-extras

Setting up the VLC movie player
sudo apt-get install vlc
sudo /usr/share/doc/libdvdread4/install-css.sh

In order to get movies to playback with VLC, i had to reboot Ubuntu. I'm not entirely sure why, but if yours is not working, a reboot will likely fix you too.

Setting up Amarok for music playback
There are many other apps for this, including things like Rhythmbox Music Player. I've just been using Amarok for a long time and included it here.

sudo apt-get install amarok libxine1-ffmpeg phonon-backend-xine phonon-backend-gstreamer

Installing Sun Java Support and Firefox Java Plugin
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin

CD-ripping with grip to MP3
sudo apt-get install grip lame
Applications, Sound and Video, grip
Natively, this app will rip to an .ogg file (ogg vorbis). This is a fantastic high-quality open source free format...but if you have a portable device which won't use those files....you can change to MP3 as I show you below.

I like to rip to MP3's on VBR 3 (Variable Bit Rate 3). Here is how I do that;
Open grip, Go to Config tab, encode, change to lame
Changed encoder command line to read: -V 3 --vbr-new %w %m
changed encode file format to read: ~/ogg/%A/%d/%t-%n.%x

The ripped files will be in a folder in your home folder (/home/username) in a subfolder called Ogg.

Mounting a Windows share on another computer
sudo apt-get install smbfs
sudo mkdir /mountpoint (you can call mountpoint whatever you like and put it wherever you want)
sudo mount -t cifs //server/share /mntpoint -o username=Windows_user_name

Mounting a Windows share on another computer at boot time

touch /home/user_name/.smbpassword
sudo gedit /home/user_name/.smbpassword
--add the following 2 lines into this file and save
username=NT_User_Name
password = NT_Password

sudo chown root /home/user_name/.smbpassword
sudo chmod 600 /home/user_name/.smbpassword

sudo gedit /etc/fstab
--add a line similar to the follow (change to suit tastes)
//server/share /mntpoint cifs credentials=/home/user_name/.smbpassword 0 0

sudo mkdir /mntpoint (obviously you can call this whatever you want)

test mount with;
sudo mount -a

How to make a transparent terminal window
Start terminal (Applications, Accessories, terminal)
Edit, profiles
Edit default profile
Click on Colors to set your color preference (I like green on black)
Click on Effects to set a Transparent background


How to change the logon screen to something else

Visit Eyecandy for your GNOME-Desktop - GNOME-Look.org
On the left, click on GDM themes
Find one that you like, download it. It should be in the format of something.tar.gz
System, Administration, Login Window
click on Local tab at top
Choose add, find the GDM theme that you just downloaded (the something.tar.gz), click on Install
Set the theme to Selected Only
Pick the new GDM theme that you want to use.
Log off and back on.

Edit: You can also find pretty cool GDM themes here: GNOME: The Free Software Desktop Project

How can I install software without the Terminal or I don't know the exact name of what I need?
System, Administration, Synaptic Package Manager
Search for what you want, mark it, install/uninstall it


How do I modify the programs in the Applications menu?

System, Preferences, Main Menu

Is there something similar to Task Manager in Windows which shows me system performance?
System, Administration, System Monitor

How can I see how much disk space is free?
Terminal
sudo df -h

After I download a lot using apt-get, i notice I run low on disk space
apt-get will cache everything it downloads to the hard drive in /var/cache/apt
sudo apt-get clean (erases the cache)

How can I quickly see how much space is being used and where in my file system?
terminal
sudo du -h --max-depth=1 / (that is 2 dashes before the word max)

How can I tell which applications are installed and which version?
terminal

dpkg -l |less (I piped to less because this is likely a long list

Mounting your NTFS partition if you are dual-booting with XP or Vista

First, determine where you Windows partitions are:
sudo fdisk -l (this will list your partitions, find the partition in question you want to mount...likely something like /dev/sda1)

sudo mkdir /windows (or whatever you choose to call this mountpoint)
sudo gedit /etc/fstab

Add following line to bottom
/dev/sda1 /windows ntfs-3g defaults,locale=en_US.UTF-8 0 0

NOTE: Obviously, you need to substitute in the value determined above for your Windows partition. In my case, it was /dev/sda1.

Test your configuration
sudo mount -a

How do I remotely connect to my Ubuntu box from a Windows or other Linux host?
The simplest method is with an SSH client
Install the ssh server on ubuntu with;
sudo apt-get install openssh-server

Now, from a Windows host, you can use either Putty, Winscp or any other SSH client
From a Linux host, just use the ssh client preinstalled.


Now, from How do I switch to xfce, fluxbox or KDE instead of Gnome?

sudo apt-get install xfce-desktop
sudo apt-get install fluxbox
sudo apt-get install kubuntu-desktop

Now, logout.
From Logon screen, click on Options, Choose Select Session and pick your desktop environment.

When you then logon, it will ask if you want to use the new session 1 time or make it permanent.

Getting rid of the awful Ubuntu Orange look
System, Preferences, Appearances
Under Theme, pick something like "Clearlooks"

Then, open up Firefox, go to Backdrops - Wallpaper iPhone App from InterfaceLIFT and get a new desktop background of your choice.

Installing Frostwire (open source equivalent to LimeWire Pro..peer to peer file sharing)

Go here: Application Information - Frostwire
Download 32-bit for Jaunty.
Choose save file and it will save to your desktop
Once it completes, double click on the .deb file on your desktop. It will open the package installer, click on Install Package in upper right

To launch it, Applications, Internet, Frostwire

Note: if you experience problems with the interface or the app not starting, be sure to follow the previous steps for installing Sun Java.

How to perform fast backups with rsync
This assumes that you save everything that you want to keep in your home folder (/home/username), and you have an external hard drive or USB keyfob that you can back up to

1). Plug in the USB key
2). Open a terminal window, and type: mount
3). Look for something like /dev/sdb1 /media/disk (that will be your external drive)
4). mkdir /media/disk/backups (creates a backup folder on the external drive)
5). rsync -rv /home/username/ /media/disk/backups/ (will backup everything onto your external drive)

The beauty of using rsync is that subsequent runs will ONLY copy files that have changed....thus backups will only take a few seconds. Also, if you want to make sure that files that you delete on the source hard drive are also deleted on the external hard drive, you can change the syntax to
rsync -rv --delete /home/username/ /media/disk/backups/ (there are 2 dashes before delete)


Everything beyond this point is geared around Eye Candy and is completely optional


Enabling proprietary video drives for ATI/Nvidia cards
My Linux machines all have NVIDIA based graphics cards in them, so I describe that procedure here. The installation for ATI cards should be similar.

System, Administration, Hardware drivers
I choose NVIDIA accelerated graphics driver (version 180) and choose activate.
The system will automatically download and install the driver.
Note: it will sit at 0% for a bit, just be patient...it will install

Getting basic eyecandy features enabled.
Make sure that you have installed the proprietary video drivers as described above for the best possible experience.

System, Preferences, Appearance, Visual Effects
You should be able to turn on Normal at this point, to get the basics.


Installing the Compiz Configuration Manager to Control the built-in eye-candy features.

Again, ensure that you install the proprietary video drives for the best possible experience.

sudo apt-get install compizconfig-settings-manager
Make adjustments from System, Preferences, CompizConfig Settings Manager

Installing the Emerald Theme Manager
sudo apt-get install emerald libemeraldengine0

now we need to make Emerald start once you boot into Ubuntu. To do so, go to System > Preferences > CompizConfig Settings Manager
check "Window Decoration" and click it, then in the "Command" field enter this:
emerald --replace

Get emerald themes from here: The Compiz Community - Compiz-Themes.org
Then go to System, Preferences, Emerald Theme Manager and import the themes you have downloaded.

Now, just logout and back on to get emerald running and you should be using your new theme.

Setting up a Mac like dock with the Avant Windows Manager
sudo apt-get install avant-window-navigator awn-manager awn-applets-python-extras awn-applets-c-extras

System > Preferences > AWN Manager, on the "General" tab and set it the way you want it to be
check auto start on logon
under Bar Appearance, change to 3D
Add any applets that you might want displayed

To start it now, either hit ALT-F2 and type in avant-window-navigator or log off and back on.


Making applications rollup, when you click on the title bar versus Maximize/Minimize

System, Preferences, Windows
Change titlebar action to "Roll up"

How can I install a screenlets applications (aka Desktop widgets)?
sudo apt-get install screenlets
Applications, Accessories, Screenlets
Pick the Screenlets that you want to run, choose whether you want to auto start them at logon.

Monday, April 13, 2009

Wubi Ubuntu Installer

So, let's say that you already have a computer and it's got something like Windows XP or Windows Vista already installed. Let's also say that you want to install Ubuntu to try it out, but are a bit nervous about setting up a dual boot.

If this is the case, the Wubi Ubuntu installer is the perfect solution. More or less, it allows you to install Ubuntu onto your Windows computer just like any other application. It will install itself to a folder of your choice, and then you can simply reboot your computer and Ubuntu will have been added to your Windows bootloader. So, you can pick either Ubuntu or Windows. If later you decide that Ubuntu is not for you, you simply go to Add/Remove programs and uninstall Ubuntu. It's that easy.

Here is the FAQ page which provides more details on Wubi. Trust me when I say that Wubi makes installing Ubuntu incredibly easy without risking your existing Windows setup or having to repartition your hard drive.

EyeCandy Features like docks and screenlets

How about an application dock?
sudo apt-get install avant-window-navigator
Applications, Accessories, Avant Window Navigator
Make modifications by right clicking and choosing Preferences
Suggestions:
-Icon Effects: 3d Spotlight Turn
-Bar Appearance: 3d Look
-General: Auto Hide bar when not in use
-Drag icons to the left of the bar to add to the Launcher list.
-Right click on Panel at bottom and choose remove (can later right click top panel, say new panel and put it back at bottom)

Autostarting it:
System, Preferences, Sessions
Startup Programs, Add, name=dock, command=avant-window-navigator

How about using kiba-dock instead
This is a more involved install, as kiba-dock is not included in the Ubuntu repositories, so it has to be compiled from source

Pre-requisites to installing;
sudo apt-get install subversion fakeroot automake1.9 build-essential libpango1.0-dev libgtk2.0-dev libgconf2-dev libglitz-glx1-dev librsvg2-dev libglade2-dev libxcomposite-dev subversion libtool libgtop2-dev python-gtk2-dev libgnome-menu-dev libgnomeui-dev libgnomevfs2-dev intltool libxml2-dev libglitz1-dev libcairo2 libdbus-1-dev libgtop2-7 libgnomevfs2-0 libgnomeui-0 librsvg2-2 python-feedparser libasound2-dev libsdl1.2-dev libdbus-glib-1-dev libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libgstreamer0.10-0

Downloading and compiling the source code for kiba-dock
sudo mkdir /kiba-dock
cd /kiba-dock
sudo svn co https://kibadock.svn.sourceforge.net...kibadock/trunk kiba

cd kiba/akamaru
sudo ./autogen.sh --prefix=/usr --exec-prefix=/usr
sudo make install
cd ..

cd kiba-dock
sudo ./autogen.sh
sudo make install
cd ..

cd kiba-plugins
sudo ./autogen.sh
sudo make install
cd ..

cd kiba-dbus-plugins
sudo ./autogen.sh
sudo make install
cd ..

At this point, you should be able to start kiba-dock in the terminal with the following command;
kiba-dock &

To auto start this in the future;
Go to System, Preferences, Sessions, click on Add under Startup Programs and add the following settings;
Name = Kiba-Dock
Command = kiba-dock

How do I install Screenlets?
System, Administration, Software Sources
click on Third-Party Software tab
click on Add;
deb http://download.tuxfamily.org/screenlets gutsy screenlets
click on close and then Reload (don't worry if you get a few warnings in the end)

sudo apt-get install screenlets

System, Preferences, Screenlets

How can I install additional theme and icon packs, like UbuntuStudio?
sudo apt-get install ubuntustudio-icon-theme
sudo apt-get install ubuntustudio-theme
System, Preferences, Appearance, pick your theme, customize to change icon packs

Where else can I get themes for my Ubuntu machine?
Go here: http://art.gnome.org/
choose Application under Desktop themes on the right. Download something you like
System, Preferences, Appearance, Theme tab, click on Install and pick the theme you just downloaded.

Ubuntu 8.10 Standard Setup Guide

As some may know, Ubuntu released a new version of their Linux operating system in Oct of 2008. I've decided to write up a thread detailing some setup steps which might differ from my Ubuntu 8.04 standard setup guide. Please be sure to go over this previous blog post as it explains many of the basics and concepts which are the same in the newest version of Ubuntu.

The system that I use for testing is a self built, AMD Athlon64 X2 4600+, with 4GB of RAM, an Asus M2NPV-VM mobo with onboard sound and network, an Nvidia 7600GT video card with 256MB of RAM which was built in April of 2007.

This guide is specifically written for Ubuntu 8.10 (Intrepid Ibex) using the 32 bit version of the desktop cd which you can download from www.ubuntu.com

Initial Setup Notes
As expected, install was a breeze, took about 10-15 minutes to complete. Sound, network and video working at 1280x1024 to my 18" flat panel monitor

Updating to latest and greatest after install
sudo apt-get upgrade
Note: Be sure to reboot if instructed, as you may have a new kernel installed

Installing the proprietary Nvidia display driver
System, Administration, Hardware Drivers

My system found the Nvidia card and gave me the choice of 3 drivers, I choose version 177 which was recommended. Highlight the driver, click on Activate, the system will download and install the driver for you. Once completed, you will need to reboot to activate the driver.

Note: There appear to be some problems with Window title bars getting distorted, disappearing and such with Compiz and the latest versions of the Nvidia driver (173 or 177). I was able to work around by changing the theme to clearlooks for the time being until a new Nvidia driver is available. System, Preferences, Appearances, changed theme to Clearlooks

Adding Multimedia Repository support into Ubuntu
First, Ubuntu does not come with the ability to playback encrypted DVD's, MP3 files or other Windows codec stuff. The reason, is because these are not-open source, royalty free or have other license restrictions. The good news is that you can easily add this support on your own using the medibuntu repository (multimedia, entertainment, distractions in Ubuntu).

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Installing the Multimedia components in 1 step
sudo apt-get install ubuntu-restricted-extras

Playing back Commercial DVD's using VLC
I've chosen VLC because it's popular and it works well.

sudo aptitude install libdvdcss2 vlc
sudo /usr/share/doc/libdvdread3/./install-css.sh
restart the system at this point...at least I had to

Applications, Sound and Video, VLC media player.

Installing Opera Web Browser (optional...some people like it...I prefer Firefox)
First, enable the repositories; System -> Administration -> Software Sources -> Third-Party Software" and enable the line that says "http://archive.canonical.com/ubuntu intrepid partner

sudo apt-get install opera


MP3 Playback
Amarok is the player that i like the best, so that's the one I show here. There are many others which could be used.
sudo apt-get install amarok
Applications, Sound and Video, Amarok

FireFox and other websites look strange, like fonts are wrong!
First, make sure that you install the Microsoft Core True Type fonts package
sudo apt-get install msttcorefonts

Then, go into Firefox, Edit Preferences and change the default font to Times New Roman

And finally, if you are on an LCD monitor or laptop, you may have a font smoothing issue causing problems. Go into System, Preferences, Appearance, Fonts and check the option for subpixel smoothing (LCD's)

Ubuntu 8.04 Standard Setup Guide

Since many of you are new to Ubuntu and even Linux in general, I am going to put together a post highlighting some of the key setup features that I do on a Linux box when I first install. This guide is specifically built for Ubuntu 8.04 (Hardy Heron)

Where can I get Ubuntu from, and what do I need?
You can download Ubuntu from www.ubuntu.com. You will want to download the Desktop version. For compatibility sake, I would pick the 32-bit version as that is what I use for this guide.

Also, with Ubuntu, the standard install cd is a LIVE CD. Meaning that you can boot from the CD and see Ubuntu as it will run straight from the cd without having to be installed. Gives you an idea of what to expect and how compatible your hardware is right out of the box.

What is the "Alternate CD" for?: It's primary for low-end computers or boxes which have trouble with the standard install cd.

What's with the different versions, Ubuntu, Kubuntu, Xubuntu, etc?
Essentially, they are the same OS...but they each have a different desktop environment installed. Ubuntu uses Gnome...and is what I suggest for following this guide as that is what I used. Kubuntu uses KDE which is a competing desktop environment to Gnome. Xubuntu uses XFCE which is a low frills light-weight desktop environment suitable for low-end computers or for those who want the fastest possible performance and are willing to give up a few visual things.

Once you pick one, it's simple to just install the other desktop environment if you want to get a feel for how they look. Once you get through this guide, you will just need to install kubuntu-desktop or xubuntu-desktop.


The command line (aka The Shell, The Terminal)
Yes, I do a lot of my installing from here. Reason, you can cut and paste the line that I give you here into the shell and get it right every time
Applications, Accessories, Terminal (I'd suggest, right click and Add Launcher to Desktop)

What is this sudo thing?
Sudo is the system that is used to elevate your standard user account to termporarily have admin priviledges. When you first installed Ubuntu, the installer made your first user account a member of the sudo system who is allowed to do this.

To use sudo, you simply preface a command with sudo. For example, sudo apt-get install something (this runs apt-get which is the online installer and it is going to install something...and because you started with sudo, it does it with root level priviledges.

When sudo asks you for your password, it will cache it for a few minutes....therefore future commands typed in the next few moments will not require you to type your password over and over again.

What is root, who is root?
This is the equivalent account to Administrator in Windows. root can do anything and everything on the system.

How to update all of my software to the latest and greatest?
Terminal, sudo apt-get upgrade

Adding Multimedia Repository support into Ubuntu
First, Ubuntu does not come with the ability to playback encrypted DVD's, MP3 files or other Windows codec stuff. The reason, is because these are not-open source, royalty free or have other license restrictions. The good news is that you can easily add this support on your own using the medibuntu repository (multimedia, entertainment, distractions in Ubuntu).

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update (when asked to install without verification, say YES)

The 1 step approach to getting all of the restricted stuff installed
sudo apt-get install ubuntu-restricted-extras

Installing this package will configure support for MP3 playback and decoding, support for various other audio formats (gstreamer plugins), Microsoft fonts, Java runtime environment, Flash plugin, LAME (to create compressed audio files), and DVD playback.

Note: package is called kubuntu-restricted-extras for KDE and xubuntu-restricted-extras for XFCE

Therefore, if you install this...you won't need to follow the stand-alone instructions for each as contained below.

Playing Encrypted DVD's (Commercial DVD's)
sudo apt-get install libdvdcss2 gxine libxine1-ffmpeg
Applications, Sound and Video, gxine, choose File (pick DVD), choose View (select desired size). Enjoy

Playing non-native Media formats
For example, Real Player, some Windows video files, and Apple Quicktime
sudo apt-get install w32codecs

MP3 Playback
Amarok is the player that i like the best, so that's the one I show here. There are many others which could be used.
sudo apt-get install amarok
Applications, Sound and Video, Amarok

Another popular application which is starting to gain momentum is banshee. However, the version included in the Ubuntu repositories is pretty old. To install the latest 1.2 release, do the following;
sudo gedit /etc/apt/sources.list

add following line to bottom of file;
deb http://ppa.launchpad.net/banshee-team/ubuntu hardy main
save and exit the editor.

sudo apt-get update
sudo aptitude --with-recommends install banshee-1

Installing Sun Java Support and Firefox Java Plugin
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin

CD-ripping with grip to MP3
sudo apt-get install grip lame
Applications, Sound and Video, grip
Natively, this app will rip to an .ogg file (ogg vorbis). This is a fantastic high-quality open source free format...but if you have a portable device which won't use those files....you can change to MP3 as I show you below.

I like to rip to MP3's on VBR 3 (Variable Bit Rate 3). Here is how I do that;
Open grip, Go to Config tab, encode, change to lame
Changed encoder command line to read: -V 3 --vbr-new %w %m
changed encode file format to read: ~/ogg/%A/%d/%t-%n.%x

The ripped files will be in a folder in your home folder (/home/username) in a subfolder called Ogg.

Installing the Flash Player...for things like YouTube videos
http://www.adobe.com/shockwave/downl...ShockwaveFlash
Choose Download .tar.gz for Linux. Choose Save file when asked
Open a terminal
cd Desktop
gunzip *.gz
tar -xvf *.tar
cd install_flash_player_9_linux/
sudo ./flashplayer-installer
when asked for browser install point, enter /usr/lib/firefox-3.0b5

Mounting a Windows share on another computer
sudo apt-get install smbfs
sudo mkdir /mountpoint (you can call mountpoint whatever you like and put it wherever you want)
sudo mount -t cifs //server/share /mntpoint -o username=Windows_user_name


Mounting a Windows share on another computer at boot time
touch /home/user_name/.smbpassword
sudo gedit /home/user_name/.smbpassword
--add the following 2 lines into this file and save
username=NT_User_Name
password = NT_Password

sudo chown root /home/user_name/.smbpassword
sudo chmod 600 /home/user_name/.smbpassword

sudo gedit /etc/fstab
--add a line similar to the follow (change to suit tastes)
//server/share /mntpoint cifs credentials=/home/user_name/.smbpassword 0 0

sudo mkdir /mntpoint (obviously you can call this whatever you want)

test mount with;
sudo mount -a

Adding sysvconfig for controlling startup scripts and such (probably not necessary for most people)
sudo apt-get install sysvconfig
sudo sysvconfig
toggle the services which auto start on boot. If there is something you don't need,shut it off and speed up your boot and your machine.

Backing up a DVD (just like DVD Decrypter and DVD Shrink under Windows)
sudo apt-get install k9copy
Applications, Sound and Video, k9copy
select the large movie file, expand the options and select only the items that you want
In the lower right, I suggest removing the check for "Keep original menus"
click the DVD button.
Choose a location for the ISO file
Once completed you can burn the .ISO file. Applications, Sound and Video, Brasero Disk Burning

What apps already come pre-installed on Ubuntu
· FireFox: Web Browser: Applications, Internet
· Pidgin: Instant Messenger: Works with AIM, Yahoo, MSN and many others: Applications, Internet
· Open Office: Word processor, spreadsheet, slide shows, etc. Compatible with MS Office files. Applications, office
· The Gimp: Photoediting software. Similar in function to Photoshop. Applications, Graphics
· Brasero: CD and DVD Burning software. Similar to Nero or Roxio. Applications, Sound and Video
· Transmission: BitTorrent software. Applications, Internet

How to make a transparent terminal window
Start terminal (Applications, Accessories, terminal)
Edit, profiles
Edit default profile
Click on Colors to set your color preference (I like green on black)
Click on Effects to set a Transparent background

How to change the logon screen to something else
Visit http://www.gnome-look.org
On the left, click on GDM themes
Find one that you like, download it. It should be in the format of something.tar.gz
System, Administration, Login Window
click on Local tab at top
Choose add, find the GDM theme that you just downloaded (the something.tar.gz), click on Install
Set the theme to Selected Only
Pick the new GDM theme that you want to use.
Log off and back on.

Edit: You can also find pretty cool GDM themes here: http://art.gnome.org/

How can I change the Ubuntu Splash screen that displays when the machine boots and shuts down?
sudo apt-get install startupmanager
sudo apt-get install usplash

Head over to www.gnome-look.org. Click on Splash Screens on the left. Find one you like and download.

System, Administration, Startup Manager, appearance tab
At bottom, click on Manage Usplash theme
Find your theme file that you downloaded.

Edit: If your download was a .tar.gz...double click on the file and extract the file.so. That's the theme file that you have to point to above.



So, does this thing have a firewall and how do I configure it
Like most distros, Ubuntu uses iptables for firewalling. However, unlike many other Linux distros they don't enable it or turn it on by default
With Ubuntu 8.04, Ubuntu uses a new front-end tool for configuring IPTables called ufw (Uncomplicated Firewall)...unfortunately, if you are very new to firewalling, you won't find this very uncomplicated.

First, let's set a default deny policy
sudo ufw default deny

Second, let's allow remote access via SSH to our Linux box
sudo ufw allow 22/tcp
if you later wanted to delete this rule, you can do so with: sudo ufw delete allow 22/tcp

Finally, once you have some rules in place, you have to turn on the firewall
sudo ufw enable
if you later wanted to shut off the firewall, you can do so with: sudo ufw disable

How can I install software without the Terminal or I don't know the exact name of what I need?
System, Administration, Synaptic Package Manager
Search for what you want, mark it, install/uninstall it

How do I modify the programs in the Applications menu?
System, Preferences, Main Menu

Is there something similar to Task Manager in Windows which shows me system performance?
System, Administration, System Monitor

How can I see how much disk space is free?
Terminal
sudo df -h

After I download a lot using apt-get, i notice I run low on disk space
apt-get will cache everything it downloads to the hard drive in /var/cache/apt
sudo apt-get clean (erases the cache)

How can I quickly see how much space is being used and where in my file system?
terminal
sudo du -h --max-depth=1 / (that is 2 dashes before the word max)

How can I tell which applications are installed and which version?
terminal
dpkg -l |less (I piped to less because this is likely a long list


Install frostwire (free LimeWire Pro equivalent application)
Note: if you have problems with the GUI coming up, be sure to install the Java 6 stuff as I did above

Download FrostWire from here
http://linux.softpedia.com/progDownl...load-6084.html

The Ubuntu 7.10 deb file should work fine

Double click on the .deb file, choose Install Package
Applications, Internet, frostwire

If you have problems with "starting connection";
Terminal
cd .frostwire
cp gnutella.net gnutella.net.backup
gedit gnutella.net;
remove everything there and replace with everything from this thread: http://ubuntuforums.org/showpost.php...40&postcount=5

If you still have problems with starting connection";
set port forwarding on your router for Port 6346 (both TCP and UDP) to your Linux machine IP address

Mounting your NTFS partition if you are dual-booting with XP or Vista

sudo mkdir /windows (or whatever you choose to call this mountpoint)
sudo gedit /etc/fstab

Add following line to bottom
/dev/sda1 /windows ntfs-3g defaults,locale=en_US.UTF-8 0 0
NOTE: Obviously, your Windows partition may be something other than /sda1..you will need to know where Windows is installed on your machine and substitute appropriately.

Test your configuration
sudo mount -a

Making a full backup of your system which can be re-installed from a cd/dvd using Remastersys

sudo vi /etc/apt/sources.list, add the following to this file:
# Remastersys
deb http://www.remastersys.klikit-linux.com/repository remastersys/

sudo apt-get update

sudo apt-get install remastersys

To make a live backup of your system and create personal_install.iso
sudo remastersys backup personal_install.iso

To make a live distributable cd/dvd of your current installation and name it custom_install.iso
sudo remastersys dist custom_install.iso
Note: You give this to friends and it has all software installed and updates...just not your own personal files.

When you are done making your isos, be sure to clean up
sudo remastersys clean

How do I remotely connect to my Ubuntu box from a Windows or other Linux host?
The simplest method is with an SSH client
Install the ssh server on ubuntu with;
sudo apt-get install openssh-server

Now, from a Windows host, you can use either Putty, Winscp or any other SSH client
From a Linux host, just use the ssh client preinstalled.


How do I switch to xfce, fluxbox or KDE instead of Gnome?
sudo apt-get install xfce-desktop
sudo apt-get install fluxbox
sudo apt-get install kubuntu-desktop

Now, logout. From Logon screen, click on Options, Choose Select Session and pick your desktop environment. When you then logon, it will ask if you want to use the new session 1 time or make it permanent.