Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Thursday, February 10, 2011

Offline Gnome Dictionary on Linux mint and Ubuntu:

The dictionary tool that comes with the gnome requires Internet connection to retrieve information from the dictionary server.So without an Internet connection it is useless.We can install a dictionary server on over local machine to avoid this constraint.
Installing Dictionary on localhost:
Copy and paste the following command to install dictionary server package.
#sudo apt-get install dictd
After installation of the above package you will need to install the database and English dictionary so enter this command.
#sudo apt-get install dict-moby-thesaurus dict-gcide
After the installation of above packages you can now use command line to consult dictionary as:
#dict -options ur_word

Converting Video Formats Using ffmpeg on Linux:

Installing ffmpeg on Fedora 12,13,14:
In fedora 12,13 and 14 first of all you will need to enable access to rpmfusion free and non free repositories using the following command:
# su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
and then running command:
#yum -y install ffmpeg
will install ffmpeg on your fedora machine.
Installing ffmpeg on Ubuntu 10.x/Linux Mint:
sudo apt-get install ffmpeg libavdevice52 libavfilter0 libavcodec-extra-52 libavformat-extra-52

Sample Commands:
Simple conversion with ffmpeg defaults:
ffmpeg -i inputfile.format outputfile.format  

Changing frame rate:
ffmpeg -i input.avi  -r 24 output.avi 

Converting to mp4 using mpeg4 codec
ffmpeg -i input.flv -vcodec mpeg4 -acodec copy output.mp4

Converting video for  cell phone :)
ffmpeg -i input.format -s qcif -vcodec mpeg4 -r 18 -acodec copy output.mp4

Extracting audio in mp3 format:
ffmpeg -i input.avi -vn -acodec copy output.mp3

Wednesday, February 9, 2011

Installing and Configuring Conky:

conky is a popular system monitor which is light weight and is highly configurable through its own scripting interface that allows access to status of several system variables like storage,CPU consumption,memory usage, network interfaces and temperatures etc. 
Installation:
You can install conky from synaptic package manager or by issuing the following command in your terminal:
sudo apt-get install conky

Tuesday, February 8, 2011

Customized Desktop for Ubuntu 10.X using AWN and Conky:

AWN (avant window navigator) is a feature rich dock application for linux based distros. It includes almost every applet that comes with default ubuntu gnome-panel and pretty more customizable with its included themes and available third party applets.
So AWN can be a fancy as well as a more functional replacement to the default gnome-panel.

Installing AWN with lucido style:
what is lucido? Take a look at this screen shot :
Lucido is an AWN style which is now available as a part of AWN trunk, so instead of installing the stable release available in synaptic package manager ,we will install AWN trunk available through AWN trunk PPA.

Monday, September 27, 2010

Wordpress Installation guide for Ubuntu 10.04/Mint isadora Linux(part 2):

According to wikipedia.org:
“WordPress is an open source CMS, often used as a blog publishing application powered by PHP and MySQL. It has many features including a plugin architecture and a templating system. Used by over 12% of the 1,000,000 biggest websites, WordPress is the most popular CMS in use today.”
                                                     (source: http://en.wikipedia.org/wiki/WordPress)

For more information on wordpress visit wordpress.org.
Installation:
First download wordpress-3.0.1.tar.gz from wordpress.org and extract it using archive manager to your desktop,now open your terminal and use the following commands to copy extracted folder from desktop to your web document root folder (see part 1 for web document root directory).

Wordpress installation guide for ubuntu 10.04 /Mint Isadora Linux(part 1):

This installation guide has two parts, this part contains instructions for installing the prerequisites: Apache,MySql,php5 and phpmyadmin.

Installing apache:

#sudo apt-get install apache2

To ensure correct installation point your browser to http://localhost/ and press enter, you will see “it works” in your browser window.

Friday, September 24, 2010

Virtual Box Guest Additions on Fedora 13 installation guide:

Before installing guest additions on fedora 13 make sure that following packages are installed on your fedora 13 virtual machine.
  1. make
  2. automake
  3. gcc
  4. gcc-c++
  5. dkms
  6. kernel-headers
  7. kernel-devel
you can inquire your system for above packages using this command:

Wednesday, September 22, 2010

Virtual Box Bridged Networking:

Bridged Networking:
In bridged networking Virtual box uses a software driver interface on the host machine that enables the virtual machines to get their IP addresses from the same source to which the physical interface of the host system is connected. When connected this way guest machines see themselves as they are physically connected to the host through a wired connection.

Monday, September 20, 2010

Recovering Grub 2 using Ubuntu/Mint Live CD:

Most Linux distributions use Grub as default boot manager/boot loader, when we install Linux it changes the MBR(master boot record) by writing a small piece of code so that it can point to the Grub files installed inside the /boot/grub directory.
In some cases, like in a dual-boot system having both Linux and Windows, reinstalling windows overwrites the MBR, and Linux becomes no longer boot-able. To boot again into Linux we need to recover the lost link to Grub.
Here is a method for recovering Grub using Ubuntu 10.04 live CD and is only applicable to Grub version 2.

Sunday, September 12, 2010

How to Add and Set Custom Display Resolutions using xrandr Command on ubuntu 10.04 (lucid lynx) Linux

You can change your monitor's display resolution from system->preferences->monitors,but in some cases Linux fails to detect the proper resolutions for your monitor,in such situations we can add and set custom resolutions with a little effort by using xrandr command.

As it is said in the man pages:

     “ Xrandr  is  used  to set the size, orientation and/or reflection of the
        outputs for a screen. It can also set the screen size.

        If invoked without any option, it will dump the state of  the  outputs,
        showing  the existing modes for each of them, with a '+' after the pre‐
        ferred mode and a '*' after the current mode.......”

Sunday, August 22, 2010

INSTALLING CAIRO DOCK 2.1.3 ON UBUNTU 10.04 (LUCID LYNX) WITHOUT INTERNET CONNECTION:

Ok here we go, to install cairo dock you will need a computer with dual boot having another operating system I.e Windows or any other OS with working internet connection.
All you need to install cairo-dock are the following Packages:

Follow me

Join me on the New Digg Follow ur_sunny on Twitter

Translate

Labels

Followers