Sunday, January 31, 2010

Removing pppoeconf settings

I was having broadband connection, which i configured using pppoeconf command. now i configured my modem in always on. but i was unable to edit network settings of pc (as now i have to use dynamic ip). so following worked for restoring settings:
To have NetworkManager manage all interfaces without editing ifupdown/interfaces files, this should work.
Check /etc/network/interfaces.

Open Terminal and give command

gksudo gedit /etc/network/interfaces

Remove everything but

auto lo
iface lo inet loopback


Then Check /etc/NetworkManager/nm-system-settings.conf
Open Terminal and give command
gksudo gedit /etc/NetworkManager/nm-system-settings.conf
Remove everything but
[ifupdown]
managed=false


Restart computer or NetworkManager service.
From now on, only configure the network using the NetworkManager applet in the notification area (aka system tray).

For more info See: http://wiki.debian.org/NetworkManager

Monday, January 18, 2010

Playing VCD files in ubuntu

for playing VCD files (*.dat) in ubuntu ffmpeg software is required
go to
system > administration > synaptic package manager

search for ffmpeg and install it or run on terminal
sudo apt-get install ffmpeg

PS: files from VCD can not be copied in linux. so you have to copy *.dat files in windows. follow this procedure for playing the files in linux (already copied in windows)

Sunday, January 17, 2010

Enabling medibuntu repository

Medibuntu (Multimedia, Entertainment & Distractions In Ubuntu) is a repository of packages that cannot be included into the Ubuntu distribution for legal reasons (copyright, license, patent, etc). Some of these packages include the libdvdcss package from VideoLAN and the external binary codecs package (commonly known as w32codecs) used by MPlayer and xine.

This command should be run in the Terminal (Applications → Accessories → Terminal):

sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

Changing ownership of files using chown command

chown command is used for changing ownership of files, for help run in terminal


chown --h

Usage: chown [OPTION]... [OWNER][:[GROUP]] FILE...

for example : if ownership of files under folder /home/xyzabc/Pictures (including subdirectories) has to be assigned to user "xyzabc" 

sudo chown -R xyz /home/xyzabc/Pictures

where -R means recursive - operate on files and directories recursively