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

28Jun/150

openSUSE:42 – a new beginning

Posted by Ish

People usually ask what is the difference between openSUSE and SUSE? Some even ask how to pronounce it :-) Well, before it hits hard, you should pronounce it suze. SUSE is an enterprise class Linux distribution and it comes in two flavours:

– SUSE Linux Enterprise Desktop
– SUSE Linux Enterprise Server

openSUSE on the other hand is the community version. Much of the development that happens in openSUSE lands in SUSE enterprise editions.

What is openSUSE 42?

openSUSE_42Following additional support and core SUSE Linux Enterprise code given to the openSUSE project, the latter is on a new journey for future releases. At the moment the nomenclature is undecided. Serious discussions are going on the openSUSE project mail list. To know what we are talking about, we have been calling it openSUSE 42. The number 42 comes from the project name openSUSE:42 in the openSUSE Build Service.

On the mail lists I see suggestions like Leap, Oak and Rock & Roll making its way. No consensus has been reached yet. Hoping to get hold on a 42-spin soon :-)

7Jun/150

Getting the job done with Vim

Posted by Ish

Last Friday, Cyril pinged for an after-office beer party. It’s all legitimate for a Friday evening :-)

beer-party-talk

At my workplace I in-turn bugged Kaviraj, a networking fellow who enjoys the usual geek talks.

We finished work and reached Flying Dodo some time after 19h00. Cyril and the others had taken the table outside. We could that way enjoy the cozy weather, not too warm neither cold, listen to the live band and have a chilled beer. To make it more fun I asked for pizza.

A while later Mike joined us. Kaviraj, Mike and I got into some fun chatting about CLI tools. Mike was talking about “vi” and we shared the handy tricks when editing config files.

Commenting multiple lines in Vim

To toggle between line numbering and without line numbers, do :set nu and :set nu!. The line numbers are useful when editing config files, say when you need to comment a block of directives (e.g from line 15 to 25). You would do :15,25s/^/#/g to comment and commenting out would be :15,25s/^#//g.

In-line replacement of a word

At times you find a long word in a line which you need to replace. While your cursor is at the beginning of the word, you press cw and enter the new word. It’s replaced. Is it difficult to remember cw ? Just remember “change word” :-)

Saving with “root” privilege

Ever edited a file and while saving you realise you actually require super-privilege? It happens when you are tinkering as a regular user and the file is owned by root. If you’re a sudoer then the following could save you time:

:w !sudo tee %

The ! symbol allows you to execute shell commands and the % signifies the current file. We’re thus saying update by sending the content to the current file with sudo privilege.

Find and replace

To trigger a find we could simply do /theword and press n to hop to the next occurrence of the word. We could search the whole file for a particular word and replace all occurrences:

:%s/theword/anotherword/g

We could also limit the find & replace within a block of lines.

:15,25s/theword/anotherword/g

For more fine-tuning of the search, regular expressions would come handy.


Kaviraj & I left Flying Dodo at 21h00. That was a short moment having a geek chit-chat with like-minded folks.

Tagged as: No Comments
7Jun/150

Getting the job done with Vim

Posted by Ish

Last Friday, Cyril pinged for an after-office beer party. It’s all legitimate for a Friday evening :-)

beer-party-talk

At my workplace I in-turn bugged Kaviraj, a networking fellow who enjoys the usual geek talks.

We finished work and reached Flying Dodo some time after 19h00. Cyril and the others had taken the table outside. We could that way enjoy the cozy weather, not too warm neither cold, listen to the live band and have a chilled beer. To make it more fun I asked for pizza.

A while later Mike joined us. Kaviraj, Mike and I got into some fun chatting about CLI tools. Mike was talking about “vi” and we shared the handy tricks when editing config files.

Commenting multiple lines in Vim

To toggle between line numbering and without line numbers, do :set nu and :set nu!. The line numbers are useful when editing config files, say when you need to comment a block of directives (e.g from line 15 to 25). You would do :15,25s/^/#/g to comment and commenting out would be :15,25s/^#//g.

In-line replacement of a word

At times you find a long word in a line which you need to replace. While your cursor is at the beginning of the word, you press cw and enter the new word. It’s replaced. Is it difficult to remember cw ? Just remember “change word” :-)

Saving with “root” privilege

Ever edited a file and while saving you realise you actually require super-privilege? It happens when you are tinkering as a regular user and the file is owned by root. If you’re a sudoer then the following could save you time:

