Linux User Group of Mauritius Promoting open source software in our beautiful island

30Nov/170

Informative and Restrained as opposed to Superficial and Flashy

Posted by Avinash Meetoo

Infotech 2017 has started.

And I am happy to notice that, except for one or two stands, things are much more “Informative and Restrained” compared to previous editions where things tended to be “Superficial and Flashy”.

Allow me to explain.

In Mauritius, for the past few years, we have become a nation of seminars, workshops, conferences and exhibitions and, unfortunately, many of them are quite superficial and very very flashy indeed. For the past six months, I have been to many such events where the venue was beautiful (a nice hotel with a beautiful view of the lagoon), the food was excellent, the hostesses out of this world but where, personally, I felt that there was not much to listen to and learn from, except from a minority of the speakers. This is what I call “Superficial and Flashy”.

What I would prefer to have, from a personal point of view, is the kind of chaotic geekish meetup as pictured above. An event where intelligent people of all horizons can meet, exchange views, share ideas and move forward together. Of course, there is a need for a venue and some food but nothing ostentatious. This is what I call “Informative and Restrained”.

The thing is that it is easier to do “Superficial and Flashy” than “Informative and Restrained”. The reason for that is that to be informative, the speakers need to be of high-caliber and need to be properly prepared.

This is your typical Googler. Similar people are changing our worlds everyday at Google, Facebook, Amazon, Apple, etc. but also in the IT division of most of the companies in the world. And, before you laugh, let me remind you that they run the world.

Pictured above are some of the people who have basically built the world as it is known today. Without them, we would still be waiting for The A-Team to be shown on TV on Saturday night. They are Steve Jobs (Apple), Sergey Brin (Google), Bill Gates (Microsoft), Larry Page (Google), Mark Zuckerberg (Facebook) and Jeff Bezos (Amazon). The missing ones being Linus Torvalds (Linux) and Richard Stallman (Free Software Foundation).

Of course, we won’t have Steve (RIP), Sergey, Bill, Larry, Mark, Jeff, Linus or Richard at Infotech. Maybe next year…

But we’ll have the 2nd best thing: the (real) innovators of Mauritius, each on his/her respective “Informative and Restrained” stand and willing to share his/her passion with you.

You just have to put aside your tendency to value the “Superficial and Flashy”, walk toward them and talk to them.

Enjoy 🙂

(First photo, courtesy of Le Méridien. Second photo, courtesy of Concept7. Third photo, courtesy of Business Insider. Fourth photo, courtesy of Youth Connect. Fifth photo, courtesy of PC Risk).

30Nov/170

Informative and Restrained as opposed to Superficial and Flashy

Posted by Avinash Meetoo

Infotech 2017 has started.

And I am happy to notice that, except for one or two stands, things are much more “Informative and Restrained” compared to previous editions where things tended to be “Superficial and Flashy”.

Allow me to explain.

In Mauritius, for the past few years, we have become a nation of seminars, workshops, conferences and exhibitions and, unfortunately, many of them are quite superficial and very very flashy indeed. For the past six months, I have been to many such events where the venue was beautiful (a nice hotel with a beautiful view of the lagoon), the food was excellent, the hostesses out of this world but where, personally, I felt that there was not much to listen to and learn from, except from a minority of the speakers. This is what I call “Superficial and Flashy”.

What I would prefer to have, from a personal point of view, is the kind of chaotic geekish meetup as pictured above. An event where intelligent people of all horizons can meet, exchange views, share ideas and move forward together. Of course, there is a need for a venue and some food but nothing ostentatious. This is what I call “Informative and Restrained”.

The thing is that it is easier to do “Superficial and Flashy” than “Informative and Restrained”. The reason for that is that to be informative, the speakers need to be of high-caliber and need to be properly prepared.

This is your typical Googler. Similar people are changing our worlds everyday at Google, Facebook, Amazon, Apple, etc. but also in the IT division of most of the companies in the world. And, before you laugh, let me remind you that they run the world.

Pictured above are some of the people who have basically built the world as it is known today. Without them, we would still be waiting for The A-Team to be shown on TV on Saturday night. They are Steve Jobs (Apple), Sergey Brin (Google), Bill Gates (Microsoft), Larry Page (Google), Mark Zuckerberg (Facebook) and Jeff Bezos (Amazon). The missing ones being Linus Torvalds (Linux) and Richard Stallman (Free Software Foundation).

