canonical / lightdm

Display Manager
GNU General Public License v3.0
827 stars 138 forks source link

Implement logic to get FreeBSD ttyv device names. #343

Closed madpilot78 closed 6 months ago

madpilot78 commented 7 months ago

In FreeBSD the virtual terminals used for Xorg are named ttyv.

Their device numbers are also base32 encoded.

Code mostly taken from https://github.com/swaywm/wlroots/commit/fc6c0ca12e941d5d7d567834bff3ab7df9447001

madpilot78 commented 7 months ago

As an extra note, this patch is an improvement on a patch already present (and needed) the FreeBSD Ports Tree.

I'm planning to add this to the FreeBSD ports tree shortly.