KDE Frameworks 5 with Plasma 2/5

Don’t know quite well what does KDE Frameworks 5 do except that it is supposed to be much more modular. As an end-user, what wows me is the user interface of KDE. Some call it Plasma 2 and recently some are calling it Plasma 5. IDK. It is supposed to be built using Qt’s latest technology i.e. QML. I’m a great fan of QML BTW.

Plasma 2/5

Looks just like any other KDE (or highly customized Windows XP,7). No new usage paradigm involved.

snapshot1

Start-up Menu

The start-up menu looks much more cleaner. However, there are some padding issues which make is not so beautiful. See in the screeny below.

snapshot1

The Taskbar Panel

There is a nice little blue bar over the active windows’s taskbar item.

snapshot2

When the panel is put on the top edge of the screen, the blue bar disappears

snapshot3

In the start-up menu, it gets broken.
snapshot4

Music Controller

KDE finally got the long awaited music controller widget by default which i used to love in GNome and Unity.

snapshot5

Regional Settings

Mauritius is listed as both English and French speaking which is nice

snapshot8

snapshot9

The settings below suck.

snapshot11

How i’m i supposed to know which country uses 24hr time format or centimeters instead of inches? KDE 4 had better visualizations for these.

KRunner on Desktop

When your computer boots, no need to click on the startup icon and choose the programs or file you want to open. Just type in the desktop. KRunner will magically give you the results. snapshot12 That’s all for now. KDE will be the leading DE in the future. But it does need some UI refinements. After few more releases, it’ll be perfect i guess

Download Youtube Videos/Audios from CLI

Everyone downloads videos and audio from YouTube. There are countless plugins for it. Some work. Some don’t. Some just redirect you to their website. Some just stalk your browsing history.

youtube-dl is the solution [1]

$ sudo apt-get install youtube-dl

Downloading Video
$ youtube-dl {videourl}

Downloading only the MP3, [2]
$ youtube-dl --extract-audio --audio-format mp3 {videourl}

Isn’t it awesome?

502 Bad Gateway

Suddenly, i would get a 502 Bad Gateway page while trying to access my localhost nginx web server.

Looking at nginx log, found these

$ cat /var/log/nginx/error.log
---
2014/06/26 00:26:10 [crit] 1260#0: *2 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /test.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost"

I remembered having firing the system updater few hours ago. Looking at the logs

cat /var/log/apt/history.log

I see php5-fpm, php5-mysql, php5-common, php5-readline, php5-cli have been updated. I guess this is what caused the breakup.

I tried re-installing them
$ sudo apt-get install --reinstall php5-fpm
---
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libwebkitgtk-3.0-0 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.2-1ubuntu0.1) but 2.4.3-1ubuntu2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I ran
$ apt-get -f install

Apparently the last update didn’t complete. But i’m still getting the 502 error :-/

But then googling more about the nginx log, someone posted a magical solution here


$ chmod 666 /var/run/php5-fpm.sock

Problem Solved 😀