Sorry

This blog has been abandon for so long. and Ubuntu is not my interest anymore.bye!

Ubuntu 10.10

Ubuntu 10.10 release candidate can be downloaded now.

Code name MaverickMeerkat

How to configure network connections

  • System -> Administration -> Networking
  • Network 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






Turbo Tagger

How to activate/deactivate network connections

  • System -> Administration -> Network
  • Network settings
      Connections Tab -> Select "Ethernet connection" -> Activate/Deactivate

Note: in Feisty, the network names have changed. Instead of "Ethernet connection", you may have "Wireless connection", "Wired connection" and "Modem connection". Also, they don't have an Activate/Deactivate option. Instead, go to "Properties", and activate or deactivate from there.







Turbo Tagger

How to configure Pidgin for Google Talk

First, you'll need to configure your client to connect to the Google Talk service.

To configure your account:

  1. Open Pidgin.
  2. From the Accounts menu, select Add/Edit.



  3. Click Add from the Accounts window.



  4. Enter the following information in the Add Account window:

    • Protocol: XMPP
    • Screen Name: your Google Talk username (without any @ symbol or domain).
    • Server: Enter a server value depending on your type of account:

      • Gmail account users should enter gmail.com
      • Google Mail accounts (example@googlemail.com) should enter googlemail.com
      • If you're signing in with a Google Account that's not linked to any Google email service, enter gmail.com
      • Google Apps users, please visit the Apps Help Center for instructions

    • Password: we suggest leaving this field blank for increased security, but if you'd like to log in automatically, enter your password
    • Local Alias: leave this field blank
    • Remember password: check the box if you'd like Pidgin to remember your password (you won't be prompted to enter it each time you log in, if you select this option)
    • New mail notifications: check the box if you'd like Pidgin to notify you of unread email in your inbox.



  5. Click Save.
Congratulations! You're now ready to connect to the Google Talk service using Pidgin.








Turbo Tagger

How to disable root user account

To disable root user Password type below command in terminal:-

sudo passwd -l root




Turbo Tagger

How to set/change/enable root user password

To set/change/enable root user password type command below in terminal:-

sudo passwd root




Turbo Tagger

How to Install Pidgin


Pidgin is a graphical IM program that lets you sign on to AIM, Jabber, MSN, Yahoo!, and other IM networks. It uses GTK+. It was formerly called Gaim.

Install Pidgin 2.0.0 on Ubuntu Feisty

Download Pidgin 2.0.0 packages from here or here

wget http://download.ubuntu.pl/_Feisty_Fawn/pidgin/pidgin_2.0.0-1_i386.deb

Install .deb packages using the following command

sudo dpkg -i pidgin_2.0.0-1_i386.deb

If you want more details after installation check here

Install Pidgin 2.0.0 Plugin Pack on Ubuntu Feisty

This plugin pack contains the following plugins

Plugins in the Plugin Pack

1. Album
2. Auto Accept
3. Auto-rejoin
4. Auto Reply
5. awaynotify
6. Bash.org
7. Buddy Icon Tools
8. Buddy List Options
9. Buddy Note
10. buddytime
11. chronic
12. convcolors
13. Dice
14. DiffTopic
15. Magic 8 Ball
16. Flip
17. gRIM
18. Group Message
19. Hide Conversation
20. IRC Helper
21. Irssi Features
22. Last Seen
23. List Handler
24. Marker Line
25. My Status Box
26. napster
27. New Line
28. Nick Said
29. Offline Message
30. Old Logger
31. Plonkers
32. Schedule
33. Separate and Tab
34. Show Offline
35. Sim Fix
36. Slash Exec
37. SSL Info
38. Stocker
39. Switch Spell
40. Talk Filters
41. XMMS Remote
42. XChat-Chats

You can download Pidgin 2.0.0 Plugin Pack from here or here

wget http://www.kalpiknigam.com/blog/uploads/purple-plugin-pack_1.0-1_i386.deb

