Skip to content

Instantly share code, notes, and snippets.

@ppcamp
Last active June 26, 2025 21:21
Show Gist options
  • Select an option

  • Save ppcamp/6ed780acc1f40ce38c0b4a7248ceb80e to your computer and use it in GitHub Desktop.

Select an option

Save ppcamp/6ed780acc1f40ce38c0b4a7248ceb80e to your computer and use it in GitHub Desktop.

Revisions

  1. ppcamp revised this gist Jun 26, 2025. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Wayland discord issue.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@

    > [!INFO]
    > [!NOTE]
    > Context: By default, Discord, depending on the operating system version and the way Discord was installed,
    > may have a bug with Wayland. The company's computers do not come with this restriction to force the use of
    > `XOrg` (system graphics servers).
    > Therefore, the default Discord application cannot access the graphics server, and therefore cannot share the screen.
    > [!NOTE]
    > [!IMPORTANT]
    > In the `Gnome=46 version` (`gnome-shell --version`), using `flatpak` (`Discord v0.0.96`), this error no longer occurs.
    > A guide for Discord screen sharing on Wayland. [1]
  2. ppcamp renamed this gist Jun 26, 2025. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. ppcamp created this gist Jun 26, 2025.
    32 changes: 32 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@

    > [!INFO]
    > Context: By default, Discord, depending on the operating system version and the way Discord was installed,
    > may have a bug with Wayland. The company's computers do not come with this restriction to force the use of
    > `XOrg` (system graphics servers).
    > Therefore, the default Discord application cannot access the graphics server, and therefore cannot share the screen.

    > [!NOTE]
    > In the `Gnome=46 version` (`gnome-shell --version`), using `flatpak` (`Discord v0.0.96`), this error no longer occurs.
    > A guide for Discord screen sharing on Wayland. [1]

    To **fix** this error, follow the tutorial:

    1. Open the file:
    ```sh
    sudo vim /etc/gdm3/custom.conf
    ```

    2. Uncomment line:
    ~~~sh
    #WaylandEnable=false
    # Se não tiver essa linha comentada, adicione
    WaylandEnable=false
    ~~~

    3. Save and exit `:wq`

    4. Restart



    [1]: https://www.gamingonlinux.com/2025/01/discord-screen-sharing-with-audio-on-linux-wayland-is-officially-here/