Wednesday, 21 November 2007

Geek Code

It's been around for a long time, but is it dead?  Well, maybe.  Anyway here's mine updated:

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/MU d? s++: a- C+(++++) UL++++ P+++>+++++$ L+++$ E+ W++ N !w t@ tv++ b++
DI++++ G h r+++ y++++
------END GEEK CODE BLOCK------

Wednesday, 7 November 2007

Final Destination for Gnome?

The Gnome 2.22 (and 2.24 - 2.x) roadmap has been released [1].

I wrote in July about the anti climactic release of gnome 2.18 [2] and I was hoping that Gnome would release some exciting features for the user and for the developer in the next few major releases. Well, I am once again disappointed. 2.20 seems add instability, and the outlook for 2.22 is grim.

According to the Gnome Footnotes RSS feed:
The roadmap is based on feedback from current GNOME developers and other community members.

We hope this roadmap increases the awereness about the future steps of the project inside and outside the community and helps us to look forward and plan where we want to go.
I find it hard that community member feedback has not included better gnome-screensaver management (Gnome still ships with only 4 basic screensavers, among other issues); or better evolution stability and usability (evolution 2.12 locks up for longer and more frequently than previous versions on simple actions like changing folders; it still does not show the correct account when sending mail, and so on).

Gnome, I still use you, but the reasons are becoming fewer and fewer. When the only remaining reason is "because kde takes too long to compile" then perhaps you will fall into the application graveyard, where we sometimes visit to pay our respect, wondering "whatever happened to ..." or "they were good once".

[1] http://live.gnome.org/RoadMap
[2] http://nthrbldyblg.blogspot.com/2007/07/gnome-218-prepare-to-be-underwhelmed.html
[3] http://www.gnomedesktop.org/node/feed

Wednesday, 3 October 2007

Zimbra + Evolution =

... Zimbrolution?!

What the Zimbra am I talking about? Zimbra is "open source server and client software for messaging and collaboration - email, group calendaring, contacts, and web document management and authoring"[1] that we are trialling at work. Essentially for me that means its a neat web interface to my mail, calendar and contacts.

But the problem with all these webmail webcalendar apps is you may send an email or make a contact on the web interface, and you don't have it in your normal mail client. You may use exchange or something like that, but if you're a die-hard Linux user such as myself, you're often left high and dry.

Enter Zimbraevo[2], the Zimbra Evolution Connecter. It's an add-on to Evolution[3] that lets you synchronise your mail, contacts and calendar with Zimbra.

Installation

OK, so I've convinced you to use Zimbraevo, but how? Well, you could search for some elusive instructions on installing it, but I didn't find a complete set.

You can either use my Gentoo ebuild below, or follow these tips:

Prerequisites

  1. Zimbra server. I'm assuming someone has already set this up for you to use.
  2. Linux. There is a Windows version of evolution, so let me know if you have success installing Zimbraevo for it.
  3. svn, gcc or another compiler, and evolution. You need it to get the source and compile it. If you don't know what I'm talking about, it's probably a good idea to go here or do something else with your time :)

Getting the source

from your favourite command line, type
svn co https://zimbraevo.svn.sourceforge.net/svnroot/zimbraevo zimbraevo
This will get you the latest bleeding edge source.

Make & Install

  1. cd to the newly created zimbraevo/trunk/ directory.
  2. type:
    1. ./bootstrap.sh
    2. make
    3. make install

Use

Now restart evolution. For mail, you can just use imap. If your sysadmin has installed zimbra on your normal mail server, then you may not even have to do anything! But for the other features, try out the Zimbra server:
  1. Go to Edit > Preferences. You will see a similar preferences window to the one pictured here.
  2. Select "Add". Enter your email address, click Forward.
  3. Under Server Type, select Zimbra Collaboration Suite.
  4. Enter the other details as required. For me, the mail server and password is the same as my normal imap account. Your situation may vary depending on your setup. If in doubt, ask your sysadmin.
After you apply the final screen, you will see a new entry in your sidebar (folder list). I called my account Zimbra, so that's what I see.

Not only that, but there are also new contacts and calendars! Add a contact or calendar entry in Zimbra, and it appears in Evolution! I'm very happy with the way it "just worked". And I'm using Evolution 2.10.3, which hasn't been tested by Zimbra yet.

What Else?

If you happen to use Gentoo Linux, here's a free ebuild for you that pulls in the svn source, builds it and installs it. Copy the following text into an overlay. I put it in/usr/local/portage/gnome-extra/zimbraevo/zimbraevo-9999.ebuild.
#
# Zimbraevo live svn ebuild by Iain Buchanan
#
# $Header: $

inherit eutils subversion

