Tuesday, 23 May 2017

How to install Atom text editor in Ubuntu

Atom is a cross platform open source text editor for Linux, Windows and OS X. Atom text editor comes with a built-in package manager to search and install new packages, auto-complete features, file system browsing facility, multiple tabs and several other functions. It comes with 4 default themes and third party themes developed by Atom community can be installed if you are not satisfied with them. With a lot of customization features, Atom text editor has gained quite a popularity in the Linux world.goo

In this article, we will see how to install Atom text editor in Ubuntu. I am using Ubuntu 17.04 and the steps for other versions would be same. 

Steps to install Atom text editor in Ubuntu

Method 1 : Through the official repo

Ubuntu Software Center comes well equipped with lots of software and Atom is listed there. This should be the default way of installing Atom text editor, ensuring all the dependencies are installed and nothing goes wrong. 

Open Ubuntu Software and search for Atom. Click on install and the package will be downloaded and installed in your Ubuntu system. 

Method 2 : Through Terminal

Most of us loves the Terminal. If you want to install Atom through the command line, open Terminal by pressing Ctrl + Alt + T, or through the dash, and type in the following command : 

sudo snap install atom --classic

This will download the snap package and install it. Snap packages are similar to containers and with a .snap extension, it includes all the required libraries needed for the application. Once downloaded and installed, you can start by searching from Dash. If you are installing a snap package for the very first time, you will need to restart your system before you can search it. I wasted some minute figuring out why it's not showing in the search box [sigh].

In case you are already running an Atom Text Editor, and there is a new update; you can update it by typing the following command :

sudo snap refresh atom 

In case you want to remove Atom text editor at some point of time, this command will help you. 

sudo snap remove atom 

Hope these steps help you in installing Atom text editor in your Ubuntu system. Let me know in the comments if you face any issue. 

Monday, 22 May 2017

How to install GNOME Desktop in Ubuntu

If you don't like the default Unity Desktop environment or looking for an alternate option, GNOME is the best choice for you. GNOME 3 is an easy and elegant open source desktop environment whose development is largely contributed by Red Hats and Volunteers. It has a separate area called Overview which makes switching between different tasks and virtual workspaces easier. Moreover, Canonical is replacing Unity DE with GNOME desktop environment from Ubuntu 18.04 release. You can install GNOME desktop in Ubuntu and get familiar with it. 

In this article, we will see how to install GNOME desktop environment in Ubuntu. I am using Ubuntu 17.04 but the process will be same for any other version. 

Install GNOME in Ubuntu 

Open Terminal from the Launch bar or through pressing Ctrl + Alt + T and type the following command :

sudo apt install gnome-shell

This will prompt you for root password and notifies you for a download of around 49 MB archives. Type Y to continue and wait for the archive to download and install. 

Once done, log out from your session and on the Login screen, you will find the option of GNOME. 

Select GNOME, enter username and password to login to GNOME desktop environment. Clicking on Activities on the top-left corner gives the launch bar , Overview and a search box to search for the applications you have installed. A click in the center shows you all the Notifications and a calendar. You can pin any application to the launch bar with a drag and drop. 

With the above one-line terminal command, you have successfully installed GNOME desktop in Ubuntu. Open Source has so many choices when it comes to practically everything. If you don't like one desktop, you can switch to one of your choice any day with just one line of code. If you still face any issue, let me know in the comment. 

Wednesday, 17 May 2017

How to install LibreOffice in Ubuntu

LibreOffice is an open source and free Office suite with a clean interface and various applications. It is an open source equivalent to MS Office and comes with powerful office suit. LibreOffice comes with Writer for word processing, Calc for spreadsheets asks, Impress for presentations, Draw as a vector graphics and flowcharts application, Base for Database and Math for Formula Editing.

Ubuntu ships with LibreOffice by default and chances are that you already having it. So, this article is for those who have either removed it, or there is another update and they want to remove the old version and install the new one. Lets see how we can install LibreOffice in Ubuntu.

System Requirements

