Talk:Sway

From Alpine Linux

Flatpak section has no relevance to sway

should be moved to another article --Psykose (talk) 11:08, 20 January 2023 (UTC)

Video and input groups

Please don't revert edits and add these groups again. Being a member of these groups is not required and is actively discouraged by upstream. WhyNotHugo (talk) 14:27, 1 November 2023 (UTC)

So seatd also allows not using these groups? Sorry, I didn't know that. Sertonix (talk) 15:24, 4 November 2023 (UTC)
I can confirm that sway starts fine using the directions on the current revision of the wiki using seatd. No users were added to video or input group.
I didn't have luck with elogind, but didn't mess with it much. –zcrayfish (talkcontribssend email) 11:51, 6 November 2023 (UTC)
I found the issue that backlight control doesn't work for me without the video group. It may be resolvable with a udev rule. Setuid is also possible but suid always exposes security problems. It seems like that could/should be handled by seatd but I haven't found anything like that. Sertonix (talk) 20:25, 6 November 2023 (UTC)

Proposal to remove the "Start as a service" section.

I for one think this section should be replaced by a section instructing users to start sway with their .profile.
Looks to me that the openrc service as written on the page now starts it as root. Would be a lot better from a security standpoint if it was started as a regular user. Thoughts?
zcrayfish (talkcontribssend email) 11:57, 6 November 2023 (UTC)

I fixed the issue with sway running as root. At least I think, I haven't tested if that can work. I don't have a opinion if the section should be removed. A link to the OpenRC user services wik might be appropriate. Sertonix (talk) 15:03, 6 November 2023 (UTC)

Custom keyboard layout section should be replaced.

This section should use user environmental variables, like below:

 XKB_DEFAULT_MODEL=latitude
 XKB_DEFAULT_LAYOUT=us
 XKB_DEFAULT_VARIANT=intl
 #XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle

OR the appropriate sway config files.

Editing evdev config is far beyond the article scope... –zcrayfish (talkcontribssend email) 20:13, 20 February 2024 (UTC)

Agreed. I fixed that section to use Sway config instead. Quq (talk) 23:59, 23 February 2024 (UTC)

What happend?!

What happend here: https://wiki.alpinelinux.org/w/index.php?title=Sway&diff=prev&oldid=26436

The summary and what changes I see differ drastically:

Summary: 'add details about seatd, elogind and optional greeter'.

Changes: removal of the initial description, removal of the 'see also' section, removal of the template usage, removal of information that gives users the possibility to decide what they want

After a bit of searching it seems that the Sway article content has been replaced with the content of 'Sway_on_Laptop' without merging the improvements done to the Sway article. https://wiki.alpinelinux.org/w/index.php?title=Sway_on_Laptop&diff=next&oldid=26445

Can we please recover the lost changes?

Sertonix (talk) 11:50, 29 February 2024 (UTC)