Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128856

Qt Wayland Compositor - Running the Wayland compositor - doc needs to update

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8, 6.9
    • None
    • Linux/Wayland

    Description

      https://doc.qt.io/qt-6/qtwaylandcompositor-index.html#running-the-wayland-compositor

      About running fancy-compositor on Linux desktop,

      Traditional way, on X11 session, fancy-compositor is an x11 client app, just like doc said.

      But now, more and more usage with Wayland session, if like doc said, changing XDG_RUNTIME_DIR=~/my_temporary_runtime means, fancy-compositor is still an x11 client app.

      But we can also just not change XDG_RUNTIME_DIR, and run fancy-compositor as a wayland client app, only setting a different --wayland-socket-name, but sharing XDG_RUNTIME_DIR with system wayland compositor.

      ./fancy-compositor --wayland-socket-name wayland-1
      

      Or perhaps we need to allow fancy-compositor to have XDG_RUNTIME_DIR which talks to system wayland compositor, and set another XDG_RUNTIME_DIR which talks to its wayland clients.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes