# Global hotkeys

**URL:** <https://www.ruby-forum.com/t/global-hotkeys/187685>\
**Category:** Ruby-Gnome 2\
**Created:** [April 27, 2010, 7:51pm UTC](https://www.ruby-forum.com/t/global-hotkeys/187685 "2010-04-27T19:51:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![coubi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@coubi](https://www.ruby-forum.com/u/coubi)\
**Post date:** [April 27, 2010, 7:51pm UTC](https://www.ruby-forum.com/t/global-hotkeys/187685/1 "2010-04-27T19:51:29Z")

</div>

Hi everyone.

I needed to set global hotkeys (hotkeys that can be used even if the  
application does not have focus). As I do not found a way to do it  
with ruby-gnome2 I write rghk (ruby global hotkeys) a small librairy.

It can be found at [http://zik.rubyforge.org/rghk/](http://zik.rubyforge.org/rghk/) under gpl license.  
Hope it can be usefull for others.

Vincent

---

<div class="post-metadata">

**Author:** ![coubi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@coubi](https://www.ruby-forum.com/u/coubi)\
**Post date:** [May 10, 2010, 8:15pm UTC](https://www.ruby-forum.com/t/global-hotkeys/187685/2 "2010-05-10T20:15:10Z")

</div>

Good to know
