Ubuntutorial

howtutorials linux

Archive for February, 2009

Ubuntu Absolutely Art of The Fonts

Posted by geekubuntu on February 5, 2009

fonts11

fonts2

fonts3

fonts4

fonts5

Ubuntu offers a lot of fonts, in addition to the defaults installed, and the MicroSoft msttcorefonts package,
in its repositories. All these fonts mentioned here are provided as
packages, which can easily installed using command line tools like
apt-get or using Synaptic. These fonts will come in handy for designing
flyers, or for designing headers and graphics for the web using the
Gimp. Also, some of these fonts are pretty commonly used to render
pages, like Lucida.

It can be installed using:

$sudo apt-get install ttf-gentium ttf-dustin ttf-georgewilliams
ttf-sjfonts sun-java6-fonts ttf-larabie-deco ttf-larabie-straight
ttf-larabie-uncommon

These fonts should together provide enough gunpowder for the novice
graphic designer in Ubuntu. If you are wondering how I took the sample
screenshots, the answer is gnome-specimen, which provides an easy way
to preview the fonts installed on your system. It can be installed
using:

$sudo apt-get install gnome-specimen


To see more free fonts that are available for Linux systems, visit the Free Font Resources for Open Source OSes

Advertisements

Posted in Tutorials | Tagged: , , , , | Leave a Comment »

How to delete directory command in Terminal

Posted by geekubuntu on February 4, 2009

How to delete a directory in terminal?

You need to use the
rmdir utility / command. The rmdir utility removes the directory entry
specified by each directory argument, provided it is empty. Arguments
are processed in the order given. In order to remove both a parent
directory and a subdirectory of that parent, the subdirectory must be
specified first so the parent directory is empty when rmdir tries to
remove it.

Remove / Delete directory called /tmp/foo

Open the terminal. Type the following command:

$ rmdir /tmp/foo

Recursive removal

Remove all files and directories (recursive removal):
$ rm -rf /path/to/directory
$ rm -rf /tmp/foo

Please note that you can also pass -p option to rmdir command. Each
directory argument is treated as a pathname of which all components
will be removed, if they are empty, starting with the last most
component:

$ rmdir -p /tmp/x/y/z

Posted in Tutorials | Tagged: , , | 1 Comment »

How to Switch Between Gnome And KDE Desktops on Ubuntu 8.04

Posted by geekubuntu on February 4, 2009

Step-by-step tutorial with screenshots!

kde-4-1-on-ubuntu-8-04-23

KDE 4.1 is finally out today, as you probably already know, and it comes with a lot of innovations for the Linux desktop. KDE 4 is the next generation of the popular K Desktop Environment, which seeks to fulfill the need for a powerful yet easy-to-use desktop, for both personal and enterprise computing. The new version provides increased stability over the first KDE 4 version and more eye candy!

So, if you don’t want to download an openSUSE-based KDE 4.1 Live CD or to wait until a stable distribution is released with KDE 4.1.0 as the default desktop, we will teach you how to install it on your existing Ubuntu 8.04 or 8.04.1 LTS desktop.

Step 1 – Add KDE 4.1.0 Repositories

Go to System -> Administration -> Software Sources

install-kde-on-80402

…enter your password and the Software Sources window will appear. Click the second tab “Third-Party Software,” then click the ‘Add’ button and paste the following code in the new window that will appear:

CODE
install-kde-on-80411

Now, click the ‘Add Source’ button and, immediately after, the ‘Close’ button of the main window. It will ask you if you want to reload the information about available software. Click the ‘Reload’ button and wait for the Software Sources window to close.

install-kde-on-80412

Step 2 – Install KDE 4.1.0

All you need to do now is to…

Click here to Install KDE 4.1

Then click the ‘Yes’ button to install the packages (enter your password when asked)…

install-kde-on-8043

Wait for the KDE 4.1 packages to be downloaded….

install-kde-on-8044

When the download is over (it will take a while if you have a slow bandwidth) you will be asked to choose a display manager (GDM or KDM-KDE4). Just click Forward…

install-kde-on-8045

The installation will start and, when it is over, just log out. Then select the ‘KDE 4’ option in the “Select Session” entry of the GNOME login manager and voila… KDE 4 fun on your desktop!

install-kde-on-8046

Enjoy the brand new KDE 4.1.0 on your Ubuntu 8.04 (Hardy Heron)!

Optional Step 1 – Restoring the Original Ubuntu Bootsplash

The KDE 4.1 installation will overwrite your current Ubuntu bootsplash theme. If you don’t like the blue Kubuntu one, and you want to restore it, follow the instructions below.

Click here to Install StartUp-Manager

When the installation is over, go to System -> Administration -> StartUp-Manager

install-kde-on-8047

…enter your password, and wait for the main window to appear. Then, go to the second tab (“Appearance”) and select the usplash-theme-ubuntu from the ‘Usplash themes’ section…

install-kde-on-8048

Wait for the application to apply the new settings and you’re done!

install-kde-on-8049

If the above method does not work you can use this way….

Open your terminal and type:

sudo apt-get install kubuntu-desktop

When prompted, enter your password, and then answer yes (Y) when asked if you want to  install. The install may take some time to complete, so be patient.

To install Gnome in Kubuntu, open a Terminal window and type:

sudo apt-get install ubuntu-desktop

When prompted, enter your password and continue with the install until it has been completed.

Now reboot either Ubuntu or Kubuntu. Then at the logon screen you can either press F10 or click on the Options logo at the bottom (left side) of the login screen. Then click on Select Session…

kdegnome1

Here you can select Gnome (2) or KDE (3) by selecting the radio button.

kdegnome2

During the next logon, you will see a prompt asking if you want to use the same desktop manager Just For This Session or Make Default (so you don’t have to be bother with the prompt again).

kdegnome3

To change back to either KDE or Gnome, press F10 and select the desktop manager of your choice.

If you changed from the previous desktop manager, you can make it the default at the next logon.


Posted in Tutorials | Tagged: , , , | Leave a Comment »

Getting Projectors to Work in Ubuntu

Posted by geekubuntu on February 4, 2009

It’s very simple
1. Connect the projector to your laptop.
2. Do this in command line.

sudo dpkg-reconfigure xserver-xorg

3. Just press Enter through every screen.

4. Restart X for the changes to take effect by pressing CTRL + ALT + BACKSPACE.
5. Log in again as you always do.
6.And finally, the projector will automatically display your Ubuntu
desktop and you can show off your desktop effects to your co-workers.

Posted in Tutorials | Tagged: , , | Leave a Comment »