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>
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

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 "" in the above hierarchy, to GDBusObjectManagerServer the object itself.  Any ideas?


gnome-devel-list mailing list
gnome-devel-list <at>
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 ....

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>
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 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>
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)

Bruce Perens | 25 Feb 06:35 2014

tablet touchscreen configuration

Hi folks,

Is there a mailing list for tablet issues or tablet developers? I didn't see one. Indeed the mailing lists that aren't for developers seem to be for specific applications rather than the system itself. So, please forgive me if this is misplaced.

I've set up Gnome 3 from Debian unstable on a Panasonic Toughpad FZ-G1. This has two sensor surfaces on the screen: a stylus that is or emulates a Wacom, and an eGalaxy Touch which is a multitouch finger touchscreen. Both are using evdev, the eGalaxy also has mtdev. Kernel is 3.14 .

If anyone has tested this device with Gnome or indeed Linux, there isn't any web evidence. It works, with a few little issues that I am now running down.

The Wacom works correctly. The eGalaxy Touch mostly works, but something is different about the button events. On the screen keyboard, the buttons highlight when I touch them but they don't act as if they've been pressed. This also happens on all of the shell panel buttons. But finger-touch on a dock icon correctly launches the program.

In xev, button press and release events look identical between the two devices.

Nice to see that Gnome 3 is mostly usable on tablets. I can probably test multitouch when I get through this issue.



(Continue reading)

Stefan Sauer | 19 Feb 10:13 2014

small incompatible change in gtk-doc 1.20 wrt |[]| markdown


we discovered that change c4d09c7c95c45a1226e83f5ddd7d0f4ce2b1a1a9 which
has been release as part of gtk-doc 1.20 causes a regression for a use
that worked so far. The |[ ... ]| syntax is a shortcut for
<informalexample><programlisting> ...
</programlisting></informalexample>. Now this is automatically wrapped
as CDATA which is convenient as one does not need to use entities for
e.g. &. Unfortunately that breaks cases where one uses xi:inlcude to
embed the actual example. We fixed all the cases that we found in
modules part of the jhbuild gnome module set. The fix is easy, just
replace the |[ ]| with the docbook tags for now. For a example see

Sorry for any inconvenience,