:w !sudo tee %

The ! symbol allows you to execute shell commands and the % signifies the current file. We’re thus saying update by sending the content to the current file with sudo privilege.

Find and replace

To trigger a find we could simply do /theword and press n to hop to the next occurrence of the word. We could search the whole file for a particular word and replace all occurrences:

:%s/theword/anotherword/g

We could also limit the find & replace within a block of lines.

:15,25s/theword/anotherword/g

For more fine-tuning of the search, regular expressions would come handy.


Kaviraj & I left Flying Dodo at 21h00. That was a short moment having a geek chit-chat with like-minded folks.

Tagged as: No Comments
23Feb/150

Reviving an old notebook with Xubuntu

Posted by Ish

Last Sunday I spent some time reviving my old laptops. Had quite some gear lying around and I decided to clean up the trash. I gave my current Acer Aspire running openSUSE 13.2 to my mom, swapped the HP Compaq 6515b with an SSD drive and loaded Xubuntu.

Next in line was a little bit of aesthetics. In fact, while exploring Evolve OS I came across the Numix Project. Thought of giving it a try. Ah, totally worth it.

xubuntu-desktop

The Numix Project offers a collection of GTK themes and icons. Get hands on those as follows:

sudo add-apt-repository ppa:numix/ppa
apt-get install numix-gtk-theme numix-icon-theme

Hit the Appearance dialog and set the Style and Icons as Numix.

xubuntu-numix

One more tweak for the day. Though font anti-aliasing is enabled by default my fonts would not look good in Abiword. To fix the same I ran the Alt + F2 combination and executed xfce4-settings-editor. Went to xsettings and set Lcdfilter’s value to lcdlight.

xfce4-settings-editor

As and when I tweak the box further, I’ll be writing.

The post Reviving an old notebook with Xubuntu appeared first on HACKLOG.

23Feb/150

Reviving an old notebook with Xubuntu

Posted by Ish

Last Sunday I spent some time reviving my old laptops. Had quite some gear lying around and I decided to clean up the trash. I gave my current Acer Aspire running openSUSE 13.2 to my mom, swapped the HP Compaq 6515b with an SSD drive and loaded Xubuntu.

Next in line was a little bit of aesthetics. In fact, while exploring Evolve OS I came across the Numix Project. Thought of giving it a try. Ah, totally worth it.

xubuntu-desktop

The Numix Project offers a collection of GTK themes and icons. Get hands on those as follows:

sudo add-apt-repository ppa:numix/ppa
apt-get install numix-gtk-theme numix-icon-theme

Hit the Appearance dialog and set the Style and Icons as Numix.

xubuntu-numix

One more tweak for the day. Though font anti-aliasing is enabled by default my fonts would not look good in Abiword. To fix the same I ran the Alt + F2 combination and executed xfce4-settings-editor. Went to xsettings and set Lcdfilter’s value to lcdlight.

xfce4-settings-editor

As and when I tweak the box further, I’ll be writing.

The post Reviving an old notebook with Xubuntu appeared first on HACKLOG.

31Mar/140

Corsair Hackers Reboot, demo preps

Posted by Ish

We’re approximately 3 weeks away from the Corsair Hackers Reboot. On my end I have so much in the pool. Yup, I know I’ll be hopping around with almost every team that will be cheering for FOSS that day, however, I’ve chosen to dedicate most of my time to the Demo and Talks sections. For the latter I’m yet to come up with some interesting topics. As for the demo, ahaaan … It’s being arranged full-fledged. I’m assuring that no wish shall remain un-fulfilled that day. In my software repository, the following distributions will be made available :

- Arch Linux
- CentOS (32Bit & 64Bit)
- Debian 7.4 (64Bit Full DVD set)
- elementary OS (32Bit & 64Bit)
- Fedora 20 (GNOME, 32Bit & 64Bit)
- Gentoo (32Bit & 64Bit)
- Kali Linux (32Bit & 64Bit)
- Linux Mint (Cinnamon, Mate, Debian Edition, 32Bit & 64Bit)
- Mageia 4 (Full, 64Bit)
- Manjaro Linux (XFCE, OpenBox, 32Bit & 64Bit)
- openSUSE 13.1 (Full, 32Bit & 64Bit)
- PCLinuxOS (KDE, 64Bit)
- Slackware 14.1 (32 Bit & 64Bit)
- Slax 7.0 (32Bit & 64Bit)
- Ubuntu Desktop/Server 12.04/13.10 (32Bit & 64Bit)

