
Oblique Strategies
Source (link to git-repo or to original if based on someone elses unmodified work):
Description:
This is a very simple screenlet that displays a random draw from Brian Eno and Peter Schmidt's Oblique Strategies. Info about the Strategies can be found here: http://www.rtqe.net/ObliqueStrategies. Basically, the Strategies are a deck of cards, each one containing a "worthwhile dilemma". I've found them helpful in removing mental blocks in creative endeavors.
Four editions of the Strategies are included, including the 1996 unofficial version, and you can select the one you want to draw from. Just click the "deck" to draw a new "strategy". The currently-sold fifth edition is not included, if you want it buy it from Eno.
Starting with version 0.2, it can also be configured to display random fortunes from the standard BSD fortune(6) available on most Linux and BSD systems. Last changelog:
Four editions of the Strategies are included, including the 1996 unofficial version, and you can select the one you want to draw from. Just click the "deck" to draw a new "strategy". The currently-sold fifth edition is not included, if you want it buy it from Eno.
Starting with version 0.2, it can also be configured to display random fortunes from the standard BSD fortune(6) available on most Linux and BSD systems.
0.1 - initial release
0.2 - Updated to work better with the newer versions of Screenlets, substantial cosmetic improvements, also added the option to display random fortunes from fortune(6).
Ratings & Comments
1 Comment
I'm having problem on my Ubuntu: cas@cas-laptop:~/Documents/applications$ screenlets-manager It looks like you are running gnome /home/cas/.config/autostart/Screenlets Daemon.desktop /home/cas/.config/autostart/screenlets-daemon.desktop False Starter already exists. DAEMON FOUND! ObliqueStrategies Launch ObliqueStrategies Launching Screenlet from: /home/cas/.screenlets/ObliqueStrategies/ObliqueStrategiesScreenlet.py Logging output goes to: $HOME/.config/Screenlets/ObliqueStrategiesScreenlet.log REGISTER screenlet: ObliqueStrategiesScreenlet Traceback (most recent call last): File "/home/cas/.screenlets/ObliqueStrategies/ObliqueStrategiesScreenlet.py", line 613, in <module> screenlets.session.create_session(ObliqueStrategiesScreenlet) File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 466, in create_session session.start() File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 233, in start if self.__load_instances(): File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 387, in __load_instances sl = self.create_instance(id=filename[:-4], enable_saving=False) File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 139, in create_instance sl = self.screenlet(id=id, session=self, **keyword_args) File "/home/cas/.screenlets/ObliqueStrategies/ObliqueStrategiesScreenlet.py", line 41, in __init__ screenlets.Screenlet.__init__(self, width=210, height=110, uses_theme=True, **keyword_args) File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 621, in __init__ self.update_shape() File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1132, in update_shape except: self.on_draw_shape(ctx) # if error on on_draw use standard shape method File "/home/cas/.screenlets/ObliqueStrategies/ObliqueStrategiesScreenlet.py", line 105, in on_draw_shape self.on_draw(ctx) File "/home/cas/.screenlets/ObliqueStrategies/ObliqueStrategiesScreenlet.py", line 99, in on_draw self.draw_rectangle_advanced (ctx, 0, 0, self.width-12, self.height-12, rounded_angles=(5,5,5,5), fill=True, border_size=1, border_color=(0,0,0,1), shadow_size=3, shadow_color=(0,0,0,0.5)) AttributeError: 'ObliqueStrategiesScreenlet' object has no attribute 'draw_rectangle_advanced'