Thursday, April 28, 2011

Get iso support in Brasero disc burner

I felt sometimes that brasero disc burner is behaving odd......its doesnt support the iso format so i was unable to copy disc images in iso format....i fixed this issue by installing a package it can be installed by issuing the below command

command:

apt-get install brasero-cdrkit

Sunday, April 24, 2011

How to connect two linux machines via ethernet cable

Assume :
  • Computer A has ip address 192.168.0.1
  • Computer B has ip address 192.168.0.2
On Computer A:
/sbin/ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
/sbin/route add -host 192.168.0.2 eth0

On Computer B:
 

/sbin/ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up
/sbin/route add -host 192.168.0.1 eth0

Now on Computer A you should be able to ping Computer B:

ping 192.168.0.2

and must be able to do viceversa........  :)


Enabling Compiz Fusion in Debian Squeeze and Solving the Move window problem after enabling

To enable compiz fusion in Debian Squeeze i followed the method illustrated in How to Forge site...

Link : http://www.howtoforge.com/enabling-compiz-fusion-on-a-debian-squeeze-desktop-nvidia-geforce-8200

But after doing this my title bars dissappeared and i couldnt drang windows by clicking on the titlebar..

To fix this issue got compiz settings manager "Window Decoration "  in "Effects" Section and also enable "Move Window" option in "Window Management"

Saturday, April 16, 2011

How to get tab completion in bash if its not working by default

In Debian Squeeze bash doesn't support tab completion in terminal by default...this can be accomplished by a small hack...first we need to edit a file..

vim /etc/bash.bashrc

 By deafult these lines will be commented uncomment them by removing the #

# enable bash completion in interactive shells
#if [ -f /etc/bash_completion ]; then
#    . /etc/bash_completion
#fi

Save the file after done withyour editing do a restart...now the bash support tab completion.........

Friday, December 10, 2010

How to audio ,video and flash plugins in open suse via command line



the package manager in open suse is a crappy one so always prefer the command line way to install all the codecs else it will eat up all your bandwidth here instead of apt-get install in ubuntu we use zypper install


zypper addrepo -f http://ftp.gwdg.de/pub/linux/packman/suse/11.3 packman
zypper addrepo -f http://opensuse-guide.org/repo/11.3 dvd
zypper install libxine1-codecs k3b-codecs ffmpeg lame libdvdcss w32codec-all
zypper install flash-player
 
 
 

Sunday, September 26, 2010

How to get sudo privilage in debian lenny

Normally in debian lenny we can use only su to become the root ifwe nee to use the sudo power then we have to edit the /etc/sudoers file
first become root by using su

ganesh@debian:~$ su
Password:
debian:/home/ganesh# visudo

Now add the username to the list..
ganesh  ALL=(ALL) ALL

am attaching the scrrenshots


Tuesday, September 21, 2010

How to make your own custom dist or custom ubuntu

I made a custom ubuntu distribution(ubuntu 10.04) with all these packages for electronics and electrical students  with all these packages installed in it....
  1. texmaker
    kile
    lyx
    scipy
    numpy
    sympy
    gap
    maxima
    gnuplot
    xfig
    dr.geo
    scilab
    ocatve
    qtoctave
    Rkwrd(gnu r)
    emacs
    labplot
    electric-electrical cad
    gnusim8085
    gpsim
    gresistor
    gwave
    kicad
    ktechlab
    qucs
    piklab
    avrdude
    simulavr
    ngspice
    geany
    grass
    splat
    bluefish editor
    emu8051
    eric
    geda-gschem
    gperiodic
    Sagemath
    Geogebra
I used Remastersys backup tool for this ......
http://www.geekconnection.org/remastersys/
Its is simple for beginners to use the gui and for experienced users can use thecommand line you can akso take the backup including the userdata by using remastersys


Remastersys can be found in synaptic after adding this line in /etc/apt/sources.lst
# Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/

Monday, September 6, 2010

How to fix apache the problem i faced!!!!!!!!

While trying ti install moinmoin a python based wiki engine i faced a weird problem with apache server after installtion when i tried to restart apaches it displayed a n error like this.....

* Restarting web server apache2                                                                               apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting ..apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName


This is how i solved the problem.....


ganesh@linux:~$ sudo kate /etc/apache2/httpd.conf

am now using kubuntu so i used kate as text editor instead of kate u can use gedit,vi etc

By default httpd.conf file will be blank. Now, simply add the following line to the file.
ServerName localhost
Save and exit the text editor
Now restart the apache using the command

sudo /etc/init.d/apache2 restart

my screenshots are given below discard the errors shown while opening the file with kate k....







Happy Hacking.............

Saturday, August 28, 2010

How to get Desktop zoom in ubuntu similar to Mac

Get compiz fusion installed in your system...Enable Enhanced Desktop zoom effect...chenage hotkeys according to your like i configured so that ctrl+mousebutton1 gives zoom in and shft+mousebutton1 gives me zoom out......


Select compiz settings manager and enable enhanced desktop zoom
select the hotkeys



 The above picture shows desktop before zooming.....


This is after zooming....

Enjoy....Happy Hacking....