linux-distros

... among others!

I can’t guarantee that all the distributions will be running/demo’ed on physical machines but they will nevertheless be freely available to all. You may copy it, burn it & try on your own laptop. We may of course help you in case there are any hiccups booting it up. CD/DVD burning on our end might be difficult, so I’ll suggest folks to bring a pendrive instead if you want a Live Linux. As for those who wish to have their machine Tux’ed (ahaan, that sounds like a nice name for a Linux powered machine), we will handle the installation part. We have set up an Installfest Team dedicated at installing Linux distros (of your choice). We do have a backup mechanism to ensure that your data are safe, however we cannot take full responsibility if something goes wrong. So, if you’re bringing your machine for a Linux installation, you could do a backup on your end too.

nix-pack-1Any other operating system apart from Linux? Yup, indeed, for the more geekies I’m bringing Minix, Debian Hurd, OpenBSD, FreeBSD and NetBSD.

Computer Science students might be interested to have a look at Minix, an open source operating system by Prof. Andrew Tanenbaum. Minix was in fact the inspirational platform for Linus Torvalds to start coding the Linux kernel back in the early 90′s.

Hurd on the other hand is the iconic operating system by the Free Software Foundation. GNU Hurd was expected to be the kernel for the free GNU Operating System. However, development & design of the microkernel has been slow and Linux on the other hand prospered. Linux therefore became the prime choice of kernel.

