Qalculate does not calculate anything kde kubuntu debian module “org.kde.private.qalculate” is not installed or Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.plasma.qalculate/contents/ui/Qalculate.qml:26:1: module “org.kde.private.qalculate”


LONG STORY SHORT , JUST ADD THE PPA INSTALL THE APPLET AND RESTART PLASMA. FOR KUBUNTU FOR EXAMPLE THERE IS THE PPA …

sudo add-apt-repository -yus ppa:dschopf/plasma-applet-qalculate ; sudo apt install plasma-applet-qalculate ;  kquitapp5 plasmashell ; plasmashell 

THE STORY

well you know this is not pretty :

The problem , when you install the widget qalculate keyboard it of course, doesn’t install everything you need. ok let’s try with the widget qalculate .. in the home page it says you need libqalculate so on apt-get you find libqalculate20 already installed with qalculate i guess but… it doesn’t work …

testing qalculate it works nicely so why the fuckin widget doesn’t work ? mmm on the official page it says

sudo add-apt-repository -yus ppa:dschopf/plasma-applet-qalculate
sudo apt install plasma-applet-qalculate

let’s do it … try to add the qalcualte widget to the desktop and….

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.plasma.qalculate/contents/ui/Qalculate.qml:26:1: module “org.kde.private.qalculate”

WTF IS THIS SHIT ? i checked the position /usr/share/plasma/plasmoids/org.kde.plasma.qalculate/contents/ui/Qalculate.qml

file are present what is this shit? mmm wtf

At this point i would have been pissed enough but hey … let’s try again with installation … and you getthe same shit …. let’s test with plasmawindowed …

plasmawindowed org.kde.plasma.qalculate 
plasmawindowed org.kde.plasma.qalculate-keyboard
 

and TADAAAAA IT’S WORKING FUCKIN HELL

So now how to fix this ? JUST RESTART PLASMA !!! and it is fixed!!!

kquitapp5 plasmashell ; plasmashell 

compiling latte dock on kde 5.9 kubuntu


package you should have

sudo apt-get install extra-cmake-modules qtbase5-dev qtdeclarative5-dev libkf5wayland-dev libkf5iconthemes-dev libkf5dbusaddons-dev libkf5xmlgui-dev libkf5archive-dev libkf5notifications-dev libkf5activities-dev libkf5plasma-dev libkf5declarative-dev libqt5x11extras5-dev build-essential cmake libb-hooks-endofscope-perl libb-hooks-op-check-perl libcapture-tiny-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl libcpanel-json-xs-perl libdevel-callchecker-perl  libdevel-size-perl libdigest-hmac-perl libdynaloader-functions-perl libemail-valid-perl libfile-find-rule-perl libfont-ttf-perl libfuture-perl libimport-into-perl libio-async-loop-epoll-perl  libio-async-perl libio-pty-perl libio-string-perl libipc-run-perl libjson-maybexs-perl libkf5crash-dev libkf5newstuff-dev liblinux-epoll-perl liblist-compare-perl libmodule-implementation-perl  libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libnamespace-clean-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libnumber-compare-perl libpackage-stash-perl libparams-classify-perl  libpath-tiny-perl librole-tiny-perl libsereal-decoder-perl libsereal-encoder-perl libstrictures-perl libstruct-dumb-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-name-perl  libsub-quote-perl libtext-glob-perl libtext-levenshtein-perl libtype-tiny-perl libunicode-utf8-perl libvariable-magic-perl libx11-xcb-dev libxcb-randr0-dev libxcb-util-dev libxcb-util0-dev  libxml-writer-perl libyaml-libyaml-perl lintian patchutils pkg-kde-tools t1utils

then just download , extract and type ,

./install

adjustable clock javascripting


after some time 😀 … adjustable clock got the javascript support.I got a chat with Michal D and he was very open to ideas for aclock anyway this is the first test 😀

Open destkop console

qdbus org.kde.plasma-desktop /MainApplication showInteractiveConsole

copy and paste this code in the destkop console :
example :

 
 var panel = new(Panel)
var clock =  panel.addWidget("adjustableclock") 
clock.writeConfig("clipboardExpressions","Clock.toString(Clock.Time\\, {'short': true}),Clock.toString(Clock.Time),,Clock.toString(Clock.Date\\, {'short': true}),Clock.toString(Clock.Date),,Clock.toString(Clock.DateTime\\, {'short': true}),Clock.toString(Clock.DateTime),Clock.toString(Clock.Year) + '-' + Clock.toString(Clock.Month) + '-' + Clock.toString(Clock.DayOfMonth) + ' ' + Clock.toString(Clock.Hour) + ':' + Clock.toString(Clock.Minute) + ':' + Clock.toString(Clock.Second),,Clock.toString(Clock.Timestamp)")
clock.writeConfig("theme","dbclock")