Finally, HP 1005 works on ubuntu

Since ubuntu 9.10, I’m trying to use hp laserjet 1005 on ubuntu, with no success.

The strange thing is that hp laserjet 2055 works just fine without any problems at all.

The problem everytime happened while downloading the plugin. It always couldn’t connect with:

error: network connection not detected.

Finally, searching for the problem here and there, I found here that the problem is with the searching for connection timeout. It was so small to establish a connection.

There are 2 solutions. First is to change the timeout. I couldn’t find how.

Second, which I used, is to use a faster DNS server. I used Google DNS public server. And, it worked.

Installing Sun JDK on UBUNTU Lucid Lynx

Ubuntu 10.04 comes with openJDK which you can install using synaptic manager easily. But to install sun JDK you need to add a repository:

1- Go to System > Administration > Synaptic Package Manager > Settings > Repositories > Other Software and enable the partner repository.

Now you can either search for sun-java6-jre, sun-java6-plugin, sun-java6-jdk using Synaptic or:

2- sudo apt-get install sun-java6-jdk

After downloading it will ask you to agree to a licence agreement. Hit “Enter” to agree.

Note: If “enter” doesn’t work, hit “Tab” first. Guess what? It happened with me and drived me crazy for a while.

3- Hit “enter” again to agree again to the dialog.

4- It’s installed now. To check: $ java -version

Computer ‘clicking’ in karmic koala?

After I’ve installed the new Ubuntu (Karmic Koala), I found that I hear some sounds like the computer is clicking at random times. I’ve searched for the problem untill I found this solution on Ubuntu forums.

 

You probably have a HDA audio card. If so then those clicks is caused by the power saving option introduced in karmic. You can solve this problem by commenting out the last line in the /etc/modprobe.d/alsa-base.conf

I’ve tried it and I think it works. I don’t hear clicking now.

Google Talk with Pidgin

Empathy is the default instant messaging client for Karmic Koala. Anyway, I didn’t like it. That’s why I’ve installed Pidgin instead.

On pidgin, sometimes there is a problem with gtalk. Here are my settings that made it work fine.

1- In Basic tab:

Domain = gmail.com

Resource = Home

2- In Advanced tab:

Require SSl = checked

Force Old SSL = checked

Allow plaintext = unchecked

connect port = 443

connect server = talk.google.com

The rest as default. That’s it.

Google Chrome (itself) on my Ubuntu

From here I knew that there’s is a Chrome version for Ubuntu, but it’s still in beta phase. Anyway, who cares? Beta is good 🙂 .

Now, I’ve almost Google Chrome on Ubuntu

I’ve found that Google Chrome is based on an open source browser called chromium, which I can install on my dear Ubuntu. But, it lacks some features like plugins, so no flash, i.e no YouTube or my beloved pet society on Facebook. I said, anyway, I have Firefox ready for me, no problem, let’s try it.

I’ve installed it and, tatatata, it has flash and I’ve just watched a YouTube video now and played as well. It’s almost google chrome – with themes too 🙂 -, but I don’t know what are the differences yet. I’m discovering.

To install it on Ubuntu 9.04:

1- Edit the /etc/apt/sources.list file

sudo gedit /etc/apt/sources.list

2- Add the following two lines at the end of file, save and exit the file.

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main

deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main

3- Add the GPG key

sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5

4- Update the source list

sudo apt-get update

5- Install chromium

sudo apt-get install chromium-browser

Don’t forget to type Y when asked in the terminal.

Finally, Enjoy it.

Note: I’ve found all these info on my dear Ubuntu Geek.

VirtualBox on Ubuntu

