Star Trek Fortune

Plasma 4 Extensions

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
6.1

Description:
Plasmoid showing Star Trek Quotes on your Desktop.

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
Last changelog:

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

echoes

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.

Kelloggs

Actually i have no idea why this is not working :( - can anybody help me on this

pyrforos

Thank you !works perfectly!

pyrforos

VERY nice!I would like to change the encoding if i write something in Greek... How can i do that?

Kelloggs

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.

mirzaD

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.

echoes

i have experienced the same thing with kde 4.3.4.

Kelloggs

You're right! Thanks! I fixed the bug. Please update!

Kelloggs

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.

echoes

i uninstalled the old version first but the new version wouldn't install via GHNS. had to download it & install it manually.

Kelloggs

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.

echoes

text color bug still persists with 0.4. perhaps it is a plasma bug?

Kelloggs

Thats strange. I can not reproduce this. Can anybody else confirm this? Which wersion of KDE are you using?

echoes

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.

Kelloggs

Ha! I found it. Funny i never ran into this one. Will fix it soon for the next version.

Kelloggs

I fixed it. Please let me know, if there is anything else going wrong. I added some more quotes by the way. :)

echoes

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?

Kelloggs

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?

echoes

maybe memory-alpha?: http://memory-alpha.org/en/wiki/Portal:Main

Kelloggs

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.

echoes

great news! one less package to have installed is always a good thing. thanks again.

Kelloggs

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.

yurix

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 :)

Kelloggs

Thanks a lot. I added options. It should be quite customizable now. More to come :D

mirzaD

bad visibility of the text due to the same colored background image. pls try to fix that.

Pling
0 Affiliates
Details
license
version 0.6
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0