mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-27 21:30:53 +08:00
48 lines
1.9 KiB
Org Mode
48 lines
1.9 KiB
Org Mode
#+TITLE: Swaywm/Wayland related issues (踩坑)
|
|
#+DESCRIPTION: 返璞归真
|
|
#+DATE: <2022-08-07 日>
|
|
#+OPTIONS: toc:nil
|
|
|
|
* VirtualBox
|
|
** cursor
|
|
=WLR_NO_HARDWARE_CURSORS=1=
|
|
** egl error
|
|
enable 3D acceleration in VirtualBox
|
|
* unable to drop root
|
|
donot run under root
|
|
** in normal user, libseat permission deniened
|
|
add user in =video= group
|
|
login as user, not root
|
|
|
|
* 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
|
|
:PROPERTIES:
|
|
:CUSTOM_ID: pkexec
|
|
:END:
|
|
|
|
* environment variable?
|
|
trick: add =Exec=zsh -lc sway= in =/usr/share/wayland-sessions/sway.desktop=
|
|
* cursor theme not working
|
|
[[https://github.com/swaywm/sway/issues/6931][from this issue]]
|
|
add =seat seat0 xcursor_theme Oxygen_White= in sway config file
|
|
* [[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?]]
|
|
this feature is not compatible with i3, so sway didn't accept the pr
|
|
** [[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
|
|
* dark mode
|
|
[[https://gitlab.com/WhyNotHugo/darkman][darkman]]
|
|
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]]
|
|
|