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

48 lines
1.9 KiB
Org Mode
Raw Normal View History

2024-03-24 20:49:08 +08:00
#+TITLE: Swaywm/Wayland related issues (踩坑)
#+DESCRIPTION: 返璞归真
2022-09-15 17:18:00 +08:00
#+DATE: <2022-08-07 日>
#+OPTIONS: toc:nil
2022-08-09 18:15:04 +08:00
2024-03-24 20:49:08 +08:00
* VirtualBox
** cursor
=WLR_NO_HARDWARE_CURSORS=1=
2024-03-24 20:49:08 +08:00
** egl error
enable 3D acceleration in VirtualBox
2024-03-24 20:49:08 +08:00
* unable to drop root
donot run under root
2024-03-24 20:49:08 +08:00
** in normal user, libseat permission deniened
add user in =video= group
login as user, not root
2024-03-24 20:49:08 +08:00
* iBus
no, use fcitx5 instead
** [[https://www.reddit.com/r/swaywm/comments/djkj5m/ibus_on_swaywm/][reddit: ibus on swaywm]]
* Authorization required, but no authorization protocol specified
** =sudo -E=
** lxpolkit(directly execute) or polkit-gnome(prettier, at /usr/libexec/polkit-gnome-authentication-agent-1)
** pkexec
2023-02-03 09:44:04 +08:00
:PROPERTIES:
:CUSTOM_ID: pkexec
:END:
2024-03-24 20:49:08 +08:00
* environment variable?
trick: add =Exec=zsh -lc sway= in =/usr/share/wayland-sessions/sway.desktop=
* cursor theme not working
2022-08-14 17:04:27 +08:00
[[https://github.com/swaywm/sway/issues/6931][from this issue]]
2022-11-06 12:58:25 +08:00
add =seat seat0 xcursor_theme Oxygen_White= in sway config file
2024-03-24 20:49:08 +08:00
* [[https://www.reddit.com/r/swaywm/comments/scz5k6/option_create_on_workspace_prev_on_outputnext_on/][Option --create on workspace prev_on_output|next_on_output?]]
2022-11-06 12:58:25 +08:00
this feature is not compatible with i3, so sway didn't accept the pr
2024-03-24 20:49:08 +08:00
** [[https://www.reddit.com/r/swaywm/comments/mmfwnu/sway_command_workspace_next/][shell script solution]]
** [[https://github.com/oati/sway-workspace-manager][rust, probably useful]]
* grim + slurp screenshot pause the screen
[[https://github.com/jtheoof/swappy][swappy]] is probably an idea
I odn't want to make it too complicated,
just shot the whole screen and edit with GIMP later
2024-03-24 20:49:08 +08:00
* dark mode
2024-01-28 15:11:11 +08:00
[[https://gitlab.com/WhyNotHugo/darkman][darkman]]
2024-03-24 20:49:08 +08:00
but, if you are using swayfx (~2024.1), [[https://github.com/WillPower3309/swayfx/issues/226#issuecomment-1879642217][#226]]
* [[https://github.com/swaywm/sway/pull/7226][sway input-method popup #7226]]
[[https://github.com/swaywm/sway/pull/7226#issuecomment-1294741956][foot works]]