Install Pidgin 2.0.0 Plugin Pack Using the following command

sudo dpkg -i purple-plugin-pack_1.0-1_i386.deb

This will install all the plugins menctioned above.








Turbo Tagger

How to enable Compiz

Compiz is a compositing window manager that uses 3D graphics acceleration via OpenGL. It provides various new graphical effects and features on any desktop environment, including Gnome and KDE.One more cool thing about ubuntu feisty fawn is Compiz will be installed by default.

Compiz Features

Easily extendable through plugins.

A growing, friendly community of users.

Increases productivity and enjoyment.

Impresses your family and friends.

Compiz is actively developed.

Install nVidia drivers in Ubuntu Feisty

First you need to install nvidia drivers using the following command

sudo apt-get install nvidia-glx

sudo nvidia-xconfig --add-argb-glx-visuals

Enable Desktop Effects

Compiz will be installed by default in Ubuntu Feisty Fawn just you have to enable this.

Go to System->Preferences->Desktop Effects, click the ‘Enable Desktop Effects’ button.

If you want to get the cube to work do the following commands

gconftool-2 --type int --set /apps/compiz/general/screen0/options/hsize 4

gconftool-2 --type int --set /apps/compiz/general/screen0/options/number_of_desktops 1

If you want to configure compiz use the following command

gconf-editor





Turbo Tagger

How to install FluxBox


Fluxbox is a popular minimalist Window Manager. To Install Fluxbox Tpye below command in your terminal :-

    sudo aptitude install fluxbox
Make it start when you login through GDM
    echo "exec startfluxbox" > ~/.xinitrc
Make it make the pretty sound on login
    sudo aptitude install sox
gedit ~/.fluxbox/startup
  • Find this line:
    exec /usr/local/bin/fluxbox
  • Put this above it somewhere:
    play /usr/share/sounds/login.wav > /dev/null 2>&1 &
  • Listen happily.

How to Install XFCE (Xubuntu)


To install Xubuntu desktop Environment type command below.

    sudo aptitude install xubuntu-desktop

The xubuntu gdm theme will be set as the default.

  • System -> Quit -> Log Out
  • To log in to XFCE click on Sessions and choose XFCE

How to Install KDE (Kubuntu)

To Install Kubuntu (KDE) Desktop Environment type below command in your terminal.


sudo aptitude install kubuntu-desktop
Note: This installation will require ~400MB of disk space

The system will ask you if you want to use kdm or gdm. gdm is recommended.

  • System -> Quit -> Log Out
  • To log in to KDE click on Sessions and choose KDE

How to mount Windows Partition

Step 1:

Install NTFS-config in Ubuntu Feisty

You can install NTFS-config from Ubuntu Feisty repositories

sudo apt-get install ntfs-config

This will install all the required packages for ntfs-config including ntfs-3g

Step 2:

Using Ntfs-Config

If you want to open this application go to Applications—>System Tools—>NTFS Configuration Tool

Step 3:

Now it will prompt for root password enter root password and click ok

Step 4:

It will show the available NTFS partition as follows in this example /dev/sda1 in NTFS partition

Step 5:

You need to select the partitions you want to configure,add the name of the mount point and click on apply.

Step 6:

Select the NTFS Write support which is suitable for you i.e internal or external

Step 7:

If you are using external hard drive select external option and click on ok. If you using dual-boot with Windows select internal option.

Step 8:

Then you can see the mount point on your Desktop.


How to install Multimedia Player (MPlayer)

    To Install Mplayer,Tpye command below in your terminal 

sudo aptitude install mplayer libxine-extracodecs
  • Note: Kubuntu users may also want to install the KDE user interface for MPlayer
       sudo aptitude install kmplayer
  • An MPlayer plug-in for Firefox can also be installed:
       sudo aptitude install mozilla-mplayer