Of course, we won’t have Steve (RIP), Sergey, Bill, Larry, Mark, Jeff, Linus or Richard at Infotech. Maybe next year…

But we’ll have the 2nd best thing: the (real) innovators of Mauritius, each on his/her respective “Informative and Restrained” stand and willing to share his/her passion with you.

You just have to put aside your tendency to value the “Superficial and Flashy”, walk toward them and talk to them.

Enjoy 🙂

(First photo, courtesy of Le Méridien. Second photo, courtesy of Concept7. Third photo, courtesy of Business Insider. Fourth photo, courtesy of Youth Connect. Fifth photo, courtesy of PC Risk).

6Oct/170

How to reduce the amount of disk space used by the systemd journal

Posted by Avinash Meetoo

We, Linux people, generally use systemd now and one of its components is the journal controlled by the journalctl command line tool.

As explained on the Arch wiki,

systemd has its own logging system called the journal. The /var/log/journal/directory is a part of the systemd package and the journal will write to /var/log/journal/

The journal is always appended and therefore grows in size. On my laptop, the journal was taking 1.8Gb of space and was full of details which, I believe, I’ll never need. So I decided to clear all old contents (which the systemd people call a vacuum). I issued:

journalctl --disk-usage
journalctl --vacuum-size=64M
journalctl --disk-usage

And the journal immediately became smaller. I then issued a

journalctl --verify

which made ma realise that some of the remaining journal files were corrupted (for some reason). There is no journal repair tool in systemd so I simply removed the offending files (with rm).

Now, I can easily check my journal entries for today and I know everything will be all fine:

journalctl --since today

6Oct/170

How to reduce the amount of disk space used by the systemd journal

Posted by Avinash Meetoo

We, Linux people, generally use systemd now and one of its components is the journal controlled by the journalctl command line tool.

As explained on the Arch wiki,

systemd has its own logging system called the journal. The /var/log/journal/directory is a part of the systemd package and the journal will write to /var/log/journal/

The journal is always appended and therefore grows in size. On my laptop, the journal was taking 1.8Gb of space and was full of details which, I believe, I’ll never need. So I decided to clear all old contents (which the systemd people call a vacuum). I issued:

journalctl --disk-usage
journalctl --vacuum-size=64M
journalctl --disk-usage

And the journal immediately became smaller. I then issued a

journalctl --verify

which made me realise that some of the remaining journal files were corrupted (for some reason). There is no journal repair tool in systemd so I simply removed the offending files (with rm).

Now, I can easily check my journal entries for today and I know everything will be all fine:

journalctl --since today

8Aug/170

Ghost Desktop on Xubuntu 17.04 won’t start

Posted by Jochen Kirstaetter

Ghost Desktop on Xubuntu 17.04 won't start

Already before the migration from Joomla to Ghost last weekend I run the Ghost Desktop application on Windows. Now, after the successful completion it was about time to get going on my other machines. You know, the ones away from the main rig... Usually used during the evening hours, just for fun, or experimenting.

Tonight, I decided to give one of my Linux systems some attention, started to upgrade some packages, and installed new software. Among those also Ghost Desktop App for Linux. On the Ghost website you get version 1.3.0 (as of writing), and it's a Debian package.

Knowing that the desktop app is an Electron-based application, and I already packaged a few Electron apps myself, it would run on any Ubuntu-based system, too.
Note: This post was written in Ghost Desktop running on Xubuntu 17.04 64bit

Installation of Ghost Desktop

Either you double-click on the downloaded .deb package and your system will prompt you to open/install the application in Software, or you can run the following command in the Terminal:

$ sudo dpkg -i ~/Downloads/ghost-desktop-1.3.0-debian.deb 

Ghost Desktop can then be launched via the Application Menu/Launcher under ghost-desktop or if you prefer the terminal:

$ Ghost

The problem: Ghost Desktop won't start

If you try to launch the application via the menu or any other GUI launcher you won't get any response at all. The software just isn't executed, it seems.

Compared to running it in the Terminal. This might produce the following output:

$ Ghost
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Unable to find a valid app
    at Object.<anonymous> (/usr/lib/Ghost/resources/electron.asar/browser/init.js:121:9)
    at Object.<anonymous> (/usr/lib/Ghost/resources/electron.asar/browser/init.js:173:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:424:7)
    at startup (bootstrap_node.js:147:9)

The solution: Set permissions

Fortunately, this has been reported already on GitHub by user letsjustfixit. The issue is caused by a missing permission bit on the Electron app. A temporary workaround has been documented until the package is going to be fixed.

