Pav*_* S. 33 thunderbird pidgin
有没有办法让消息服务(IM - Pidgin,邮件客户端 - Thunderbird)“在后台”运行?我想让他们等待传入的消息,但是在使用 alt-tab 在应用程序之间切换时他们会打扰我。无论如何,我通过单击工具栏中的信封指示符来访问这些程序,因此我不需要在正在运行的应用程序列表中看到它们。我的愿望是像 Banshee 或 Empathy 那样的行为。
我不想要像 AllTray 这样的解决方案,因为应用程序在信封小程序中已经有了它们的“托盘”。
编辑:我已经意识到 Pigin 的行为是这样的。不知道以前有没有,现在好了。所以现在只有雷鸟...
nas*_*oos 14
编辑 3:感谢 @Mik 和 @Karthik如何模拟从脚本中按下关闭按钮?我们现在有了迄今为止最好的解决方案!!
你需要安装一个 Thunderbird 扩展:
您还需要安装“xdotool”才能正确运行以下脚本:
sudo apt-get install xdotool要使 Thunderbird 在系统登录时启动并立即最小化,请创建以下脚本:
#!bin/bash
#wait for internet connection up to 15 seconds
host=google.com
CONNECTED=$(ping -w5 -c1 $host > /dev/null 2>&1 && echo "up" || echo "down")
STOPWATCH=0
while [ "$CONNECTED" = "down" ] && [ $STOPWATCH -lt 15 ]; do
sleep 1;
CONNECTED=$(ping -w5 -c1 $host > /dev/null 2>&1 && echo "up" || echo "down")
let STOPWATCH++
done
#run Thunderbird
thunderbird &
#Search for Thunderbird window
TB=$(xdotool search --class thunderbird)
while [ -z "$TB" ]; do
sleep 10 #Adjust this to your system needs
TB=$(xdotool search --class thunderbird)
done
#dispose Thunderbird window
xdotool search --class thunderbird windowunmap %@
Run Code Online (Sandbox Code Playgroud)
*我在shell脚本方面不是很有经验,所以如果有更好的实现,请告诉我!
bash /home/your-name/Documents/thunderbird_start.sh*也许你也可以使用“~/”来获取你的主目录,但我不确定是否会起作用,你可以试试:sh ~/Documents/thunderbird_start.sh
编辑:MinimizedToTray 正式不支持 Unity 所以它在恢复雷鸟后打破了全局菜单栏。解决方法是禁用全局菜单扩展,直到修复发布,或使用 HUD (ubuntu 12.04) 访问 thunberbird 的选项。
编辑 2:我可以确认 Karthik 的评论,“MinimizedToTray revived 1.1.2”不再破坏 Unity 的全局菜单栏!非常感谢 Nils Maier...
编辑 4:我对脚本代码进行了一些更改。我已经添加了一些行来检查 Internet 连接,这样sleep 10就不再需要了......
第 5 步中的注意sh被替换为bash
编辑 5:sleep 10脚本中还有一个命令。您应该根据系统的速度调整睡眠时间。例如,在我的笔记本电脑中,我有一个 SSD,所以 Thunderbird 可以快速打开,sleep 2完美运行。在我的台式 PC 中,我必须添加 10 秒的睡眠才能使其正常工作......我已经发布了另一个问题来克服这个限制!
对此有一个非常简单的解决方案:您可以将 Compiz 配置为跳过指定应用程序的任务栏和寻呼机。要使用 Thunderbird,您必须执行以下步骤:
转到 Softwarecenter 并安装 CompizConfig 或使用以下命令:
sudo apt-get install compizconfig-settings-manager
使用 Dash 或执行以下命令打开 CompizConfig-Setting-manager:
国家标准委员会
点击左侧边栏»Windowmanager«

现在您可以指定您不喜欢出现在任务栏和寻呼机中的窗口:对于 Thunderbird,您在提交的 »Skip Taskbar« 和 »Skip Pager« 中输入以下内容:
class=Thunderbird 在提交的“不可关闭”中输入相同的内容,您应该拥有您想要的行为。

请参阅: http: //brainstorm.ubuntu.com/idea/28707/ - 建议将此功能添加到雷鸟。
MinimizeToTray 复活了,Firetray 的工作效果并不令我满意。当其中一个扩展运行时,当我第一次启动进化 3 或 4 个窗口时会打开。此外,在多次关闭“进化”消息菜单后,当我重新打开“进化”时,全局菜单会丢失。
| 归档时间: |
|
| 查看次数: |
13518 次 |
| 最近记录: |