James Stortz | 31 Jul 22:39 2015

enchant and gtk

​Hey all!

Does anybody have a copy of webkitgtk compiled without enchant, (via the cmake flag, DENABLE_SPELLCHECK=OFF)?

or would anybody be willing to compile one for me? I'm on a laptop with a single-core and 1.9Gb RAM, so I did start the compile process, but it's just a little long!

Is there anything else in the GNOME 3 environment that won't launch without libenchant, besides the gnome browser?

I noticed the "welcome" app that lets you choose your launguage/keyboard/wifi settings won't launch, nor the system settings. I didn't know if that was due to webkitgtk as well.

Thanks & Regards,
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
Koroliuk, Taras | 2 Jul 18:38 2015

[glib] Simple program to catch keyboard, mouse events.

Hi all.

I'm trying to write simple program to read events from usb keyboard and
usb mouse in such manner:

// I counted number of bytes per event by with command
// sudo cat /dev/input/mouse0 | od -c
gboolean cb_mouse(GIOChannel *source, GIOCondition condition, gpointer
    gchar ev[MOUSE_EVENT_SIZE];
    gsize bytes_read;

    g_io_channel_read_chars(source, ev, MOUSE_EVENT_SIZE, &bytes_read,
    cout << "event1\n";

// Counted in the same manner as for mouse0
gboolean cb2(GIOChannel *source, GIOCondition condition, gpointer data)
    gchar ev[KEYBOARD_PRESS_SIZE];
    gsize bytes_read;

    g_io_channel_read_chars(source, (gchar *)&ev, KEYBOARD_PRESS_SIZE,
&bytes_read, nullptr);
    cout << "event2\n";
(Continue reading)

Jean-Pierre.Bogler | 16 Jun 12:14 2015

SIGTRAP when sending signal on closing dbus connection

Hi *,

in a multi threaded application we are receiving a SIGTRAP, while using gdbus.
In short terms, the application is doing the following:

Thread 1: g_object_unref(connection);
Thread 2: g_dbus_connection_emit_signal(connection);

The SIGTRAP is raised when a "pthread_mutex_trylock" fails, in the callstack of
"g_dbus_connection_emit_signal", because the mutex already is invalid. I assumed
that gdbus is thread safe at this point. Is this assumption wrong or is there really
a bug?

In case more details are requried, please let me know. I can easily reproduce the
issue at my place and already implemented a small test executable.

Best regards
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
Othman, Ossama | 8 Jun 19:22 2015

Best way to have a GDBus based object support ObjectManager interface and others?


I'm currently using a D-Bus API that requires objects to support a specific interface as well as the org.freedesktop.DBus.ObjectManager interface rooted at the same object path, e.g.:

-> /com/example
  -> /com/example/object
       - org.freedesktop.DBus.ObjectManager
       - org.freedesktop.DBus.Properties
       - org.foo.Bar1

In an attempt to avoid reinventing the wheel, I'm using GDBusObjectManagerServer to implement the necessary org.freedesktop.DBus.ObjectManager interface.  However, I have not yet been able to figure out how to add another interface, such as the "org.foo.Bar1" in the above hierarchy, to GDBusObjectManagerServer the object itself.  Any ideas?


gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
Gautier Pelloux-Prayer | 16 May 15:33 2015

gnome-control-center: hibernation vs suspend when energy is low


In gnome-control-center application, one can configure its laptop to go in suspend mode when Energy goes very low. However this is only possible when laptop supports Hibernation, as cc-power-panel.c:1945 queries DBus:

  result = g_dbus_connection_call_sync (connection,

Instead of asking for "CanHibernate", should not it be asking for "CanSuspend" feature (or both?). In my personal case, I do not have any SWAP so hibernation is not available, but suspend is:

$ qdbus --system --literal org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanHibernate
patrick korsnick | 3 Mar 04:45 2015

Network GUI openconnect settings feature request

Hi All,

Not sure where to file this feature request (Gnome or NetworkManager) but in Gnome 3.14 (Fedora 21) there is no place in the Network settings->Add Network Connection->CiscoAnyConnect Compatible (openconnect) page to specify the --os switch to openconnect. This forces me to connect to my VPN via the command line where I can do this:

sudo openconnect --token-mode=rsa --os=android --csd-wrapper=android-csd.sh ....

I need to be able to specify the OS as being Android for it to work with my corporate VPN and it would be nice if I could use the GUI instead of having to do it on the command line.

thanks for any info!
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
Ikey Doherty | 11 Jul 13:12 2014

Seeking to improve Budgie compatibility with the GNOME stack

Hello all,

I have a quick few questions that I hope others may be able to help with here.

As some of you know, I develop the Budgie desktop [1]. In short, this is a tiny session binary, a GTK panel and "budgie-wm"
which is built on libmutter, with a modified version of the default plugin, default.c
One of the aims of the project is to keep tight integration with the GNOME desktop, and avoid forking. So, it kinda proves
what can actually be achieved with the GNOME stack without taking a butchers knife to it :)

I want to improve compatibility and I've encountered a couple of issues, notably when testing the GNOME 3.12 upgrade,
as we're looking to sync in Evolve OS [2].

It appears something has changed in gnome-control-center with 3.12 - unfortunately I only had a few minutes to do a dummy-run
on an Ubuntu installation, and well, we all know what Ubuntu+GNOME can be like... So I need some verification on this.

When running gnome-control-center within Budgie, there are no options in gnome-control-center. With Ubuntu it only shows the
stuff they jimmied into the package, but the GNOME stuff is definitely not there. Now, the session does lie and set the
DESKTOP_SESSION variable as gnome.

Is this something that happened within GNOME or is this the usual Ubuntu + GNOME + craq experience?
If it is, is there something I can do about this within Budgie to improve compatibility?

Secondly, gnome-music fails to start (Ubuntu tester informed me) - as its looking for the notifications interface, it doesn't
gracefully handle the absence. That's totally fine, really. What I need to know, given gnome-music attempts to tie in with
the screen guard, does GNOME use the freedesktop standards or are there some exceptions I need to be wary of?

Many thanks,
Ikey Doherty

P.S. I should point out that Budgie does not officially support Ubuntu due to the plethora of issues I've had in attempting
(Continue reading)

John Coppens | 1 Jul 18:33 2014

pangocairo tutorial translated into Python

Hi all,

I translated the tutorial from page


into Python2. If anyone is interested, I've uploaded the translation
to my page:


As there are very few Python pangocairo examples available, there
might be interest in adding this to the gnome pages too.

Hristo Venev | 7 May 15:55 2014

[PATCH] vte: set_colors_rgba does not set alpha

bug 728675

This is half the work required for transparency support in

diff --git a/src/vte.c b/src/vte.c
index 8617b73..2e57a94 100644
--- a/src/vte.c
+++ b/src/vte.c
 <at>  <at>  -2928,6 +2928,7  <at>  <at>  vte_terminal_set_colors_rgba(VteTerminal
                                  pal, palette_size);
+    _vte_terminal_set_background_alpha(terminal, background->alpha);

     g_free (pal);

Tristian Celestin | 7 May 02:13 2014

Developing using libraries installed via jhbuild

I used jhbuild to download and install the most recent version of the GTK and GtkSourceView libraries (both 3.12). These most recent versions are installed in ~/jhbuild/install.

I also have GTK 3.10, GtkSourceView 3.10, and Clang installed in the usual system directories (/usr/include, /usr/lib64).

I would like to develop an application using GTK 3.12, GtkSourceView 3.12, and Clang. How do I configure configure.ac to search for the GTK and GtkSourceView in ~/jhbuild/install instead of /usr/include while ensuring that libclang is still found in /usr/lib64. Currently, I'm using pkg_config to detect the GTK libraries. 
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
Arthur Lambert | 4 Mar 15:44 2014

[GLIB] memory leak in glib 2.32.4 ?

Hi All,

I am using glib with GValue, GPtrArray to communicate with dbus. I
have a big memory leak in my code. I am running an embedded target
with glib 2.32.4. I am currently trying to  code some little binary to
detect the leak. I am not the author of the code so it is quite hard
for me to debug it.

So I have currently for example a little main which does not leak at
all on a desktop linux version (Fedora 17) which use the same glib
version( perhaps not exactly the same verson but major, minor and
macro number version seems to be the same. But when I run this piece
of code on my embedded linux, I have a leak of 4 Bytes per loop

Code is :

static void data_constructor_array_struct_string_array_struct_string_variant(GPtrArray
*data, const gchar *client_objname)
  guint member_count;
  GValueArray *outer_struct = g_value_array_new(1);
  GPtrArray *inner_array = g_ptr_array_new ();

  printf ("client objname : %s\n", client_objname);

  g_value_array_append(outer_struct, NULL);
(Continue reading)