Tuesday, June 1, 2010

Make mailto: links open in gmail in Google Chrome browser



Make mailto: links open in gmail or your google apps account in chrome (or take any other browser)!
As more and more people use web based email instead of desktop based, this is quiet useful information. Read the source to get it run on win xp and in linux as well!

windows 7
  • open your registry editor (Type at your start menue);
  • navigate to HKEY_CLASSES_ROOT\mailto\shell\open\command;
  • edit the (Default) command from whatever it is (right click and select modify) to:


for gmail users

"c:\path-to\chrome.exe" https://mail.google.com/mail?extsrc=mailto&url=%1


This should all be on one line with a space between the quotation mark after the path info and the https.

for google apps users

"c:\path-to\chrome.exe" https://mail.google.com/a/yourdomain.com?extsrc=mailto&url=%1


Friday, April 16, 2010

install AnkiMini on nexus one

1. install AnkiMini on nexus one (n1)
I installed AnkiMini on my Nexus One (android 2.1) according to this description:

2. software
I installed the newest versions of sqlalchemy (0.5.8) http://sourceforge.net/projects/sqlalchemy/files/
For the libanki files, I downloaded the latest linux tarball (0.9.9.8.6) http://ichi2.net/anki/#linux
Eclipse was my editor for the python files.
laptop operating system: win7
winrar to extract the files

3. AnkiMini Files
I copied the main.py and the ankimini-config.py from my iphone to my nexus one.

4. download-decks-from-the-server capability
In my main.py I altered line 526
from:
tmp_dir = unicode(tempfile.mkdtemp(dir=ANKIMINI_PATH, prefix="anki"), sys.getfilesystemencoding())
to:
tmp_dir = unicode(tempfile.mkdtemp(dir=ANKIMINI_PATH, prefix="anki"), "utf-8")
alternative working solution:
tmp_dir = unicode(tempfile.mkdtemp(dir=ANKIMINI_PATH, prefix="anki"))

5. use already created decks
I couldn't just copy my decks from my computer to the n1, I had to download it from the server,
was working after the steps I described in point 4. Alternatively it was also possible
to export the decks through the anki desktop client.

6. client size in n1's browser
In order to adjust the size of the client in the browser, I had to close the default zoom of
n1's browser.

have fun!


Saturday, February 6, 2010

yeah...

wieder online...
:-)