Archive for the ‘ Hacks ’ Category

Playing MP4 files on OpenSUSE Leap 42.2

As with many of the big community distributions, patent encumbered codecs such as MP4 are not supported out of the box by OpenSUSE.

Leap 42.2 is (at time of writing) still in beta, and not officially supported by the “Packman” repositories which provide builds of the relevant libraries to include such tainted codecs. (Also I have heard murmurings of technical shortcomings of the Packman approach, although I won’t pretend to fully understand them.)

Fortunately there are community efforts to address the problem.

On under ffmpeg there are builds made against Leap 42.2 that work. The 1-click-install of ffmpeg from the multimedia:libs repository left me with a working solution in combination with SMPlayer (1-click install) which I themed using this guide.


Teamviewer 11 in OpenSUSE

I installed OpenSUSE Leap 42.2 beta 2 on both my laptop and my son’s laptop over the weekend. My son is not particularly up to speed with Linux, nor showing signs that he will be. He does, however, need his laptop for school and possibly has some C# development requirements. As such, I decided to install Teamviewer 11 on our laptops so I could remotely do things for him. I am sure there are probably more open source solutions but this is practical – easy 1 click access as long as we are both online.

After downloading Teamviewer, trying to install it using ‘rpm’ produced the following error:

linux-jx5p:~/ # rpm -ivh Downloads/teamviewer_11.0.57095.i686.rpm 
warning: /home/charles/Downloads/teamviewer_11.0.57095.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 72db573c: NOKEY
error: Failed dependencies: is needed by teamviewer-11.0.57095-0.i686 is needed by teamviewer-11.0.57095-0.i686 is needed by teamviewer-11.0.57095-0.i686

Firstly, why was I doing it via the command line? Well, that was because the default file association was ‘Ark’ out of the box.

So, first things first, change the file assocation – easily done. Right-click on the rpm file in Dolphin, hit the “Filetype Options” button and move “Install / Remove Software” to the top of the list to make it the default.

Now it opens in YaST2 and the dependencies were handled automatically. I’m sure there’s a simple way to do that via the CLI but seriously what is the point of all these graphical tools if they are not going to get used?

Plus, this way, my 16 year old son is a bit more likely to be able to do such installations without me holding his proverbial hand.

Windows 10: configure ‘edit’ context menu to use GIMP

By default the ‘edit’ menu opens up an image in Paint in Windows, and that won’t do for me. I figured out how to change it to use GIMP instead!

Open up ‘regedit’ (Start Menu > type “regedit”) and find the following entry:


There should be a ‘(Default)’ entry that points to ‘mspaint.exe’ – edit to to look like:

"C:\Program Files\GIMP 2\bin\gimp-2.8.exe" "%1"

Obviously the above path/executable needs to be corrected for your own system.

Now you should be seeing something like:

2016-06-02 (3)

And, voila, it works! Right click on an image, hit ‘edit’ and it opens in GIMP!