# Desktop

**URL:** https://www.ruby-forum.com/c/desktop/34.md?page=4

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 5

---

## [Is there a way to perform an on-quit action?](https://www.ruby-forum.com/t/is-there-a-way-to-perform-an-on-quit-action/242074)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 25, 2015, 6:56am UTC](https://www.ruby-forum.com/t/is-there-a-way-to-perform-an-on-quit-action/242074 "2015-05-25T06:56:16Z")

</div>

Hi, One rubygnome program creates a gmon.out file in the current working directory. I do not know why but I don’t want this file. Is there either: (a) a way to prevent the creation of a gmon.out file or (b) an on-q…

---

## [How to avoid freezing a rubygnome GUI?](https://www.ruby-forum.com/t/how-to-avoid-freezing-a-rubygnome-gui/241906)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 12, 2015, 3:48pm UTC](https://www.ruby-forum.com/t/how-to-avoid-freezing-a-rubygnome-gui/241906 "2015-05-12T15:48:12Z")

</div>

Hi guys, Here is my problem. I have a GUI widget, in ruby-gnome, and I have buttons. Each button plays a video file. I use system() for this, and mplayer. When I click the button, all works well, mplayer plays the …

---

## [Problems with Ruby 2.1 & Windows 8](https://www.ruby-forum.com/t/problems-with-ruby-2-1-windows-8/241863)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 12, 2015, 1:03am UTC](https://www.ruby-forum.com/t/problems-with-ruby-2-1-windows-8/241863 "2015-05-12T01:03:03Z")

</div>

Hi, I’ve been trying to upgrade my workplaces ruby version from 1.8.6 to 2.1, and one of our most important projects is done in Gtk2. I finally have the gtk2 (2.2.5-x86-mingw32) installed properly in windows on ruby …

---

## [Installing visualruby on Win 7 fails with extconf.rb failed](https://www.ruby-forum.com/t/installing-visualruby-on-win-7-fails-with-extconf-rb-failed/241649)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 21, 2015, 10:41am UTC](https://www.ruby-forum.com/t/installing-visualruby-on-win-7-fails-with-extconf-rb-failed/241649 "2015-04-21T10:41:39Z")

</div>

