Skip to content

Commit

Permalink
Add a note for supported combinations of display sockets
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhtt committed Mar 26, 2024
1 parent 1362c45 commit 61b6bf6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/sandbox-permissions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,20 @@ commonly require, and can therefore be freely used:
- ``--share=network`` - access the network
- ``--socket=x11`` - show windows using X11
- ``--socket=fallback-x11`` - show windows using X11, if Wayland is not
available, overrides ``x11`` socket permission. Note that you must
available, overrides ``x11`` socket permission. Note that you must
still use ``--socket=wayland`` for wayland permission
- ``--share=ipc`` - share IPC namespace with the host (necessary for X11)
- ``--socket=wayland`` - show windows with Wayland
- ``--device=dri`` - OpenGL rendering
- ``--socket=pulseaudio`` - play sound with PulseAudio

.. note::

Applications that do not support native Wayland should use
``--socket=x11`` and applications that do should use ``--socket=fallback-x11``
and ``--socket=wayland``. The two configurations here will make it work
on both X11 and Wayland sessions of the desktop environment.

D-Bus access
````````````

Expand Down

0 comments on commit 61b6bf6

Please sign in to comment.