Run the following chmod to set read and execute bits on the Electron app and dependent components. Then launch Ghost Desktop again.

$ sudo chmod -R +rx /usr/lib/Ghost/resources/app
$ Ghost 

 ⚡️  Welcome to Ghost  👻

Happy blogging!

It's great to see that such issues are handled on GitHub, and the "fix" is easily done.

As maintainer of own Electron-based applications I'm interested in the root cause. So far, I didn't come across a similar problem (touching wood!). Thankfully, I'm going to add this to my notes on Electron.

If you're familiar with this kind of problem regarding Electron packaging on Linux, give it try to fix it. On my side, I already cloned the Ghost-Desktop repository. Let's see whether I'm able to create a pull request for the Ghost community.

Tagged as: No Comments
16Apr/170

Stopping by the #RiSk[Solutions] hackathon

Posted by Ish Sookun

A few weeks ago, Ajay Ramjatan, the President of the Linux User Group of Mauritius sent the executive members an email about a hackathon. It's organized by the "Fonds francophone pour l’innovation numérique (FFIN)" with the collaboration of OTAM, MITIA and the Ministry of Technology, Communication & Innovation. It is the fifth edition and this time it's happening in Mauritius.

#RiSk[Solutions] hackathon - Xavier

The event spanned over four days starting on Thursday 13 April 2017. I followed one presentation on Thursday where a « security consultant » talked about state-sponsored hacking. Well, he did talk about a lot of other stuff such as Ransomware, Password Managers etc but those are mainstream subjects. I was interested in the subject of state-sponsored hacking. In the slide the presenter mentioned "cybercriminel" rather than "hacker".

Is a hacker a cybercriminal?

That's an interesting topic but it's not within the scope of this blog post.

I could not attend the second day of the event but Ajay attended the rest of the days. In fact, both Ajay and Pritvi, an executive member of the Linux User Group, stayed for longer hours on Saturday while mentoring the participants. Pritvi stayed the whole night as the hackthon lasted 24-hours. On Saturday night I stopped by for a few minutes and met them.

On Sunday I arrived at the CyberTower 1 shortly after 10h00. The participants looked tired, due to lack of sleep most probably, but the enthusiasm was still there. Ajay was helping some participants with a PHP module that was not well configured on their Kali Linux virtual machine. I greeted them and wished the participants luck.

At 15h00 the ceremony started.

The jury panel was divided in two parts. A technical panel where the jury had already given scores after looking at the work/code of the participants and another panel who would give scores based on the quality of the presentation.

#RiSk[Solutions] hackathon - Jury panel

Members of the jury panel wore red t-shirt, mentors wore green, those from the organizing committee wore yellow and participants were in blue.

The first team that presented encountered a technical issue, which is very common when using virtual machines. Since they changed network after moving to the presentation room the machine IP address changes and possibly if they're on bridged network the virtual machine's address changes too.

The teams that did their presentations are in the following order:

  • Team X
  • Cybercure
  • Intruso
  • Team 42
  • Invictus

S. Moonesamy (SM) live streamed the presentations and jury questions on Periscope. They are available at:

https://twitter.com/sminmu/status/853562017403351043
https://twitter.com/sminmu/status/853570848007098369
https://twitter.com/sminmu/status/853578838860812289
https://twitter.com/sminmu/status/853583597629997056
https://twitter.com/sminmu/status/853585473314463744

After the presentations the jury members moved to a different room to discuss and tally the scores while the participants and attendees received a musical show by Indian artists. SM, Yash and I went downstairs in search of food but unfortunately on a Sunday none of the cafe or shop is opened in Cybertower 1. We came back upstairs and had a chat with Ajay. A few minutes later the musical/dance show was over and the jury panel was ready to announce the winner.

Zakiya called Pritvi on stage among others to offer the second prize. As she did that she reminded it's unique about Pritvi to be helping through several user groups in Mauritius and not just the Linux User Group.

Cybercure won the first prize!

Two special prizes were also given to Intruso and Team X.

6Apr/170

openSUSE Goodies Pack

Posted by Ish Sookun

As the Developers Conference 2017 was approaching Shelly asked me what am I doing with the openSUSE stickers and DVDs. I replied that I would distribute them to visitors when they'd come to the Installfest of the Linux User Group. That's when Shelly came up with the idea of having an openSUSE Goodies Pack. To keep it short it's a package containing various stickers, a bookmark, an openSUSE 42.2 64-bit DVD, and a laptop camera cover.