I am trying to install the visualruby gem on Windows 7 (64 bit, but running 32-bit Ruby 1.9.3 (ruby 1.9.3p448 (2013-06-27) \[i386-mingw32\]). The last line before failure is: checking for rb\_cairo.h… no and then it fai…

---

## [How to find out the resolution of the monitor before starting a Ruby-Gnome widget?](https://www.ruby-forum.com/t/how-to-find-out-the-resolution-of-the-monitor-before-starting-a-ruby-gnome-widget/234763)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 27, 2015, 9:55pm UTC](https://www.ruby-forum.com/t/how-to-find-out-the-resolution-of-the-monitor-before-starting-a-ruby-gnome-widget/234763 "2015-03-27T21:55:03Z")

</div>

Hi, I wish to set the start-size of my widget to 80% of width and height. But for this, I need to know the resolution of the computer. Is this doable?

---

## [A problem when init Gtk::Dialog](https://www.ruby-forum.com/t/a-problem-when-init-gtk-dialog/234883)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [March 27, 2015, 9:53pm UTC](https://www.ruby-forum.com/t/a-problem-when-init-gtk-dialog/234883 "2015-03-27T21:53:51Z")

</div>

if write code like this: ######### class LoginDialog \< Gtk::Dialog def initliaze super show\_all end end l=LoginDialog.new :title=\>“login”, :parent=\>nil, :flags=\>Gtk::Dialog::flags::MODAL, :buttons=\>\[\[Gtk::Sto…

---

## [Howto: Install Visual Ruby on Raspberry Pi Debian based system](https://www.ruby-forum.com/t/howto-install-visual-ruby-on-raspberry-pi-debian-based-system/234336)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 25, 2015, 4:16am UTC](https://www.ruby-forum.com/t/howto-install-visual-ruby-on-raspberry-pi-debian-based-system/234336 "2015-02-25T04:16:41Z")

</div>

Ruby is only half installed on the Raspbian image (02/2015), but a ‘sudo apt-get install ruby-full’ will fix that. Now you can install the other parts that are needed by typing: ‘sudo apt-get install libgtksourceview…

---

## [PrintOperation don't show my complete strings](https://www.ruby-forum.com/t/printoperation-dont-show-my-complete-strings/233724)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 6, 2015, 1:01pm UTC](https://www.ruby-forum.com/t/printoperation-dont-show-my-complete-strings/233724 "2015-01-06T13:01:02Z")

</div>

Hi. Basically I have a big string with 20 lines and I get an array using string.split “\\n”. So I’m trying to print my array using Gtk::PrintOperation. Everything is going fine, but for some reason when a line have a b…

---

## [Where are announce for versions ruby-gnome2 2.2.2 / 2.2.3](https://www.ruby-forum.com/t/where-are-announce-for-versions-ruby-gnome2-2-2-2-2-2-3/233253)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 27, 2014, 1:42pm UTC](https://www.ruby-forum.com/t/where-are-announce-for-versions-ruby-gnome2-2-2-2-2-2-3/233253 "2014-11-27T13:42:55Z")

</div>

Hello, Installing my project on a new machine, I discover that gtk3 has moved, and that my project do not work anymore… So corrections are done : incompatibility are reported on gnome2 issue. As this forum seem not v…

---

## [\[ANN\] dropped binary package support for Ruby 1.9.3 on Windows](https://www.ruby-forum.com/t/ann-dropped-binary-package-support-for-ruby-1-9-3-on-windows/233000)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 10, 2014, 2:44pm UTC](https://www.ruby-forum.com/t/ann-dropped-binary-package-support-for-ruby-1-9-3-on-windows/233000 "2014-11-10T14:44:45Z")

</div>

Hi, I’m sorry for the late announcement. We dropped Ruby 1.9.3 support on Windows (x86-mingw32 packages) since Ruby-GNOME2 2.2.1 and rcairo 1.12.9. Because it’s hard, and Ruby core team only provide security fixes f…

---

## [File lib not found](https://www.ruby-forum.com/t/file-lib-not-found/228938)

<div class="topic-metadata">

**Author:** [@amarrextro](https://www.ruby-forum.com/u/amarrextro)\
**Replies:** 1\
**Last updated:** [November 9, 2014, 6:51am UTC](https://www.ruby-forum.com/t/file-lib-not-found/228938 "2014-11-09T06:51:44Z")

</div>

Sorry guys, I recently successfully installed visual ruby but while trying to run it, I keep getting this error message. C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:36:in require' from C:/Ruby193/li…

---

## [Trouble installing Visual Ruby](https://www.ruby-forum.com/t/trouble-installing-visual-ruby/232685)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 22, 2014, 11:58am UTC](https://www.ruby-forum.com/t/trouble-installing-visual-ruby/232685 "2014-10-22T11:58:44Z")

</div>

Hello, I am behind a proxy, but using the SET HTTP\_PROXY command seems to work. System in Win 7 64 bit, I installed 32 bit ruby 1.9.3 as recommended. So I was able to use gem install visualruby but when I try vr I…

---

## [Monitor if a thread is running](https://www.ruby-forum.com/t/monitor-if-a-thread-is-running/232489)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 12, 2014, 12:41pm UTC](https://www.ruby-forum.com/t/monitor-if-a-thread-is-running/232489 "2014-10-12T12:41:40Z")

</div>

Hello, i have a spinner which i want to monitor if a thread is running or not. At the moment i set the spinner to start and stop manually when i start the thread, if it is finished or i stop it. Is there a better solu…

---

## [How to make a widget that has a vertical bar, and an "audio graph" display, for audio files?](https://www.ruby-forum.com/t/how-to-make-a-widget-that-has-a-vertical-bar-and-an-audio-graph-display-for-audio-files/232098)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 23, 2014, 8:32am UTC](https://www.ruby-forum.com/t/how-to-make-a-widget-that-has-a-vertical-bar-and-an-audio-graph-display-for-audio-files/232098 "2014-09-23T08:32:34Z")

</div>

Hey guys, On windows I used a great program. It is small and used to cut audio stuff. Here is a screenshot: http://mpesch3.de1.cc/img/mp3dc.jpg My question is: How could I implement something like that in ruby-gnom…

---

## [Visual Ruby - implementing multiple ListViews](https://www.ruby-forum.com/t/visual-ruby-implementing-multiple-listviews/231928)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 23, 2014, 8:30am UTC](https://www.ruby-forum.com/t/visual-ruby-implementing-multiple-listviews/231928 "2014-09-23T08:30:13Z")

</div>

I’m really struggling to understand how I may implement a single window with multiple ListViews. Using the example http://visualruby.net/site/ListView%20Tutorial.html I wish to have multiple folder lists within one wi…

---

## [Ruby-Gnome Wiki - How to make bold content?](https://www.ruby-forum.com/t/ruby-gnome-wiki-how-to-make-bold-content/232010)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 12, 2014, 7:59pm UTC](https://www.ruby-forum.com/t/ruby-gnome-wiki-how-to-make-bold-content/232010 "2014-09-12T19:59:43Z")

</div>

Hi guys, How can I make some word bold in hiki, anybody knows? Reason I ask is that I am trying to add a bit new content and also try and improve stylistically, but I don’t know how to use hiki really - I am using mo…

---

## [Ruby-GNOME2 2.2.1 plans](https://www.ruby-forum.com/t/ruby-gnome2-2-2-1-plans/239656)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [September 7, 2014, 1:26am UTC](https://www.ruby-forum.com/t/ruby-gnome2-2-2-1-plans/239656 "2014-09-07T01:26:56Z")

</div>

Hi, Here are the next release (2.2.1) plans: Migrate Ruby/GDK3 to Ruby/GObjectIntrospection based bindings. Migrate Ruby/GTK3 to Ruby/GObjectIntrospection based bindings. Migrate Ruby/GtkSourceView3 to Ruby/GObjectInt…

---

## [VisualRuby unable to load cairo.so](https://www.ruby-forum.com/t/visualruby-unable-to-load-cairo-so/240312)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [September 1, 2014, 11:34pm UTC](https://www.ruby-forum.com/t/visualruby-unable-to-load-cairo-so/240312 "2014-09-01T23:34:05Z")

</div>

1.Fresh install: Glade3.6.7 & GTK with file: glade3-3.6.7-with-GTK+.exe 2.Ran glade3 - functions OK 3.Gem install visualruby - installation had no errors. 4 products installed: Windows 7 Professional ruby 1.9.3p545…

---

## [Building source, understanding pkg-config](https://www.ruby-forum.com/t/building-source-understanding-pkg-config/231830)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 1, 2014, 11:31pm UTC](https://www.ruby-forum.com/t/building-source-understanding-pkg-config/231830 "2014-09-01T23:31:18Z")

</div>

Building from latest git ruby-gnome2 git source. Ruby 2.1.2p95 pkg-config (1.1.5) CentOS 6.5 So I’m finally getting some free time to start tinkering with Ruby again. On my system, (CentOS 6.5) gio2 won’t build, bec…

---

## [Asking for sudo password, from pkgconfig?](https://www.ruby-forum.com/t/asking-for-sudo-password-from-pkgconfig/239267)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [September 1, 2014, 8:53pm UTC](https://www.ruby-forum.com/t/asking-for-sudo-password-from-pkgconfig/239267 "2014-09-01T20:53:57Z")

</div>

When building ruby-gnome2, some of the packages ask/attempt to install an RPM if it finds something missing. It will prompt for password for sudo to do this. On the system I am using, I do not want it to do this, as …

---

## [Wxruby doc](https://www.ruby-forum.com/t/wxruby-doc/230362)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 16, 2014, 4:58pm UTC](https://www.ruby-forum.com/t/wxruby-doc/230362 "2014-06-16T16:58:10Z")

</div>

Hi, It’s several weeks I’m unable to reach the official wxruby site neither rubyforge related info… luckily the gems are still alive on rubygems site. Is there any place where I can find the api documentation (html/t…

---

## [Install gtk2 show error on window](https://www.ruby-forum.com/t/install-gtk2-show-error-on-window/240907)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 23, 2014, 12:53pm UTC](https://www.ruby-forum.com/t/install-gtk2-show-error-on-window/240907 "2014-05-23T12:53:29Z")

</div>

Hi, ruby revision --\> 2.0.0p451 x64 windows OS --\> win7 64 bit When I install gtk2 by using “gem install gtk2”, It will show below error message: –\> Temporarily enhancing PATH to include DevKit… Building native ex…

---

## [WxRuby, Ruby 2.0, and Windows 7](https://www.ruby-forum.com/t/wxruby-ruby-2-0-and-windows-7/240223)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 22\
**Last updated:** [May 17, 2014, 3:17pm UTC](https://www.ruby-forum.com/t/wxruby-ruby-2-0-and-windows-7/240223 "2014-05-17T15:17:14Z")

</div>

I’m working on a project for the National Renewable Energy Labs, developing a plugin for Trimble SketchUp. We are using WxRuby as the backbone for our GUI components. We love it’s flexibility and ease of use. Unfortun…

---

## [How to change Title font size in Listview](https://www.ruby-forum.com/t/how-to-change-title-font-size-in-listview/241054)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 12, 2014, 9:25pm UTC](https://www.ruby-forum.com/t/how-to-change-title-font-size-in-listview/241054 "2014-05-12T21:25:47Z")

</div>

Modifying listview example: using the statement: " ren\_attr(:song, :size=18)" changes the text font size of :song column, but does not change the textfont size of the column title. What is the example statement to c…

---

## [Non-modal ListView editors don't close - then crash when closed](https://www.ruby-forum.com/t/non-modal-listview-editors-dont-close-then-crash-when-closed/240780)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 3, 2014, 3:20am UTC](https://www.ruby-forum.com/t/non-modal-listview-editors-dont-close-then-crash-when-closed/240780 "2014-05-03T03:20:05Z")

</div>

I’m displaying my own classes in a ListView; the classes have a show() method and a Glade window definition, so I can edit the objects by double-clicking. I want these editor windows to be non-modal - I want to be abl…

---

## [Window stacking order not changeable?](https://www.ruby-forum.com/t/window-stacking-order-not-changeable/240783)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 3, 2014, 3:18am UTC](https://www.ruby-forum.com/t/window-stacking-order-not-changeable/240783 "2014-05-03T03:18:52Z")

</div>

I’ve got a bunch of non-modal windows that cause other windows to open - sometimes via show(self) and sometimes via double-clicking in a ListView. The windows are stacked strangely - some of them open behind others. M…

---

## [Error opening VR on MAC OSX 10.9.2](https://www.ruby-forum.com/t/error-opening-vr-on-mac-osx-10-9-2/240584)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 22, 2014, 4:10am UTC](https://www.ruby-forum.com/t/error-opening-vr-on-mac-osx-10-9-2/240584 "2014-04-22T04:10:55Z")

</div>

Hi I already installed VisualRuby follwing the instructions brew install gtk+ brew install gtksourceview gem install visualruby But when I select some example or try to open a new project, then the window close and…

---

## [Monkeypatch to CellRendererObject doesn't work](https://www.ruby-forum.com/t/monkeypatch-to-cellrendererobject-doesnt-work/240383)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 11\
**Last updated:** [April 18, 2014, 10:21pm UTC](https://www.ruby-forum.com/t/monkeypatch-to-cellrendererobject-doesnt-work/240383 "2014-04-18T22:21:01Z")

</div>

I want a CellRendererObject to be able to take pango text as an alternative to to\_s, if my cell class implements to\_pango(). I put this in my program (at the top of my “main window” file): class CellRendererObject \< G…

---

## [Why does Gtk::Dialog::run go into TreeViewColumn::initialize?](https://www.ruby-forum.com/t/why-does-gtk-run-go-into-treeviewcolumn-initialize/240311)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 10, 2014, 10:29pm UTC](https://www.ruby-forum.com/t/why-does-gtk-run-go-into-treeviewcolumn-initialize/240311 "2014-04-10T22:29:33Z")

</div>

I’m trying to pop up a modal dialog. In TestDialog.rb I put class TestDialog \< Gtk::Dialog include GladeGUI attr\_reader :info def initialize @info = 5 load\_glade(FILE) @builder\[“window1”\].title = “Edit Grammar Rul…

---

## [Fresh install doesn't install gdk](https://www.ruby-forum.com/t/fresh-install-doesnt-install-gdk/240362)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 10, 2014, 2:47pm UTC](https://www.ruby-forum.com/t/fresh-install-doesnt-install-gdk/240362 "2014-04-10T14:47:27Z")

</div>

Hi, with a fresh check out gdk doesn’t get installed. I installed it with ruby 2.0. Programs started fail with: /usr/lib/ruby/2.0.0/rubygems/core\_ext/kernel\_require.rb:55:in \`require’: cannot load such file – gdk3 (L…

[Previous page](https://www.ruby-forum.com/c/desktop/34.md?page=3)

[Next page](https://www.ruby-forum.com/c/desktop/34.md?page=5)
