VDM "Vie de merde"

Plasma 4 Widgets

Source (required if based on other people's work): Add the source-code for this project on git.opendesktop.org

1
Score 64%
Description:

This is my first program in Python.

It displays random anecdotes from www.viedemerde.fr site.

It is a very simple plasmoid, it has no settings and it updates itself every 40 seconds.

Just click on icon to force update.
Last changelog:

7 years ago

Version 1.1
- change icon

Version 1.0
- initial release

dglent

7 years ago

i think that the plasmoid needs update because it shows more words as javascript, with other symbols

Report

dglent

7 years ago

If you like the idea is it possible to add a share button ?
To share the anekdote via email.

Report

chepioq

7 years ago

Can you add an option changing the text color?

I try by adding "--font-color=bleu" after "p=subprocess.Popen(["./alb-fr --choix=aleatoire" but that don't work, font color is always white.

Report

C

dago68

7 years ago

Hi chepioq,

the right code for the script is:

print "\033[0;$font$quote\033[0;0m\n";

but it doesn't work in the plasmoid.

I think you can change colour font only in your kde control center.

Regards

Dago68

Report

dglent

7 years ago

The letters with accents (éèà ...) are shown as ,,,,,. How can it be fixed this ?

Report

chepioq

7 years ago

It's encoding problem...
I solve it with replace

use encoding "WINDOWS-1252";

by

use encoding "UTF-8";

in vdm-fr/contents/code/alb-fr

Report

dglent

7 years ago

Parfait :)

Thanks very much

Report

dridk

7 years ago

sorry , I didn't want to hurt you .. I was on my Phone mobile, and it was easier to write shortless.

Report

dridk

7 years ago

add VDM logo insteed your pingus.

Report

dridk

7 years ago

and encodage!

Report

C

dago68

7 years ago

Hi dridk,

the correct request is:

"PLEASE, add VDM logo insteed your pingus."

thanks

There are no official logo on VDM site but for next release I'll ask directly to them.

This is a python script and all source are inside the file you donwnload.

Regards

Dago68

Report

7 years ago

Version 1.1
- change icon

Version 1.0
- initial release

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
1.1
updated Jan 08 2011
added Jan 06 2011
downloads today
0
page views today 1