Back to a Walking Speed

May 7, 2010

Well the Firefox slow down has finally gotten out of hand.  I’ve installed Swiftfox, which is basically Firefox but supposedly optimized for speed.  If you want to try it then just do a Google search for Swiftfox, and click on just about any link of your choice.

In the previous post I provided a link that showed how to supposedly fix the problem.  More or less what it instructed you to do was disable IPv6 in Firefox.  Well this didn’t work for me (though it might for you so I suggest you try it anyway).  After realizing that this didn’t work I found another site that showed how to disable IPv6 system wide.  Here is what the site says to do;

First check to see if IPv6 is enabled. If the following returns 0 then it is, otherwise it’s not.

cat /proc/sys/net/ipv6/conf/all/disable_ipv6

If it is enabled the you need to run the following and then restart your system.

echo "#disable ipv6" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf

Just to be safe however, I installed Google Chrome anyway.  My system still freezes every now and then, but it’s no longer as bad as it used to be.  At this point I think that it’s something else (probably flash, who knows).

Another problem I’ve encountered is that Pidgin isn’t as responsive as it was back when I used 8.04.  But that could be due to the Facebook plugin, I’ve experienced this before so fixing it shouldn’t be too difficult.

Well my next post will most likely be about more problems I have with 10.04 (thank god this is a LTS, because it seems like the problems don’t stop).

EDIT: I totally forgot to mention what the tee command does.  It reads from standard in and writes to either standard out or a file.  When used with the -a flag it appends to the end of the designated file(s). Therefore, the following commands will have the same (overall) result.

echo "I can append to a file" >> my_file
echo "I can append to a file" | tee -a my_file

Similarly the same is true of the following.

echo "I can overwrite a file" > my_file
echo "I can overwrite a file" | tee my_file


More on Facebook and Pidgin

November 12, 2009

Well Facebook has up and gone and changed their way of logging in (or something along those lines). For this reason I was not able to connect to my facebook account through Pidgin. As a result I just didn’t talk to some of my friends for a while. Don’t ask me why they believe that facebook-chat is much better than say AIM and GoogleTalk.
However, thanks to the Ubuntu forums (if you haven’t been here yet and you use Ubuntu, what is wrong with you) and Google I was able to solve the problem. I’ve said it before and I’ll say it again: “For a beginning Linux, user Google is your BEST FRIEND!”

Well without further delay, here is a solution.  First get close Pidgin, then run sudo apt-get remove pidgin-facebookchat.  This will remove your old version of the package. In addition you will need to remove your libjson-glib-1.0-0 package.  I suggest using the package manager for this (System>>Administration>>Synaptic Package Manager) to do this, only because I don’t remember the exact package name.

Now you all you have to do is download the new packages. The libjson-glib package can be found at http://mirror.ne.gov/ubuntu/pool/universe/j/json-glib/ from this list of files I selected libjson-glib-1.0-0-dbg_0.7.6-0ubuntu1_amd64.deb, your choice will depend on if you are using a 64bit or 32bit processor.  If you are using 64bit use the file listed above, for you 32bit users choose the ones that ends in i386.deb.  Finally to get the facebookchat plugin go to this site: http://code.google.com/p/pidgin-facebookchat/downloads/list and download the most recent version.

At this point I assume that everything is saved to your Desktop.  First right click on the libsjon file, and select “Open with GDebi Package Installer”.  If you don’t have GDebi Package Installer, then head over to the package manager and get it, or use apt-get install.  Or you could install it yourself, but I find using this tool to much easier and less time consuming.  Now that you have the correct libjson-glib file installed, repeat the process except to the pidgin-facebookchat file.

Start up Pidgin and re-enter your login information and it is back to “business” as usual.


Pidgin Key Bindings

August 17, 2009

First, for those of you that don’t know what key bindings are.  Basically they are keyboard shortcuts.

Well Pidgin has one that I find rather annoying, it clears the scroll back history of a conversation.  The default key binding for this is <Control>l (the control and l key pressed together).  Now anyone that uses firefox and just about any other web browser knows that this allows you to edit the URL.  Naturally, I have Pidgin running I tend to also be using firefox.  So when I mistakenly think that firefox is the selected window and I want to change the URL I hit <Control>l.  Only to find that the Pidgin conversation window was selected.  This happened often enough for me to learn how to fix this.

The file that contains the key bindings for Pidgin are located at ~/.purple/accels.  All you have to do now is find the key binding that you want to change and change it to whatever you desire (or delete it if you so wish).  Time to introduce a new text editor (well new in the sense that I haven’t talked about it before on this blog), pico.  The format is just pico file, and the file’s contest will be displayed in the terminal. At this point you proceed as you would with any other text editor. Also there are additional commands at the bottom of the screen if you ever feel the urge to use them.

So let’s assume that you changed <Control>l to <Control>e, then saved the file.  Well this won’t work and here is why.  The line that you edited started with a ‘;‘ (semicolon), and GTK+ interprets this as a comment.  So your change has no effect.  Thus in addition to changing the key binding, you also need to remove the semicolon from the beginning of the line.


Facebook + Pidgin

August 16, 2009

Well I was having some issues with Pidgin earlier (still don’t think that they are all gone).  So I reinstalled it (with sudo apt-get install pidgin), since the main site only had the source (for Ubuntu) and I didn’t feel like building from source at the moment.

Well after installing I had to find the pidgin-facebook chat plugin.  This is provided through Google Code (just follow the link).  From here choose the .deb file to download.  Now installation is rather easy, just right click on the file and select “Open with GDebi Package Installer” and if all goes well you now should be able to connect to facebook-chat through Pidgin (after a restart).  If you don’t see this option then you need to get GDebi Package Installer, I don’t know how I got it so I won’t be much help but Google is your friend in this case.

When I tried this method I got a message about missing something called libjson-glib-1.0-0 .  So I went looking for it, only to find that Ubuntu doesn’t provide it for me.  In the end, I had to get this package through Debian (which I hear isn’t all that different from Ubuntu, under the hood at least, follow the previous link to the download page).  After installing this everything else was a breeze.

This really took longer than it should have, but oh well.  I tried other Pidgin like programs in the short time in between reinstalling, but didn’t find one that I thought measured up.