Hi guys,
I've just started playing with gnome-do.
The google-contacts plugin seems convenient, but it doesn't play well with my settings of ubuntu preferred application - configured for gmail.
I was using a solution found on Xantus blog :
perl -MURI::Escape -e '$to = shift;$to =~ s/^mailto://i;exec("firefox", "https://mail.google.com/mail/?view=cm&fs=1&tf=1&cmid=22&to=".URI::Escape::uri_escape($to) );' '%s'
but google-contacts was sending ///e@mail instead of mailto:e@mail, so I just added a second sed step :
perl -MURI::Escape -e '$to = shift;$to =~ s/^mailto://i;$to =~ s/^\/\/\///i;exec("firefox", "https://mail.google.com/mail/?view=cm&fs=1&tf=1&cmid=22&to=".URI::Escape::uri_escape($to) );' '%s'
Here is a test link.
Friday, April 03, 2009
Gmail as ubuntu preferred application
Sunday, March 30, 2008
TOTP 1.2
Just updated TOTP to v1.2 !
what's new :
- can't have two words starting with the same letter
- toggle sound via menu screen
- change dictionnary via menu screen
- high score screen
- enter name for high score
You'll need to have python and pygame, here are the windows links: python and pygame (it's quick and easy)
Python and pygame are also available for mac and of course linux, just check the download pages.
Sunday, March 02, 2008
wiimote on linux: wminput
While I'm here, some advertising for a couple of plugins I wrote for wminput, the wiimote driver for linux.
wminput enables to connect a wiimote to your linux pc, and map wiimote actions to mouse and keyboard events.
I wrote plugins to play FPS games with the wiimote... more fun that accurate :)
Here is the source code, and how to get started.
Typing of the python
I recently played with Python, here is my second game : Typing of the python.
The first game is a snowfight game designed for two players with wiimotes, but the graphics are too bad for publishing yet.
This one is similar to Sega's Typing of The Dead, with no graphics, just type as fast as you can.
I wrote it on linux but it should work on windows.
The zip file includes the python code (totp.py), the sounds, a french and an english word list. The game will use the french word list, but you can edit the code (line 8) to switch to the english one.
I wrote this this afternoon, so far my score is 31470.
You'll need to download python if you don't have it already.