Skip to main content

Some Small Tips (but useful enough)

Some while ago there is a threat and discussion in openSUSE mailing list about the slowness of Firefox initiation after someone start it (click the icon). Sankar gave the solution that actually very useful to clean the the sqlite database within the Firefox. This will compact the disk blocks of your sqlite database and from then on, Firefox will start noticeably faster if your are a long time user.

The command is simple and run as normal user:
1. Shutdown the Firefox
2. Go to ~/.mozilla directory
3. From the konsole run "find . -name '*.sqlite' -exec sqlite3 '{}' 'VACUUM;' \;" without the quote

Try it and you will see the different. You can use it as much as you like if you use Firefox heavily :-)

Another tips here is about how to determine the date of installation or file system creation. Well, even that it is a bit tricky and actually I still try to find the exact answer, maybe you can use the date when you create your partition for you Linux installation. Assuming this is what you want, we can use the command below from the terminal/konsole as root.

1. su
2. find your / partition with "df -h"
3. assuming your / partition is /dev/sda2 run "dumpe2fs /dev/sda2 | grep "created""

change sda2 with your / partition
Try it, and till then have a lot of fun.

Comments

Popular posts from this blog

Prejudice and Privilege

Notes : It is not about Linux or other geeky stuff nor it is a political writing.  It was a day in the end of March 2007. I was just landed at the Franz Josef Strauss Munich Airport  around 10 AM in the morning. I had 5 days free time from my work in Astrium. At that time I was contracted by EADS Astrium  (now become Airbus Defense and Space) to work with them in Toulouse . I worked for one of their project. I flew from Toulouse where I worked to visit my brother family in Munich. Just after I picked up my luggage from the conveyor, three guys without uniform approaching me and asked me in English what i'm doing in Munich. I asked them if I did anything wrong. One of them told me that it was a random checked.     "Who are you guys? Sorry sir if it is a random check, why do you choose me instead of other?" I reply to their answer.  One of them said they're from the Munich immigration, and at the same time showing a gun behind his jacket. For my itinerar...

Asterisk 1.6.1 on openSUSE 11.1 (Part 1)

In several articles from this one, I will share some of my experience in preparing emergency operation center for disaster management in Indonesia. One of the software we implement in this project is Asterisk. I use Asterisk 1.6.1.5 from openSUSE repository. Actually I built a custom 64 bit appliance using KDE 4.3 from factory repositories through SUSE Studio and took Asterisk from openSUSE Build Service repositories. Well, it was a couple years ago (by the time I submit this post), but I believe it still useful for anyone learning Asterisk :-) I also used DAHDI (Digium Asterisk Hardware Device Interface), but during the implementation I have a problem with Indonesia PSTN telephone signaling so I should download dahdi trunk version from digium subversion server to make the digium card works. Here are the hardware I use: 2 HP tower based server with 8 GB memory (it is overkill actually, but the owner insist it) running in high availability. See the pictures here and here . 10 PS...

Asterisk 1.6.1 on openSUSE 11.1 (Part 2)

In this second part I will explain step-by-step configuration to use our appliance to build an Asterisk PABX server. Without further ado, here is the list: Install the Digium card on the PCI slot Install our appliance. You can also use any linux distribution, download asterisk from its website and install it. There are several softwares I forget when I made the appliance, it is not the mandatory (dependencies) but they are useful when we want to use asterisk optimally. They are: mpg123, sox, libmad, and festival. The easiest way to install it in openSUSE is using zypper. Check it first where they reside in repositories and add the repositories accordingly. mpg123 and sox are in the packman repositoriy, libmad in OBS (please check with webpin) and festival in oss. Then as root run: "zypper install mpg123 sox libmad0 festival". It is always useful to update your installation to update repository, to make sure that all the security update is up to date. Download the ...