UP | HOME

Something About Wayland(swaywm)

1. Solution

1.1. VirtualBox

1.1.1. cursor

WLR_NO_HARDWARE_CURSORS=1

1.1.2. egl error

enable 3D acceleration in VirtualBox

1.2. unable to drop root

donot run under root

1.2.1. in normal user, libseat permission deniened

add user in video group
login as user, not root

1.3. iBus

1.3.1. reddit: ibus on swaywm

so I use emacs pyim

1.4. Authorization required, but no authorization protocol specified

1.4.1. sudo -E

1.4.2. lxpolkit(directly execute) or polkit-gnome(prettier, at /usr/libexec/polkit-gnome-authentication-agent-1)

1.5. cannot start sway on lightdm

yes, still not stable, and it can't remenber which DE you used last time
so use gdm is a better choice?
SDDM is fantastic! It is themeable,
I'm using elarun, a oxygen-like smooth crystal theme, materia-kde is also a good choice

1.5.1. Fedora 37 don't work

sddm don't work on fedora37, so switch to gdm

1.5.2. environment variable missing?

trick: add Exec=zsh -c sway in /usr/share/wayland-sessions/sway.desktop

1.6. obs

don't remove the include line in sway/config, and it will be fine

1.7. cursor theme not working

from this issue
add seat seat0 xcursor_theme Oxygen_White in sway config file

1.10. emacs tool-bar not working(cannot toggle and icon theme missing)

1.10.1. cannot toggle: disable custon default-frame-alist, or just use floating mode

1.10.2. TODO icon theme missing: ?

1.11. Option –create on workspace prev_on_output|next_on_output?

this feature is not compatible with i3, so sway didn't accept the pr

2. Ref

2.4. prtsc is Print

xev/wev is helpful

2.6. Configs

2.6.1. https://github.com/ziap/dotfiles

a great config

2.6.2. Ruixi-rebirth's dotfiles

sway, very beautiful, from COSSIG

2.6.3. a Paid config

this is excellent, but…not for me, I'd like something simpler

  1. archcraft

2.6.4. 夜 - Yoru

awesome config!

3. NixOS related

Author: dongdigua

Date: 2022-08-07 日 00:00

Build: 2022-12-03 六 22:45

LICENCE: CC BY-NC-SA

If you have any idea, please contact me! I may add your comment