openSUSE Goodies Pack

In total Shelly made five such goodies packs. However, I couldn't make it to the Installfest as my presentation was on the same day. Bad timing.

I therefore decided to give away the goodies packs as prizes to questions that I would ask during my presentation. My talk was on Microservices and I explained the same using NGINX that ran on openSUSE 42.2. That was perfect to shoot some questions about openSUSE and yes, the attendees correctly answered that packages could be installed on openSUSE using RPM, Zypper and YaST. I had a question that asked which part of the home page of lexpress.mu is a microservice. One fellow answered « the notifications » and that's correct.

The openSUSE Goodies Pack garnered some attention on Twitter and MSP fellow Arwin Baichoo replied with a tweet showing the content of the goodies pack.

The rest of the stickers and openSUSE DVDs were distributed to attendees. Humeira gladly helped me with that.

31Mar/170

How to administer Slackware 14.2?

Posted by Ish Sookun

The last presentation of Day 1 at the Developers Conference that I attended was that of Slackware 14.2 by Pritvi Jheengut.

Pritvi is a member of the Linux User Group of Mauritius and a usual suspect at such tech events. He is perhaps the most popular Slackware user on the island. He made a fierce reputation for that. Some know him for his weird methods of doing things but he remains just a geek with passion for a couple of things that he adores; Slackware being one of them.


Developers Conference 2017 - Slackware 14.2

I missed the beginning of his presentation. In fact, when I entered the room he was in the middle of some important explanation about installing packages using the installpkg command. The screen was black and the text green. Pritvi had worn a Darth Vader t-shirt and I heard rumours that he even started the presentation with the Darth Vader theme. That would be totally legit.


Pritvi made us visit the Slackware internals, a lot about the arrangement of system files and the way packages are kept simple.

The earlier thing that I missed was actually a question about Slackware packages which Pritvi asked the attendees; whether they found it weird to install something that's no more than just a tarball. It generated a discussion about package management, software repositories, the how and why of Slackware and above all its simplicity of software packaging vis-à-vis other Linux distributions.

I craved for some Linux fun which was missing on Day 1 but Pritvi's presentation fulfilled that. It was a cool and interactive session with questions that popped up like mushrooms.

I'm not sure I'll ever ditch openSUSE for Slackware but maybe I have a more decent opinion on Slackware administration now.

27Mar/170

Developers Conference 2017 – Linuxfest

Posted by Ish Sookun

Hey folks! We're back. It's time to meet up and have geek fun at the Developers Conference 2017. At its third edition, I am sure that, this great event of the Mauritius Software Craftsmanship Community will not disappoint you. Of course, there must be something in menu that will suit your appetite.

Shelly and I have planned our DevCon weekend carefully. We'll be there all three days.

I have a session on NGINX Microservices scheduled at 10h30 on Saturday at the Educator 2. The rest of the time that day you would find me hopping between Voilà Hotel and Flying Dodo helping folks from the Linux User Group of Mauritius with the full-day activities.


LUGM - Developers Conference 2017

Members of the Linux User Group will run a Linuxfest and help keen enthusiasts with Linux installs & troubleshoots in the conference room of Flying Dodo. You're all invited to come share your knowledge. We will be running demos on a projector and if you have some cool stuff about Linux which you'd like to share then get in touch, it'll be great to have more fellows around advocating Free Software/Open Source. Ping LUGM members Nirvan, Nadim on Twitter or get in touch with Ajay or Ronny on Facebook.


Care to tweet? Use the hashtag #DevConMru.

15Mar/170

Open and not extract .docx, .xlsx and .pptx files in the latest Gnome 3

Posted by Avinash Meetoo

In the latest version of Gnome 3, a subtle change was brought to Nautilus, the file manager, to automatically extract the content of a ZIP file in a new folder when it is double-clicked on instead of open an application to do so. The problem is that Microsoft Office files (.docx, .xlsx, .pptx, etc.) are ZIP files. This means that double-clicking on a .pptx file extracts its content instead of opening the file in, say, LibreOffice Impress!

This makes life miserable for all those who need to open Microsoft Office files on a regular basis and, of course, this is a bug (as acknowledged by the Gnome people  and the Red Hat / Fedora people).

Fortunately, it is quite easy to make Nautilus become sane again. Open Preferences and in the Behavior tab, unselect “Extract the files on open” in the Compressed Files section.

Phew!