Talk:Sway
'xwayland disable' is not necessary to run programs natively under Wayland
I'm afraid the statement is not totally true. Under one circumstance, which is when xorg-server-xwayland is not installed, programs won't run(or render on screen) even with GUI libraries env variables properly set. Maybe a bug?. I've noticed on sway log that xwayland.c
function of wlroots isn't called if and only if xwayland disable
is set.
Rahcor (talk) 21:25, 5 May 2019 (UTC)
This is a GTK+ bug. It tries to connect to Xwayland even if it only uses Wayland. I've no idea why, it would be nice to report this to the GTK+ devs and figure out how to fix it.
If you don't disable Xwayland and have it uninstalled, you'll have an invalid `DISPLAY` set.
Emersion (talk) 21:51, 5 May 2019 (UTC)
Mention the `--locked` option for keybindings
When the option `--locked` is used on keybindings, they also work while sway is locked with `swaylock`. It is a great feature for e.g. media or brightness keys and definitely worth mentioning in the wiki; however I'm unsure as to where this information would fit best: under 'Custom Keybindings' or somewhere in the 'Tips and Tricks' section? What do you all think? Bloor (talk) 13:36, 12 March 2020 (UTC)
- I think the current solution at Sway#Custom keybindings is just fine. -- Edh (talk) 20:19, 15 March 2021 (UTC)
XWayland launchers still getting stuck an issue?
The Application Launches section mentions a problem with some X11-based launchers getting stuck:
https://wiki.archlinux.org/index.php/Sway#Application_launchers
Is this still an issue since this patch was added to Sway 1.5?
https://github.com/swaywm/sway/issues/4693
—This unsigned comment is by Markstos (talk) 23:42, 18 August 2020 (UTC). Please sign your posts with ~~~~!
- The section does not mention popup windows at all, so I think it's still the same problem. -- Lahwaacz (talk) 07:04, 19 August 2020 (UTC)
Color temperature adjustment
Perhaps there should be a link to Backlight#Wayland somewhere on the page to inform people of gammastep?
Forgonewarrior (talk) 17:00, 6 January 2021 (UTC)
- Yes, it can be done like Sway#Screen capture and screen sharing. -- Lahwaacz (talk) 09:14, 7 January 2021 (UTC)
Remove "Candidate for Merging" banner at Sway#Manage Sway-specific daemons with systemd
I propose to remove the Merge
banner in Sway#Manage Sway-specific daemons with systemd. Just as the description already states the way to define custom targets akin to e.g. graphical-session.target
should be described at systemd/User. However, from my point of view this does not invalidate the way more specific use case which is outlined for sway here. -- Edh (talk) 20:24, 15 March 2021 (UTC)
- +1 on this. It also seems the linked article describes how to run Xorg itself as a service, whereas this section describes how to run dependant services, no sway itself. WhyNotHugo (talk) 15:52, 23 July 2021 (UTC)
"Sway" or "sway"?
There appear to be some inconsistencies when referring to Sway. If it got this correctly, it is "Sway" when referring to the project Sway itself but "sway" when referring to the binary.
-- NetSysFire (talk) 20:19, 3 May 2021 (UTC)
Expand 3.4 Wallpaper
I think the Wallpaper section should be expanded to show that there exist other wallpaper managers and that swaybg is only the default.
Usefull information on swaybg
It's usefull to know that output "*" bg /path/to/image fill does the exact same as exec swaybg -o "*" -i /path/to/image -m fill. This helps because it's much easier to read the swaybg man page than to find and read the sway-output man page which contains much more information than just the syntax for configuring the wallpaper.
Other Wallpaper Managers
Here are some managers listed on Sways's GitHub. The wiki section should contain a link to this page.
sww
I would strongly recommend swww because it can display animated wallpapers and already has an AUR package. The wiki doesn't mention at all that you can use animated wallpapers/GIFs. Jannesf (talk) 18:55, 11 May 2023 (UTC)
Mention needing xorg-xwayland for xwayland to work in a note
The section about xwayland links to the xwayland page. There the first line actually says that you need the xorg-xwayland package in order to make it work but one (me) may miss the link and read the paragraph in the sway page and be left wondering why it doesn't work. Should we add a note that mentions in passing that you actually need the package? Hook25 (talk) 11:10, 30 December 2024 (UTC)
- No, because after installing the sway package, pacman always shows the list of its optional dependencies, including xorg-xwayland, and you cannot miss this. — andreymal (talk) 11:46, 30 December 2024 (UTC)
- Well you can miss it, I guess that my question is more, what harm does it do to mention this package is needed in that paragraph? It seems very on topic and useful, as it does fix the issue I was having. I'm also open at writing a small troubleshooting paragraph if that's preferable Hook25 (talk) 12:46, 30 December 2024 (UTC)
- If your argument is only that one can miss the link to a separate wiki page, adding adding another link to the package (or a note) does not solve anything because one can miss that too... 🤷 Lahwaacz (talk) 14:03, 1 January 2025 (UTC)
- Well you can miss it, I guess that my question is more, what harm does it do to mention this package is needed in that paragraph? It seems very on topic and useful, as it does fix the issue I was having. I'm also open at writing a small troubleshooting paragraph if that's preferable Hook25 (talk) 12:46, 30 December 2024 (UTC)