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

Building RAG with enterprise open source AI infrastructure

One of the most critical gaps in traditional Large Language Models (LLMs) is that they…

5 hours ago

Life at Canonical: Victoria Antipova’s perspective as a new joiner in Product Marketing

Canonical is continuously hiring new talent. Being a remote- first company, Canonical’s new joiners receive…

1 day ago

What is patching automation?

What is patching automation? With increasing numbers of vulnerabilities, there is a growing risk of…

2 days ago

A beginner’s tutorial for your first Machine Learning project using Charmed Kubeflow

Wouldn’t it be wonderful to wake up one day with a desire to explore AI…

3 days ago

Ubuntu brings comprehensive support to Azure Cobalt 100 VMs

Ubuntu and Ubuntu Pro supports Microsoft’s Azure Cobalt 100 Virtual Machines (VMs), powered by their…

3 days ago

Ubuntu Weekly Newsletter Issue 870

Welcome to the Ubuntu Weekly Newsletter, Issue 870 for the week of December 8 –…

4 days ago