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

Thursday, March 5, 2009

dependency Problems on acer aspire one linux

This post is a one-to-one copy from the following site:

http://macles.blogspot.com/2008/08/dependency-problems-on-acer-aspire-one.html


I regard this as so important that not just want to link to it, but copy it into my site as well! It's not my merit, so have a look at his site as well, because he has lot's of other interesting stuff on it!

As you may already know the AA1 comes with a custom version of Linpus Linux, which is a custom version of Fedora. If you take a look at the source RPMs provided by Acer you will notice about 50 modified packages, recognizable by an lp suffix in their filename. I have already found one package modified directly by Acer where the original filename was not modified, so there may be more. And since neither Acer nor Linpus keep their own repositories the only choice is to use the Fedora ones if you want to update or install a package. As a result you'll run into dependency problems now and then.

I will try to resolve them as i stumble upon them.

#1 gecko-libs
You will receive the following error whenever you try to install a package that is somehow related to Firefox, or more precisely its gecko engine: Missing Dependency: gecko-libs = 1.8.1.16. A package that triggers it is epiphany. It can be resolved. First of all Firefox 2 has to be removed, which can only be done via rpm, or else half the system will go with it. Forcing it via rpm however breaks a few packages. To satisfy their needs a Fedora version of Firefox 2 is installed and a symlink to the excpected library path created. Finally yelp is updated, and that's it.

sudo rpm -e --nodeps firefox
sudo yum install firefox
sudo ln -s /usr/lib/firefox-2.0.0.16/* /usr/lib/mozilla
sudo yum install yelp


#2 notification-daemon-xfce
It manifests itself via the following message: notification-daemon-xfce conflicts with notify-daemon. The good news is that for most packages the problem is fixed with procedure #1. I can only trigger it now via sudo yum update, which is not recommended anyway because it will turn your system into Fedora 8 if you're lucky or break it if you're not. Use yum only to update selected packages, and even then make sure it's not updating one of the modified ones. I'll put this one hold until another package complains about it.

#3 gnome-menus
This depedency problem is triggered via f-spot or evolution, displaying the following error.

file /usr/share/desktop-directories/Internet.directory from install of gnome-menus-2.20.3-1.fc8 conflicts with file from package xfdesktop-acer-lp-1522.no_spot.mcs_patched
file /usr/share/desktop-directories/Settings.directory from install of gnome-menus-2.20.3-1.fc8 conflicts with file from package xfdesktop-acer-lp-1522.no_spot.mcs_patched


It's fairly easy to fix. Just download gnome-menus and redhat-menus and force their installation. Then restore the original content of the conflicting files.

sudo yum install yum-utils
sudo yumdownloader gnome-menus redhat-menus
cp /usr/share/desktop-directories/* .
sudo rpm -U --force gnome*rpm redhat*rpm
sudo mv *directory /usr/share/desktop-directories


#4 gtk2-devel
Not really a dependency problem but more of a general problem. Installing gtk2-devel automatically updates the custom gtk2, which breaks the desktop. Just download it and force the installation via rpm.

sudo yum install yum-utils
sudo yumdownloader --disablerepo=updates,updates-newkey gtk2-devel
sudo rpm --force --nodeps -i gtk2-devel*rpm


#5 libpulse
This problem only occured recently and is triggered if you try to install VLC, with the following error message.

Error: Missing Dependency: libpulse.so.0(PULSE_0) is needed by package vlc
Error: Missing Dependency: libopendaap.so.0 is needed by package vlc-core
Error: Missing Dependency: libdvdnav.so.4 is needed by package vlc-core


An explanation can be found here, the solution is to simply use the line below.

sudo yum install fedora-release

Sunday, March 1, 2009

media player acer aspire one

Just downloaded some podcast from sf.tv.
These files come with an .m4v extension, so actually they are .mp4 files.
The Acer Aspire One won't play them out of the box, but it's easy to set it up.

open a terminal and type the following:

sudo rpm -ivh http://rpm.livna.org/livna-release-8.rpm
sudo yum install vlc


if this doesn't work out, do the following:

sudo yum install fedora-release
sudo yum install vlc


you probably want to install it also for Firefox, so type:

yum install python-vlc mozilla-vlc


done!
:-)

Thursday, February 12, 2009

Thunderbird Portable - Configuration - Win XP

Create a ThunderbirdPortable.ini File. How to do this you'll find in the \ThunderbirdPortable\Other\Source\Readme.txt File that comes with the installation.

Google Sync - Iphone

Just changed from Nuevasync to GOOGLE SYNC to sync my Google Contacts and Google Calendar with my Iphone.