Specifying sensible device types to use an application on in the desktop file

Marco Martin notmart at gmail.com
Mon Oct 12 08:29:53 UTC 2020

On Mon, Oct 12, 2020 at 9:30 AM Pekka Paalanen <ppaalanen at gmail.com> wrote:
> Hi,
> the thread referred to here might be interesting as well:
> https://lists.freedesktop.org/archives/wayland-devel/2020-October/041637.html
> "Re-thinking DPI and scaling (Re: Physical vs logical DPI on X)"
> TL;DR: pixel resolution ignores the physical screen size but limits how
> small details can be rendered, DPI ignores the viewing distance meaning
> that you don't actually know if something n millimeters high is legible
> or not even at infinite pixel resolution.

One thing I like about the "naive" approach of just specifying "phone"
"desktop" "tv" and so on is that the term comes in with the assumption
of a default configuration of screen size, input and viewing distance,
so a tv would be big screen, big fonts and far away viewing distance,
remote control. A desktop: medium size, high dpi, small fonts,
keyboard and a pointing device and so on.
"Modifiers" would be necessary.. I would expect a 20" tv to show
things a bit different than a 50" one, or indeed, a desktop with
bigger than normal scaling for accessibility reasons.

Marco Martin

More information about the xdg mailing list