September, 2009


9
Sep 09

How to capture screen in linux ?

Depending on window managers you use, keyboard shortcuts will wary. We’ll take a look at the some ways to capture screen-shots on gnome,kde.

For gnome:
1. You can use gnome-screenshot.
2. You can use printscrn as well and paste the clipboard image in GIMP.
3. Use screen-shooter
4. fbshot
5. Electric eyes

For KDE

1. You can invoke KSnapshot by going to the K menu and choosing Graphics > KSnapshot or pressing Alt-F2 and typing ksnapshot.
2. You can use printscrn as well and paste the clipboard image in GIMP.

You can use software like shutter for screen capture on any window manager. It comes with lot of features that you can find very handy.


4
Sep 09

How to find amount of users online in ubuntu ?

If you wish to find out number of people logged onto linux machine then type these commands into terminal.

1) This command will display number of people logged on to linux machine.

users | wc -w

2) Command “who” gives you more information about “who” logged into your machine.

who | wc -l

UnixTOP is the software that can produces a list of the users and also what they are doing on the system at the time and will continue to update as long as it is running.


3
Sep 09

How to install fonts in ubuntu ?

If you wish to use new fonts on ubuntu machine then type fonts:// in nautilus browser. But drag-and-drop in nautilus browser will not work and error will be thrown. To work around this, go to your “Home” folder. Now create “.fonts” folder in your home directory. After creating this it’ll be not visible at first but it’s still there.Open your home folder in the file browser, and select View>Show Hidden Files. You’ll see the .fonts folder, just created earlier. You can copy TTF font file into this folder and it will become available immediately to applications after they are restarted.

Types of fonts you can use on ubuntu:

1) Microsoft Fonts ( Cleartype fonts )
To use Microsoft fonts, you’ve to install “msttcorefonts” and for that you’ve to enable multiverse repository.

2) Liberation fonts
( Liberation fonts )
To install the liberation fonts, you’ve to download package “ttf-liberation“.

You can adjust the font rendering options in System >Preferences >Appearance >Fonts.


2
Sep 09

How to find out installed version of ubuntu ?

Sometimes you need to know the installed version of ubuntu. If you’re new to ubuntu, it’ll be confusing for you to where to look for it. Run this command to find the installed version of Ubuntu.

cat /etc/lsb-release

or

cat /etc/issue

or

lsb_release -a

Man command “uname” can be used to find out about the operating system version installed.

uname -o

This will print the information about the operating system. Alternative method is to look for the version by following this :

System > About Ubuntu


1
Sep 09

How to automount NTFS drives in ubuntu ?

To automount NTFS drives we’ll install nfs-config program on ubuntu. To install this program you can either use synaptic or use terminal instead.

Let’s open up terminal. click Applications > Accessories > Terminal. Now type the following commands in terminal one by one.

sudo aptitude update
sudo aptitude install ntfs-config

After complete installation, you can find this program installed in (Ubuntu 8.10) Applications > System Tools. For ubuntu 9.04 it has moved to System > Administration. You’ve to give root passowrd when it asks to when running program. Now choose the drives that you want to be auto-mounted. Click Apply. Also,make sure that “Enable Write Support for Internal Drives” and click OK.

Now you’ve your NTFS drives mounted on your ubuntu box.