Re: Non-GUI option

Quote from: Satoshi Nakamoto on February 23, 2010, 1:41:01 AM UTC Quote from: Satoshi Nakamoto on February 22, 2010, 8:17:42 PM UTC Quote from: mmalmi@cc.hut.fi on February 17, 2010, 5:32:04 PM UTC

Just a few clues I’ve found about running the same binary without a GUI:

  1. GTK supports running a program without display:
    http://library.gnome.org/devel/gtk/2.12/gtk-General.html#gtk-init-check.
    This doesn’t tell if it’s possible in wxWidgets though.

I see it calls gtk-init-check in wxApp::Initialize.

I can subclass Initialize, call the original one while suppressing
the error message and ignore the return value. It seems to be
working.

This is working. A few more things and I’ll upload it.

We’ll need to tell people to install the GTK libraries. Do you remember the apt-get command to install GTK, and can you install it without having a GUI installed?

It was probably apt-get install libgtk2.0-0. You can search for
available packages like this: “apt-cache search libgtk”.

I’ll give Drupal accounts to the bitcoin.org translators, so they can
keep the translations up to date.

Original Source

https://mmalmi.github.io/satoshi/
Published on GitHub in February 2024 as part of Martti Malmi's testimony in the COPA v. Wright trial

Also available at