SirCmpwn's Wayland compositor is a work-in-progress i3-compatible Wayland compositor.
Questions tagged [sway]
70 questions
18
votes
4 answers
Simple swaybar example
I'd like to have a simple, calm status bar for Sway which I use with Arch Linux.
The configurations I found so far use a separate program like waybar or i3status. While they look great, I'd like to keep it simple and use status_command mentioned in…
Matthias Braun
- 7,797
- 7
- 45
- 54
17
votes
1 answer
Could not find the Qt platform plugin "wayland"
I get the following error when I run vlc:
$ vlc
VLC media player 3.0.11 Vetinari (revision 3.0.11-0-gdc0c5ced72)
[0000561d2cc24a30] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[0000561d2cbf2f50] main…
Pooya
- 503
- 2
- 5
- 14
10
votes
3 answers
Keyboard Layout with Sway on Fedora (Wayland)
I have recently installed Fedora 27 which I find quite nice, I like the Gnome Desktop, but for working I definitely prefer a tiling window manager. I would like to use Sway because I was using i3 before and now that Gnome uses wayland I would like…
Nicolas Scotto Di Perto
- 706
- 2
- 7
- 14
9
votes
1 answer
"[libseat/backend/seatd.c:70] Could not connect to socket /run/seatd.sock: no such file or directory" after updating wlroots, Sway and libseat on Arch
I just updated my system, there were only three updates available: wlroots, sway and libseat.
I don't have a display manager installed and before loading Sway I'm shown this:
[wlr] [libseat] [libseat/backend/seatd.c:70] Could not connect to socket…
user479534
7
votes
0 answers
Often can't kill window in Sway
One problem I have using Sway is zombie apps that get hung and cannot be killed from within Sway.
Sway has a "kill" command which by default is bound to the hotkey mod+Shift+Q, however this command is a soft kind of kill that apparently just nicely…
Tyler Durden
- 5,411
- 16
- 57
- 96
7
votes
1 answer
How to lock screen on lid closing using systemd?
I am running Sway on Fedora 26 and want my laptop to be locked when I close my screen. I changed HandleLidSwitch to lock in /etc/systemd/logind.conf and ran systemctl restart systemd-logind after that. However, closing the lid does nothing.
The lock…
strNOcat
- 383
- 6
- 15
5
votes
3 answers
How to switch to system wide dark theme in i3 or sway?
On gnome, gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' can set dark theme system-wide.
However, the same doesn't happen with a sway session. Firefox browser still detects light theme.
Amith
- 231
- 1
- 2
- 8
5
votes
1 answer
How to disable suspending the system when the lid is closed?
How can I disable suspending when the lid is closes?
I never suspend my laptop. When I close the lid and the system is running, I want the screen to be blanked, but the system should run as if the lid was open.
How can I achieve this in Sway?
tukusejssirs
- 218
- 1
- 7
5
votes
1 answer
Where/How are the fonts configured in swaywm?
Where/How are the fonts configured in swaywm?
I saw reference to .Xresources/.Xdefaults being used for some things https://wiki.archlinux.org/index.php/Sway#Xresources
What does Xresources handle if anything?
If Xresources is used for all of…
SultanLegend
- 463
- 1
- 4
- 9
4
votes
3 answers
How to toggle keyboard layout in Sway from the shell?
How can I toggle between xkb keyboard layouts in Sway from the command line? My layouts are configured like this:
input type:keyboard {
xkb_layout pl,es
xkb_options grp:win_space_toggle,compose:caps
}
I'd like to be able to have a command…
Robert Kusznier
- 255
- 1
- 2
- 12
4
votes
1 answer
How to configure gdm for login into a sway session?
I have installed sway window manager on Fedora 27. The system uses gdm as its login manager. But gdm does not provide sway for selection as the login session. Only Gnome, which is also installed on the system, is shown. I did not had this problem…
Simon Schürg
- 185
- 1
- 1
- 8
3
votes
1 answer
OBS can't do window capture under Sway
I'm running Fedora Linux with Sway,
and I wanted to capture some stuff with OBS.
However, there is simply no option to do a "Window capture".
As far as I can tell, this is usually
attributed to problems with PipeWire or…
keddad
- 423
- 1
- 3
- 10
3
votes
1 answer
How to set layout of a multiple sway/i3 containers on startup?
Problem
I'm using Sway window manager, but the same applies to i3 I guess.
On startup I want to start 2 terminal windows on the same workspace. One of them will run Neovim, and the second one will be an empty (not running any app) terminal. 2…
Robert Kusznier
- 255
- 1
- 2
- 12
3
votes
1 answer
Caps Lock behavior under Sway / Wayland
Under X, I can make Caps Lock behave as Esc when pressed briefly, but as Ctrl when held down with:
setxkbmap -option 'caps:ctrl_modifier'
xcape -e 'Caps_Lock=Escape' -t 100
How can I replicate this behavior under Sway / Wayland?
Alexander
- 9,607
- 3
- 40
- 59
3
votes
2 answers
Get PID of focused window in wayland
Is there a method to get the PID of the currently focused window in wayland?
I am using the sway window manager. Thank your for your help!
Marton
- 151
- 1
- 4