Parental Controls & Metered Data Hackfest

Working with GNOME on shared features

This week I’ve been in London, UK to attend the Parental Controls & Metered Data hackfest and work alongside folks from GNOME, Endless, Red Hat, Canonical, and more on designing and implementing Parental Controls in GNOME and related parts of the stack.

River Thames, Southwark Bridge, and the Blackfriars One building visible from London Bridge

River Thames, Southwark Bridge, and the Blackfriars One building visible from London Bridge

elementary OS has shipped Parental Controls for several years; we believe sharing our design thinking, experiences, and code with the GNOME project can lead to a better implementation in the lower-level parts of our shared technologies while ensuring we can continue to support and innovate in this area in elementary OS. Adam Bieńkowski (donadigo), the primary developer behind elementary Parental Controls, also joined us via video chat to help share further details and insight.

We’re also interested in how better integrating with Metered Data networks—like those from mobile devices as well as some people’s home Internet in certain areas of the world—could be done in elementary OS.

We’ve been hard at work alongside several talented designers and developers, iterating on how these features could be brought to or improved in GNOME, Endless OS, and elementary OS.

Parental Controls + Digital Wellbeing

The hackfest focused on Parental Controls for the first two days. We started by looking at the Endless OS implementation and the elementary OS implementation, and then dove into discussing the elementary plans for some sort of “digital wellbeing” concept which overlaps with parental controls.

This duality led the discussion for much of these two days where we talked about the design and implementation from both perspectives: first, a parent, teacher, guardian, or other supervisor setting restrictions for a child, student, or other supervised person; and second, any user setting limits for themselves to help them focus, feel happier, or be more productive.

Some of my super early sketches of digital wellbeing features

Some of my super early sketches of digital wellbeing features

After working through a lot of the scope and problems we were trying to solve on the first day, Allan Day presented some initial mockups of how he would envision the feature(s) being presented in GNOME. We talked through the designs and found any potential implementation issues, and started to form a good idea of how it could be done. At the same time, I worked on some initial design updates and prototypes for our parental controls in elementary OS that could support more of the digital wellbeing perspective — I’m not quite ready to share these in detail as we’re still working out some issues, but stay tuned!

We also spent a lot of time going back and forth on the user-facing terminology for digital wellbeing features. Google calls the overarching concept as well as the features themselves “Digital Wellbeing,” while Apple calls the concept “Digital Wellness” but calls the feature “Screen Time.” A few common terms that came up in conversation I liked were “mindfulness” and “health.” At one point something like “wellness & productivity” was raised. On Twitter, we heard feedback about “balance” and “equilibrium” which are interesting. I think we’re still up in the air—both in GNOME and elementary—about the terminology.

Left: Richard Hughes and Philip Withnall working through app restrictions and a list of technical features. Right: Florian Müllner and Georges Stavracas discussing how and where to track app usage to enable time-based Parental Controls and digital wellbeing features.

The second day was largely technical, deciding how to enforce app usage restrictions at a sufficiently low enough level, how to tackle website allow/deny lists, etc. We got into the weeds a bit, but it sounds like we’ve come out the other side with a relatively clear path forward with work being proposed for logind, libaccountservice, and other low-level components. If you’re interested in slightly more detail, Iain Lane has a great blog post about these first two days, and Philip Withnall has a slightly more brief blog post as well for another perspective.

We’ll have more to talk about in this space for elementary OS soon, so stay tuned.

Metered Data

The last two days of the hackfest were dedicated to metered data, i.e. being smarter about when data connections are not unlimited—especially around the idea of automatic updates and background downloads. There was not a ton of work to do here; mostly seeing what Endless had so far, discussing prior art, and laying out a way forward.

Iain Lane, Florian Müllner, Rob McQueen, and Philip Withnall

Iain Lane, Florian Müllner, Rob McQueen, and Philip Withnall

We spent a lot of time diving into the different types of metered data and limits around the world such as hard data caps, per-data billing, time-of-day limits, time-per-day limits, data-per-day, etc. There are a lot of combinations here, making designing a general purpose data restriction feature difficult if it’s more than on/off. Philip Withnall’s blog post goes into some detail here, and he’s put together a survey to try and get some more real-world data to help inform our designs. Please fill it out!

