ubuntu

Unity-style window activation in KDE

I have used unity in Ubuntu for a long time and i’m very used to use Win+[number] key combination to switch to windows. For example i have Win+1 to switch to terminal emulator. Some months ago I have tried new KDE5 and it was awesome. But I found no way to activate (or launch if not started) application on shortcut :) Only lunch a new one every time, but it’s not what i want.

QtCreator 3.3 and Ubuntu (Unity) 14.10 global menu

To compile global menu plugin (as show in previous post) we need also one-line code modification due to using Qt 5.4 in QtCreator: --- appmenuplatformmenubar.cpp.orig 2014-12-12 14:02:46.059940656 +0100 +++ appmenuplatformmenubar.cpp 2014-12-12 14:02:55.943940215 +0100 @@ -301,7 +301,7 @@ KdeAppMenuPlatformTheme::KdeAppMenuPlatformTheme(const QString &kdeHome, int kdeVersion) - : QKdeTheme(kdeHome, kdeVersion) + : QKdeTheme(QStringList(kdeHome), kdeVersion) { }

Enabling global menu in Qt Creator in Unity (Ubuntu 14.04)

I have just installed Qt 5.3.1 from qt-project.org and…. Qt Creator doesn’t supports global menu in Unity :-( Goggling doesn’t helps me at all. After a little bit tracing I see that it uses it’s own plugins directory and of course it have no libappmenu-qt5.so So we need just few commands to fix this: sudo apt−get install libgtk2.0−dev libdbusmenu−qt5−dev cd /tmp apt−get source appmenu−qt5 cd appmenu−qt5−0.3.0+14.04.20140415/src ~/Qt/5.3/gcc_64/bin/qmake src.pro make test −d ~/Qt/Tools/QtCreator/bin/plugins/platformthemes || mkdir ~/Qt/Tools/QtCreator/bin/plugins/platformthemes cp libappmenu−qt5.