Questions tagged [sway]
SirCmpwn's Wayland compositor is a work-in-progress i3-compatible Wayland compositor.
76
questions
1
vote
0
answers
20
views
Unable to combine sources with Pipewire
I am trying to mix two audio source into one virtual audio source, that I later use with wf-recorder and slurp to capture a screen selection, my audio mic and my audio speakers output.
The virtual ...
0
votes
0
answers
27
views
Different xkb_options per keyboard layout in SwayWM
I've recently started learning to touch type after having used the "hunt and peck" style of typingy entire life. The layout I am using are different on both and I've configured SwayWM to ...
0
votes
0
answers
105
views
Swaymsg not focusing window
I have switched from i3 to Wayland and everything works fine except for a script I wrote some time back.
The script uses i3-msg to focus on a window via it's class name or id (from i3-msg tree).
Sway ...
0
votes
1
answer
227
views
Sway Gives XDG_RUNTIME_DIR Error
Please forgive me if I make a mistake; this is my first time asking.
I am on Debian 12. I have tried installing Sway, but it throws an error:
~$ sudo sway
XDG_RUNTIME_DIR is not set in the environment....
0
votes
1
answer
155
views
sway kill windows with [app_id="something"]
I am looking for the following: $mod+n -> open cli in floating client (ikhal in particular) -> $mod+n -> close cli in floating client.
I was able to do this for nmtui with the following ...
2
votes
2
answers
647
views
Vim enable Ctrl+Shift+C
So...I'm using Vim (in the terminal, not any sort of other gui; whenever Vim is used by itself, assume it's terminal vim).
Vim is decent, I actually don't find the learning curve to be too bad. I'm a ...
0
votes
0
answers
90
views
On-Demand Virtual Display as a kmod
I have a usecase where I want to use RDP on an Debian based machine to control it remotely.
I want to be able to fully use the onboard GPU to run tasks based on CUDA or anything else. My usecase does ...
0
votes
1
answer
509
views
Arch linux: QT apps crash on launch: qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
When I try to launch some QT apps I get this message:
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform ...
3
votes
1
answer
2k
views
Arch linux: AMD ryzen + AMD radeon experiencing freezes and crashes of browsers
I moved my install from intel i7 + intel iris to AMD ryzen 5 + AMD radeon, by swaping SSDs. I experience these issues:
Symptoms
Everything works fine except randomly load of CPU explodes to 30+ and ...
1
vote
1
answer
1k
views
Arch linux; org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
I use sway on arch linux and a lot of apps log this error message:
org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
How can I resolve this issue ?
Thank ...
0
votes
2
answers
3k
views
How to globally set dark mode for GTK-4 apps?
I am trying to set nautilus to dark mode but with no luck.
I tried:
run this command:
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
setting color scheme in ~/.config/gtk-4.0/...
2
votes
2
answers
2k
views
Configuring multi-monitor setup in SwayWM on Debian 12 laptop
I'm pretty new to Linux. I'm using Debian 12 on a laptop (and a dock) with the SwayWM wayland compositor. I have 2 external monitors connected to the dock, one landscape (DVI) monitor and another ...
1
vote
1
answer
314
views
Showing sway scratchpad windows in LIFO order
I mainly use the sway scratchpad to hide the windows I don't want to be in my workspaces : terminal windows like jupyter or rygel servers, Transmission, etc.
However, the showing order for scratchpad ...
0
votes
0
answers
810
views
telegram-desktop: qt.svg: Error while inflating gzip file: SVG format check failed
I use telegram-desktop on arch linux in sway. It sometimes crashes, so I started it from terminal. This way I find out telegram spams this message:
qt.svg: Error while inflating gzip file: SVG format ...
0
votes
0
answers
139
views
gnome-control-center does not open after Fedora upgrade
I upgraded my Fedora on two different systems from Fedora 36 resp. 37 to 38. I use sway but like to use gnome-control-center for having a settings GUI. Before the upgrade this worked fine, but after ...
1
vote
1
answer
282
views
How to invert colors on wayland (sway) ? xcalib -invert -alter equivalent
I have been using xcalib -invert -alter on X sessions to invert screen colors.
What can I use on wayland to achieve same result ?
Thank you for help
0
votes
1
answer
718
views
In Sway with multiple Monitors, some apps do not accept mouse clicks
I have three monitors (my laptops' one and two externals).
Some apps (e.g. Discord, Gimp, Scilab, to mention some I remember) do not accept mouse clicks when not in the laptops' screen. The only ...
1
vote
1
answer
3k
views
Sway is not setting WAYLAND_DISPLAY
It seems that Sway is not setting WAYLAND_DISPLAY, which is causing wl-clipboard to not work.
I start sway from .zlogin like this:
if [ "$(tty)" = "dev/tty1" ]; then
exec dbus-...
1
vote
1
answer
163
views
Is it possible to close the notification bar created by swaynag by using a command line?
I use swaynag to create a notification as a bar on the top of the screen, for example:
swaynag -m "my message"
I can then close the notification, by moving the mouse over the "x" ...
1
vote
0
answers
576
views
Sway's dmenu not finding $PATH
I recently installed EndeavourOS, followed by Sway
I've added ~/scripts/screenshot.sh however dmenu is not finding it, so tried adding ~/scripts to my path environment however none of my approaches ...
0
votes
1
answer
740
views
Calibrate touchscreen of external Monitor under wayland sway
How do I calibrate the touchscreen of an external display under wayland - sway?
If I plug an external monitor with touch support the touch input is getting mapped to the main monitor, not the external ...
1
vote
0
answers
230
views
sway/i3: How to make one of two different VM-Windows sticky on all Workspaces in sway?
On my debian with sway I have two different virtual machines (VM1 + VM2). The virtual machines are running with qemu-kvm and virt-viewer. I want to make the virt-viewer-window of VM1 sticky in all ...
1
vote
0
answers
1k
views
XWayland applications with black flickering
Currently on my computer I have ArchLinux with sway-nvidia + nvidia-lts. With 2 monitors (1080p 144hz and 1080p 60hz) The wayland applications work perfectly (Chrome, vkube, alacritty, etc) but the ...
0
votes
1
answer
1k
views
How to set xkb variant in sway for one of multiple layouts
I want to set the German layout with nodeadkeys as default, and the other layouts with default variant.
It works when I set just the German layout and its variant, but not with multiple layouts:
input ...
0
votes
1
answer
778
views
Manjaro Sway monitor screen through DisplayLink not working
I am trying to have my Lenovo DisplayLink to work with Manjaro Sway but so far could not manage to have screen signal going through it.
I updated my linux to kernel 5.15
I installed the corresponding ...
2
votes
0
answers
624
views
How to enable mouse keys on wayland (sway)
I'm currently on Arch Linux and wanted to know how I could enable mouse keys in wayland (mouse keys as in controlling the mouse with keyboard, the numpad). The arch wiki has mentioned mouse keys under ...
1
vote
0
answers
252
views
How to proper escape quotes in SwayWM binding
I have a command to take screenshots of a selected window in SwayWM as follows:
grim -g "$(swaymsg -t get_tree | jq -r '.. | (.nodes? // empty)[] | select(.pid and .visible) | .rect | "\(.x),...
0
votes
1
answer
128
views
Ubuntu Focal, update systemd
I can't run sway because of systemd v245 https://github.com/systemd/systemd/pull/15111
Except for a do-released-upgrade, how can I update systemd?
0
votes
0
answers
1k
views
Sway doesn't execute the script on startup
I have two bash scripts and I want them to run on startup. I'm using sway and I execute scripts with exec word like this
exec /home/crawraps/.config/sway/gdrive-push-sync.sh
exec /home/crawraps/....
1
vote
0
answers
332
views
Trying to set layout US with INTL on wayland/sway combo
I am desperate, I have spent way too much time trying to figure that out
I have manjaro CE with sway/wayland
In my /etc/sway/inputs/default-keyboard I added this
input type:keyboard {
xkb_layout &...
0
votes
1
answer
346
views
Firefox on Sway starts floating when opening library catalogs websites
I have the problem since I installed sway at least two years ago that firefox windows start floating when opening some specific websites. Strangely they seem to be library catalogs websites ...
0
votes
2
answers
2k
views
Sway input, how to get the 'us intl' layout (US keyboard international variant)
I am trying to get this layout working
Should I put something in /etc/sway/inputs/default-keyboard ?
I tried to get the information with man 5 sway-input and swaymsg -t get_inputs but it did not help.
...
-2
votes
1
answer
1k
views
Why are these xhost commands used here for running a docker container?
I am running a docker container. The suggested way to run it is
$ xhost +
access control disabled, clients can connect from any host
$ sudo docker run -it --rm --ipc=host -e ...
1
vote
1
answer
3k
views
How to prompt for file save location using grim?
I currently use Sway/grim to save screenshots, but it is not obvious to me how to improve this by prompting for a filename. In other words, right now a typical binding in my sway config is as follows:
...
0
votes
0
answers
2k
views
Setting xkbmap in Wayland
I am using Sway & Wayland on Arch with a fresh install. Everything is going well, besides one problem which I usually have, however this time I cannot solve it.
On every Linux distro I have tried, ...
1
vote
1
answer
1k
views
sway get the layout of the currently focused container
How do I get the layout of the currently focused container in sway (eg. 'splith', 'tabbed')?
I guess the best way would be to parse the JSON output (sample below) of swaymsg -t get_tree using jq, but ...
0
votes
1
answer
2k
views
Multi-GPU Setup in sway
I will have soon a setup, where my desktop has an integrated and a dedicated graphics card, both AMD, and I already searched but didn't find any good answer in how the multi-GPU setup works. I would ...
3
votes
1
answer
2k
views
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
...
1
vote
1
answer
1k
views
How to make screen sharing work on sway/wayland ? For noobies
I'm new to sway/wayland and I'm trying to make screensharing work on chrome. So far I've installed pipewire xdg-desktop-portal and xdg-desktop-portal-wlr. I've set the chrome://flags/#enable-webrtc-...
2
votes
1
answer
2k
views
External monitor detected but shows no video output in Sway / Wayland
I have an external monitor connected to a thunderbolt dock which I would like to utilize. For whatever reason, the monitor appears to be recognized by the system but fails to display anything.
I can ...
1
vote
0
answers
402
views
Can Sway magnify the application window?
One problem I have when running applications under Wayland Sway is that sometimes the application fonts (used in menus, for example) are too small. This is especially the case if I am using a high ...
0
votes
1
answer
67
views
Scanning laptop open/close key events doesn't work
I have a laptop with Void-Linux and Wayland desktop environment (sway). I'm trying to bind laptop's open/close event to custom command, but I can't scan key events here. I tried it with showkey --...
0
votes
0
answers
455
views
How can I recover from a Sway crash?
I crash pretty frequently when using Sway. The biggest culprit is OpenOffice, but sometimes Chrome crashes. These crashes are always freezes; so the screen just freezes. I know it is a low level crash ...
10
votes
1
answer
23k
views
"[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/...
8
votes
3
answers
28k
views
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 ...
0
votes
1
answer
434
views
annoying CTRL+F# instead of CTRL+ALT+F# Virtual Terminal Switching on Fedora 33 with sway wayland and gdm
I have the annoying problem that CTRL+F# is switching to a Virtual Terminal. This should normally be done with CTRL+ALT+F# but for some reason it is also triggered by CTRL+F#.
I actually have an ...
0
votes
1
answer
538
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 ...
2
votes
2
answers
1k
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 ...
19
votes
1
answer
62k
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: ...
6
votes
1
answer
2k
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 ...