[Share Experiences] birdtray——为ThunderBird邮箱客户端添加托盘区小图标
Tofloor
poster avatar
吉吉如律令
deepin
2023-02-16 23:03
Author

ThunderBird是一个老牌邮箱客户端了,但它有个很大的问题,就是没有托盘区小图标,关闭ThunderBird界面就意味着退出了,没法及时收到来件提醒。
birdtray项目就是为了解决这个问题而诞生的,以下方法仅适用于Linux版ThunderBird,Windows用户可以直接下载预编译的birdtray安装器使用

安装方法

首先确认电脑上已经安装有 git以及 cmake
未安装的话,可以终端输入

sudo apt install git cmake

进行安装
接着在终端输入以下命令

sudo apt install qt5-default libqt5x11extras5-dev qttools5-dev libqt5svg5-dev libx11-xcb-dev #安装项目需要的依赖
git clone https://github.com/gyunaev/birdtray.git #下载项目
cd birdtray #进入项目目录
mkdir build #创建build目录
cd build #进入build目录
cmake -DCMAKE_BUILD_TYPE=Release .. #开始编译
sudo cmake --build . --target install #安装birdtray

如果以上一切OK的话,此时打开启动器,应该就可以看见birdtray的图标了,运行birdtray会提示你进行配置,你也可以之后在托盘区图标右键菜单的设置中修改配置,你可以根据你的喜好进行设置,但需要注意以下两点:

  1. 正常情况下,ThunderBird启动程序文件路径应该是 /opt/thunderbird/thunderbird,但如果你使用的是从星火商店安装的版本,那么需要在birdtray设置-高级选项中,将ThunderBird启动命令改为 /opt/apps/thunderbird.spark/files/thunderbird/thunderbird。Deepin商店的ThunderBird我没试过,不知道会安装到哪个目录,安装过的坛友可以在评论区说一下嘛?
  2. birdtray设置-高级选项中有一个 支持非NETWM兼容的窗口管理器选项,不要勾选,勾选后,birdtray的一些设置项,比如自动隐藏,可能不会生效
Reply Favorite View the author
All Replies
lizhu
deepin
2023-02-16 23:34
#1

agree

Reply View the author
jjcui8595
Moderator
2023-02-17 00:26
#2

like

Reply View the author
神末shenmo
Moderator
Spark-App
2023-02-17 00:58
#3

这样哈,星火的thunderbird现在也可以从/usr/bin启动了

以及,现在把birdtray写到推荐里了,一般会自动安装,挺不错

不过,这东西不支持中文,门槛有一点

Reply View the author
一醉陶然
deepin
2023-02-17 01:02
#4

直接使用网页版邮箱,省下计算机存储空间。

Reply View the author
dolphin_roy
deepin
2023-02-17 03:12
#5

这个退出雷鸟也能用么,这么高级

Reply View the author
吉吉如律令
deepin
2023-02-17 20:39
#6
dolphin_roy

这个退出雷鸟也能用么,这么高级

不能😂这个准确来讲其实是监测thunderbird活动的,只是可以设置thunderbird隐藏起来

Reply View the author