Since the underlying Network Manager does already have a concept of a metered network (including auto-detecting Android Wi-Fi hotspots!), there are already several things we could do better around metered connections. We plan to do so in elementary OS, and we’re tracking Metered Data related issues on the organization-wide Metered Data project over on GitHub.

There is the larger ongoing discussion still happening around visualization, more robust system controls, background download scheduling—i.e. using Mogwai—and app-specific limits for metered data in GNOME. These are really interesting features and I look forward to seeing them progress in GNOME and become usable to us in elementary OS.

More

Whenever you get folks from various projects across GNOME and open source into a room, other conversations and ideas inevitably spawn.

_Georges Stavracas, Florian Müllner, Kalev Lember, and Richard Hughes_

Georges Stavracas, Florian Müllner, Kalev Lember, and Richard Hughes

There was a lot of talk and work around more sane and strict defaults for libappstream-glib regarding developer AppData validation to help ensure apps look great in app stores by default. We talked about flat-manager, a new backend service for managing Flatpak repositories. Some folks worked on how to better display multiple package sources in app stores like GNOME Software. We discussed how to properly support changing clock formats on login screen depending on user preferences. We discussed the differences between projects like Zeitgeist and Tracker. Georges worked on some really interesting Shell performance profiling. We also discussed OSTree and immutable systems, plus how Endless moved from a deb-based system to an OSTree based system — and how it positively disrupted their entire development and release process.

For all of our notes, reports, and other blog posts from the hackfest, see the GNOME Wiki page.

Social

As per usual, this hackfest was peppered with great food and socializing in between all of the design, discussion, and development.

Trying to fit the whole (cramped) Wahaca dinner table into one photo. **Clockwise from left:** Philip Withnall, Florian Müllner, Kalev Lember, Allan Day, Cassidy Blaede, Iain Lane, Nathan Willis, Georges Stavracas, Nick Richards.

Trying to fit the whole (cramped) Wahaca dinner table into one photo. Clockwise from left: Philip Withnall, Florian Müllner, Kalev Lember, Allan Day, Cassidy Blaede, Iain Lane, Nathan Willis, Georges Stavracas, Nick Richards.

We walked several miles around central London, the River Thames, London Bridge, Borough Market, and more. We enjoyed Mexican-inspired food at Wahaca, Indian food at Anokha, and modern European food at The Folly. Several of us had traditional British pies and enjoyed a few beers at pubs. We had a great time bonding and chatting about everything from history to parenting.

Thanks!

The Red Hat room we used for the majority of the hackfest

The Red Hat room we used for the majority of the hackfest

Thanks to GNOME for hosting the GNOME Beers meetup at The Ship and Anokha, and Endless for sponsoring the hackfest dinner at The Folly. Thanks to all of the contributors for the great conversations and collaboration, Philip Withnall and Rob McQueen for organizing the hackfest, Allan Day for being a great UX mentor, and Redhat for hosting at their London offices. I had a great time, made great connections, and was happy to work alongside other GNOME folks to make the open desktop better.

I’d also like to thank everyone who’s supported GNOME, those who have bought an app on AppCenter, our supporters on Bountysource and Patreon, and those who’ve purchased a copy of elementary OS or merch from our store. You all make organizing and attending these sorts of hackfests possible!

All photos in this post were taken by me (Cassidy James Blaede). To the extent possible under law, I have waived all copyright and related or neighboring rights to these photos — i.e. they’re released to the public domain.


As always, thank you everyone who’s bought an app on AppCenter, our supporters on Bountysource and Patreon, and those who’ve purchased a copy of elementary OS or merch from our store. Every contribution helps make all of this possible, and we wouldn’t be here without you. If you’d like to help improve elementary OS, don’t hesitate to Get Involved!

CC BY-SA

Licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Join the Discussion on Social Media

Up Next

elementary AppCenter + Flatpak

Preparing for the future

A New Native File Chooser

And how you can get your apps ready for it