Talk:Sway

From ArchWiki
Latest comment: 11 May 2023 by Jannesf in topic Expand 3.4 Wallpaper

'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)Reply[reply]

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)Reply[reply]

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)Reply[reply]

I think the current solution at Sway#Custom keybindings is just fine. -- Edh (talk) 20:19, 15 March 2021 (UTC)Reply[reply]

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 ~~~~!Reply[reply]

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)Reply[reply]

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)Reply[reply]

Yes, it can be done like Sway#Screen capture and screen sharing. -- Lahwaacz (talk) 09:14, 7 January 2021 (UTC)Reply[reply]

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)Reply[reply]

+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)Reply[reply]

"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)Reply[reply]

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)Reply[reply]