Skip to content

Commit

Permalink
linux: Remove helptexts for X11 and Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
mihawk90 committed Dec 13, 2024
1 parent 615076a commit 00ade95
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions checks/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ def checkWayland(lines):
<a href='https://wiki.archlinux.org/title/XDG_Desktop_Portal'>XDG Desktop Portal</a><br>
Note that the availability of Window and/or Display capture depends on your Desktop Environment's implementation of these portals."""]

return [LEVEL_INFO, "Wayland",
"""Window and Display Captures are available via <a href='https://wiki.archlinux.org/title/XDG_Desktop_Portal'>XDG Desktop Portal</a><br>.
Please note that the availability of captures and specific features depends on your Desktop Environment's implementation of these portals.<br><br>
Global Keyboard Shortcuts are not currently available under Wayland."""]
return [LEVEL_INFO, "Wayland", ""]


def checkX11Captures(lines):
Expand Down Expand Up @@ -112,8 +109,8 @@ def checkX11Captures(lines):
We generally recommend using \"Window Capture (Xcomposite)\" on X11, as \"Display Capture (XSHM)\" can introduce bottlenecks depending on your setup.<br><br>
From a technical standpoint a Desktop Environment should not advertise the availability of these captures if they are not implemented. This behavior can therefore be considered a bug in your Desktop Environment."""]

return [LEVEL_INFO, "X11",
"If you wish to capture a window or an entire display, captures are available via Xcomposite and XSHM respectively. We generally recommend sticking to \"Window Capture (Xcomposite)\" since \"Display Capture (XSHM)\" can introduce bottlenecks depending on your setup."]
return [LEVEL_INFO, "X11", ""]



def checkDesktopEnvironment(lines):

Check warning on line 116 in checks/linux.py

View workflow job for this annotation

GitHub Actions / 02 - Code Format Check

too many blank lines (3)
Expand Down

0 comments on commit 00ade95

Please sign in to comment.