VDM "Vie de merde"

Plasma 4 Extensions

Source (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
7.6
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:

10 years ago

Version 1.1
- change icon

Version 1.0
- initial release

dglent

10 years ago

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

Report

dglent

10 years ago

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

Report

9

chepioq

10 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

10 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

10 years ago

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

Report

9

chepioq

10 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

10 years ago

Parfait :)

Thanks very much

Report

dridk

10 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

10 years ago

add VDM logo insteed your pingus.

Report

dridk

10 years ago

and encodage!

Report

C

dago68

10 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

10 years ago

Version 1.1
- change icon

Version 1.0
- initial release

12345678910
9
product-maker Djellel Jul 06 2011 9 excellent
product-maker Rickfer May 03 2011 9 excellent
product-maker jajaX Apr 10 2011 9 excellent
product-maker ZeVlad Feb 26 2011 9 excellent
product-maker mielure Feb 10 2011 9 excellent
product-maker AlejandroNova Jan 17 2011 9 excellent
product-maker AGuiFr Jan 09 2011 9 excellent
product-maker chepioq Jan 08 2011 9 excellent
product-maker vitoubien Jan 06 2011 9 excellent
Be the first to comment
Biert
Jan 23 2011
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.1
updated Jan 08 2011
added Jan 06 2011
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0