To install LibreOffice in Ubuntu, these are the prerequisite :

  • Linux kernel version 2.6.18 or higher 
  • glibc2 version 2.5 or higher
  • gtk version 2.10.4 or higher
  • Pentium III or higher
  • 256MB RAM (512 MB recommended)
  • 1.55GB of hard disk space 
  • X server with 1024x768 resolution
  • Gnome 2.16 or higher

If you are running an older version, you can uninstall it before installing the latest version. Here's how you can uninstall LibreOffice older version.

Open Terminal and type the following command.

sudo apt-get remove libreoffice-core

This will ask for your confirmation. Press Y and it will remove LibreOffice.

Installing LibreOffice in Ubuntu

Method 1: Using software repository. 

This is the easiest way to install LibreOffice in Ubuntu. Open Ubuntu Software and search for LibreOffice. Click on the LibreOffice package and click on Install in the next screen. It will take some time to download and install.

Method 2: Using Command Line

Most people prefer using the Terminal for everything. So, to install LibreOffice using Terminal, open one and type in the following command:

sudo apt-get install install libreoffice

This will download the installation files and install it in your system.

Method 3: Using .deb package

Download the .deb LibreOffice package from the official website.

Once done, put it in a folder you want.

It will be .tar.gz file. Open terminal, and navigate to the path where you have the archive downloaded. Type in the following command to unpack the package file.

tar zxvf LibreOffice_5.3.2_Linux_x86-64_deb.tar.gz

I am installing version 5.3.2 which you can read in the file name. This may vary for you if you download something which is more latest than this.

Next step is to install the .deb package. Navigate to DEB directory under extracted directory.

cd ~/LibreOffice_5.3.2_Linux_x86-64_deb/DEBS

Run the below command to install the .deb package.

sudo dpkg -i *.deb

It will ask for your root password and the installation will finish.

Using any of the method listed above, you can install LibreOffice in Ubuntu. However, if you are new user you should prefer installing it from the Ubuntu Software Center. Let me know in the comments if you face any issue while installing LibreOffice in Ubuntu.

Saturday, 6 May 2017

Fix : Could not insert the VirtualBox Guest Additions disk image

Sometimes, when you set up Ubuntu in a Virtualbox and try to install Guest Additions, the Virtualbox throws you an error: Could not insert the VirtualBox Guest Additions disk image file into the virtual machine Ubuntu1704, as the machine has no optical drives. Please add a drive using the storage page of the virtual machine settings window.

You can either add a drive or install Guest Additions from the Terminal to fix this error for your VirtualBox running Ubuntu. Lets check both the ways. 

Adding a drive

Open VirtualBox and click on Settings. Click on the CD icon with a plus sign under Controller : IDE under Storage. The dialogue box will ask you to add a new optical drive to controller IDE and will ask you to either leave empty or choose a disk. As of now, leave it empty. 

Now start the Virtual Machine. Under Devices Menu, select Insert Guest Addition CD image. You will get a warning message for the automatic start up of this service. 

Click on Run and enter the root password in the next screen. A terminal will open which will show the installation progress. Once the installation completes, Terminal will notify and press enter to exit the installation part. You have the Guest Additions set up done now. 

Using the Terminal to by-pass Could not insert the VirtualBox Guest Additions error 

Open Terminal and type the following command to install the guest addition.  

sudo apt-get install virtualbox-guest-utils

This will install the guest additions for your Ubuntu VirtualBox. This step doesn't need setting up an optical drive and is the most recommended one. There is no glitches and it will fix the error almost all the time for Ubuntu. Installing Guest Additions is among the first few tasks if you set up Ubuntu in a VirtualBox. It allows you to resize your screen when you resize the VirtualBox window, allows copy-paste between the guest and host OS and switching between the guest and host operating system is seamless. 

Let me know in the comments if the above steps fixed the issue. 

Thursday, 6 April 2017

Mark Shuttleworth announced the end of Ubuntu Phones!

Last few months weren't exciting for Ubuntu Touch and now Mark Shuttleworth announced the END of it. Being a Ubuntu lover and hoping all these months for a Ubuntu Phone availability in my country, this comes as a shock for me. And for others too! 

