应用

  • 原生支持

    • emacs-pgtk (emacs-wayland on arch linux)
    • firefox
  • vscode

    • code --ozone-platform=wayland

sfwbar

出现 tasklist 无法识别的 icon

修复方法:

  1. cp your_real_icon_file ~/.local/share/icons/

支持 win10 任务栏 task manager 样式

cp /usr/local/share/sfwbar/w10.config ~/.config/sfwbar/sfwbar.config

编译安装

微信无法使用 fcitx5 输入修复方法

在 /etc/environment 中添加:

1
2
3
4
XIM=fcitx
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx

参考:

wayvnc + systemd

ref:

  1. https://claude.ai/share/8d377ac7-638d-4285-b7c0-1c88243a429e
  2. https://github.com/any1/wayvnc

systemd file

systemd unit file: ~/.config/systemd/user/wayvnc.service

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
[Unit]
Description=WayVNC - Wayland VNC Server
Documentation=man:wayvnc
After=graphical-session.target
PartOf=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY

[Service]
Type=simple
ExecStart=/usr/bin/wayvnc 0.0.0.0 5900
Restart=on-failure
RestartSec=5

[Install]
WantedBy=default.target

设置用户、密码

~/.config/wayvnc/config

1
2
3
4
5
use_relative_paths=true
address=0.0.0.0
enable_auth=true
username=sawyer
password=jSKj2019

设置证书的方法,参考官方 repo