Saturday, January 05, 2019

Installing latest version of youtube-dl

youtube-dl is used to download Youtube videos. If you find that youtube-dl is not able to download a particular video you can uninstall the version of the distribution and install from github as follows:

sudo apt-get remove -y youtube-dl
sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
hash -r
Good luck downloading Youtube videos.

Thursday, November 15, 2018

Ubuntu 18.04 in dual boot with Endless OS

 I bought Acer Aspire 3 Model A315-21 which came with pre-installed Endless OS. I could install Ubuntu 18.04 after resizing the Endless OS partition. But the grub of Ubuntu did not pick up the entry of Endless OS. I asked question on Ask Ubuntu and was told to add the following menu entry in /etc/grub.d/40_custom
menuentry "Endless" { insmod part_gpt insmod fat set root='hd0,gpt1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 1234-abcd else search --no-floppy --fs-uuid --set=root 1234-abcd fi chainloader /EFI/endless/shim.efi}

I was told to replace two instances of "1234-abcd" by UUID of /dev/sda1 which is EFI partition created by Endless OS. The above menu entry chainloads the grub installed by Endless OS.

After booting there was no chance of selecting the above menu entry since the grub menu was hidden.

I opened /etc/default/grub and changed the following lines:
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0in
to:
#GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
I could chainload the grub of Endless OS but it was not booting and I had to disable secure boot.

Interestingly the Endless OS boots with secure boot on if I choose the grub of Endless OS in BIOS

NB: Since Ubuntu 18.04 had bug of grub install I downloaded Daily/Live image of Ubuntu 18.04 in which the bug has been removed.


Monday, November 05, 2018

Installed Peppermint Linux on Lenovo Ideapad S100

I am presently at Bhopal and these people have Lenovo Ideapad S100 with Windows 7. Last time I had tried antiX Linux on USB boot on this machine.

This time I found that they had to reformat the disk and reinstall Windows 7 which was not working well.

When I boot this Laptop on Windows 7 there were auto key presses of space bar for sometime. Afterwards I could use it but space bar did not produce "space". I had to use onscreen keyboard for typing "space".

I decided to try Linux on the machine and since it has only 2 GB RAM I decided to try Peppermint Linux.

I downloaded Peppermint 9 (32 bit), checked md5sum, bought SanDisk from local market and made bootable usb disk using Rufus.

This Laptop is not friendly for USB booting. On Lenovo Laptops pressing F12 is supposed to show boot menu but the Laptop does not have F12 key and suppose to work with Fn+F11 but Fn does not work on BIOS.

I pressed F2 to enter the BIOS Set up but there is no option to bring up the USB boot option above HDD boot, however, the BIOS suggests that you could disable HDD boot option by putting "x" after selecting it and pressing x key.

After disabling HDD boot I could boot from USB. The Space Bar key did not work on Live Peppermint Desktop and I had to install "onboard" to get onscreen keyboard.

Even then I decided to install Peppermint in dual boot with Windows 7.

After install and booting Peppermint Desktop once again I had to install "onboard" and use it for space bar.

After applying all updates, however, I find that the Space Bar key is working.

Mission successful.

Saturday, October 13, 2018

Endless OS pre-installed on Acer Aspire 3.

 I bought Acer Aspire 3 Model A315-21 on Amazon during current Great Indian Festival. Regarding OS Amazon stated:

  • Operating System: This is an Elinux -based laptop. Requires separate purchase and installation of operating system software (like Windows), not included in the box. Refer to Acer website for drivers

Since it says "Requires separate purchase and installation of operating system software" I thought nothing would be pre-installed and I was ready to install Ubuntu 18.04.

But it came pre-installed with Endless OS and I am very much impressed with the modern Linux Operating System.

See what is says in the QA below:

Why can't I use apt-get, dpkg, dnf, or rpm commands?

Most desktop Linux distributions are oriented towards tech-savvy users and developers, but Endless OS isn't your typical Linux distribution. We have a different target user. We don’t use rpm, apt, or any other packaging system. We use a read-only root file system managed by OSTree with application installed using Flatpak.

You may notice that the apt-get and dpkg commands are installed. This is because Endless OS is based on Debian, and these commands are used while creating Endless OS. Each release is a read-only snapshot, so you can use commands like dpkg -l which do not make changes to the system, but you cannot use commands like apt-get install.

For more information on the open-source software used to build Endless OS, see the Developers page on our website.

Wednesday, September 26, 2018

Booting daily-live/current cosmic-desktop-amd64.iso from Grub2 and updating it using zsync.

Today I downloaded Ubuntu 1810 Cosmic Cuttlefish Live ISO

    wget -c http://cdimage.ubuntu.com/daily-live/current/cosmic-desktop-amd64.iso


 and used it booting from Grub2 menu entry as follows:

    sudo gedit /etc/grub.d/40_custom

and added the following lines:

    menuentry "Cosmic Desktop iso" {
            set isofile="/home/user/cosmic-desktop-amd64.iso"
            loopback loop (hd0,X)$isofile
            linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noprompt noeject
            initrd (loop)/casper/initrd
    }

then I updated grub to add the menuentry:

    sudo update-grub

I could boot from the ISO selecting Cosmic Desktop iso from menu.

Today I decided to keep the ISO updated and installed zsync and used it to update.

    sudo apt-get install zsync -y
    zsync http://cdimage.ubuntu.com/daily-live/current/cosmic-desktop-amd64.iso.zsync
    #################### 100.0% 108.2 kBps DONE  

    reading seed file wily-desktop-amd64.iso: **************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************Read wily-desktop-amd64.iso. Target 100.0% complete.   
    verifying download...checksum matches OK
    used 1257062400 local, fetched 0

Since it is less than 24 hours it says " fetched 0"

If you want to use the method please note that the ISO is on /home folder of the user. Put your username replacing user and X in (hd0,X) as your partition no X.

Sunday, September 02, 2018

Enabling tapping on touchpad on Debian Mate Desktop.

I installed Mate Desktop on Debian 9 "Stretch" recently and found that tapping on touchpad did not work and the setting was missing in Mate Control Centre.

After searching I found the solution on Debian Wiki
# mkdir -p /etc/X11/xorg.conf.d
# echo 'Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "on"
EndSection' > /etc/X11/xorg.conf.d/40-libinput.conf


Thursday, June 28, 2018

Outage of Chromecast on June 27 2018

There is a 10:30 PM serial on Zee Marathi (Grahan) which does not have repeat telecast in the day.

We watch it through Zee5 and Chromecast on our TV next day morning.

We could watch it on 27th June in the morning but later on when I tried to use Videostream on Chromecast it did not work.

I tried rebooting, Factory Reset on Chromecast, restarting Wifi but nothing worked.

After searching on internet I came to know that it was Global issue.

Google resolved it and we could use Chromecast on 28th June morning.


Tuesday, May 29, 2018

Playing Music on Bluetooth Speaker artis BT 15 through SD Card.

As mentioned on previous post I bought artis BT 15 Bluetooth Speaker mainly to use with my mobile phone since its sound output is less.

The Bluetooth Speaker also has micro SD Card slot to play the songs on SD Card without connecting with any phone or Laptop.

I had one micro SD Card and SD Adapter to mount it on Laptop. After mounting the card it got mounted as read only.

I checked the Adapter and it had a hardware lock switch to write protect it. After putting the switch in unlock position it got mounted as rw.

I copied the Music Folder with its contents from the Laptop on the micro SD Card.

After inserting the card in the slot on Bluetooth Speaker I could play the songs on the Speaker.

Now I don't need any mobile or Laptop to play those songs.

Sunday, May 27, 2018

Connecting Bluetooth Speakers for sound output on Ubuntu 16.04

I bought Bluetooth Speker artis BT15 mainly to use with my mobile Coolpad Mega 2.5D since the output volume of the phone for playing Jio TV is very less.

After using with the phone I thought to check it with Laptop although Laptop speakers are good enough.

I could pair and connect the Bluetooth Speaker and it was showing in System_Settings/Sound/Output as "Headset BT15" and I selected it but the Music was still playing through Laptop Speakers.

After searching askubuntu I got the solution:
  1. Change #AutoEnable=false to AutoEnable=true in the /etc/bluetooth/main.conf (notice new line is un-commented)
  2. Unpair the headset
  3. Restart the bluetooth service sudo /etc/init.d/bluetooth restart
  4. Pair your headset again and connect it
  5. Go to sound settings. From the output device tab you should now see the headset listed along with other output device like internal speakers
  6. Choose it as the sound output device.

Saturday, April 28, 2018

Installing Ubuntu 18.04 Bionic Beaver on Lenovo G50-45

My Lenovo G50-45 has Windows 10 and Ubuntu 16.04, Debian 9 and two more partitions to install whatever Linux I feel like.

I downloaded Ubuntu 18.04 Desktop ISO on 27 April 2018 and tried to install on spare partition. It failed to install Grub with error message 'grub-efi-amd64-signed' package failed to install target/ and also wiped menu entries of Ubuntu 16.04 and Debian making my system unbootable.

I had to boot again on Ubuntu 18.04 Live USB, install and run Boot Repair to get the menu entries back.

Today I installed Ubuntu 18.04 once again with following command:
sudo ubiquity -b
which installed without Grub.

After login in Ubuntu 16.04 I updated grub and got the entries of Ubuntu 18.04 and could boot Ubuntu 18.04.

But for anybody trying to install Ubuntu 18.04 without any other Linux present should use following procedure on AMD machines:
 

1) Boot Ubuntu Live DVD/USB in testing mode and open terminal
2) Run installation process without installing bootloader by:
sudo ubiquity -b
3) Press "Continue testing" after installation is over.
4) Mount newly installed file system into /mnt:
sudo mount /dev/sda2 /mnt
sudo mkdir /mnt/boot/efi
sudo mount /dev/sda1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
(where sda2 is the root partition and sda1 is the efi partition)
5) Load efivars by:
sudo modprobe efivars
6) Reinstall grub-install for a 64bit version
sudo apt-get install --reinstall grub-efi-amd64
sudo grub-install --no-nvram --root-directory=/mnt
7) Change root to /mnt and update grub
sudo chroot /mnt
sudo update-grub
8) Move and rename the installed bootloader
cd /boot/efi/EFI
sudo cp -R ubuntu/* BOOT/
cd BOOT
sudo cp grubx64.efi bootx64.efi
9) Reboot the system.


Tuesday, April 17, 2018

Combining multiple video files into one video file.

I had four video files which were supposed to be played one after the other. After searching on Internet I learned about using ffmpeg.

I created mylist.txt file in the folder where the video files were kept.
file '3SRB_Stretching.mp4'
file '3SRB_Swiso.mp4'
file '3SRB_Refining_Exercise.mp4'
file '3SRB_Radhe_Krishna.mp4'

Then I opened terminal and typed following command after CD to the folder.
ffmpeg -f concat -safe 0 -i mylist.txt -c copy 3SRB.mp4

I got 3SRB.mp4 file which combined the four files in mylist.txt file.

Tuesday, August 08, 2017

Using Wayland Display Server on Ubuntu 17.10 and Ubuntu 16.04 LTS

After reading on omgubuntu that Wayland will be the default Display Server on Ubuntu 17.10 (under development) I downloaded the Daily ISO of Ubuntu 17.10 and installed on one spare partition.

For those who are not aware Ubuntu has dropped Unity and Gnome will be the Desktop for Ubuntu 17.10. Gnome already has Wayland session.

At login I selected Ubuntu Wayland Session and could login and use the Gnome Desktop without any difficulty.

After testing I connected my Android Phone through Bluetooth and tried to play the Music from JioMusic on Laptop speakers and it worked. But I could not transfer the photographs from the phone.

After searching I found a Bug and workaround. To use the workaround permanently I used the following commands:
sudo systemctl --global enable obex

gnome-session-properties
Add a new entry:
Name: gnome-user-share-obexpush
Command: /usr/lib/gnome-user-share/gnome-user-share-obexpush
Save

Enable the new entry through the command or relogin.


I could transfer the photos to the laptop.


Now I decided to use Wayland on my present OS i.e. Ubuntu 16.04 LTS.
I had already added Gnome Desktop earlier since it is going to be the default Desktop in upcoming versions. I installed gnome-session-wayland logged out and tried to login after selecting Gnome Wayland session but could not login.


Then I discovered that there is a Bug for login through LightDM greeter.
I  switched to GDM3 through:
sudo dpkg-reconfigure gdm3

Now I could use Wayland on Ubuntu 16.04 LTS as well by selecting Gnome Wayland session.

Tuesday, July 04, 2017

I forgot password of Ubuntu 16.04 Desktop.

I forgot Ubuntu 16.04 login on my Lenovo Laptop and wanted to create new password.

In Grub menu I clicked on Advance Options and selected Recovery Mode to boot.

After boot in Recovery Mode I selected Root and pressed enter to get Root Terminal.

Ubuntu Recovery Mode mounts / File System in Read Only mode, therefore I remounted it.
# mount -o remount /

and I could set the password by typing
# passwd username

and after
# reboot

I could login with the new password.

Next Day I remembered the forgotten password and restored it once again.

Wednesday, June 21, 2017

My Laptop is on IPv6 and fallback IPv4 through Jio Hotspot.



What is IPv6?
IPv6 is short for "Internet Protocol Version 6". IPv6 is the Internet's next-generation protocol, designed to replace the current Internet Protocol, IP Version 4.
In order to communicate over the Internet, computers and other devices must have sender and receiver addresses. These numeric addresses are known as Internet Protocol addresses. As the Internet and the number of people using it grows exponentially, so does the need for IP addresses.
IPv6 allows more users and devices to communicate on the Internet by using bigger numbers to create IP addresses. Under IPv4, every IP address is 32 bits long, which allows 4.3 billion unique addresses. An example IPv4 address is:
172.16.254.1

In comparison, IPv6 addresses are 128 bits, which allow for 
approximately three hundred and forty trillion, trillion unique IP 
addresses. An example IPv6 address is:
2001:db8:ffff:1:201:02ff:fe03:0405

One day Internet Speed was slow on my Mobile and I changed
to APN Protocol IPv4/IPv6 and it improved

But I was getting only IPv4 address on Laptop connected to the
Hotspot. Then I changed Hotspot settings also to IPv4/IPv6.
Now I am having both IPv4 and IPv6 addresses on my Laptop.
 

Thursday, June 15, 2017

Bodhi Linux 4.2.0 a light distro based on Ubuntu 16.04


Bodhi Linux 4.2.0 was announced on 31st May 2017 and I  decided to try it compare how light it is compared to Ubuntu 16.04.

I was impressed with the memory used on booting to the Desktop:
~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           1706         160        1185           9         360        1378
Swap:          1023           0        1023

I was also impressed with the memory used with 3 Tabs open on Midori Browser:
~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           1706         565         704          19         436         960
Swap:          1023           0        1023

Unfortunately Google does not support Midori Browser and the New Post Page refused to open on Blogger.

I installed Chromium Browser from Bodhi AppCenter and using it now with 4 Tabs open:
$ free -m
              total        used        free      shared  buff/cache   available
Mem:           1706        1008         135          23         561         505
Swap:          1023           0        1023

Although the Blogger New Post page refused to open gmail opens but complains of unsupported Browser but mail  functions work.

I am happy  with Bodhi  Linux 4.2.0 performance.

I could also edit this page on Midori Browser. It works. 



Monday, June 05, 2017

Correct way to watch JioTV and other apps on Jio Network and enjoy free calls.

Jio has been providing 1 GB daily Data and free incoming and outgoing calls to any Network since Sep 2016 to those who had 4G Phones in the name of  Welcome Offer, Happy New Year Offer and  Summer Surprise Offer but I find that many people are not enjoying the offers fully.

Most people have Broadband Connection at home and their phone gets connected to Home Wifi Network when they reach home. Now if they try JioTV it does not work because it necessarily requires Jio Mobile Network. For JioTV to work properly at home you need to disconnect from Home Wifi Network and connect only to Jio Mobile Network.

For receiving and making free calls, if your phone is Volte it works even when you are on Home Wifi Network.

If your phone is only 4G (without Volte) you need to disconnect from Home Wifi Network and connect only to Jio Mobile Network and keep Jio4GVoice app working to receive and make free calls.

Tuesday, May 30, 2017

Reverification of Mobile nos through Aadhar and locking of Biometrics

I received sms from Idea that I need to get the re-verification through Aadhar Biometric since it is mandatory now. Without giving a second thought I went to neighborhood Idea Customer Care Center and told my Mobile number. They sent an OTP on the number and after getting the OTP began the process of verification through Aadhar Biometric. My finger Biometric did not work after many attempts.

After coming home I recollected that I had locked my Aadhar Biometric through Aadhar Services website.


I went back to the site and unlocked the Biometric but it allowed me only 20 minutes after which it would be automatically locked again. Then I disabled the Biometric lock.

After going back to Idea Customer Care Center I could re-verify my Mobile no through Aadhar Biometric.

I have enabled the Biometric lock once again and I hope to remember to disable it again if I need verification anytime in future.

Thursday, May 18, 2017

Ubuntu Desktop Team wants your feedback.

The Ubuntu Desktop team is tasked with transitioning Ubuntu desktop over from Unity to GNOME — and they need your feedback to help them do it.

The above poll is appearing on OMGUbuntu

I am using Ubuntu for more than 12 years now. From next year Ubuntu 18.04LTS Ubuntu is going to shift from Unity Desktop to GNOME.

Presently I am using Ubuntu 16.04LTS and generally use GNOME fall-back session. I was also keen to try GNOME Desktop on Ubuntu 16.04.

I clicked on the Install GNOME shell link on OMGUbuntu page, installed it and logged out of fall-back to GNOME session.

GNOME extensions are installed through Browser but Firefox requires you to enable GNOME integration. For this I followed following page on OMGUbuntu

After integration I went to GNOME Extensions page and installed the following extensions:
and participated in the survey. I also installed Caffeine and Open Weather extensions.
 
I am now using GNOME Desktop on Ubuntu 16.04.

Tuesday, May 02, 2017

Transferring Contacts from Nokia X2-00 to Android Phone

I am helping husband of my sister-in-law to shift from ordinary Nokia phone to Volte smartphone. For buying his preference was Samsung Volte so we bought Samsung Galaxy On7 Pro online. After delivery of the phone and charging the Battery we went to Reliance Digital Express to buy Jio sim. The main problem was to transfer Contacts from Nokia Phone to the new Android Phone.

I got the Model No of Nokia Phone by dialling *#0000# it was Nokia X2-00
Then I searched suitable Nokia Suite for the Model and downloaded Nokia Suite 3.8.54 on Laptop.
I connected the phone to the Laptop through USB Cable and tried to Synchronize Contacts on Nokia Suite but it failed. Then I switched on Bluetooth on the phone and connected through Bluetooth. I could synchronize the Contacts.

I exported all the Contacts to a Folder NokiaX2-00
I opened the Windows Terminal and typed the following command after navigating to NokiaX2-00 folder.
COPY *.VCF combined.VCF

I exported the file combined.VCF to Google Contacts and synchronized on Android Phone.




Tuesday, April 25, 2017

Fix for JioTV not working.

I am presently at Bhopal and my Jio phone is on roaming. Today JioTV did not work in spite of internet speed of 15 Mbps or more. After googling I got following solution which worked for me.
1. Uninstall and reinstall JioTV app.
2. Go to Settings/Mobile Network/Access Point Names/APN which is Jionet. Edit the following setting.
APN Protocol IPv4
APN roaming protocol IPv4
Bearer LTE
JioTV started working.

Yesterday one old man brought his smart phone Panasonic Eluga Switch. He had Jio sim in slot 1 and Airtel sim in slot 2. After Android System update the Ringtone did not work for sim2.
After struggling for two hours I found interrupts setting in Sound in which calls was disabled. After enabling it the ringtone worked for sim2.



Filed ITR2 with Zero income tax on Capital Gain taking help of Claude AI.

  I file income tax return on my own (without any help from anyone) every year. But this year I decided to take the help of Claude AI primar...