An open API service indexing awesome lists of open source software.

https://github.com/german/rnotify

Using NotifyOSD system in Ubuntu to display Rails logger messages and TDD/BDD messages
https://github.com/german/rnotify

Last synced: 11 months ago
JSON representation

Using NotifyOSD system in Ubuntu to display Rails logger messages and TDD/BDD messages

Awesome Lists containing this project

README

          

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 Dmytro Samoilov, released under the MIT license