Categories: BlogCanonicalUbuntu

Mir 2.7 brings idle timeout and OSK support for Qt applications

We are glad to announce the release of Mir 2.7 — our open source and secure display server for building Wayland-based shells. Mir provides a set of libraries and a Wayland compositor with integrated window management. This new release brings to you an idle timeout and on-screen keyboard (OSK) support for Qt applications. This blog explores the new features of Mir, together with some exciting news for our community. 

Sponsored
class="wp-block-image">

New features on Mir 

With this new release, we are introducing some key features for Mir, while supporting developer migration to Mir. Here are the more significant enhancements: 

  • Idle timeout: switch off your display after a period of inactivity
  • Onscreen keyboard for Qt applications
  • MirOil: a supported API to assist the migration of Lomiri

To simplify migration from Lomiri to the current version of Mir for developers, this release introduces MirOil. This is a supported API to assist with the migration. Read more about this library on the UBports forum.

We introduced support for onscreen keyboards with Mir 2.6 and that works with a range of applications but Qt only supports the older zwp_text_input_manager_v2 protocol. So, we’ve added exclusive support for Qt applications to Mir this release. 

Plus, we have ensured that Mir 2.7 builds with the latest versions of Ubuntu (Jammy), Fedora (rawhide), Debian (sid), and Alpine (edge). 

Learn more about Mir 2.7 release here, or explore its whitepaper and learn more about this open source display server.

Idle timeout: Switch off-screen after a period of inactivity

Deploying an IoT device brings several considerations. Take, for instance, power saving. If you are deploying a kiosk as a point of sale in a restaurant, you will have to consider the energy it will consume. As the number of restaurants/deployments grow, so does the energy consumption. This will impact your user energy bills, making power saving another factor where you or your competitors could generate added value. Let’s not forget about environmental effects, as digital screens also have a carbon footprint.   

There are several practices to address this issue. One of them is automatically dimming the screen after a period of inactivity. This will allow your device to save energy while its screen is not in use. This is one of the main features that Mir 2.7 brings to developers for an easy, out-of-the-box experience. 

Sponsored

The screen switch-off works by setting an idle-timeout configuration option. After the timeout, the screen will dim and switch off. Easy to use, easy to configure! Details of how to set configuration options can be found in the Ubuntu Frame reference.

Build an IoT GUI with Ubuntu Frame

Ubuntu Frame is our open source, reliable, and secure fullscreen shell to power embedded displays. Ubuntu Frame makes it easy for you to install your GUI in your edge device like an embedded Linux expert! 

Do you want to learn how? The Mir team developed a fully comprehensive GUI developer guide that takes you through the process of testing and deploying your graphic application. 

  • So, if you want to learn about Ubuntu Frame’s desktop emulator, our packing solutions, and how to deploy your GUI in an OS for edge devices, this developer guide is for you!

On-Screen keyboard for embedded GUI

Isn’t it nice when things just work? When you don’t have to spend time integrating and maintaining third-party code, a tool gives you much more than you were expecting? These are some of the reasons why we introduced an on-screen keyboard for Ubuntu Frame. And with this new release of Mir, comes some enhancements as well for this key tool for developers.

Do more with Ubuntu Frame. Discover the new features of its on-screen keyboard.  

Tell us about your Mir

Are you using Mir to power your next smart display? Do you want to feature in our next blog? We’d love to hear about it and feature it in our monthly blog series. Send a summary to Mir.community@canonical.com, and we’ll be in touch.

Ubuntu Server Admin

Recent Posts

How to Install Google Cloud BigQuery Python client library on Linux

In this article, we will see how to Install Google Cloud BigQuery Python client library…

2 days ago

Wallpaper Contest for Xfce 4.20 open for voting

Nov 15,2024 Wallpaper Contest for Xfce 4.20 open for voting The submission phase for the…

2 days ago

Canonical announces the first MicroCloud LTS release

MicroCloud 2.1.0 LTS is now available, expanding the number of Canonical infrastructure solutions with a…

3 days ago

Join Canonical in Paris at Dell Technologies Forum

Canonical is thrilled to be joining forces with Dell Technologies at the upcoming Dell Technologies…

4 days ago

Bringing automation to open source 5G software at Ubuntu Summit 2024

In today’s massive private mobile network (PMN) market, one of the most common approaches to…

5 days ago

Ubuntu Weekly Newsletter Issue 865

Welcome to the Ubuntu Weekly Newsletter, Issue 865 for the week of November 3 –…

6 days ago