Saturday, October 24, 2015

Transfer files from Android to Ubuntu 15.10 Lenovo G50-45 Laptop using Bluetooth.

I struggled to use Blue-tooth on my Ubuntu 14.04 Lenovo G50-45 and eagerly waiting for Ubuntu 15.10 which has Linux Kernel 4.2 and proper drivers for using Blue-tooth on this Laptop. As soon as Ubuntu 15.10 Development version Kernel was upgraded to 4.2 I installed it and happily using it. Although the Laptop got connected through Blue-tooth to my Android Phone I had to try various things including  obex-data-server etc. to transfer the files.

On 22nd Oct 2015 final version of Ubuntu 15.10 was available I downloaded the ISO and made a USB stick and decided to connect Android phone to the laptop using Blue-tooth on Live Ubuntu 15.10.

I had to install Bluetooth Manager to transfer files to and from Android Phone to the laptop.

Friday, October 16, 2015

Importing ICICI Bank, other Banks and Android Applicaton Transactions in GnuCash.

I posted about the same topic in 2011. I have decided to maintain the Books of Accounts on my own in the Current Financial Year 2015-16 (since the tryst with Steam Turbine is temporarily suspended and tryst with Linux is on which the readers of this Blog would have noticed anyway looking at frequency of my posts). I installed GnuCash 2.6.6 on Ubuntu through Software Centre couple of days ago and started importing the Bank Account Files. ICICI Bank no longer offers QIF/MSMoney Fomat download as stated in comments on the year 2011 post. No problem for me. I downloaded the Excel File and saved as CSV which was accepted by GnuCash in the option "Import Transactions from CSV".

I imported the transactions from Bank Accounts, Credit Card Accounts and the corresponding debit/credit entry went into Imbalance and only task then was to change the imbalance into the correct account.

I have again become my own CA, thanks to GnuCash.

I also installed GnuCash Application on Android Phone, created Expenses Account, entered the Cash transactions while shopping, exported the transactions in QIF File, imported that File on Desktop Application and the Transactions are entered there. Great going.

Tuesday, October 13, 2015

Filing Income Tax Return using Java Utility on Ubuntu.

My CA audits my accounts and sends me the XML file of Income Tax Return for uploading it to Income Tax Return e-Filing site. I check the XML file by opening it in the Browser or if I see that a thorough check is necessary I use other tools including Excel Utility for which I need Windows.

This year I decided to use the Java Utility available in Downloads section of e-Filing site. When I opened it typing ./ in the Terminal it produced an error. On Googling I found that I need an older version of Java to use it.

I went to Java Oracle site and downloaded the old version jre-8u51-linux-x64.tar.gz and extracted it to /opt/jre (I had to create the directory). Since the latest version of JRE openjdk-8-jre 8u66-b01-5 was installed on my Laptop I removed it and had to use "G Alternatives" to add the path /opt/jre/1.8.0_51/bin/java for Oracle Java.

I could then use the utility by typing ./ in the Terminal and open the XML File to view the Income Tax Return.

I made necessary changes in the Return after consulting my CA and could submit it directly through the utility without logging to e-Filing site.

Thursday, October 08, 2015

Upgrading Windows 8.1 to Windows 10 my experience.

Although this is Linux Blog I have decided to write about my upgrade experience from Windows 8.1 to Windows 10.

My LenovoG50-45 came with pre-installed Windows 8.1. I had disabled Automatic Update on Windows 8.1 and use to update once in a while. When MS decided to give free upgrade to Windows 10 I went through the procedure which asked for applying all pending updates to Windows 8.1 to see Get Windows 10 application. When I clicked on the application it asked to wait for my turn. Becoming restless I searched for how to get immediate upgrade and enabled something which did not work. Finally I got permission to download on Get Windows 10 application and started download of about 2.8 GB. After download got finished something happened during preparation to install and it started the download of 2.8 GB once again.

Getting frustrated I decided to re-install Windows 8.1 through one-key recovery. While booting in re-installed Windows 8.1 MS asked whether I was interested in upgrade to Windows 10 and I said yes to it.