How to install MIDI sound server (Timidity++)

  • Timidity allows for the playback of MIDI by those who do not have MIDI hardware or MIDI processing built into their sound card (most users) via a software synthesizer.
  • First install Timidity
        sudo aptitude install timidity
  • Set up Timidity to start on boot
        sudo gedit /etc/default/timidity
  • Uncomment the following line (remove the "#" sign)
       #TIM_ALSASEQ=true
  • Set the required modules to load as well
        sudo gedit /etc/modules
  • Add the following modules to the end of the file
        snd-seq-device
snd-seq-midi
snd-seq-oss
snd-seq-midi-event
snd-seq
  • Restart your computer


How to install DVD playback capability

gstreamer dvd plugin is available as part of plugins-bad (or ugly?) and does not work reliably. However, Totem works with the xine backend to play back DVDs. This will keep you going until gstreamer gets dvd playback. Note that you do not have to install xine-ui or mplayer.

   sudo aptitude install libdvdread3

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

sudo aptitude install totem-xine
   sudo aptitude install libdvdcss2




How to install Multimedia Codecs

      sudo aptitude install ubuntu-restricted-extras libxine-extracodecs gstreamer0.10-plugins-base gstreamer0.10-plugins-good \
gstreamer0.10-plugins-bad gstreamer0.10-pitfdll

The "ubuntu-restricted-extras" is a meta-package that installs : flashplugin-nonfree, gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-ugly-multiverse, msttcorefonts,sun-java6-jre and sun-java6-plugin Important note: that w32codecs are copyright infrigement since they are basically exact copies of DLLs that are shipped by various Windows software to handle media formats.

     sudo aptitude install w32codecs

Note to Kubuntu Users: Technically the only packages needed for Kaffeine to play extra codes are libxine-extracodecs and w32codecs. However the installation of all the above packages doesn't hurt anything, as these packages might be needed by other programs (e.g., Open Office Impress uses a gstreamer plugin to display video in presentations).

How To Install Beryl (NViDIA)

  • Ensure all packages up to date
      sudo aptitude update
sudo aptitude dist-upgrade
  • Back up xorg.conf
      sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
gksudo gedit /etc/X11/xorg.conf
  • Install Nvidia Driver for Graphics Card*
    • System -> Administration -> Restricted Driver Manager

Enable Nvidia Drivers

