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
24 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
47 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
282 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 ...
0
votes
0answers
476 views

Setting default GDM session

I'm running Arch with Gnome3 and GDM 3.30.2. I'm in the process of switching to Sway, and am running into some configuration headaches: Sway sometimes fails to appear in the GDM session list. How to ...
0
votes
0answers
61 views

Is it possible to add colored lines under or over the swaybar?

I'm looking at improving the looks of my future Sway setup and I'd like to add colored lines under each block in the Swaybar because I want to make the bar transparent. However, I only really see ...
0
votes
0answers
129 views

Tensorflow with Nvidia GPU acceleration on wayland

I am a data science student and arch+i3 user waiting for sway to come for a long time. I have just ordered a new laptop (Dell XPS 15 with Nvidia GPU) and I am making plans on my setup. I have read ...
5
votes
3answers
3k 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 i3status. But I'd like to keep it simple and use ...
1
vote
0answers
432 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
1answer
305 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
727 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 ...
5
votes
2answers
4k 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
4k 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
1k 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?
5
votes
1answer
724 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
736 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 ...