mirror.dongdigua.github.io/org/wayland.org

61 lines
2.9 KiB
Org Mode

#+TITLE: Something About Wayland(swaywm)
#+OPTIONS: toc:nil
* Solution
** gnome-screenshot
grim
** iBus
emacs pyim
** Emacs transparent, terminal blur
probably wayfire?
** Authorization required, but no authorization protocol specified
*** =sudo -E=
*** lxpolkit(directly execute) or polkit-gnome(prettier)
** cannot start sway on lightdm
in =/etc/lightdm/lightdm.conf= uncomment =sessions-directory= line
but still not stable, and it can't remenber which DE you used last time
+so use gdm is a better choice?+
SDDM is fantastic! [[https://youtu.be/2p7FINJSlAk][It is themeable]],
I'm using *~elarun~*, a oxygen-like smooth crystal theme
materia-kde is also a good choice
** obs
don't remove the =include= line!!!
** cursor theme not working
[[https://github.com/swaywm/sway/issues/6931][from this issue]]
add =seat seat0 xcursor_theme Oxygen_White= in sway comfig file
** touchpad gesture like gnome
*** [[https://github.com/swaywm/sway/issues/1514][issue #1514: touchpad gestures to switch workspaces]]
**** [[https://github.com/bulletmark/libinput-gestures][the libinput-gestures library]]
**** [[https://github.com/swaywm/sway/pull/4952][pull #4952]]
***** [[https://github.com/swaywm/sway/pull/6778][pull #6778]]
*** r/swaywm
**** [[https://www.reddit.com/r/swaywm/comments/r85e9g/touchpad_gestures/]]
**** [[https://www.reddit.com/r/swaywm/comments/px5vmw/how_are_you_configuring_touchpad_gestures/]]
**** [[https://www.reddit.com/r/swaywm/comments/em0jnx/can_sway_handle_threefour_finger_touchpad_gestures/]]
** notify-send don't work
mako, a notification daemon
** TODO [[https://github.com/WayfireWM/wayfire/issues/1329][Wayfire crashes when closing foot terminal]]
** emacs tool-bar not working(cannot toggle and icon theme missing)
*** cannot toggle: disable custon =default-frame-alist=, or just use floating mode
*** TODO icon theme missing: ?
* Ref
** [[https://coda.world/sway-explore-and-giveup][Sway: 从尝试到放弃]]
** [[https://shinta.ro/posts/migration-from-xorg-to-wayland/][从 Xorg 迁移到 Wayland]]
** [[https://www.reddit.com/r/swaywm/comments/djkj5m/ibus_on_swaywm/][reddit: ibus on swaywm]]
** [[https://github.com/emersion/xdg-desktop-portal-wlr/wiki/Screencast-Compatibility#obs][xdg-desktop-portal wiki: obs]]
** [[https://www.reddit.com/r/swaywm/comments/jdoo8m/how_do_i_find_out_the_names_of_certain_keys/][prtsc is Print]]
=xev/wev= is helpful
** [[https://github.com/ziap/dotfiles]]
a great config
** [[https://www.reddit.com/r/swaywm/comments/ehqsuw/autochanging_background_for_sway/][reddit: auto-changing sway background]]
** [[https://github.com/Ruixi-rebirth/sway-dotfiles][Ruixi-rebirth's dotfiles]]
sway, very beautiful, from COSSIG
** [[https://www.reddit.com/r/unixporn/comments/vc9912/river_riced_river_a_dynamic_tiling_wayland/][a Paid config]]
this is excellent, but...not for me
I'd like something simpler
*** [[https://archcraft.io][archcraft]]
** [[https://github.com/rxyhn/yoru][夜 - Yoru]]
awesome config!