Ctrl+Alt+Backspace to confirm Nvidia Drivers are working correctly

  • Install Beryl
      sudo aptitude install beryl emerald-themes beryl-manager
  • Start Beryl
      beryl-manager
  • Start Emerald (if it doesn't start on its own)
      emerald --replace
  • Have Beryl and Emerald load on login
    • System -> Preferences -> Sessions
    • Startup Programs -> New
      beryl-manager

and

      emerald --replace
    • If, on reboot, program menus aren't displaying in the correct layer (you can't see them when you select them because they are displaying behind the window) then right click on the 'Beryl Manager' icon in the panel (the red gem icon) and select 'Reload Window Manager'. The problem should be solved the next time you reboot.
    • If when you start Beryl you find your windows have no title bar (with the minimise, maximise and close buttons) or borders, you may need to add the following line to the device section of the file /etc/X11/xorg.conf (See this page http://forum.beryl-project.org/viewtopic.php?f=35&t=1631 for details):
        Option "AddARGBGLXVisuals" "True"

and change to

        DefaultDepth 24

in the "Screen" section.


How To Install Beryl (ATI)

Please note: There are 2 ways of installing Beryl for ATI Cards: The open source way and the closed source way. The Open source way is listed first, it should be the first way that you test to see if you can get Beryl working, however undo steps are provided in case it does not work, or you would like to use the closed source drivers that may have frame rate improvements and support your card better.

Open Source Method: (As of 01/05/07 this has been confirmed and tested on a 64 bit system as well) - I found this worked better for me (especially on older ATI cards). I would suggest trying this first as it is very simple and no damage should be caused to your system. It is also very easy to revert if it does not work (without a fresh install).

This assumes that you are not going to use the proprietary drivers and that the (Open Source) radeon drives are working ok for you. It will also use AIGLX. If direct rendering is not working for you yet this will software render (slowly) until you can get that up and running.

Step 1 : Edit your sources.list file adding

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

to the bottom of it.

Step 2 : Add the GPG key. Open terminal and type

 wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -

Step 3 :

 sudo aptitude update

Step 4 :

 cp -p /etc/X11/xorg.conf /etc/X11/xorgold.conf
sudo gedit /etc/X11/xorg.conf

(Note any changes so you can revert back if needed).

Under Section "Module", make sure that the following lines are included, and add them if they are not:

 Load "dri"
Load "vbe"
Load "glx"

Also ensure the bottom of the file has:

 Section
"DRI" Mode 0666
EndSection

Step 5 : Reboot the system (Please don't restart only X. I had odd things happen to me when I skipped rebooting until my next proper restart).

Step 6 : In a terminal:

 sudo aptitude install beryl beryl-manager emerald-themes

Step 7 : type into terminal

 beryl-manager --no-force-window-manager

(this will start beryl but wont activate it yet).

Step 8 : Right click on the diamond near the clock - select advanced beryl options and change the window manager to metacity(GNOME) also change rendering path to copy. Also under advanced change rendering platform to force AIGLX.

Step 9 : Right click the diamond again. This time - select window manager - Beryl.

If it all works and you can spin the cube ok etc. you can try changing the rendering path back to automatic. If it all freaks out just reboot and start beryl again with:

 beryl-manager --no-force-window-manager

Step 10 : Assuming it all worked ok you need beryl to start automatically on boot : Click System-Preferences-sessions. Click add and type

 beryl-manager

Now reboot - beryl should all be sweet.

If you have broken everything - Help! Everytings broken!! Section:

Ok so you did all this and it didn't work for you and your GUI is now broken etc. Revert all changes by following these steps.

Step undo 1 : Drop to console outside GUI. and type

 rm ~/.config/autostart/beryl-manager.desktop

This removes beryl from startup.

 copy -p /etc/X11/xorgold.conf /etc/X11/xorg.conf

This will copy your old xorg settings back

Reboot - your GUI is now working. (Unless you followed some other steps not listed here...)

Step undo 2 : sudo nautilus from terminal. Then show hidden files. Browse to you users home directory and delete the .beryl folder. Alternatively do this from via command line but your GUI should be working now.

Step undo 3 :

 sudo aptitude purge beryl beryl-manager emerald-themes

Step undo 4 : Edit your sources.list file again and remove the added source for beryl.

That's it. Your system is back as it was before you started. All the undo steps can be done without a GUI from the console

Good luck - I can vouch this method works for me on at least 2 different notebooks and a PC.


Alternate method: Using closed source FGLRX drivers from ATI.

  • Open a terminal:
 Applications > Accessories > Terminal
  • Verify our system is up-to-date:
 sudo aptitude update
sudo aptitude upgrade
  • Install Xgl (This is the main problem with ATI cards. The fglrx driver will not support the built-in Compiz feature in Ubuntu and we need Xgl to run our new version of Beryl with an ATI card.):
 sudo aptitude install xserver-xgl
  • Write a script so Xgl can start on its own:
 sudo gedit /usr/local/bin/startxgl.sh
  • Enter and save this script information:
 #!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec dbus-launch --exit-with-session gnome-session
  • If you are missing your shutdown and restart buttons, use this instead:
 #!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session
  • Make the script executable:
 sudo chmod a+x /usr/local/bin/startxgl.sh
  • Now, we need to put in a Xgl option in our GDM login screen:
 sudo gedit /usr/share/xsessions/xgl.desktop
  • Enter and save this script information:
 [Desktop Entry]
Encoding=UTF-8
Name=GNOME with XGL
Comment=
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
  • Also make this script executable:
 sudo chmod a+x /usr/share/xsessions/xgl.desktop
  • Disable the universe repositories (these provide Beryl software that is incompatible with the fglrx driver).
 Go to System > Administration > Software Sources
Uncheck Community-maintained Open Source software (universe)
Click Close

Back in our terminal:

  • Add the correct repository key:
 sudo wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
  • Add the correct repository to the top of your apt source list:
 sudo gedit /etc/apt/sources.list
Enter: deb http://ubuntu.beryl-project.org/ feisty main
Save and close gedit
  • Update your apt sources:
 sudo aptitude update
  • Install the correct Beryl applications:
 sudo aptitude install beryl emerald-themes

Apt should retrieve all of the dependencies such as plug-ins and libraries

  • Install your ATI drivers (if needed):
 Go to System > Administration > Restricted Drivers Manager
Check the Enable check box for your ATI graphics card

You will need to reboot to enable the card.

  • After a reboot and choosing Xgl from your sessions list at your login screen, test Beryl. In a terminal:
 beryl-manager
emerald --replace

You should see the Beryl diamond next to your clock, and you should try moving a window. You may need to right-click on the diamond, select "Beryl" from the "Select Window Manager" flyout, and select "Standard Beryl Decorator (Emerald)" from the "Select Window Decorator" flyout. You may also need to click Reload for each one of these under the same menu.

  • If you are using ATI with XGL, you'll get an error that beryl-xgl is missing. Solution is not elegant, but it's working:
 Download beryl-core deb from http://ubuntu.beryl-project.org/pool/feisty/main/0.2.0/beryl-core_0.2.0~0beryl1_i386.deb
Unpack beryl-xgl from archive to ie. ~/Desktop
From terminal run: sudo cp ~/Desktop/beryl-xgl /usr/bin/beryl-xgl

  • If everything seems to work OK, add Beryl and the Emerald themes to your start-up programs:
 Go to System > Preferences > Sessions
Click the New button
Type "Beryl" (no quotes) for the Name text box
Type "beryl-manager" (no quotes) for the Command text box
Click the OK button

Click the New button
Type "Emerald Themes" (no quotes) for the Name text box
Type "emerald --replace" (no quotes) for the Command text box
Click the OK button

Congratulations! Hopefully, you have Beryl working now. You can now re-enable your universe repositories, but make sure you do not let it update anything related to Beryl. Hopefully, the Beryl apps in the universe repositories will soon work with the ATI cards without Xgl.



How to install Beta Graphics Driver (NVIDIA)

The nVidia driver has been split into different branches; latest and new legacy. See http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/appendix-a.html

  • to find out which driver you should be using. Latest=97xx / New Legacy=96xx
        sudo gedit /etc/apt/sources.list
  • Add ONE of the following lines based on your architecture
        deb http://www.albertomilone.com/drivers/edgy/latest/32bit binary/
deb http://www.albertomilone.com/drivers/edgy/latest/64bit binary/
        deb http://www.albertomilone.com/drivers/edgy/newlegacy/32bit binary/
deb http://www.albertomilone.com/drivers/edgy/newlegacy/64bit binary/
  • Save the edited file
  • Add the GPG key
        wget http://albertomilone.com/drivers/tseliot.asc
gpg --import tseliot.asc
gpg --export --armor albertomilone@alice.it | sudo apt-key add -
  • Update and install
       sudo apt-get update
sudo apt-get install nvidia-glx
sudo apt-get upgrade
  • The upgrade should update your linux-restricted-modules & linux-restricted-modules-common packages.
       sudo nvidia-xconfig
  • Add a menu option for nVidia Settings
       sudo gedit /usr/share/applications/NVIDIA-Settings.desktop
  • Insert these lines in the new file and save
       [Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;
  • Restart the computer and your new drivers should be installed.
  • Test the install with these 2 programs
       glxinfo
glxgears