A Place for my head

On Ruby, Rails, Concurrency and fiction

Posted in : pim, ruby | 6 comments

Updates
Getting gtk-ruby installed is a bit tricky, look into the comments for getting it installed. Also, you don’t necessarily need Emacs to use this application.

Another important thing is, it stores your todos and metadata files in a directory called, ~/snippets, so make sure you have that directory. Although newer version of app, automatically checks for the directory. I put up lots of bug fixes, and a tab for viewing completed tasks too, So make sure you are using latest version. Thanks.

Version 1.0.2 of Swat App

Install it with:

sudo gem install swat-1.0.2.gem

Hey there,

Curse me for making this app if you will. But the truth is all the todo applications in GNU/Linux suck, then I thought ok, may be they do not suck enough. So, with some ruby skills at my disposal, I wrote a todo application in Gtk Ruby.

swat App Small

So whats swat?

Swat is a todo list manager for Gnome & Emacs.

Heck : Emacs?

Features:

  • Manage your todos, add them according to priority and category.
  • Move your todos to wish list, when not feeling like working on them.
  • libtomboy bindings for global shortcut(Alt-F11).
  • Nice stats for number of tasks finished and added.
  • All your todos are in a .org file and hence can be managed from Emacs as well.
  • System tray integration.

KeyBindings:

  • Alt-F11 : from anywhere, brings the todo window to front.
  • Esc : to dismiss todo window.
  • Control-N : to add a todo.

Installation :

  • sudo gem install swat

Code:

  • http://packet.googlecode.com/svn/branches/swat/

6 Responses to 'Special Weapons And Tactics ( SWAT ) app'

Subscribe to comments with RSS or TrackBack to 'Special Weapons And Tactics ( SWAT ) app'.

  1. Looks great! Is there a way to synchronize your app with “Remember the milk”? That would be a great feature.

    hermes

    16 Dec 07 at 9:28 am

  2. I am sorry, I do not fully understand you. Do you mean, if there is a way to synchronize todo list across machines?

    If yes..then there is way by, keeping the $HOME/snippets/todo.org file in svn. whenever, you click the first button it would synchronize the todo list with svn.

    gnufied

    16 Dec 07 at 9:39 am

  3. i want it w/o emacs!

    elma

    26 Jan 08 at 4:11 pm

  4. You can perfectly keep using it without Emacs. BTW, did you manage to get it installed correctly?

    Gtk-Ruby is a bit tricky in getting installed, if you are on Ubuntu/Debian system, install gtk-ruby using:

    apt-get install ruby-gnome2

    Hemant

    27 Jan 08 at 11:10 am

  5. i have ruby-gnome2 installed and gem lists it but looks like no way to run it anyway…
    where it is located at?

    nuri

    29 Jan 08 at 3:47 pm

  6. There is something fishy going on with latest Rubygems versions and its not placing the executable in correct path. put this in your /usr/bin/ and name the file, swat, change the permissions and you should be good to go:

    #!/usr/bin/ruby1.8
    #
    # This file was generated by RubyGems.
    #
    # The application 'swat' is installed as part of a gem, and
    # this file is here to facilitate running it.
    #
    
    require 'rubygems'
    
    version = ">= 0"
    
    if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
      version = $1
      ARGV.shift
    end
    
    gem 'swat', version
    load 'swat'
    

    Hemant

    31 Jan 08 at 5:32 am

Leave a Reply