VDM "Vie de merde"

Plasma 4 Widgets

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.5
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:

8 years ago

Version 1.1
- change icon

Version 1.0
- initial release

dglent

8 years ago

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

Report

dglent

8 years ago

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

Report

chepioq

8 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

8 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

8 years ago

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

Report

chepioq

8 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

8 years ago

Parfait :)

Thanks very much

Report

dridk

8 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

8 years ago

add VDM logo insteed your pingus.

Report

dridk

8 years ago

and encodage!

Report

C

dago68

8 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

8 years ago

Version 1.1
- change icon

Version 1.0
- initial release

12345678910
9
product-maker Djellel Jul 06 2011 8 great
product-maker Rickfer May 03 2011 8 great
product-maker jajaX Apr 10 2011 8 great
product-maker ZeVlad Feb 26 2011 8 great
product-maker mielure Feb 10 2011 8 great
product-maker AlejandroNova Jan 17 2011 8 great
product-maker AGuiFr Jan 09 2011 8 great
product-maker chepioq Jan 08 2011 8 great
product-maker vitoubien Jan 06 2011 8 great
product-maker Count:2 Rating: 5.00
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.1
updated Jan 08 2011
added Jan 06 2011
downloads today
0
page views today 2
+