Monday, February 28, 2011

WIFI CONFIGURATION IN DEBIAN

Configuring Wireless in debian lenny on HP Compaq nw8240/Mobile Workstation


I have a(HP Compaq nw8240/Mobile Workstation) laptop having dual operating system(Windows & Linux). For linux, I have installed Dzongkha Debian Lenny 2.6.26 version and tried to setup wireless but didn't work unless I found out the following procedure:

1. Add to sources.list

#deb http://ftp.us.debian.org/debian lenny main contrib non-free 
#aptitude update 

Monday, November 29, 2010

Converting AVI to DVD

#aptitude install mencoder
1. Locate your avi file(s).

 #mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
 -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 \
  -o movie.vob movie.avi

Converting DVD/AVI to VCD

Creating VCD from various video sources using mplayer/mencoder, vcdimager and a CD burning software

#aptitude install vcdimager

1. Converting DVD file format to VCD format

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts     vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224:aspect=16/9 -ofps 25 -o movie.mpg inputvideo.vob

Wednesday, November 24, 2010

Installing Startup Manager

If you are using dual operating system(Windows & Linux), you always need to choose grub boot order. By default, the Linux will be always in first sequence. If you need to go to Windows, you have to select Windows using PageUp and PageDown button. Otherwise if you are late, the machine will automatically boot for Linux. To avoid such problem, you have to install StartUp Manager.

1. Open terminal and run the following command.
#aptitude install startupmanager

Merging, extracting and squeezing of pdf files

1. Merging

It is very useful to combine multiple PDF documents into one file. This is useful especially if you accumulate many PDFs (newsletters, bills, etc.) over time.
Preparing Your system

#aptitude install gs pdftk

Mounting NTFS file system

In order to mount NTFS file system automatically everytime you log in into your system we have to do the following:
1.Install ntfs-3g in terminal or Synaptic Package Manager

#aptitude install ntfs-3g

Installing fonts in Debian

1. In root system
By default, there are limited fonts in the debian system. Install whatever fonts you like from the terminal.

# mkdir /usr/share/fonts/truetype/my_fonts
# scp -r /media/JRABGAY/IMPORTANT\ DATAS/SOFTWARES/fonts/Promocyja096.ttf /usr/share/fonts/truetype/my_fonts
#cd /usr/share/fonts/truetype/my_fonts/
# mkfontscale && mkfontdir
#fc-cache


Restart your Openoffice!