BSD needs no introduction here ( :

What about Windows users?

Since the event is about promoting FOSS in general, we’re not limiting ourself to operating systems. Our software repository will contain free & open source applications for Microsoft Windows as well. So far my pool has the latest versions of Firefox, Google Chrome, FileZilla, FreeCAD, GIMP, Inkscape, Notepad++, VirtualBox, VLC, LibreOffice, Abiword, ClamWin, Audacity, GanttPV, GnuCash, X-Chat and NASA World Wind.

I’m all set for an awesome FOSS party on Saturday 19th April 2014. Are you?

Tagged as: No Comments
16Mar/140

LUGM meetup, Software Licensing

Posted by Ish

Many times on LUGM facebook group we had fierce debates over GPL and BSD-license. Flame-wars sprouted very often, some times even from an innocent status we might have put. Therefore a few weeks ago it was decided that we have a meetup that will ensure clarifying misconceptions regarding software licenses. The date was announced to be 15th March 2014 at the convenience of everybody. Selven & Logan were to talk about Lesser Restrictive Licenses in particular the BSD-license and Ajay volunteered to share his knowledge about the General Public License (GPL), in particular GPLv2.

ebene-acceleratorThe day comes and I reach Ebène around 11h45. While the meetup itself should start at 13h00, I had enough of time ahead to have lunch & chat with UoM Computer Club folks I happened to meet at Ebène InterMart Foodcourt. Around 12h45 I went to Ebène Accelerator where the meetup was hosted. Ronny had reached by that time too, having a cigarette puff in the parking lot. He greeted me & asked about my phone as it seemed Ajay was calling me and I didn’t answer. I checked and yes, I could see the missed-calls from Nadim, Ajay and Ronny. We went inside the Orange Tower. Nitin had reached too. I explained Ronny a little bit about the concept of Ebène Accelerator as a business incubator. We then went to get the meeting room ready. A short while later others came.

Who showed up?

Nitin Mutkawoa, Ronny Reddi, Ajay Ramjatan, Avinash Meetoo, Pravesh Gaonjur, Selven Cheenaramen, Nalinee Rengenchetty, Sherven Chinamoothoo, Yunus Aumeeruddy, Ibraahim Atchia, Saamiyah Peerun, Ubeid Jamal Ahmad, Nadim Attari Bundhoo, Kishan Bhugul, Loganaden Velvindron, A. Jodarsen (Chelon), Pritvi Jheengut and Ish Sookun.

lugm-meetup-software-licensing-6

lugm-meetup-software-licensing-1

Since we didn’t have a projector, which I assumed we would as there always is one at Ebène Accelerator, Selven & Logan tried to arrange for the same. In the meantime Ajay opened discussion about Corsair Hackers Reboot. He went through the tasklist I published on the 1-week brainstorming event I created on facebook. We described the event’s structure & aim, especially to those who didn’t attend earlier meetups and wanted clarifications. Corsair Hackers Reboot was initially proposed by Pritvi while I suggested we have a Linux Installfest beginning 2014. We then blended both and kept the name Corsair Hackers Reboot. The idea behind the event is to introduce hacking (as in White Hat), that’s why the term Corsair is used. Secondly, with support ending for Windows XP we aimed to propose Linux distros and BSD as alternatives, therefore the term reboot is used.

We finalised the date of the event to be 19th April 2014 and divided tasks in four categories :

  • Hacking competition
  • Installation festival
  • Demos
  • Mini talks

I will draft the same and share on the 1-week brainstorming event page.

After this first dicussion, Selven & Logan brought the projector. They set up everything. Unfortunately some folks had to leave early. The rest of us were eager for the licensing talk. It started with Selven’s presentation on Lesser Restrictive Licenses. He went through his slides and gave us an overview of the MIT, Apache and BSD licenses. He laid emphasis mostly on the different versions of BSD licenses, explained the clauses in simple terms and elaborated on the use and inclusion in our code. While going through each license, Selven listed software that are released under those licenses. He stressed much on the simplicity and clarity of the BSD license, to which most of us agreed.

lugm-meetup-software-licensing-7

Selven talking about MIT license

Logan on the other hand presented the Legal Risks of FSF Licenses. His presentation was mainly on the ambiguity of FSF licenses, in particular GPLv3. He quoted the words of various developers and cited cases that involved different interpretations of the GPL clauses.

lugm-meetup-software-licensing-8

Logan talking about legal risks with FSF licenses

At this moment everyone in the audience was involved with questions and especially Ajay with GPL clarifications. We agreed on the fact that GPLv3 is complicated and might not be suitable to a real world. However, GPLv2 seems to be fine so far. No wonder why many stayed on GPLv2. At some point it came to my mind that the Free Software Foundation tried addressing too much through one license, ending up making it complicated. Weeks ago when the discussions started, that was when I peeked into a few clauses of GPLv3 and wrote about Tivoization.

While meetup seemed like never-to-end we had to stop the discussion some time after 16h30. Nadim had done a great job shooting the whole discussion. I copied the video files on my laptop. Ahaan … You guessed right! If you have missed the meetup, you can still watch the whole Software Licensing discussion in the following videos:

I thank everyone for attending the meetup and participating in the discussions. Thanks to Ronny for some of the snaps and Nadim for video-shooting.
20Feb/140

Linux, video encoding

Posted by Ish

libav-logoFinally all of LUGM Meetup videos are now on LUGM Youtube Channel. This was the first time “le me” trying video encoding. I had to do my little homework about encoders & all. I was initially baffled to see that each MOV file that Nadim gave me was above 1G in size. That would be too much to upload and I didn’t know if Youtube would accept MOV format. Then I remembered Harish mentioning about x264. A little bit of web mining and I had the required tools.

Oh! Due to some work adaptation, I am currently running Ubuntu 12.04 on my HP notebook. Getting the tools were straightforward using APT on Ubuntu. avconv was already installed, I just needed a couple of extras.

sudo apt-get install x264 libavcodec-extra-53 

Conversion would require something as follows :

avconv -i AMBA0075.MOV -c:v libx264 OpenSSH_1.mp4

This command converted a 1.3G MOV file to approximately 200M MP4. {Smile} Now, Youtube uploading becomes smoother.

A couple of tricks using avconv.

1. To know which formats avconv supports

avconv -formats

2. To check available codecs

avconv -codecs

3. To list video file properties

avconv -i video.mp4

4. Converting FLAC to MP3

avconv -i music_file.flac -threads 8 -c:a libmp3lame -ab 320k -y music_file.mp3

Here’s a list of videos from LUGM Meetup of 15th February 2014

Linux User Group of Mauritius // OpenSSH 6.5 Presentation Part I
Linux User Group of Mauritius // OpenSSH 6.5 Presentation Part II
Linux User Group of Mauritius // OpenSSH 6.5 Presentation Part III

Linux User Group of Mauritius // .mu Domain Presentation Part I
Linux User Group of Mauritius // .mu Domain Presentation Part II

Thanks to Ajay Ramjatan, Nadim Attari and Pawan Babooram for recording the presentations.
Tagged as: No Comments