Windows 8.1 re-install damaged Grub2 which I corrected using Boot-repair.

After couple of updates to Windows 8.1 (not all) Windows 10 download appeared on Windows update and I finished the download in 6 hrs (I have 1 Mbps connection).
After finishing download it changed to "preparing to install" and I had to wait patiently for this activity since Windows extracts the 2.8 GB file in the background.

Finally it was ready to upgrade after accepting EULA. The upgrade took lot of time and there were three reboots. On the last boot Windows asked several questions and the best one was to go for express install which I declined and chose "Custom".

After booting to the Desktop Windows 10 did not allow to disable automatic updates but I searched in Wi-Fi Settings to declare my connection "metered" which prevented the automatic update.

Fortunately Windows 10 upgrade did not touch grub2 and I could boot to Ubuntu 14.04.3.

From Ubuntu 14.04.3 Grub2 I could not boot Ubuntu 15.10 using systemd and had to use upstart option. I used Boot-repair once again on installed Ubuntu 15.10 to re-install Grub2.

Finally I have Windows 10/Ubuntu 14.04.3 LTS/Ubuntu 15.10/android-x86 multi-boot successfully working on my laptop.

Sunday, September 27, 2015

Running Android 5.1 lollipop on my Laptop.

Recently I came to know that you are able to run android-x86 on PC and Laptop. I downloaded the stable version of Android 4.4 Kitkat and tried it but it did not boot to GUI and presented Root Terminal. Then I did some debugging and came to know that for the AMD APU with radeon R2 on my Laptop I should try a test build of Android 5.1 Lollipop.

I am now running live session of Android 5.1 on my Laptop and posting this on Chrome Browser. I could not take a screenshot now in this session but I will post it later.

I downloaded a recent test build and could install it on hard disk on ext4 partition and added following menuentry in grub2 to boot it:
 menuentry 'Android-x86 5.1 on sdaX' --class android-x86 {
    set root='(hd0,gptX)'
    linux /android-2015-08-16/kernel root=/dev/ram0 androidboot.hardware=android_x86 quiet SRC=/android-2015-08-16 DATA=/android-2015-08-16/data
    initrd /android-2015-08-16/initrd.img
 I could take screenshot by pressing PrtSc key.

Tuesday, September 15, 2015

Happily running Ubuntu 15.10 Wily Werewolf on my Lenovo G50-45.

I purchased Lenovo G50-45 Laptop in December 2014 and installed Ubuntu 14.04 in dual boot with pre-installed Windows 8.1 as per this post.

When you install any Linux Distribution on a new Hardware it works but not 100% and there were following problems:
1. Screen brightness could not be adjusted.
2. Wifi was erratic.
3. Bluetooth did not work.

Screen Brightness worked after installing Realtek Proprietary Driver but it broke on update in April 2015. I removed the Proprietary Driver and upgraded to Kernel 3.16 through Hardware Enablement Stack which installed the Open Source radeon driver and problem 1 was solved.

Wifi problem was solved creating /etc/modprobe.d/rtl8723be file as follows:
 echo "options rtl8723be fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf
 For Bluetooth I had to wait till Ubuntu 14.04.3 was launched with Kernel 3.19 and it worked sometimes but not on every boot (I wonder why?) after adding following ppa and the driver:
sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt-get update
sudo apt-get install rtl8723au-bt-dkms rtlwifi-new-dkms linux-firmware
On questioning I came to know that I had to wait for Linux Kernel 4.2 when Realtek drivers are included.

On 9th Sep 2015 I came to know that Linux Kernel 4.2 was included in Ubuntu 15.10 and I downloaded the ISO and tried it on my Laptop as per this post. I updated the ISO for couple of days through zsync and it was booting properly every day.

Yesterday I decided to install Ubuntu 15.10 on my hard drive and found that installer crashed, however, I used the following workaround to run the installer and installed:
sudo -H bash -c 'ubiquity gtk_ui'
I am happy to report that there is no need to add any rtl8723be file for wifi, radeon driver is perfect and Bluetooth is working on installed Wily Werewolf.