Gautier Pelloux-Prayer | 16 May 15:33 2015
Picon

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


Hi,


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,
                                        "org.freedesktop.login1",
                                        "/org/freedesktop/login1",
                                        "org.freedesktop.login1.Manager",
                                        "CanHibernate",
                                        NULL,
                                        NULL,
                                        G_DBUS_CALL_FLAGS_NONE,
                                        -1,
                                        NULL,
                                        NULL);


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
"na"
patrick korsnick | 3 Mar 04:45 2015
Picon

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
https://mail.gnome.org/mailman/listinfo/gnome-devel-list
Ikey Doherty | 11 Jul 13:12 2014
Picon

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

https://developer.gnome.org/pango/stable/pango-Cairo-Rendering.html

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

http://http://jcoppens.com/soft/howto/pygtk/pangocairo.en.php

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

John
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
gnome-terminal.

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
*terminal,
                                  _pango_color_from_rgba(&fg,
foreground),
                                  _pango_color_from_rgba(&bg,
background),
                                  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
https://mail.gnome.org/mailman/listinfo/gnome-devel-list
Arthur Lambert | 4 Mar 15:44 2014
Picon

[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
iteration.

Code is :
#define SIZE_INNER_ARRAY 5
...

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.

    Thanks

    Bruce

(Continue reading)

Stefan Sauer | 19 Feb 10:13 2014
Picon

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


hi,

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
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=a4fd0f9351ee319f850aca2acb42f8856a2c1a12

Sorry for any inconvenience,

Stefan
Cruceru Calin | 17 Feb 10:17 2014
Picon

Starting contributing - some questions


Hello everyone,


I'm a first year computer-science romanian student and I would like to start contributing to Gnome.

Firstly, I have to say that I haven't decided yet upon a project on which to contribute, that is why I'm writing to this mailing-list since I expect to get more general advice here.

As far as my knowledgement is concerned, I am well-versed in C and C++, bash scripting and I'm a beginner in javascript. I'm also very passionate about Linux and Gnome in particular. Taking in consideration this, I want you to suggest me a couple of projects which have as requirements these programming languages and where I can find easy bugs to fix for the beginning.

I already read the wiki pages and installed the needed development tools. In fact, right now the jhbuild script is running and it seems promising.

I have one more explicit question to end with: is there a method to import all project's sources in an IDE ( anjuta I guess is most used ) ? I mean in one step or somehow and have it organized in the project within the IDE as they are in the project's directory.

Thank you and I'm looking forward for your support !

Cruceru Calin-Cristian
_______________________________________________
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-devel-list
Tae Wong | 4 Dec 11:41 2013
Picon

GNOME site loading slow


Note that this is the mailing list for GNOME development; it's not
better to report problems with GNOME infrastructure.

When trying to load GNOME.org you'll get an error message saying that
the site can't be displayed.

Gmane