Mycroft KDE plasmoid


#1

well looks like it will build in Kubuntu-17.04 now as long as you have the backports repo enabled

one quirk I have noted so far is the location , it seems to think it’s in Lawrence Kansas in both the Neon-/dev/stabel & the Kubuntu-17.04 installs.

but the basic functions seem to work OK

VINNY


#2

so ,if one wanted to remove this (uninstall it ) at some time ,just how would you go about it ?

I do not see an uninstall script any where :slight_smile:

VINNY


#3

I think @AIIX @Aix should know more about this, since he is the main contributor on that project.


#4

@vinnywright if you want to uninstall the plasmoid currently you have to remove it manually:

Locate the plasma-mycroft directory (should be in the folder you ran the install script from or check inside the mycroft-core folder in /home/(yourusername)/)

  • cd plasma-mycroft
  • cd build
  • sudo make uninstall

#5

@AIIX

:slight_smile: thank you for the reply ,I was going to do just that after finding the “options” list in the make file .

but was waiting for a reply before doing it as I’v read that some times this will leave stuff behind.

when I do it I will do a
"locate mycroft > mycroft.txt" (which seems to find every thing in ~/ and /opt and /usr) before and after to see if it’s all removed and let you know the result hear.

the one in Neon-/dev/stable (actualy Kubuntu-16.04 with the Neon /dev/stable repo added ,jonathon sead it would eat the kittens and it did :slight_smile: , ) seams to work better than the one in Kubuntu-17.04 ,in Neon “hay mycroft open firfox” works , not in 17.04 ,in Neon I can “hay mycroft search google for cat images” and firefox opens a google images page of cat picks , not in 17.04 ,so the “make uninstall” test will happen in 17.04

I ran the install script from in ~/Documents/build/mycroft (the /Documents/build is where I “try” to do such things when I feel frogy)
it created both a ~/mycroft-core and a ~/plasma-mycroft directory in /home/me just so you know.

  • I would be happy to try/test whatever you would like if it would help you at all .

back soon with results of uninstall

VINNY


#6

ya ,no running “make uninstall” just removes the the files in the directories , code,images,and ui ,

IN

/usr/share/plasma/plasmoids/org.kde.plasma.mycroftplasmoid/contents

and

/usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/private/mycroftplasmoid

but not the directories them selves .

everything else is still hear

locate mycroft > mycroft.txt gives a line count of 4233 items still hear .

but that dose not include whats in my /home/me for some reason ,this is in the Kubuntu-17.04 ,in Neon the same
locate shows all even in ~/

thankfully everything thats left is in /opt/mycroft/* , ~/mycroft-core , ~/plasma-mycroft , ~/.mycroft and ~/.virtualenvs
so removal of the rest should be relatively easy ,that is IF all of it was in a “mycroft” DIR .

after it’s all removed hear (I’m keeping the one in Neon-/dev/stable as it’s working OK) I’m going to edit the "install_plasmoid_kde.sh"
to call “checkinstall” insted of “make install” to see if that would be a more user friendly way of doing the install as theoretically it should be able to use the package management system to remove if necessary ,well we will see any way :slight_smile:

the trouble with the “locate” command not finding anything in ~/ ,and I mean ANYTHING not just the mycroft stuff may be that the system is installed to a BTRFS file system as @17.04 and @/home17.04

in the Neon-/dev/stable install on ext4 locate finds it all ,I’ll check the Neon-LTS install sitting next to Kubuntu-17.04 on the BTRFS partition and see if behaves the same .

more sleuthing on this is required.

VINNY


#7

OK just got back from the Neon-LTS install (also on the same BTRFS partition as the Kubuntu-17.04) and the “locate” command is working as expected ,so this makes me think that their is something amiss in the 17.04 install .

I’m just going to delete it’s subvolumes and do the “checkinstall” test with the “install_plasmoid_kde.sh” in the Neon-LTS

I do not have a lot of time invested in either one of them so no biggy (theirs 5 OS’s on this box)

VINNY


#8

well ,I see now that “checkinstall” would half to be placed in sevrall locations ,and would add an ,unreasonable amount of user input during the process.

and theirs really on need as it all (just about" goes into some form of “mycroft-” DIR and so is not that hard to remove if one wonts to .

VINNY