Questions tagged [sway]

SirCmpwn's Wayland compositor is a work-in-progress i3-compatible Wayland compositor.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

Can't detect monitor brightness keys in Wayland, but they are detected in X

I'm trying to slowly shift my way towards Wayland, but I'm having some trouble with my laptop's media keys. On X, all the ones I need are supported no problem, but when I switch over to Sway, I'm not ...
0
votes
1answer
50 views

How do I create a complicated custom XKB file for Sway?

Sway uses Wayland, so any XKB files will be parsed by Sway, not X. I want to add a layer on the keyboard (probably using Hyper) I want to shuffle some modifier keys around I've looked at a lot of ...
1
vote
1answer
632 views

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: ...
0
votes
1answer
91 views

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 ...
1
vote
0answers
113 views

Can't use Flatpak apps on Wayland

Whenever I attempt to run a Flatpak app from the console, such as: flatpak run com.discordapp.Discord or flatpak run com.spotify.Client, I get an error that I can only assume has something to do with ...
2
votes
0answers
50 views

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 ...
0
votes
0answers
33 views

Can Sway be used as a full screen compositor

I never like the "desktop" metaphor, so when Wayland rolled around I switched to Sway thinking that a tiling compositor was what I wanted. But after using Sway for a few months I realized ...
0
votes
0answers
27 views

SwayWM Flatten Workspace?

I very frequently with SwayWM (but never with i3) get myself into a situation with the workspaces are so damn complex I can't get back to something I can manager. The containers and the splits become ...
0
votes
1answer
360 views

How can I reload swayidle / swaylock?

In my .sway/config, I have exec swayidle -w \ timeout 30 'swaylock -f -c 000000' \ timeout 30 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ ...
0
votes
0answers
52 views

What is XCB Error Code 3?

Checking journalctl /usr/bin/sway I see lots of errors like this [xwayland/xwm.c:1286] xcb error: op 18:0, code 3, sequence 42593, value 4194450 What do they mean, is there any reason for concern ...
0
votes
0answers
35 views

Error message: [backend/drm/atomic.c:38] Atomic test failed: Permission denied

When I check my journald -u /usr/bin/sway I see this message, [backend/drm/atomic.c:38] Atomic test failed: Permission denied What is that in reference to and how can I fix it?
0
votes
1answer
37 views

What screen recorder will work with SwayWM?

I'm using SwayWM what screen recorder or capture program can I use with it?
1
vote
0answers
33 views

Stop Wayland / Sway from intercepting virtual console hotkey (Alt-F1, etc)

I am using Wayland / Sway on Arch with the x-compatibility layer enabled and it is consuming keystrokes, notably the Alt-F1 hotkey necessary to get to a virtual console. I suspect it is the x-layer ...
0
votes
0answers
16 views

Increase system font sizes in Chrome running on Sway

I recently started using Sway on a high resolution 4k monitor and have been experiencing eye strain as a result of the small system fonts. I can increase the page zoom size, but built in system font, ...
0
votes
0answers
25 views

Wayland / Sway periodic freezes

I recently installed and started using Wayland / Sway on Arch and I notice that about once a day my whole system freezes for about 10-15 seconds, then it resumes back to normal. Is there some log I ...
0
votes
1answer
74 views

Mouse calibration in Sway

I am using Wayland Sway in Arch and my pointer is not moving far enough across the screen for a given mouse movement. I assume that I need to change the calibration matrix for the mouse, however, ...
-1
votes
1answer
114 views

How do you kill a Sway session from a virtual console?

I can start a Sway session from a virtual console by just giving the command "sway" while in user mode, however, it is not clear how to cleanly kill the session from a virtual console. There is no ...
0
votes
1answer
15 views

Why does Sway help recommend putting the user config in the second priority location?

When Sway starts, according to its man page, it looks for a configuration in the following places: 1. ~/.sway/config 2. $XDG_CONFIG_HOME/sway/config (suggested location) 3. ~/.i3/config 4. $...
1
vote
2answers
752 views

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,...
2
votes
1answer
301 views

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 ...
0
votes
1answer
161 views

Launching Sway on login with zsh

I set up .bash_profile to exec sway on login, and then ended up switching to zshell as my default shell. When I log in it just stays it no longer auto launches sway of course. I'm wondering if there ...
0
votes
0answers
165 views

How do I set a custom resolution mode that is not in the list of modes for a monitor?

I am running Wayland (Sway WM) on Arch Linux, and connecting an external monitor to my laptop over HDMI. This monitor works fine at 2560x1440 resolution over DVI-D on my desktop, but it does not ...
2
votes
0answers
82 views

Open Link in GNOME Terminal under i3/sway not working

If I try to open a link in GNOME terminal, then nothing happens if I'm in a Sway/i3 session. If I try the same while running GNOME, then opening a link works, i.e., Firefox opens the link. Any ideas ...
1
vote
1answer
3k views

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 ...
0
votes
1answer
345 views

Error when launching gnome-terminal on Sway

I've installed gnome-terminal and xorg-server-xwayland and now I am trying to launch gnome-terminal. I already had an error caused by keycodes above 255. I deleted the keycodes above 255 and the ...
0
votes
1answer
953 views

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 ...
13
votes
3answers
10k views

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 ...
2
votes
0answers
765 views

How to alter level 3 meaning of keys with XKB

I had a neat little hack to get German "Umlaute" on a US ANSI keyboard with XModap. When I hold Caps-Lock, I get Umlaute in the places where they are on a German keyboard. Here my .Xmodmap file ...
1
vote
2answers
858 views

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!
0
votes
1answer
1k views

How to configure libinput on alpine linux?

For test purposes I installed alpine on my laptop. (It contains pretty much only the minimal default packages and wayland/sway.) When I try to run sway everything looks fine, but mouse and keyboard ...
9
votes
3answers
8k views

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 ...
4
votes
1answer
7k views

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 ...
2
votes
1answer
2k views

How do I change the mouse cursor icon for the Sway Wayland compositor?

Under i3 I could change the mouse cursor icon by editing ~/.Xresources, is it possible to change the mouse cursor icon for Sway?
6
votes
1answer
2k views

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....
2
votes
1answer
1k views

Set custom refresh rate for Sway (Wayland)

I know it's possible to set a custom refresh rate and resolution using Xorg (xrander) configurations. But I do not know how to do the same in Wayland/Sway using Nouveau drivers on an Nvidia-GPU.
3
votes
0answers
1k views

Sway/Wayland does not activate my second monitor

I was previously using arch linux, lightdm, and sway (an i3 clone for wayland, basically). However, at the time lightdm would not launch sway for me, so I ended up switching to a tty (ctrl+alt+f#) and ...