DESCRIPTION="Zimbraevo - Zimbra Collaboration Suite Evolution Connector"
HOMEPAGE="http://www.zimbra.com/"
LICENSE="public-domain"

SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="mail-client/evolution"

ESVN_REPO_URI="https://zimbraevo.svn.sourceforge.net/svnroot/zimbraevo"

S="${WORKDIR}/trunk/"

src_unpack() {
subversion_src_unpack
}

src_compile() {
cd ${S}/trunk
./bootstrap.sh
emake || die
}

src_install() {
cd ${S}/trunk
make DESTDIR="${D}" install || die
}


So there you have it. Please post your findings, I would be interested to hear what other brave Zimbraevo's are doing!


[1] http://www.zimbra.com/
[2] Introducing Zimbra Connector for Evolution
[3] http://www.gnome.org/projects/evolution/

Wednesday, 26 September 2007

Sending files in Gnome via bluetooth

Gnome's bluetooth support is still a "work in progress"! To send files via bluetooth, you may or may not have a menu option. If not, heres a quick script to drop in your nautilus-scripts folder.
#!/bin/sh

TMPFILE=`/bin/mktemp`

hcitool scan | grep -v Scanning > ${TMPFILE}
if [ $? -eq 1 ]; then
zenity --error --text="Couldn't scan for devices"
rm ${TMPFILE}
exit
fi

zenity --list --text="Choose a recipient" --column Address --column Name `cat ${TMPFILE}` > ${TMPFILE}

DEST=`cat ${TMPFILE}`

if [ -z ${DEST} ]; then
zenity --error --text="No recipient selected"
rm ${TMPFILE}
exit
fi

for i in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS; do
gnome-obex-send -d `cat ${TMPFILE}` "$i"
done

rm ${TMPFILE}

  • Make this directory, if it doesn't exist:
    mkdir -p ~/.gnome2/nautilus-scripts
  • Save the text above into a file "~/.gnome2/nautilus-scripts/send-via-bluetooth"
  • make it executable:
    chmod u+x ~/.gnome2/nautilus-scripts/send-via-bluetooth
  • Now right-click on any file (or group of files) in nautilus, and you should see a scripts> option. Under scripts, select "send-via-bluetooth"
Notes:
  • You will need hcitool (part of bluez-utils)
  • You need zenity (a gnome package)
  • When sending lots of files, the "Sending" dialog keeps popping up under your mouse. Not ideal!
Feel free to email me if you have any questions or improvements.

Wednesday, 5 September 2007

Nigerian scam - with a difference!

I get the odd hundred or so Nigerian scam emails per second, just like the next guy. Usually I just delete them, but this one warranted further inspection.

Major kudos to the guy/gal who did this - I presume they hacked the scammer's mass email system, and changed the text ever so slightly! Here is the source of the email, with some info replaced with ****'s once it hit our office mail server:

Return-Path:
Received: from murder ([unix socket]) by **** (Cyrus v2.2.12)
with LMTPA; Fri, 31 Aug 2007 09:56:22 +0930
X-Sieve: CMU Sieve 2.2
Received: from localhost (localhost.**** [127.0.0.1]) by
**** (Postfix) with ESMTP id BBE9917DDA; Fri, 31 Aug 2007
09:56:22 +0930 (CST)
X-Virus-Scanned: amavisd-new at ****
Received: from **** ([127.0.0.1]) by localhost ****
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ykTz5O+R-RhE; Fri, 31
Aug 2007 09:56:06 +0930 (CST)
Received: from yovole.com (unknown [61.152.239.66]) by ****
(Postfix) with ESMTP id A908817CEB for ; Fri, 31 Aug
2007 09:56:04 +0930 (CST)
Received: from yovole.com (localhost.localdomain [127.0.0.1]) by yovole.com
(8.13.1/8.13.1) with ESMTP id l7UNNbOw012441 for ; Fri,
31 Aug 2007 07:23:37 +0800
Received: (from root@localhost) by yovole.com (8.13.1/8.13.1/Submit) id
l7UNNThk012435; Fri, 31 Aug 2007 07:23:29 +0800
Date: Fri, 31 Aug 2007 07:23:29 +0800
Message-Id: <200708302323.l7unnthk012435@yovole.com>
To: iain@****
Subject: Nigerians are retarded humans
From: Nigerian Scamer
Content-Type: text/html
X-Evolution-Source: imap://iain;auth=CRAM-MD5@mail.****/
Mime-Version: 1.0


Dont trust nigerians - Nigerians are the most idiot pice of shits in the world



I'm quite happy to get this email, if it means that this scammer has sent one less real scam. Hopefully this stopped thousands of scams, who knows? At least it made me laugh :D
 
Copyright 2009 Another Blog. Powered by Blogger Blogger Templates create by Deluxe Templates. WP by Masterplan