Kubuntu 15.04 – Linux hasn’t been this bad in a while!

I’ve been using Linux for > 10 years now and I love it so much that after two months of MacOS on my Macbook, I ended up installing Linux instead. Most of the time, I’ve been a KDE fan (I think my first KDE was something with a 2…)  and for the last 7 years or so I’ve been using Kubuntu for my personal platform.

All this being said: WHAT THE FUCK IS HAPPENING IN Kubuntu 15.04??? This has got to be the worst Linux experience I had in a very long time! Not sure if Plasma5 is to blame or if just the overall setup + macbook is just plain wrong, but here’s a couple of my favorite things that have happened since I upgraded:

– Shutdown only works not even half the time (Mostly, screen just freezes, sometimes I get a kernel panic too….). I end up hard switching off my computer more often than not.

– Sleeping works for 5 seconds before something triggers the whole computer to come back up and stay up. Brilliant if you are in a hurry and end up putting a running laptop in a case. More than once I recovered my poor macbook with fan screaming from a case because Kubuntu had decided to come back on again….. (and obviously: stay on!).

– In 14.10, when I plugged in a screen, it was like a snip and everything was running smoothly on two screens. With 15.04 the whole system slows down considerably for 10 seconds until the whole thing is operational.

– Probably related to my shutdown problem, but KDE fucked up on me more than once now! Usually Plasma just doesn’t load anymore because something has gone haywire… Fixes so far (each on different occurrences):

  • Whipe .cache directory
  • Whipe .share directory
  • Delete .config/kglobalshortcutsrc.lock

 

… I should probably invest time in the whole shutdown thing ^^

SAP S-User service marketplace certificate in Chromium on Linux

For my job, I have to surf the SAP service marketplace every once in a while. For everyone who has done this before: It is no fun if you don’t have a SAP browser certificate in place since you will end up constantly putting in your S-user and password. Not sure why SAP load balances by actually exposing the different servers, but hey, that’s what they got the certificates for, right?

So for everyone wondering how to get this done nicely in Chromium on Linux: here it goes.

  1. Log in on https://support.sap.com with your S-user. And by log in, I mean actually pressing the “Login” on top so that it says “Welcome, xxx” in the upper status bar
  2. Get your certificate by clicking on your name and going to “Get a browser certificate (SAP Passport)”… this should prompt you with another password entry and afterwards Chromium should give you a message that you have a certificate installed now
  3. Brilliantly, Chromium will, however, keep on bugging you about selecting this certificate every time you look at a SAP service page. Easier than password entry, but can still be improved!
  4. Add automatic certificate selection to your chromium policy. This means to add the following file as root
    /etc/chromium-browser/policies/managed/sap_certificate.json
    {
     "AutoSelectCertificateForUrls": ["{\"pattern\":\"[*.]sap.com\",\"filter\":{\"ISSUER\":{\"
     CN\":\"SAP Passport CA\"}}}","{\"pattern\":\"[*.]sap-ag.de\",\"filter\":{\"ISSUER\":{\"CN\"
     :\"SAP Passport CA\"}}}"]
     }

    Obviously, the file can be named any way you want (as long as it’s *.json), this is just a suggestion 🙂

     

And voila, this should enable you to browse around the wonderful SAP world without nagging popups!

Hello world!

I guess this is how you start a program, so it’s probably a good way to start a blog too. Let’s do this in ABAP…

WRITE 'Hello World'.

This blog is intended first and foremost as a knowledge base for myself on things I figured out. If someone else finds it helpful, go ahead and enjoy 🙂