Tropenhitze

Kannst du das spüren?

Posts Tagged ‘linux

Accessing IDBI Bank account using Google Chrome on openSuSE/Linux

with one comment

I’m writing this because some brilliant developer who designed the IDBI Bank internet banking site does not allow it to be accessed from Firefox or Chrome. I wish he someday grows up and realizes that Internet Explorer is not the only browser and Windows is not the only operating system around. Sigh! Ok let’s proceed now.

I’ve found a way of accessing it using Google Chrome after a number of trial and errors. The good thing is that the hack is really simple.

Just use the following command line to start chrome and you will be able to logon to your IDBI Bank account

 


/opt/google/chrome/google-chrome --enable-plugins %U --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)"

Instead of having to type this each and every time, you can also permanently add this parameter to the Menu Editor, so that Chrome would every time start with this switch and you’ll be able to access your IDBI Bank account from it.

I have already posted a detailed how to on installing Google Chrome on openSuSE and making changes to the menu editor. It can be found in the below link

https://tropenhitze.wordpress.com/2010/01/19/installing-google-chrome-on-opensuse-11-2/

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

 

 

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.
### BEGIN INIT INFO
# 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
### END INIT INFO
  • Register the printer in the CCPD daemon
insserv ccpd

Installing Firefox 3.6 on linux openSuSE 11.2

with 9 comments

The best way  is to install it through YaST control center.

  1. Open YaST control center and click on Software Management
  2. If you already have firefox open, close it before proceeding.
  3. From the menu select Configuration and then select Repositories (or type CTRL + R to get there)
  4. Click on the Add button on the bottom of the window and select Specify URL in the window that opens and  click on  Next
  5. Under the Repository Name, type Mozilla and enter the URL http://download.opensuse.org/repositories/mozilla/openSUSE_11.2/ under the URL field and click on Next
  6. If you get a warning like the repository has already been added, click No and click on the Abort button on the corner of the window.
  7. Otherwise click OK on the bottom of the Add Repository window and wait while the repository is being downloaded and added.
  8. Now on the Software Management window enter the phrase firefox and click on search
  9. Click on the result that has the summary as “Mozilla Firefox Web Browser” and click on Versions which appears directly below the search results pane.
  10. if you are running x86_64 (open Terminal and type uname -i to find out what version you are running) select the following option displayed under the Versions tab

3.6.0-1.2-x86_64 from openSuSE Buildservice — Mozilla with blah blah blah..

or

if you are running i586

3.6.0-1.2-i586 from openSuSE Buildservice — Mozilla with blah blah blah..

if you can’t find this,  it means that you’ve added the repository manually as I’ve said before. If so, then choose the version corresponding to your OS against the phrase Mozilla (if that’s what you mentioned in place of repository name while adding.. Read step 5)

You may get some warning regarding dependency issues while changing the version. Just go ahead and click on ok. Trust me, it wouldn’t cause you any problems later on.

Now open firefox, click on the Help menu and click on About, and confirm the version.

Please leave a comment if this tutorial was helpful to you or if you faced any problem during installation.

Keyboard layouts in openSuSE 11.2

with 7 comments

Bitte hinterlassen Sie Ihren Kommentar, wenn Sie eine deutsche Übersetzung von diesem Text benötigen.

This article is about changing the layout of the keyboard at the press of a key on openSuSE 11.2

Open Application Launcher (Start) -> Configure Desktop

Click on Regional & Language -> Keyboard Layout

Click on the Enable keyboard layouts radio button

Select the desired layout from the list of Available layouts as shown below

Click on the green arrow facing rightwards to add it to the list of Active Layouts. In this tutorial, I’ve selected Germany.


Then click on the Advanced tab

As shown below, under Key(s) to change layout, select the option Any Win key (while pressed)

Click on Apply.


Now when the Win key on the keyboard is pressed, the keyboard changes to German layout and when released, changes back to US Layout.

The characters on the keyboard ; ‘ [ and now when typed while holding the Win key will result in the German alphabets ö, ä, ü and ß respectively

Ganz einfach, nicht wahr?

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



Installing Netbeans 6.8 on openSUSE 11.2

with 3 comments

Download Netbeans from this link

http://netbeans.org/downloads/start.html?platform=linux&lang=en&option=all&version=6.8

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

md5sum netbeans-6.8-ml-linux.sh

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 netbeans-6.8-ml-linux.sh

Note:-
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)

http://dl.google.com/linux/rpm/testing/i386/picasa-3.0-current.i386.rpm

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