Kannst du das spüren?

Posts Tagged ‘openSuSE 11.2

Installing Canon LBP2900 on openSuSE 11.2

with 7 comments

This tutorial helps you with installing Canon LBP2900 (or any other LBP series) printer on openSuSE 11.2 (or any other version of openSuSE). Note that you need to install Ghostscript before you may proceed with this installation. Open YaST, search with the keyword ghostscript and install the package. After the installation of Ghostscript is over, proceed to the below steps. Before you begin the installation you need to disable auto-configuration of USB printers in YaST. To do this, open YaST > Printer > Autoconfig Settings and select No Automatic Configuration and select OK.

  • Download the driver file for Canon LBP printers from here (scroll down to the bottom and you can see a .gz file)
  • Let us assume that you have downloaded this file to your home folder. Extract the zip file.
  • Execute the following commands in the same order
# Enter the root password when prompted
sudo su -
# The names of the RPM files may vary depending
# upon the version. The Exact name of the rpm files
# given below may vary depending upon the version
# you have downloaded
rpm -ivh cndrvcups-common-1.90-1.i386.rpm
rpm -ivh cndrvcups-capt-1.90-1.i386.rpm
  • Restart CUPS
/etc/init.d/cups restart
  • The next step is to register the printer (PPD) with the spooler. But before going to this step some symbolic links needs to be created and this was not mentioned in the tutorials. Please follow the steps given below.
