Questions tagged [sway]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
79 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 ...
user2624583's user avatar
0 votes
0 answers
44 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 ...
g_elef's user avatar
  • 1
0 votes
1 answer
144 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 ...
Jan Černý's user avatar
  • 1,331
2 votes
1 answer
575 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 ...
Jan Černý's user avatar
  • 1,331
0 votes
1 answer
307 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 ...
Jan Černý's user avatar
  • 1,331
0 votes
1 answer
1k 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/...
Jan Černý's user avatar
  • 1,331
1 vote
1 answer
368 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 ...
ccfoo03's user avatar
  • 25
1 vote
1 answer
196 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 ...
Arnaud Feldmann's user avatar
0 votes
0 answers
332 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 ...
Jan Černý's user avatar
  • 1,331
0 votes
0 answers
90 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 ...
Jannek S.'s user avatar
  • 111
0 votes
1 answer
140 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
Jan Černý's user avatar
  • 1,331
0 votes
1 answer
414 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 ...
Alejandro DC's user avatar
0 votes
0 answers
73 views

Is there some way to bring the attention of the mouse to the foreground window?

When using Sway 1.7, sometimes when I open another application's window (e.g. evince's window that shows a pdf file) after having opened one (e.g. Google Chrome browser's window showing a webpage), ...
Tim's user avatar
  • 101k
0 votes
0 answers
75 views

Webcam keeps on disconnecting and reconnecting

I am on Debian unstable with swaywm. I could also reproduce the same issue on i3. On running sudo dmesg after launching cheese, I get this. After the initial run, cheese straightaway goes into a dark ...
Arcadio's user avatar
  • 71
0 votes
0 answers
135 views

How to target all except for one output in sway-output?

I am writing a bash script to disable all monitors except for the main one. My current script is: swaymsg output "*" disable swaymsg output eDP-1 enable pos 0 0 res 3840x2400 But it ...
Victor2748's user avatar
1 vote
1 answer
2k 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-...
user1283776's user avatar
0 votes
0 answers
131 views

X11 equivalents of grim, slurp, and wl-copy

I have been using Sway on Wayland for the last couple of years, but am currently stuck on X11/i3 due to various reasons... The configs are compatible for the most part, but I am having trouble getting ...
Ruslan's user avatar
  • 103
1 vote
1 answer
127 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" ...
Tim's user avatar
  • 101k
0 votes
0 answers
160 views

startxfce4 in another TTY and in parallel to wayland session

I have archlinux with Wayland (sway) and an NVidia GPU. Due to the latter, a few things are still glitchy and I need to have another desktop environment for certain apps. I installed xfce. When I ...
zakrapovic's user avatar
0 votes
0 answers
29 views

Output name assignment--possible to change?

I have a dual monitor setup in Arch using Sway and originally I had Sway configured to work on the two monitors which were named "DP-1" and "DP-2" automatically. However, later I ...
Tyler Durden's user avatar
  • 5,581
1 vote
0 answers
376 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 ...
andrewjamesbowen's user avatar
0 votes
1 answer
526 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 ...
nimbin's user avatar
  • 31
1 vote
0 answers
195 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 ...
sunnymoo6's user avatar
1 vote
0 answers
821 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 ...
Juan Cruz Mencia Naranjo's user avatar
0 votes
1 answer
784 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 ...
xeruf's user avatar
  • 541
0 votes
1 answer
620 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 ...
zakrapovic's user avatar
2 votes
0 answers
511 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 ...
sortedcord's user avatar
1 vote
0 answers
224 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),...
paulodiovani's user avatar
0 votes
1 answer
118 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?
user avatar
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/....
Crawraps's user avatar
1 vote
0 answers
260 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 &...
zakrapovic's user avatar
0 votes
1 answer
305 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 ...
elyuku's user avatar
  • 76
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. ...
zakrapovic's user avatar
-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 ...
Tim's user avatar
  • 101k
1 vote
1 answer
2k 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: ...
Tyler Durden's user avatar
  • 5,581
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, ...
Alfie's user avatar
  • 1
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 ...
laalsaas's user avatar
  • 145
0 votes
1 answer
1k 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 ...
DigitalDragon's user avatar
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 ...
keddad's user avatar
  • 503
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-...
Paul's user avatar
  • 143
1 vote
1 answer
1k 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 ...
Kyle Poe's user avatar
1 vote
0 answers
347 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 ...
Tyler Durden's user avatar
  • 5,581
0 votes
1 answer
53 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 --...
g4s8's user avatar
  • 478
0 votes
0 answers
346 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 ...
Tyler Durden's user avatar
  • 5,581
10 votes
1 answer
21k 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/...
user avatar
7 votes
3 answers
21k 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 ...
Amith's user avatar
  • 251
0 votes
1 answer
403 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 ...
siddhadev's user avatar
0 votes
1 answer
494 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 ...
rarelyNecessary's user avatar
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 ...
Not me's user avatar
  • 169
18 votes
1 answer
53k 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: ...
Pooya's user avatar
  • 563