Sha256: 7c858af4a11963a26a62942f229159d2f51ecfa583b48fa07df979a618099b78

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 KB

Contents

This small gem is supposed to be used on Ubuntu only (for now). It's actually work in progress. rnotify displays certain messages in NotifyOSD so you shouldn't distract to see what's going on in the console:

* Rails.logger messages (ones with severity >= WARN level)

* Results of running rspec/cucumber/test::unit test suits

## 2 possible notifications styles 

### New Ubuntu style:

![rnotify screenshot](http://germaninthetown.com/rnotify_screenshot.png)

In order to use it you just need to make sure you have a 'libnotify-bin' package installed:

```sh
$ sudo apt-get install libnotify-bin
```

### Old Ubuntu style (preferred, since it supports stacking of messages):

![rnotify screenshot with notification-daemon](http://germaninthetown.com/rnotify_screenshot2.png)

if you already have notify-osd installed:

```sh
$ sudo apt-get install notification-daemon
$ sudo mv /usr/lib/notify-osd/notify-osd /usr/lib/notify-osd/notify-osd-original
$ sudo killall notify-osd
$ sudo ln -s /usr/lib/notification-daemon/notification-daemon /usr/lib/notify-osd/notify-osd
```

otherwise:

```sh
$ sudo apt-get install notification-daemon
$ sudo ln -s /usr/lib/notification-daemon/notification-daemon /usr/lib/notify-osd/notify-osd
```

Then you could change the look-and-feel of notification window if you want:

```sh
$ notification-properties
```

![customizing old notifications style and position](http://germaninthetown.com/rnotify_screenshot3.png)

## Installing 

then just add this line to your Gemfile:

```ruby
gem 'rnotify'
```

and run

```sh
bundle install
```

TODO:

* add minitest adapter
* messages merging [done - only possible with old ubuntu *notification-daemon* library]
* more icons

Copyright © 2011 Dmitrii Samoilov, released under the MIT license

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rnotify-0.2 README.md