Move panel to the top on Linux Mint 18

By | 2017-04-18T12:05:27+00:00 April 23rd, 2017|Linux, operating systems|

Linux Mint is a very stable operating system for Desktops and I personally use it on my laptop. However I like Ubuntu GNOME's panel on the top feature. In this post, I will quickly show how to move Linux Mint's panel to the top of the screen rather the default at the bottom of the screen. Here is how the Panel looks like on Linux Mint 18 Cinnamon Desktop edition. The panel is at the left hand bottom. To move it right click anywhere on the panel and click Modify Panel. Next click on Move Panel option. Now the screen turns little greyish and you are given [...]

How to find out the recently installed package on Ubuntu/Linux Mint

By | 2017-04-17T15:34:21+00:00 April 22nd, 2017|Linux, operating systems|

On many occasions I tend to install and try out new packages on Ubuntu/Linux Mint. If the operating systems does not work as expected I usually check which was the last package that I had installed or on what date a particular package was installed. In this post I will share few commands that I use to get this information. APT and apt-get are very powerful commands which works with Ubuntu's Advanced Packaging Tool (APT). The following command gives us the list of all the packages installed [crayon-5ae28a96d6c28437997392/] As you see in the following output it does not give the details of the date installed, hence the output cannot [...]

How to copy files in Ubuntu and skip files if they are already in the destination

By | 2017-04-17T06:43:43+00:00 April 21st, 2017|Linux, operating systems|

I usually backup my work to an external hard drive. Since this is a weekly task, I want to be able to copy only the files which had changed in the past week rather than copying all the files all over again. The file explorers in Ubuntu/Linix Mint are very stable but the GUI does not have an option to meet this requirement of mine. Thanks to the CP command I am able to get this done. Here is the command that I use. [crayon-5ae28a96db03f617316270/] The parameters used with the CP command mean the following. -r copy directories recursively -u copy the source file only if the destination [...]

How to resolve time differences after dual booting Windows 10 and Linux Mint 18

By | 2017-04-16T21:14:48+00:00 April 20th, 2017|Linux|

I use Linux Mint 18 as primary operating system and sometimes boot to Windows 10. Since both of these operating systems are installed side-by-side, I boot to them using dual options in grub. Every time I boot to Windows and boot to Linux Mint or vice versa, I faced a strange problem. On Linux Mint, the system time would jump by few hours however if I check the Date and time settings, the timezone is correct represented. After troubleshooting this for sometime, I noticed the following. Ubuntu by default maintains the realtime clock in UTC time Windows maintains the realtime clock in Local Time Hence the [...]

Using PyCharm with Anaconda Virtual Environments

By | 2017-04-15T20:37:34+00:00 April 19th, 2017|Linux, operating systems, python, tools|

If you are regular reader of my blog, you would have noticed that I use Python mostly in Anaconda virtual environments. PyCharm is my favourite IDE for Python. Now the question is does PyCharm support conda environments? Fortunately the answer is Yes! In this post I will walk through the settings in PyCharm so that you can chose the right conda environment. Launch PyCharm and navigate to Settings --> Project Interpreter. If you click on the dropdown arrow, it should list all the interpreters currently available on the system which also includes interpreters from conda environments. If for some reasons you don't see the desired interpreter [...]

Find battery usage details from Ubuntu terminal

By | 2017-04-13T21:59:06+00:00 April 16th, 2017|Linux, operating systems|

Requirement I usually connect to my laptop using SSH from my workstation. At times I need to check the battery remaining on the laptop. In order to do this I need to remote desktop into the laptop. Since this is a small task, I don't want to remote desktop to the laptop every time. Solution There is no doubt that the Linux Terminal is very powerful. In this case as well I can get the battery information right from the terminal. Upower is what we will use for this task. [crayon-5ae28a96e1881215006549/] Executing the above code will enumerate and list the power devices attached to the computer. Here [...]

How to configure static IP for your home PC and connect remotely

By | 2017-04-13T12:25:39+00:00 April 15th, 2017|Linux, operating systems, tools|

I have a desktop at home which is my lab and many a times I need to connect to it when I am away. Since the public IP address for the router keeps changing dynamically, I needed a way to connect to the machine reliably. There were two options. Get a static IP address from the ISP Go for a Dynamic DNS (DDNS) name Dynamic DNS is a good option where you can bind your local computer's port to a domain name and access from it anywhere. Even there are free DDNS providers like but I found the configuration and hassles of maintaining a DDNS name [...]

Make PuTTY window transparent and prettier

By | 2017-04-13T11:25:42+00:00 April 14th, 2017|Linux, operating systems, tools|

When I am working on Windows PuTTY is my go to tools for SSH. On Linux Mint, I am used to the semi-transparent window of the terminal. But on PuTTY, there is no option for transparency. In this post I will share some information on how to make PuTTY transparent and few extra tips on making it look prettier. PuTTY Tray is the tool which I have been using for quite sometime now. This is an improvised version of PuTTY and has an option to make the window transparent. Like PuTTY, PuTTY Tray is a small portable file (1MB). If you have already saved few [...]

How to install a Desktop Environment on CentOS Core

By | 2017-04-09T21:17:11+00:00 April 12th, 2017|Linux, operating systems|

Like I mentioned in my previous post, I have a virtual machine running CentOS 7 core. The command line interface is good for most of the things but a GUI Desktop Environment is needed for certain operations. An example would be to use Jupyter Notebooks. This is a quick post explaining how to install a Desktop Environment on CentOS core. First decide which Desktop Environment you would like to use. I have always liked GNOME desktop environment, hence I will install GNOME in this example. Execute the following command to install GNOME Desktop environment. [crayon-5ae28a96e3d03157390293/] This will download files which are approximately 800 MB in [...]

CentOS yum update failing with “Cannot find a baseurl for repo” error

By | 2017-04-09T20:52:59+00:00 April 11th, 2017|Linux, operating systems|

I had recently installed the CentOS core on one of my virtual machines. To test some of the features I had to install few packages using yum groups install command. However on executing the command it failed with the following error. The OS was unable to locate the repository for the package. The host machine had internet connectivity but the guest was still unable to find the repo. Then I realized that I had installed the minimal CentOS core distribution. Which means by default, networking services will not be active on it. Now that I knew the problem, the resolution was very straight forward. Enable [...]