Profile cover photo
Profile photo
Stuart Langridge
4,918 followers
4,918 followers
About
Posts

Bit puzzled by Gio. Specifically, launching a DesktopAppInfo doesn't always work. Bit of Python:

import gi;gi.require_version('Gtk', '3.0');from gi.repository import Gio,Gtk

polari=Gio.DesktopAppInfo.new('org.gnome.Polari.desktop'); print(polari.get_filename()) # -> /usr/share/applications/org.gnome.Polari.desktop
gimp=Gio.DesktopAppInfo.new('gimp.desktop');
print(gimp.get_filename()) # -> /usr/share/applications/gimp.desktop

gimp.launch() # this works fine, and launches gimp
polari.launch() # this does not work; launches nothing

What's the difference here? Is there some cleverer way to launch things?


Add a comment...

Post has attachment
A little bit of a call for help, or maybe just a suggestion, for a quick thing that an open source graphic artist could do easily that would make graphviz nice for everyone
https://www.kryogenix.org/days/2018/03/25/squares-and-prettier-graphs/
Add a comment...

Post has shared content
I'm not sure how this fits directly with the overall user data collection effort, but geoip.ubuntu.com is still handling user geoip data over bare http, and I think it would be appropriate to look at this at this time, too. Here's the bug: https://bugs.launchpad.net/ubuntu/+source/ubuntu-geoip/+bug/1617535

(noting it here because I can't comment on the blog post itself).
Add a comment...

Post has attachment
https://www.kryogenix.org/days/2018/02/20/collecting-user-data-while-protecting-user-privacy/

How well-controlled lying lets companies collect data about us and use it for good reasons, without compromising our privacy.
Add a comment...

Post has shared content
For the weekend warriors wanting to learn a skill - in particular: the command line, my https://terminal.training is *just $19* (down from $99) this weekend only. Pass it on!
Add a comment...

Post has attachment
Privacy could be the next big thing. My talk from Hackference about privacy, and how people are uneasy about what's being done with their data. And how to explain that it doesn't have to be this way.
Also includes chocolate for the audience.

https://kryogenix.org/code/privacy-could-be-the-next-big-thing-hackference/
Add a comment...

Post has shared content
Add a comment...

Post has attachment
Today's experiment: playing with web components to make a small version of the Twitter text counter without needing a library.
https://www.kryogenix.org/days/2017/11/12/i-wrote-a-web-component/
Add a comment...

Add a comment...

Keynoting Hackference tomorrow. Fun times!
Add a comment...
Wait while more posts are being loaded