Followers

Powered by Blogger.
Showing posts with label Tips and Tricks. Show all posts
Showing posts with label Tips and Tricks. Show all posts
Monday, December 15, 2008

No splash Screen in ubuntu - How to solve it??

In ubuntu 8.04 and 8.10 , some times there is no splash screen display. Where did it go?

Yes, it is Screen resolution problem, that can solve with a little changes as shown below.

Edit the following file,

$ sudo gedit /etc/usplash.conf

Then change the values with new values , that your system support. You can find your supported values from System –> Preferences –> Screen Resolution.

In my case, it was:

xres=1024

yres=768

Now we need to reconfigure the usplash

$ sudo dpkg-reconfigure -phigh usplash

Sunday, December 14, 2008

Easiest way to install Ubuntu server Applications like Apache, PHP, Mysql (LAMP)

Wonderful Ubuntu Trick

Easiest way to install Ubuntu server Applications like Apache, PHP, Mysql (LAMP), JAVA, DNS and Everything You need .

open a terminal and type

$ sudo tasksel

now you can see a text based installation screen will then allow you to install a LAMP server, Samba, Tomcat Java server, OpenSSH, DNS server and lot of other stuff.

man2html : Ubunutu Man pages in Firefox

Properly formated man pages in Mozilla Firefox (or any browser) is a dream of linux users, if it has a search facility? great!!!

First you have to install man2html using Synaptic or apt

$ sudo apt-get install man2html

Then open Mozilla Firefox and do the following

Go to Bookmarks > Organize Bookmarks;
Open a bookmark folder then right-click and chose New Bookmark;
Name the new bookmark Man;
In the Location field paste this line:

http://localhost/cgi-bin/man/man2html?query=%s

In the Keyword field type man;
Click Add.

Now you try man ls in address bar of your browser

You can try

http://localhost/cgi-bin/man/man2html?query=

also, before adding bookmark just cut and paste the above to your browsers address bar

Sunday, December 7, 2008

Howto Clear History From Movie Players in Ubuntu

Some of My friend asked me, how they can clear history from ubuntu movie players, I don't know whay they need it. Any way I will tell you the secret of history clearing.

Almost all of the applications in Gnome store their history in the same place, and it can be cleared by clearing the recent documents on the Gnome menu.

Go to the Menu bar
Places --> Recent Documents --> Clear Recent Documents

You will get a confirmation windows then press clear

Of course we did, and now the list is gone from Movie Player

Simple but useful Linux Trick

How often have you typed in a command and then realized that you forgot to type sudo. This will help you, don/t need to type the long long command.

type the following !! will replace your last command
$ sudo !!

example
$
vi /etc/apt/sources.list
this will open file as read only you need sudo to edit the file

$ sudo !!

this will expand your command automatically to

$ sudo vi /etc/apt/sources.list
Wednesday, December 3, 2008

Howto get your system specification in ubuntu

There is a simple way to find the Hardware specification of your computer.

open a terminal windows and type the following

$lshw this will give the full hardware details in an ugly text format

Now you can try the follwing

$lshw -html > abcd.html

open the abcd.html file in web browser (firefox)

About Me