#!/usr/bin/env ruby =begin xy.rb Luca Russo Copyright (LGPL) 2006 - 2011 ruby-libnotify xy example =end begin require 'RNotify' rescue LoadError require 'rubygems' require 'RNotify' end Notify.init("Test7") test = Notify::Notification.new("Test 7", "This notification point to 150,100", nil) test.hint32("x", 150) test.hint32("y", 100) test.timeout= 5000 #5 seconds test.show