Archive for the ‘Linux’ Category

For some reason Unity in Ubuntu 16.04 and the SublimeText deb package don’t play well together and the integration is not quite right – for one the launcher says “UNREGISTERED” even after entering a valid licence key, and SublimeText does not appear in Nautilus context menu as an option to open files. Here’s the workaround […]

Sunday, August 7th, 2016 at 15:40 | 0 comments
Categories: Linux

Great post on Stack Exchange, How to correctly add a path to PATH?.

Friday, July 15th, 2016 at 06:17 | 0 comments
Categories: Linux

Lots of issues with Network Manager in Ubuntu 16.06 LTS, in particular connecting to wifi after suspend/resume. Restarting the Network Manager service seems to work for me.

Friday, July 15th, 2016 at 06:12 | 0 comments
Categories: Linux

Here’s the fix for a problem where Nautilus shows hidden files by default. $dconf-editor org -> gtk -> settings -> file-chooser Uncheck show-hidden Close Nautilus and open again

Tuesday, January 26th, 2016 at 04:05 | 0 comments
Categories: Linux

In this post we look at how text data can be transposed in a shell script. Suppose you have a comma-delimited text file (csv) which looks like this: 2014-10-01,Reading1,20.3 2014-10-01,Reading2,21.5 2014-10-01,Reading3,24.0 2014-10-01,Reading4,22.2 2014-10-02,Reading1,20.5 2014-10-02,Reading2,21.5 2014-10-02,Reading3,24.1 2014-10-02,Reading4,22.4 2014-10-03,Reading1,20.5 2014-10-03,Reading2,21.7 2014-10-03,Reading3,24.2 2014-10-03,Reading4,22.5 …and so on. Perhaps this is a set of sensor readings over a period of […]

Saturday, October 18th, 2014 at 15:50 | 0 comments
Categories: Linux

Suppose you have a monthly process to archive some data such as log files etc. Each month a separate archive file is created, and so after a few months you will have several archive files – for example as shown below: archive.2014-08.tar.gz archive.2014-09.tar.gz archive.2014.10.tar.gz Now if you wish to extract your data from all three […]

Saturday, October 18th, 2014 at 07:48 | 0 comments
Categories: Linux

FPrint is a PPA with packages for fingerprint-based authentication. Website includes good documentation on how to install and set it up.

Friday, October 25th, 2013 at 04:56 | 0 comments
Categories: Linux

This is a great one-liner which removes old kernel images and frees up space in your boot partition:

This comes from the top answer to a question on ask ubuntu.

Wednesday, October 16th, 2013 at 08:39 | 0 comments
Categories: Linux

Here’s an article on Lego’s Land on how to reorder accounts in the left pane of Thunderbird.

Friday, September 20th, 2013 at 05:15 | 0 comments
Categories: Linux, Web

Most digital cameras store Exif data in the JPEG photo files. This includes things like date and time, camera model and camera settings and in some cases even GPS coordinates. jhead is a very useful command line utility which can read and edit the Exif data. For example, you may wish to remove the data […]

Saturday, August 11th, 2012 at 05:41 | 0 comments
Categories: Linux