
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
Guru displays random 'fortune cookies' at configurable intervals.
Depends: Fortune
Recommends: PyQt4 (for the config dialog. See the README.txt)
13 years ago
v0.40 Initial release
v0.41: Bugfix. Fixed that timer didn't reset on doubleclick.
v1.0 Added optional configuration dialog.
v1.0.1 Bugfix: Manually entered font color in the config dialog was not saved.
Theme now automatically reloads when using the config dialog.
13 years ago
v0.40 Initial release
v0.41: Bugfix. Fixed that timer didn't reset on doubleclick.
v1.0 Added optional configuration dialog.
v1.0.1 Bugfix: Manually entered font color in the config dialog was not saved.
Theme now automatically reloads when using the config dialog.
pyrforos
13 years ago
One thing that i found is that there are no "fortune text" in any file of the theme!souldnt be there something?
Report
lordtoran
13 years ago
Report
Petunia
13 years ago
I'm unable to duplicate the problem but it seem to be related to the configparser module. It would be interesting to know what distribution and what python version the problem appear on.
Tina
Report
lordtoran
13 years ago
I went through the code too and narrowed it down to the same thing you described. Maybe some recent Python version introduced some breakage into that external class.
Report
Petunia
13 years ago
Tina
Report
TeeAhr1
13 years ago
sys.path.insert(0, '/home/teeahr1/sourcefiles-etc/superk/Guru/')
Traceback (most recent call last):
File "/home/teeahr1/sourcefiles-etc/superk/Guru/guru.py", line 34, in <module>
hide = config.get('appearance', 'guruhide')
File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'appearance'
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 42, in apport_excepthook
binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
AttributeError: 'module' object has no attribute 'argv'
Original exception was:
Traceback (most recent call last):
File "/home/teeahr1/sourcefiles-etc/superk/Guru/guru.py", line 34, in <module>
hide = config.get('appearance', 'guruhide')
File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'appearance'
------------------------------------------------------
What does ImportError mean?
It means that I couldn't load a python add-on guru.py
If this is a regular theme and doesn't use python
extensions, then nothing is wrong.
------------------------------------------------------
Report
Petunia
13 years ago
Drop me a PM, preferably with the content of your 'guru.conf', if that does not resolve the problem.
Thanks!
Tina
Report
lordtoran
13 years ago
Report
morfeusz
12 years ago
Report
sakasa
13 years ago
Sincerely, Sakasa
Report
bigceca
13 years ago
"karamba x=30 y=30 w=540 h=220 color=0,255,255 locked=false
IMAGE X=0 Y=0 PATH="pics/gnutheme.png"
defaultfont font="times" fontsize=12 color=0,0,0
text x=5 y=5 w=350 h=90 sensor=program program="fortune -n 150 -s" interval=60000"
with this solution you have the same theme with more stability....and if you want to do customizable the theme add comment to source...eg
#if you don't want the gnu change "gnutheme.png" with "nognu.png"....
but very great theme...great idea...
Report
Petunia
13 years ago
Glad you liked it though :)
Report
loggeman
13 years ago
However, if clicking or scrolling on the theme, the theme will pick a new fortune. If waiting a while the theme automaticly picks a new fortune. But clicking/scrolling does not reset the timer for the automagic change of a fortune.
Otherwise... good one... ;-)
//Oskar
Report
Petunia
13 years ago
I haven't got around to really look into Plasma yet but the plasmoids looks exciting. :)
Report