
Star Trek Fortune
Source (link to git-repo or to original if based on someone elses unmodified work):
At the moment, most of the shown quotes are imported from the fortune-sources. New quotes can easily be added and will be in the near future.
Fortune itself has not to be installed since Version 0.4. Please make sure, that you uninstall the plasmoid first, when updating from 0.3 to 0.4 - this can be done in terminal using the command below.
Install via:
plasmapkg -i startrekfortune.plasmoid
Uninstall by:
plasmapkg -r startrekfortune
The used Communicator Logo and the Federation Emblem are under CC and taken from here:
http://memory-alpha.org/de/wiki/Datei:F%C3%B6deration_Logo.svg#file
2010-01-02 Initial upload
2010-01-02 Changed text colors
2010-01-03 Added Configuration Interface for Font, Colors, Plasma Background and SVG. Fortune will now change every 5 minutes. Fixed appearance bugs.
2010-01-04 Added icon. Fixed Timer Bug. Fixed Color bug.
2010-01-04 Removed unused icons and corrected imports
2010-01-06 Fixed bug which inverted colors. Removed Dependency to fortune and added quotes from DS9 and TNG. Added option to set the update interval.
2010-01-10 Fixed Bug which switched dropshadow color back to white. Added some Quotes.
2010-01-12 Added Support for different character formats in quote-files. Files still have to be UTF-8 encoded!
Ratings & Comments
26 Comments
just a note, it isn't a big deal, but i am still not able to install this via GHNS. i have download it & manually install it.
Actually i have no idea why this is not working :( - can anybody help me on this
Thank you !works perfectly!
VERY nice!I would like to change the encoding if i write something in Greek... How can i do that?
Hi there! Thanks a lot. I uploaded Version 0.6 which now explizitly transforms characters to UTF-8. Greek letter from the quote-files should now be displayed correctly. But the files themselves need to be encoded UTF-8. If you want to add quotes or replace the ones from the plugin, you just have to modify the files. You can delete the existing files and replace them by others, too. Lines starting with '%' are separators. The quote-files can be found in the /contents/code/quotes - directory. BTW: If anybody is willing to add some Star Trek quotes, just let me know.
There is a bug with font colors. Do these steps to recreate: 1. Add widget do desktop 2. Change TextColour to white 3. Change DropShadow color to black 4. Log out 5. Log in you will see that DropShadow has reverted to white can you please fix this, i love your plasmoid by the way.
i have experienced the same thing with kde 4.3.4.
You're right! Thanks! I fixed the bug. Please update!
Oh. And please uninstall the plamsmoid first, before installing. Otherwise updating from 0.3 to 0.4 might not work. Not sure why. I experience problems here.
i uninstalled the old version first but the new version wouldn't install via GHNS. had to download it & install it manually.
KDE-Look sometimes behaves strange. When i upload a new file it takes up to some hours until they are available in GHNS. I tried installing it via GHNS right now and it worked well.
text color bug still persists with 0.4. perhaps it is a plasma bug?
Thats strange. I can not reproduce this. Can anybody else confirm this? Which wersion of KDE are you using?
it happens if i log out or reboot. kde 4.3.4 on opensuse 11.2 x86_64. i'm using version 0.4 of the script.
Ha! I found it. Funny i never ran into this one. Will fix it soon for the next version.
I fixed it. Please let me know, if there is anything else going wrong. I added some more quotes by the way. :)
thanks for this awesome plasmoid script! i have two requests: 1. could you add an option to configure the update interval? 2. i don't know if this is possible right now, but could it be expanded to include quotes from all of trekdom and not just TOS?
Hi there! I am lucky you like it :) In the next release you will be able to change the update time. Actually i am not very glad with the star trek quotes in fortune. I realized, that some of them are extremely long and can not be shown completely :( I am looking for another resource for star trek quotes at the moment. Any ideas?
maybe memory-alpha?: http://memory-alpha.org/en/wiki/Portal:Main
I think you are right. I guess i will take the quotes from fortune categorize them and add further quotes from wikiquote and memory alpha to make them more complete. This will also make the plasmoid independent from the installation of fortune.
great news! one less package to have installed is always a good thing. thanks again.
Okay. It is done. I imported the quotes and added some quotes. This can now be done very easily. No programming knowledge needed. If anybody is willing to collect some quotes, just contact me. Update interval can now be chosen in the plasmoid options.
It's beautiful, but please, add options! For example, I've added self.setBackgroundHints(Plasma.Applet.NoBackground) in order to be more elegant on my desktop ;-) Let the user choose fonts, colors, backround type... and svg to display. Many thanks :)
Thanks a lot. I added options. It should be quite customizable now. More to come :D
bad visibility of the text due to the same colored background image. pls try to fix that.