# shut down CUPS
/etc/init.d/cups stop
# Makes fifo0 accessible to all
chmod 777 /var/ccpf/fifo0
# Make root the owner of fifo0
chown root /var/ccpd/fifo0
# start CUPS
/etc/init.d/cups start
# If you attempt to register the PPD files without creating symbolic
# links as mentioned below, you might get this error.
# "bad device-uri "ccp:/var/ccpd/fifo0"!"
# create symbolic links in lib64 to the folders backend and filter
# in /user/lib/cups
ln -s /usr/lib/cups/backend/ccp /usr/lib64/cups/backend/
ln -s /usr/lib/cups/filter/* /usr/lib64/cups/filter/
# !!! Important !!! Note that you enter the appropriate PPD file name
# in the below mentioned command. If your model is Canon LBP3200,
# enter CNCUPSLBP2900CAPTK.ppd in the below command and
# register the PPD
/usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
# If you get the error "bad device-uri "ccp:/var/ccpd/fifo0"!" while registering,
# make sure that you created symbolic links as mentioned above
  • Connect the printer on the USB port and turn it on. Do this before you proceed to the next step
  • Find out the Printer Device path by typing
ls /dev/usb/
  • Please note that only if you had connected your printer to the USB port and turned it on will you be able to find the device path
  • Now register the printer in the CCPD daemon setup file by typing
# Enter the name of your printer and the right device path.
/usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0
# and start the CCPD daemon
/etc/init.d/ccpd start
  • Congratulations. Your printer has been configured successfully now . You need to do the following to start the CCPD daemon at the time of boot. Open /etc/init.d/ccpd and add the following comments to the third line of the file and save it.
# Provides:          ccpd
# Required-Start:    $local_fs $remote_fs $syslog $network $named
# Should-Start:      $ALL
# Required-Stop:     $syslog $remote_fs
# Default-Start:     3 5
# Default-Stop:      0 1 2 6
# Description:       Start Canon Printer Daemon for CUPS
  • Register the printer in the CCPD daemon
insserv ccpd

Installing opera 10.10 on openSuSE 11.2

leave a comment »

Installing Opera on openSuSE 11.2 is so simple that it doesn’t even need a tutorial to explain it. However, I’ve decided to write one for those who need it.

  1. Go to
  2. Select SuSE under the field Select distribution and vendor
  3. Select the option openSuSE 11.2 if that’s what your openSuSE version  is.
  4. Select RPM package under choose package format.
  5. Click on Download opera and save the .rpm file.

After the download is completed, open Terminal and go to the download location. For the purpose of this tutorial, I assume that you’ve downloaded the file to /home/username/Download/

type in Terminal,

cd ~/Download/
sudo rpm -i opera-10.10.gcc4.qt4.x86_64.rpm

Enter the root password when prompted and wait until the prompt reappears.

Installation of Opera 10.10 is now complete and you can access it from

Application Launcher -> Applications -> Internet -> Web Browser -> Opera

Please leave a comment if this tutorial was helpful to you.

Installing German/other language dictionaries on openSuSE 11.2

leave a comment »

If you are a language enthusiast, provides you with tons of dictionaries under GPL, which you can install on your Linux machine. The first step is to install QStarDict, which has a wonderful interface to browse those dictionaries. You can install QStarDict through YaST after including the following repository (discussed below) in the list of Software Repositories.

open YaST Control Center

click on Software Repositories and click on the Add button on the bottom

click on Specify URL and click Next

Under the field Repository Name enter QStarDict installation source and under the URL field, paste the following URL (Don’t  remove the colon in the URL, just paste it as it is)

Click on Next and click on OK. While the repository files are downloaded and added you may get some warning regarding untrusted source. Just click on Import without worrying about it. This has got nothing to do with compromising your system.

Now go to YaST click on Software Management, search for qstardict and install the package.

Downloading the dictionaries

Now download the dictionary you want (Some dictionaries have rpm download as well as tarball download. Always download the tarball. In this tutorial I’ve only talked about the tarball installation, as not all dictionaries below provide an equivalent rpm version). Each of these links have different set of dictionaries.

Langenscheidt Großwörterbuch Deutsch als Fremdsprache – ein einsprachiges Wörterbuch (German)

Several English dictionaries

Chinese dictionaries

Taiwanese dictionaries

Japanese dictionaries

French dictionaries

Russian dictionaries

Korean dictionaries

and many more bilingual dictionaries

The next step is installing these dictionaries (I assume that you’ve already installed QStarDict, as I’ve explained above).

Go to the location where you have downloaded these dictionaries.

Let’s say you’ve downloaded stardict-ldaf-2.4.2.tar.bz2 to ~/Download/dictionaries

then go to ~/Download/dictionaries and type

tar -xjvf stardict-ldaf-2.4.2.tar.bz2

now you can see a subdirectory created automatically under the name stardict-ldaf-2.4.2

Extracting multiple dictionaries at once

If you have downloaded multiple dictionaries from the above links and if you don’t want to run the above command for each and every file, you can put the following lines in a shell script and execute it. I hope you don’t need a how to on this one, but if you do, please leave a comment and I’ll include it too.

for i in *.tar.bz2; do
tar -xjvf "$i"

Adding the dictionaries to QStarDict

Create a symbolic link to this directory (in this example it’s ~/Download/dictionaries) on the directory /usr/share/stardict/dic/ as shown below

sudo ln -s ~/Download/dictionaries/* /usr/share/stardict/dic

Enter the root password when prompted and you’re done. Now you can find QStarDict installed at

Application Launcher -> Applications -> Office -> Dictionary -> QStarDict

Have fun learning!

If you are benefited from this tutorial or if you have any suggestion on improving this, please leave a comment.

Disable auto mount of encrypted LUKS (CRYPTO_LUKS) partition on openSuSE 11.2 while booting

leave a comment »

If you have setup an encrypted partition on your openSuSE 11.2, while booting it would prompt you to enter the LUKS password before proceeding to the login screen. Even though it would continue booting if no input has been entered for more than 3 minutes, you may find it annoying , or you may want the encrypted partition to be mounted only on the fly whenever you wish. This workaround enables you to do so.

Open Terminal and type

cat /etc/crypttab

which should result in something like

cr_sdb4 /dev/disk/by-id/ata-ST31AS_5LS2T3NW-part4 none none

open the file with command line vi editor and change the none on the last column to noauto as shown below

sudo vi /etc/crypttab

and replace

cr_sdb4 /dev/disk/by-id/ata-ST31AS_5LS2T3NW-part4 none none


cr_sdb4  /dev/disk/by-id/ata-ST31AS_5LS2T3NW-part4 none noauto

and save the file and exit.

Make note of the name of the device ID. In this example it’s ata-ST316AS_5LS2T3NW-part4

Now if you reboot the system, you’ll notice that you are not prompted to enter the password of the encrypted partiton anymore. But wait. How do you mount it manually later as you needed? Read ahead!

To mount the encrypted partition manually, open Terminal and type

/etc/init.d/boot.crypto start /dev/disk/by-id/<Device ID here>

In this example, the device ID is ata-ST31AS_5LS2T3NW-part4. Therefore, the command would look like

/etc/init.d/boot.crypto start /dev/disk/by-id/ata-ST31AS_5LS2T3NW-part4

After you press enter, you will be prompted to enter the encrypted partition’s password. Now if you open Dolphin (File Manager), you can see the encrypted LUKS partition unlocked and appears on the left sidebar.

If you click on it you’ll be prompted to enter the root password in order to mount it, so that you can access it.

But wait! That’s not the end of the story.

Like you unlocked and mounted the encrypted partition, you must do the reverse before shutting down. First unmount the partition through Dolphin by right clicking on the volume and choosing unmount (or as explained below) and lock the encrypted partition again before shutting down. Read ahead.

First of all you have to determine in which location the partition gets mounted after you’ve unlocked it and mounted it using Dolphin. To find out the mount point, type,


If you have already mounted the partition using Dolphin you can find something like the one shown below, in the last lines of the output of the above command.

/dev/dm-0 on /media/disk type ext4 (rw,nosuid,nodev)

In this example, /dev/dm-0 indicates the mount point.


You have to unmount it either manually (using Dolphin or using umount as discusssed below) or let Linux do it automatically (discussed below) and lock the crypto partition ( discussed below ), before shutting down.

After you have idenfitied the mount point (shown above), to unmount and lock the crypto partition again use the following commands respectively in the same order.

umount /dev/<mount point here>
/etc/init.d/boot.crypto stop /dev/disk/by-id/<device id here>

In this example, the command would look like

umount /dev/dm-0
/etc/init.d/boot.crypto stop /dev/disk/by-id/ata-ST31AS_5LS2T3NW-part4

It’s unlikely that you would want to do it manually. To let linux take care of this at the time of shutting down, you have to add these commands to the file /etc/init.d/halt.local (discussed below)

To do that, open Terminal and type

sudo vi /etc/init.d/halt.local

and as shown below, add line numbers 15 & 16 found here to the end of the file halt.local (with the device ID and mount point corresponding to your drive)

#! /bin/sh
# Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany.  All rights reserved.
# Author: Werner Fink <>, 1998
#         Burchard Steinbild, 1998
# /etc/init.d/halt.local
# script with local commands to be executed from init on system shutdown
# Here you should add things, that should happen directly before shuting
# down.
umount /dev/dm-0 #note that dm-0 indicates the mount point which is determined as discussed previously
/etc/init.d/boot.crypto stop /dev/disk/by-id/ata-ST31AS_5LS2T3NW-part4 #replace this device ID with yours which is determined as discussed above

save and exit the vi editor. After you have done this you can safely shutdown openSuSE without having to worry about unmounting the LUKS partitions.

If you have multiple LUKS partitions, follow the same procedure. Now the files will have multiple entries instead of one. It makes no difference.

Please leave a comment if this tutorial was useful to you or if you have any suggestion on improving this article

Installing Netbeans 6.8 on openSUSE 11.2

with 3 comments

Download Netbeans from this link

Once the download is over compute its MD5 checksum with the following command and confirm with the one found in the url above


If the checksum matches proceed. Otherwise the download could be corrupted and therefore the installation may fail.

Install netbeans using the following command

kdesu sh

If the setup is run with sudo instead of kdesu, the installation may fail for the X11 DISPLAY environment variable not set. Therefore, as mentioned here, run with kdesu to avoid this problem.

The Netbeans installer opens. Follow the on screen instructions to complete the installation.

Please leave your comments if this post was useful to you.

Picasa 3.0 on openSuSE 11.2

with 3 comments

Download Picasa 3 from here (there’s only one rpm regardless of the target system x86_64/i586)

open YaST control center, go to software management and install sane-backends-32bit (search for sane and select this package from the list).

After the installation of sane-backends-32bit is over open Terminal and type

sudo rpm -i picasa-3.0-current.i386.rpm

Enter the root password and wait while the installation happens until the prompt reappears. Installation should be completed by now and you can find the application on

Application Launcher -> Applications -> Graphics -> Picasa -> Picasa

Leave a comment if this tutorial was useful to you.

Written by Ragavan N

January 18, 2010 at 9:18 AM