RedBearAK / toshy

Keymapper config to make Linux work like a 'Tosh!
https://toshy.app
GNU General Public License v3.0
226 stars 15 forks source link

Deprecate DISTRO_NAME, rework diagnostic dialog #215

Closed RedBearAK closed 3 months ago

RedBearAK commented 3 months ago

Changes

The 'kdialog' utility does not support setting a custom icon, causes an alert sound to be played (which cannot be disabled), and has strange behavior regarding an inability to expand to fit more than small amounts of text. Zenity is the much better option even in a Qt-based desktop environment.

The environment module long ago changed from attempting to use the distro name field from sources like /etc/os-release to using the more standardized distro ID field. Given that there may be some future use for actually showing the full distro name somewhere, the DISTRO_NAME environment info key needed to be deprecated and replaced with DISTRO_ID.

This latter change may eventually disrupt some users who might have used DISTRO_NAME in a conditional, or used the also deprecated OVERRIDE_DISTRO_NAME variable in the config file. But the probability that this will ever affect anyone is very low.