Talk:Sway: Difference between revisions
No edit summary |
(→Custom keyboard layout section should be replaced.: new section) |
||
Line 22: | Line 22: | ||
: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 [https://wiki.gentoo.org/wiki/OpenRC/User_services OpenRC user services wik] might be appropriate. [[User:Sertonix|Sertonix]] ([[User talk:Sertonix|talk]]) 15:03, 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 [https://wiki.gentoo.org/wiki/OpenRC/User_services OpenRC user services wik] might be appropriate. [[User:Sertonix|Sertonix]] ([[User talk: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... | |||
–[[User:zcrayfish|zcrayfish]] <small>([[User talk:zcrayfish|talk]]•[[Special:Contributions/zcrayfish|contribs]]•[[Special:EmailUser/zcrayfish|send email]])</small> 20:13, 20 February 2024 (UTC) |
Revision as of 20:13, 20 February 2024
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 (talk•contribs•send 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 (talk•contribs•send 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 (talk•contribs•send email) 20:13, 20 February 2024 (UTC)