Git Product home page Git Product logo

docker-qq-tim-wechat's Introduction

Docker QQ TIM WeChat

简介

在任意Linux发行版上通过Docker运行基于Deepin Wine的QQ、TIM和WeChat!

qq

tim

wechat

依赖

使用

本项目使用Arch或Ubuntu镜像,根据个人喜好选择均可,这里以Arch为例。QQ+WeChat或TIM+WeChat两种组合任选,下面以后者为例。

允许其他用户图形显示:

xhost +

进入对应目录:

cd arch/tim-wechat

替换音视频组ID:

sed -i "s/996/$(getent group audio | cut -d: -f3)/g" docker-compose.yml
sed -i "s/985/$(getent group video | cut -d: -f3)/g" docker-compose.yml

建立用户数据文件夹:

mkdir -p $HOME/Documents/{Tencent\ Files,WeChat\ Files}

初次运行需要构建镜像:

docker-compose up -d

以后运行只需重启容器:

docker-compose restart tencent

如需调试进入容器:

docker-compose exec tencent bash

重新生成并启动容器:

docker-compose up --build -d

关闭并删除容器和镜像:

docker-compose down --rmi all

常见问题

没有图形显示

不要忘记执行xhost +,特别是电脑重启以后。

GNOME系统托盘

依赖TopIcons Plus解决,Debian系通过下面命令安装:

sudo apt install gnome-shell-extension-top-icons-plus

注销重新登录,在应用中找到Tweaks,启用插件。

topicon

文件传输

宿主机用户目录已经挂载在容器的/home目录下,可供发送文件。腾讯用户数据目录也被挂载或链接,位于宿主机~/Documents,方便接收文件。

Arch的TIM启动报错

Arch第一次启动TIM可能报错:

fail

执行上面重启命令即可:

success

Wine程序错误

遇到以下错误无需理会直接关闭:

error

程序闪退

程序后台运行有时闪退,原因目前还不清楚,通过重启容器解决。

致谢

感谢Wine为类UNIX平台运行Windows程序作出的努力,Deepin对其的进一步优化和对QQ、TIM、WeChat的适配,以及Arch用户Vufa提供和维护的AUR包。

docker-qq-tim-wechat's People

Contributors

geeeekexplorer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.