Let’s start the story, why I needed VirtualBox in the first place. Once upon a time…
I’ve always wanted an E-Reader like the Amazon’s kindle or Sony’s one. (So if anyone wants to buy me a present, that’s a suggestion 🙂 )
Then I found that I can use my mobile as an eReader using some software. I’ve downloaded the software, but Ubuntu couldn’t see my mobile through the USB cable and I don’t have bluetooth in my computer (My friends bought me a bluetooth adapter but it was for one time usage I guess 🙂 Thanks my dear friends. And I’m too lazy to buy another one. You can buy it as a present too. :))
I hate to go to windows just to transfer something to my mobile. So, I’ve searched for a solution for this. They said that the best thing is to install Nokia PC Suite on Windows on VirtualBox. That’s why I’ve went to virtualbox 🙂
I’ve searched for virtualbox with synaptic manager, installed it, and – so easily and self explanatory – installed windows XP on it.
Then I’ve faced tow problems. First I needed to share data between my Ubuntu as a host and windows as a guest. I’ve searched again and with the help of this video, the problem -tatatata- was solved.
The second problem was about USB. I couldn’t see any USB device – except my mouse – from windows. I’ve searched, I’ve found this, I’ve followed the steps, but, no use. So, I’ve gone to the virtualbox site and found that there is another version -3.0- which is newer than mine -2.0- so I thought that this may be the problem. Then when I’ve started to download the newer version, I’ve discovered that there are 2 editions of virtualbox, one open source edition and another closed source edition – which is free too – and that USB is supported only in the closed edition, and that I had the open one. So, if you plan to use virtualbox, I recommend to download the closed edition directly from its site. I’ve removed my virtualBox, downloaded the new one, installed it according to the user manual, and – tatatata – I have a virtualBox again with USB enabled. And, guess what, I didn’t have to reinstall windows through it again, I found it just there for me.

So, that was my story with VirtualBox.

How to add Arabic to Ubuntu

Each time I install Ubuntu, I start searching for how to add arabic support for my system. I find the answer, I add Arabic, and then – 😦 – I forget about all of it. This time I’ve decided to post it here so it become a reference for both me and others – those who are new to ubuntu.

Just go to System->administration->language support

Then hit “Install/remove languages”

Find Arabic in the new window and check it. Also check components you want.

Now you have Arabic but you have to add it to your panel and set shortcuts.

Right Click on the top panel, choose add to panel, and chose keyboard indicator.

You’ll find the language used added to the panel. Right click it and choose Keyboard Preferences->Layout->

First you need to add new layout

Then go to Layout Options.

There are a lot of configurations there. The most important – at least for me – is “Keys to change layout. This is the shortcut to toggle between languages.

That’s it.

Note: this howto is for Ubuntu 9.04. I don’t know if it’s different for other versions. Even if it is, it’s sure a little difference.

rm files on ubuntu

Well, I have rm videos and want to watch them.
Actually, ubuntu’s default totem player works fine with rm files in 9.04 version.
But some files don’t work, I don’t know why. So i’ve installed realplayer for linux. It works but without sound!!
I’ve searched a little and here‘s the answer:

There is sometimes an issue with Pulse audio sound. Set Realplay to use OSS in tools->preferences->hardware->audio driver
Then type
sudo gedit /opt/real/RealPlayer/realplay
then on line 52 change

$HELIX_LIBS/realplay.bin “$@”

to
padsp -n RealPlayer -m RealPlayerStream $HELIX_LIBS/realplay.bin “$@”
now rm disk player will play with video and sound

Well, it worked and I’m watching my videos now, happily.

IE on Ubuntu –>for sites that require IE

Some sites are developed to work only on IE. I think this is because either poor development skills (I mean the site developer only tests his site on IE) or because of some deal with Microsoft – conspiracy theory 🙂

Anyway, on Ubuntu, without IE, this is really annoying.

I found the sol. lately. But before you go for it, send to website master and tell him that this is silly.

The sol. is using this nice software: IEs 4 Linux

And here is a nice explanation if needed IEs4Linux – Internet Explorer 5.0, 5.5, 6 & 7 on Ubuntu Linux

« Older entries