Guix中使用纯 wayland 环境的时候需要设置的

gtk 在纯 wayland 环境中运行

  1. 需要在环境变量中加入以下内容:
    export GDK_BACKEND=wayland
    

qt 在纯 wayland 环境中运行

  1. 需要在环境变量中加入以下内容:

    export QT_QPA_PLATFORM=wayland
    
  2. 同时需要在qt软件的profile中安装 qtwayland 拓展 以下是启动 fcitx5-configtool 中的 fcitx5-config-qt 的示例

    export QT_QPA_PLATFORM=wayland
    guix environment --ad-hoc fcitx5-configtool qtwayland -- fcitx5-config-qt
    

Guix中使用 guix system vm 会遇到的问题

Guix中国镜像