Talk:Sway: Difference between revisions
→Change of Wiki: new section |
→Kanshi: new section |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 24: | Line 24: | ||
Scenario: | Scenario: | ||
On | On real hardware, I installed nixos with calamares but no desktop environment selected. Then, I proceeded with flakes and home manager proper configuration. Then I tried to follow the sway guide for home manager. It was then that I ran into this issue <https://discourse.nixos.org/t/wlr-errors-when-trying-to-start-sway/28698>. The solution of that thread worked for me. | ||
So, I propose that <hardware.opengl.enable = true> to be added in the sway with home manager session, | So, I propose that <hardware.opengl.enable = true> to be added in the sway with home manager session, | ||
| Line 44: | Line 44: | ||
Thank you! [[User:RafTeog|RafTeog]] ([[User talk:RafTeog|talk]]) 19:31, 2 May 2024 (UTC) | Thank you! [[User:RafTeog|RafTeog]] ([[User talk:RafTeog|talk]]) 19:31, 2 May 2024 (UTC) | ||
:Hello RafTeog, | |||
:you can just start to edit the main page here. Its sometimes difficult to see whether a fix is just needed because you have some special circumstances. I am not a Sway user - maybe there are some circumstances where you dont need OpenGL, because you have an xserver enabled? | |||
:It may be a good way to just add a „Troubleshooting“ chapter and add your information about opengl and a link to the discource-discussion as a subsection. And: The troubleshooting chapter is already in this article. Maybe a subchapter like „Errors when trying to start sway?“. | |||
:Just start to contribute - have fun while doing it. Lets make this wiki ready for the 24.5 release together. [[User:Klinger|Klinger]] ([[User talk:Klinger|talk]]) 21:04, 2 May 2024 (UTC) | |||
::Greetings, | |||
::I will do that, and follow all the advices provided. | |||
::Thank you very much, glad to be here! [[User:RafTeog|RafTeog]] ([[User talk:RafTeog|talk]]) 00:47, 3 May 2024 (UTC) | |||
== Kanshi == | |||
@[[User:Zarelit|Zarelit]] | |||
https://wiki.nixos.org/w/index.php?title=Sway&diff=17630&oldid=17358 | |||
The old code should work because the <code>WAYLAND_DISPLAY</code> and <code>DISPLAY</code> variables are given to the systemd user daemon by NixOS's sway config [https://github.com/NixOS/nixpkgs/blob/e8c38b73aeb218e27163376a2d617e61a2ad9b59/nixos/modules/programs/wayland/sway.nix#L125]. [[User:Axka|Axka]] ([[User talk:Axka|talk]]) 14:39, 19 November 2024 (UTC) | |||