In a blog post, Canonical founder Mark Shuttleworth announced the end of Unity 8 (yes, another shocking thing), Ubuntu Phone and Convergence. He pointed out that the Ubuntu desktop will remain their top priority, and other areas where the investment will continue will be servers, VMs, cloud infrastructure and IoT story in snaps and Ubuntu Core. 

He mentions : 

The choice, ultimately, is to invest in the areas which are contributing to the growth of the company. 

Canonical had tried earlier for a fund raising for Ubuntu phones but failed to reach the target. However, they were able to get support from some of the manufacturers like Meizu and BQ and there were ports to several phones inluding OnePlus and Nexus 5. There was not much in development for the Touch with no updates from quite a while. However, no one expected a sudden shut down of the Ubuntu Phones. 

Also, along with Ubuntu Phones Convergence is also shutting down. He wrote in the blog post : 

I took the view that, if convergence was the future and we could deliver it as free software, that would be widely appreciated both in the free software community and in the technology industry, where there is substantial frustration with the existing, closed, alternatives available to manufacturers. I was wrong on both counts.
In the community, our efforts were seen fragmentation not innovation. And industry has not rallied to the possibility, instead taking a ‘better the devil you know’ approach to those form factors, or investing in home-grown platforms.

Personally, the "No More Ubuntu Phones" is heart breaking for me. And if you are reading this, perhaps you are in the same category!

Wednesday, 1 March 2017

Canonical wins the award for Convergence

Convergence was an idea from Canonical where it tried to create a single software platform that runs for Smartphones, Tablets and PCs. Though, there were some Ubuntu Phones launched supporting convergence, they didn't really pick up the pace. Microsoft tried the same thing through Continuum but then again, the failing of Windows Phone platform didn't help it either. However, in an attempt to create an OS than can serve many devices be it a handheld or a desktop, Canonical wins the race from Microsoft.

In the ongoing Mobile World Congress 2017, Canonical has been awarded the Orange Outstanding Achievement award for the conveged computing and digital openness. The Orange Device Partner Awards recognises the contribution in smartphone revolution and has awarded it to the Canonical this year.

In a blog post, Canonical announced the award :

Canonical announced today it was awarded the Orange Outstanding achievement for converged computing & digital openness at the Orange Device Partner Awards ceremony. With 25 awards over four categories, the Orange Device Partner Awards celebrates the 10th anniversary of the smartphone and aims to recognize individuals and organisations across the telecoms industry that have contributed to the smartphone revolution.

Since there isn't anything new in the Ubuntu Phone section these days, and neither we are going to see a new Smartphone running Ubuntu, it will take some more time before we can judge if Convergence is a great thing! If you want to see how convergence works, watch the below video:

As an Ubuntu lover, I am very much hopeful that Canonical comes up with some more smartphones and a better app section. Things like convergence only matters if your smartphone can work the basic things. What do you think, is this gonna work as a motivation to Canonical to pace things up? Let us know in the comments.

Saturday, 11 February 2017

Ubuntu Touch OTA-15 rolled out for Phones and Tablets

If you own a Ubuntu device, here's some news for you. Ubuntu Touch OTA - 15 has been officially rolled out to all Ubuntu phones and Tablets after not much development for the mobile OS from Canonical in past few months. If you are expecting some major changes in the Over the Air update, you will be disappointed. The OTA-15 includes small hot fix for the 3 issues reported since OTA-14 and update for oxide-qt web browser engine removing some security flaws. 

The device supported for OTA-15 includes BQ Aquaris E4.5, BQ Aquaris E5, BQ Aquaris M10, BQ Aquaris M10 HD, Meizu Pro 5, Meizu MX4, Nexus 7 and Nexus 7. 

Canonical started the Ubuntu touch Mobile platform and partnered with BQ and Meizu to release some devices. Along the way, there were various ports to Nexus and OnePlus devices too. With time though, the development slowed down. Canonical has confirmed that they will not stop developing the OS and Ubuntu devices will keep on getting over the air updates. However, there won't be major changes since Canonical wants to patch only critical bugs and fix security issues along with polishing the OS. 

If you want to try the Ubuntu Touch, you can install Ubuntu touch emulator in a Linux system

Do you think Ubuntu OS will meet the same fate as Firefox OS or has a future? Let us know in the comments.