Skip to content

arch linux 小问题记录 #15

@GuoYuefei

Description

@GuoYuefei
  1. 在gnome桌面环境下, QT编写的软件可能出现不能支持中文输入, 如Telegram。
    解决方式:
~/.pam_environment
GTK_IM_MODULE DEFAULT=fcitx
QT_IM_MODULE  DEFAULT=fcitx
XMODIFIERS    DEFAULT=\@im=fcitx

后来发现,在kde环境下的那个系统之前安装时就已经修改该文件。

  1. docker-wechat安装
    先说缺点: 这种安装方式比较占存储空间
    docker安装:
sudo pacman -Syu docker
sudo gpasswd -a ${USER} docker

/etc/docker/daemon.json
{
    "registry-mirrors": ["https://registry.docker-cn.com", "https://hub-mirror.c.163.com"]
}

sudo systemctl restart docker

xhost :

huan/docker-wechat#26

xhost +

dochar ------ docker-wechat:

curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | bash

以上我无法执行,应该是墙的原因,所以直接吧shell脚本的文本复制出来运行。

脚本复制到本地的好处就是随时运行。

脚本我放在本仓库的linux/下

因为xhost +每次启动后都要执行,所以我这边的脚本里加了这一句了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    linux有关linux的问题

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions