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.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.8. touchpad gesture like gnome
use libinput-gestures
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
1.11.1. shell script solution
1.11.2. rust, probably useful
2. Ref
2.1. Sway: 从尝试到放弃
2.2. 从 Xorg 迁移到 Wayland
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.4. 夜 - Yoru
awesome config!