Ubuntu Edgy (Nvidia) Installation Guide

Make sure you have both the Universe and Multiverse repositories enabled.
System -> Administration -> Software Sources

1) Identify the architecture of your kernel (e.g. generic or 386,etc. )Open Terminal or Konsole and type:

$ uname -r

(You will get something like this: 2.6.17-10-generic )

2) Now that you know the architecture (generic in my case but it could also be 386), type:

$ sudo apt-get install linux-generic

(of course you need to use your architecture instead of generic)

In this way you will install a dummy package which will always provide you with the latest kernel image, headers and restricted modules.

3) Install the Nvidia driver:

$ sudo apt-get install nvidia-glx

4) Backup your xorg.conf

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

5) Enable the driver in your xorg:

sudo nvidia-xconfig --no-composite

6) Create a link to the “Nvidia-Settings” Panel in your application menu:

sudo gedit /usr/share/applications/NVIDIA-Settings.desktop

(if using xfce there is no gedit, use mousepad instead)

Insert the following lines into the new file:

[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA X Server Settings
Exec=nvidia-settings
Icon=
StartupNotify=true
Terminal=false
Type=Application
Categories=Application;System;

Save the edited file.

Log out and press CTRL+ALT+BACKSPACE (so as to restart the xserver).


for older nvidia-cards:
sudo apt-get install nvidia-glx-legacy
check here
http://www.nvidia.com/object/IO_32667.html
to see if you need a legacy driver

How-to Install Linux Firewall ?




Firestarter is a good firewall tool that uses the iptables system built into the Linux kernel. Firestarter provides a graphical interface for configuring firewall rules and settings. It also provides real-time monitoring of all network traffic for the system.

so, we give a try,

$ sudo aptitude install firestarter


Ubuntu bare install

this article covers bare installation of ubuntu,

ubuntu as you know great operating system, but after installing ubuntu so many useless packages hog down the system, so i decided to find another install method, first, only commandline server install, after this only install required packages. perfect system ( for me )

so lets begin;

download one of alternate cd's ( your achiture x686, x64 vs )

eg. greece mirror

burn disk and boot


choose commandline install on the boot menu
install with default options,
at the end, log in the system

after that, we need a graphical desktop (eg. gnome)
do this;


$ sudo aptitude install xorg


next step installing a window manager

$ sudo aptitude install xfce4

and test new system

$ startx

this is very minimal, but no browser, no graphical text editor
this will install web browser, text editor, chat client and archive manager

$ sudo aptitude install firefox mousepad gaim xarchiver

if you want other things you can search package descriptions to add as you like

$ sudo aptitude search DESCRIPTION



Package Management in Ubuntu

sudo aptitude xxxx [package]


update - this option used with aptitude or apt-get will retrieve the latest versions of packages from the update servers. You should check for updates periodically (normally your system should check automagically from time to time)

search [keyword] - this option will allow you to search for packages by name or description. Do you want to find a package that offers feature [keyword] or [keyword]? Simply use aptitude search [keyword] (or with apt-get use apt-cache search [keyword]) and a list of packages will be retrieved matching your search.

show [package] - this option will show you more detail about the package. File sizes, extended descriptions, dependencies and maintainer information. This is useful when you want to know more about your package. As above if you’re using apt-get the command would be apt-cache show [package].
install [package] - this option is pretty straight forward. If you want to install [package] use the command and your package will be retrieved and installed for you. If you’ve ever installed anything from the command line or used any of my previous tutorials you’ve definitely used this option.

remove / remove –purge [package] - this option will let you remove a package that you had previously installed. Using the remove option your system will uninstall whatever package you want (see above on using aptitude for dependency removal). Using the –purge option will also remove any configuration files that your program had included. If you know you are never using the program again and can safely purge any trace of it, you can use the –purge option. If you might be back (it happens) the config files might come in handy later.

upgrade - this option will allow you to upgrade your system. After running update (see above) using the upgrade command will get your system up to date on anything new waiting on the central package repositories. You should regularly run update and upgrade to keep your system up to date.

dist-upgrade - this option will do a complete upgrade of your system. Often a package will be updated but the new version also depends on additional packages. To make sure you are completely updated you’ll want to also include this in combination with upgrade. A complete set of upgrade steps would be to use update followed by upgrade and then dist-upgrade.

autoclean - this option cleans your system from previous upgrades. The APT system will download the latest package when it upgrades your system. If you have upgraded a package two or three times since originally installing you might then have three versions of that package in your system cache. Using autoclean tells your system to remove the previous, now unneeded packages. This is also a good idea after running upgrade and dist-upgrade.

How-to Installing Beryl and Xgl on Ati Graphic Cards

this tutorial covers how-to install Beryl window manager to Ubuntu Edgy (6.10) cline way.

but before starting, should consider your ati graphic card working properly

how ?

The Xgl X server requires 3D video acceleration. Most graphics cards should automatically support 3D acceleration in Edgy Eft; some graphics cards might need some tweaking though.

You can check whether direct rendering is enabled by invoking

open up terminal > gnome menu > applications > accessories > terminal

$ glxinfo | grep direct

if something like:

direct rendering: Yes


then you're ready to install Xgl and Beryl. If it doesn't, this might help

enter these terminal window


$ sudo nano -w /etc/apt/sources.list #opening sources.list file


add the line to end of file

deb http://ubuntu.beryl-project.org/ edgy main

and exit editor > ctrl+x > save ? > yes


add beryl repo keys:

$ wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
$ wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -

$ sudo apt-get update #upgrade repo list



$ sudo apt-get install xserver-xgl #install xgl
$ sudo apt-get install beryl emerald-themes # install beryl and themes


$ sudo nano -w /usr/local/bin/startxgl.sh #setting startup script

copy paste into editor this:

#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec dbus-launch --exit-with-session gnome-session


close editor > ctrl+x > save? > yes

$ sudo chmod a+x /usr/local/bin/startxgl.sh # setting permissions newly created startup script


adding login entry:

$ sudo nano -w /usr/share/xsessions/xgl.desktop

copy paste into editor this:

[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application





the last changes we need is to get beryl to start up when logging in, this is done from the menu System -> Preferences -> Sessions under the tab Startup Programs we need to add the following entry

beryl-manager

you have completed ati-beryl install.

When you come to the login screen you will have to go down in the left corner and click sessions and select Xgl from the list and click Change Session.

Now you can login and try out Xgl and Beryl.




some flavour

Subpixel rendering packages for ubuntu (cline)

default ubuntu font rendering is poor, how correct this ?


open up terminal

$ sudo nano -w /etc/apt/sources.list

enter these end of file


deb http://www.elisanet.fi/mlind/ubuntu edgy fonts
deb-src http://www.elisanet.fi/mlind/ubuntu edgy fonts

close editor > ctrl+x > save ? > yes

$ sudo apt-get update #updating repos

$ gpg --recv-keys 937215FF #adding package security identifier
$ gpg --export --armor 937215FF | sudo apt-key add -

$ sudo apt-get upgrade #installing alternative font rendering packages


$ sudo dpkg-reconfigure fontconfig-config

Be sure to set subpixel rendering to “always” on the second screen (and bitmap fonts to “No”). The amount of hinting applied can be adjusted in the Gnome Font Settings dialog






whooow !

Ubuntu Edgy (ATI) Installation Guide (cline)

open terminal window:

$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.bkp ##backup xorg.conf

$ sudo nano -w /etc/X11/xorg.conf ## open xorg.conf

add these lines at the end of the file:

#-------------------------------------
Section "Extensions"
Option "Composite" "Disable"
Option "Composite" "false"
EndSection
#-------------------------------------

ctrl+X exit editor >save modified buffer ? > yes

$ sudo apt-get update # updating repos
$ sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed
$ sudo apt-get install xorg-driver-fglrx # installing driver
$ sudo depmod -a
$ sudo aticonfig --initial
$ sudo aticonfig --overlay-type=Xv

$ sudo nano -w /etc/X11/xorg.conf # edit xorg.conf file again

search this lines to enable direct rendering if dont required skip this step

Driver "ati"
or
Driver "radeon"

and replace with

Driver "fglrx"

reboot your system.