[Rd] Wayland Display Support in R Plot

Willem Ligtenberg w|||em @end|ng |rom w||gtenberg@n|
Mon Oct 30 13:17:33 CET 2023


On 29-10-2023 22:29, Dirk Eddelbuettel wrote:
> On 30 October 2023 at 09:20, Simon Urbanek wrote:
> | > On 30/10/2023, at 8:38 AM, Dirk Eddelbuettel<edd using debian.org>  wrote:
> | > On 30 October 2023 at 07:54, Paul Murrell wrote:
> | > | I am unaware of any Wayland display support.
> | > |
> | > | One useful way forward would be an R package that provides such a device
> | > | (along the lines of 'Cairo', 'tikzDevice', et al)
> | >
> | > As I understand it, it is a protocol, and not a device.
> | >
> |
> | Well, X11 is a protocol, not a device, either.
>
> Point taken.
>
> | > I think I needed to fall back to X11 for a particular applications (likely
> | > OBS) so my session tells me (under Settings -> About -> Windowing System) I
> | > am still running X11. I'll check again once I upgrade from Ubuntu 23.04 to
> | > Ubuntu 23.10
>
> Booted an older laptop using 22.04, selected 'not X11' in the gdm dialog but
> the same Gnome Menu still says Windowing System: X11.  So I am no longer sure
> how I would convince myself if I am under Wayland there or not.  The answers
> inhttps://unix.stackexchange.com/questions/202891/how-to-know-whether-wayland-or-x11-is-being-used
> suggest I still run X11 too.  So I got nuttin' here.
>
> In any event, I read OP as asking 'do we need a new device' and I still think
> that the answer to that still is 'likely not' as the X11 compatibility layer
> should cover this.
>
> Dirk
>
I just tried it on Ubuntu 23.10. It seems to just work.
See screenshot here: https://nextcloud.wligtenberg.nl/s/jnbDT4ZiHw2JQ8H
I should be using wayland, and as far as I know I haven't done anything 
special to make this work. But there might be some compatibility layer 
that is active by default.
If it helps, I could try again using distrobox.

Kind regards,

Willem

	[[alternative HTML version deleted]]



More information about the R-devel mailing list