Thursday, June 05, 2014

How to deal with Excel (.xlsx) file not opening in Libreoffice?

Long back I discovered that Excel (.xlsx) file not opening in Libreoffice opens in Gnumeric.

Today I noticed that after I save the file opened in Gnumeric in the same format without making any changes it can be opened in Libreoffice.

Thursday, November 14, 2013

Goodbye Ubuntu, Welcome AntiX Linux

Although I tried many Linux Distributions as evident from various posts on this blog, I have always used Ubuntu LTS version on my office Laptop and home desktop.

Now I have decided to say Goodbye to Ubuntu and selected AntiX Linux as my OS.

Day before yesterday, I downloaded the latest antiX iso from sourceforge
I installed Unetbootin on Ubuntu Software Centre and created boot-able USB Stick using Unetbootin and the iso image. Windows user can download the Windows exe file and install Unetbootin and create the USB stick.

Yesterday, I tried antiX using the USB stick. I could also create persistent file to save the settings etc.

On my office Laptop, I always keep two versions of Ubuntu in dual boot, the current LTS for use and either retain the old LTS or the latest version for testing. I had old LTS version 10.04, which I deleted and used the partition to install antiX after booting from USB stick.

After installation I added Icedove (which is same as Thunderbird) and copied xxxx.default and profile.ini files from hidden .thunderbird folder from Ubuntu to hidden icedove folder on antiX and I could see all previous mails and address books.

I added the Battery Monitor in Conky.

I have set up the Cannon Image Runner Printer.

I am using antiX now, goodbye Ubuntu.


Yesterday, I was trying to play music on dhingana.com but it was not playing. I found that Iceweasel is having Flashblock extension installed by default. I posted on antiX forum and got a reply. Accordingly, I added www.dhingana.com to whitelist in preferences of Flashblock extension and it works.

Friday, August 23, 2013

Running UZBL Browser on Android Phone

As described in this post I had installed Debian Squeeze LXDE Desktop on my Samsung Galaxy 5 Android Phone. Since the Iceweasel Browser was not very useful I installed UZBL Browser. I could use the Browser to surf. Following are screen-shots:


Sunday, July 28, 2013

Access to files on Android Phone from Ubuntu laptop through SSH on Nautilus.

As described in the previous post I have installed Debian which is working side by side with the OS on the Android Phone. Since the Phone has only 186 MB RAM and most of it being used by the processes running on the Phone OS there is hardly anything left for the Debian LXDE. Unless I can manage to kill the unnecessary processes there is not much use of the Debian LXDE installation.

Off course I have found other uses of the Debian installation. I could start the SSH server through the Debian on the phone and could login from my Laptop and browse the files on Nautilus as follows:
Open Nautilus
Go/Location
ssh://Debian_user_on_phone@ipaddress
I could also copy files from the Phone to the laptop and vice versa.

You can see Folders like /bin /boot /etc /home etc which do not exist on the Android OS but have been mounted by the debian installation and when I exit Debian I have to unmount them through a single command. In fact there is nothing inside the /boot folder because the Debian is not controlling the Boot. The folders on Android OS root are as follows:
cache config data dev lib persist proc root sbin sdcard sqlite_stmt_journals sys system
and the files
default.prop EUROPA.rle init init.glodfish.rc init.qcom.rc init.qcom.sh init.rc



Thursday, July 25, 2013

Installed Debian on Samsung Galaxy 5 (GT-I5503)

People generally look for installing other ROMs on their phones after getting root access but being Linux user I was looking for installing Linux Distribution without disturbing the original ROM. After googling I got this thread on xdadevelopers site. The idea of installing Debian using the original ROM appealed to me. Accordingly I downloaded the Debian Kit application by Sven-Ola Tuecke from Android Market. You can read about this application here.

Following are the Prerequisites which are easily met by even old Android phones (mine was bought in 2010):
  • Root access to your Android device is required. No root, no Debian.
  • Kernel supports mounting loop disks or you have at least an external SD card with a spare partition.
  • Kernel supports the ext2, ext3, or ext4 file systems.
  • CPU architecture is ARM (little endian) or i386 (ia-32 bit).
  • 128 Mb of RAM or more, otherwise the launcher app may be killed during installation.
  • 512 Mb of free space on SD card (either internal or external).
  • Internet connection to download 100-500 Mb of software packages.
  • Terminal app installed, alternatively ADB access.
  • If you are a noob: command line input and text file editing is a must.
To make it easy the Debian Kit applications checks the above requirements and reports the suitability of the phone.

There are procedures to run Linux in chroot environment on Android Phones but the Debian Kit method works as follows:
The kit does not use the chroot command to make up a separate Debian environment (refer to schroot(1) for a similar technique). Instead, Debian subdirectories and files (such as /lib or /etc/resolv.conf) are added to the Android RAM-disk based file system with symlinks or bind-mounts. With this, e.g. you have access to newly mounted devices such as USB drives and the SD card. Also, can use Debian commands to compile packages that in turn can use a working chroot. This works, because a typical Android device has a file system (e.g. Libraries below /system/lib) that does not overlap the Debian file system (e.g. Libraries below /lib and /usr/lib). However, some files may overlap - which triggers a warning displayed if you start the deb script. For example, the Android /etc/hosts file is replaced by the Debian version while Debian is mounted. Which in turn may influence the inner working of your Android software stack. This is especially true with custom ROMs, because these typically add some Linux stuff that the ROM developer may miss. All changes are reverted if you issue the deb u command or simply by restarting your device.

After rooting my phone as described in previous post I have installed Andromized version of Debian on my phone and presently downloading andromized-lxde.

Following is the screenshot of my phone:
and on right side is the screen-shot running Bash shell on Debian and downloading required files for andromized-lxde desktop.

The internet speed is slow on the mobile using GPRS 2G and I will upload the image of andromized-lxde desktop later on when it gets installed on the phone.

Update on 26th July 2013
I am posting the screen shots of LXDE Desktop and the Leafpad running on it. When I tried Iceweasel the mobile crashed but it used to crash otherwise also before installing Debian.


Sunday, July 21, 2013

After two days struggle successfully rooted my Samsung Galaxy 5 Android Phone.

After trying z4root and Superoneclick and getting frustrated I could successfully root my Samsung Galaxy 5 Phone running Android 2.1 using Universal Androot.

Now watch my blog! I am going to run Debian on this mobile phone.

I could get a blog post specifically for my mobile and do it.