Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Printer in Ubuntu "Cannot prompt for Authorization"

I was seeing this issue since loong time but never really got to the crux of it. After getting extremely annoyed with this message after every time I tried printing something from a GTK app, I finally decided to solve this problem. Interestingly this problem does not come for Qt (KDE) apps. Only GTK (Gnome) applications are affected.

I found a solution in this post http://ubuntuforums.org/archive/index.php/t-829706.html

Simple solution for this problem is to copy your printer. That will create a new copy of the existing configured printer. Now just print using the newly created printer. Everything works now!!

Don't ask me how!!!

Thunderbird 3.0.3 migration

I recently migrated to Thunderbird 3.0.3 There is a specific problem with Thunderbird that I have seen at times. Ever faced a problem of loosing your mail data and accounts after migrating to new Thunderbird? Thunderbird stores data under directory named .thunderbird in your home. But maybe just in Ubuntu or some versions of Thunderbird store it under directory named .mozilla-thunderbird. So  if after installing a new Thunnderbird and restarting it, if you are not able to see your e-mails, it might well be the problem of directory names.

To resolve, try renaming the directory (Whatever applies to you),

> mv .mozilla-thunderbird .thunderbird

or

> mv .thunderbird .mozilla-thunderbird 

Restart your Thunderbird and now you should be able to see your e-mails.

I have mostly seen this problem  when I install Thunderbird externally i.e. not through package manager. By installing I mean simply extracting it to /opt and not doing "./configure make install"

How I tricked my Ubuntu

My Ubunut was giving me problems starting up yesterday. After investigating for a while, I figured that it was due to corrupt reiserfs on /var So I set to fix the problem by running reiserfsch --check on my /var partition. I rebooted Ubuntu in Recovery Mode. To My surprise, I could not do fsck on my /var as it was mounted and some applications seemed to be using it. I always thought that Recovery Mode does not boot the installed kernel instead it boots an alternate image. This was merely a misconception.

Now with no Ubuntu live CD I could virtually not solve the problem! So I thought about tricking my Ubuntu. I edited my /var/fstab, commented out the mount /var and rebooted my machine. Now the /var was not mounted and I could run fsck on that partition. Some applications did complain about missing files etc. but it at least allowed me to run fsck on my /var partition. After fixing problems by doing reiserfsck --rebuild-tree I removed the commented line from fstab, mounted /var and switched to runlevel 5 and my Ubuntu is back fixed again

One thing I miss from KDE

About 6 months back I migrated to Ubuntu from OpenSUSE. I explicitly did not choose Kubunut as I did not really like KDE 4. It actually sucked! Before that my default window manager was always KDE and I thought about GNOME being lame. But not anymore!

There were a number of things that I missed from KDE most of which had alternatives in GNOME. But I still miss the cool feature of KDE where you could just open the "Run Dialogue" (Alt + F2) and use it as a simple calculator. You could say type "2*2" and press enter. It would do the calculation and show you the output instead of starting any application.

Havent found an alternative to that yet in GNOME!

Reliance Netconnect on Ubuntu

I am absolutely delighted as I write this post. I am using Reliance Netconnect on my Ubunut 9.04.

And if you are under impression that it was achieved after hours of googling, trial and error and after running hundreds of commands, then you are wrong.

To get it working,
  1. Plug in the dongle.
  2. Wait till the network manager applet menu shows "Auto Mobile Broadband (CDMA) connection"
  3. Best way to make it work is to select the "Auto Mobile Broadband (CDMA) connection" and let it figure out the settings
  4. After step 4, it tries to establish connection but obviously fails since the user and password are not provided
  5. Now, right click on the network manager applet and select edit connections.
  6. Go to "Mobile Broadband" tab
  7. Now there is already a configuration created named "Auto Mobile Broadband (CDMA) connection"
  8. Edit that configuration and add your user name and password.
  9. Now connect like in step 8 by clicking on Network manager applet and selecting the "Auto Mobile Broadband (CDMA) connection"
  10. Enjoy high speed mobile broadband on Ubuntu!
I am sure that same procedure will work with any latest mature Linux distribution. There could be issues bootstrapping the hardware but once its detected, NetworkManager will just work fine.

Problems with Thunderbird calendar after Thunderbird upgrade

If you are not able to see the calendar data after upgrading your Thunderbird, specially after upgrading your linux version, the problem can be solved by installing libstdc++5.

I recently upgraded to Xubuntu 8.10 from OpenSUSE 10.3 (late but worth it) and after importing my mail data, I could not see the calendar. The Thunderbird version I used before was 2.0.0.6 and the new version was 2.0.0.17. I tried installing the lower version (in /opt keeping the prebuild version) and it complained to start. It complained about missing libstdc++5.so after I installed that (sudo apt-get install libstdc++5) all worked fine.

After a bit of googling that the problem with latest version is that it is dependant on libstdc++6 whereas the calendar plugin is dependant on libstdc++5 (I am using Lightning version 0.9 which presumably is the latest)