martedì 5 dicembre 2017

SDDM v0.17.0

We are happy to release a new SDDM with a few improvements.

SDDM is a Qt based graphical login manager developed in a collaborative fashion by people from Liri, KDE and LXQt.

This new version include the following changes:

* Added possibility to change border width of ComboBox widget.
* Added missing utmp/wtmp/btmp handling.
* Make greeter see icons set by AccountsServices.
* Fix sddm.conf man page syntax error and update.
* Fix ComboBox widget.
* Fix connection of PropertiesChanged event for LogindSeat.
* Avoid race conditions with Xsetup.
* Update de translation.
* Update lt translation.
* Update zh_TW translation.
* Adjust order of components in the default PATH.
* Set default input method to qtvirtualkeyboard.

Download it here.

domenica 8 ottobre 2017

SDDM v0.16.0

SDDM is a Qt based Display Manager used by multiple desktops, such as Liri, KDE and LXQt. After a little more than one month since v0.15.0, I released SDDM v0.16.0 today. It contains a few bug fixes, translation updates and improvements to the configuration system. Read the release notes and download here.

sabato 9 aprile 2016

Qt Virtual Keyboard support on Hawaii

Ever since Qt Virtual Keyboard was introduced a couple of years ago I desired to integrate it with Hawaii, especially considering the effort to make the whole workspace adapt to different devices started a while ago.

However Qt Virtual Keyboard was a value-add component for Qt Enterprise customers, until things changed recently.

As part of the recent licensing change announcement, Qt Virtual Keyboard is now available also with GPLv3 license for Open Source users in addition to commercial Qt licensees.

This move allowed me to finally integrate Qt Virtual Keyboard with Hawaii, which soon will also be available on SDDM.

Qt Virtual Keyboard will be included with Qt 5.7 but it's possible to build the sources from the git repository now, against Qt 5.6.

The virtual keyboard is an input method so activating it is as easy as setting an environment variable, as outlined in the deployment guide:

export QT_IM_MODULE=qtvirtualkeyboard

To make it easier and less error prone a setting for Hawaii has been added that you can enable from the keyboard settings.

On desktop systems the keyboard is resized so that it won't cover search and password text fields.

Obligatory screenshots below:

sabato 5 settembre 2015

SDDM 0.12.0 released

We are proud to announce the immediate availability of SDDM 0.12.0.

This release features working Wayland sessions for the first time, but the greeter is still running on Xorg.

This means that you will be able to login into a Wayland desktop environment without problems however the greeter screen still depends on X11.

Work on the Wayland support for the greeter has already been started and will likely be available with the next release.

Highlights of this release:
  • BACKWARDS-INCOMPATIBLE: SDDM now depends on Qt >= 5.3
  • BACKWARDS-INCOMPATIBLE: Display setup script is now killed if it hasn't finished within 30 seconds
  • LICENSING: The Maldives non-free background has been replaced by a CC-BY-SA alternative
  • WAYLAND: Wayland sessions support
  • CONFIG: New sddm.conf option `XephyrPath` (defaults to `/usr/bin/Xephyr`)
  • CONFIG: new sddm.conf option `ServerArguments` (defaults to `-nolisten tcp`)
  • CONFIG: new sddm.config option `DisplayStopCommand` (executes Xstop)
  • THEMES: Assorted improvements to the default theme
  • BUGFIX: Honor TryExec in Xsession desktop files
  • BUGFIX: Fix session startup on zsh
  • BUILD: Allow setting a custom `DBUS_CONFIG_FILENAME` at compile time
  • BUILD: Allow `SYSTEMD_SYSTEM_UNIT_DIR` to be overridden at compile time
  • BUILD: Allow `QT_IMPORTS_DIR` to be overridden at compile time
  • BUILD: No longer hardcode min/max UIDs, allow setting `UID_MIN` and `UID_MAX` at compile time
  • BUILD: Assorted FreeBSD fixes
  • BUILD: Fix build warnings with Qt 5.5
  • I18N: Added Arabic, contributed by Safa Alfulaij
  • I18N: Added Hungarian, contributed by @mortein79
  • I18N: Various i18n updates and improvements
  • I18N: Full right-to-left languages support
More information can be found here.
Sources and SHA1 hashes follow:

sabato 18 luglio 2015

How to make your Qt application icon appear on Wayland task managers

Several months ago I was redesigning the Hawaii launcher.

Now Green Island offers a class called ApplicationManager that emits signals when an application is registered or unregister (that is when a window of a certain class first appears or when the last one is closed).  This class is also exposed by a Wayland protocol for shells that are running in another process.

Soon I noticed that for some applications the launcher panel didn't show an icon and I realized there was something wrong with the app_id (also known as the class in wl_shell_surface).

The class name identifies the general class of applications and can be used by a task manager to know which desktop entry contains application information.

Unfortunately this is not as easy as it sounds because there is no way to tell that automatically.
So back in the day I had to set the class name to the executable name as you can see here.
This approach worked almost always because desktop entries were usually named after the executable.

However things changed recently, as a matter of fact desktop file names now follow the reverse DNS convention while executables keep being called like before.

This is now achieved by QtWayland with this commit reversing the QCoreApplication::organizationDomain property and appending the executable name. If the property is not set, QtWayland falls back to the old behavior.

The patch is available on Qt 5.4.2 and 5.5.0.

TL;DR: Rename your desktop files using the reverse DNS convention and set the organizationDomain properly.