把你的 SongBird 嵌入 SysTray 托盘 FireTray_x86_hacked For-SongBird-1.4.*

{ 撰文/ihipop }
前几天 Toy 介绍了新版本的 SongBird,呵呵,其实我一直再用的,不爽的就是那个默认不能缩放到托盘,官方插件库里面的那个 firefray,版本号一直停留在 Version: 0.1.13,

也是只支持到 SongBird 1.1.1就没有更新过,装不上,

这里我下载了原始的 xpi 文件(Linux 32-bit)修改了下他的兼容版本信息,骗过了 SongBird 的检查,大家下载即可,不敢太嚣张,所以修改成了 1.4.+ 版本通用的信息,文件和修改方法如下

这个是修改好的文件 firetrayx86hack_to-SongBird-1.4.*,下载后解压缩拖放到 SongBird 的窗口里面即可

下面开始授人以渔

  1. 下载原始的 xpi 文件(Linux 32-bit,firetray_x86.xpi),然后我在 /tmp 目录建立一个文件夹,命名为 test,这个随意阿
  2. mv firetray_x86.xpi /tmp/test
  3. unzip firetray_x86.xpi
  4. gedit install.rdf
  5. 查找 <em:maxversion>1.1.1</em:maxversion>,改为 <em:maxversion>1.4.*</em:maxversion>,存盘退出
  6. rm -f firetray_x86.xpi
  7. zip -r firetray_x86_hacked.xpi *
  8. 收工

Read More:

19 Comments

  1. 1 Iven Commented @ 2010-01-01 16:56Reply to this comment

    今天试了一下 MPD,感觉挺不错的…… Songbird 感觉跟 Linux 风格相差较大……

  2. 2 yjcsper Commented @ 2010-01-01 19:24Reply to this comment

    挺不错的。特别是可以用mashtape查看艺术家信息。缺点就是启动太慢。

  3. 3 ihipop Commented @ 2010-01-01 19:40Reply to this comment

    @yjcsper: 想当年,firefox也这样

  4. 4 mymathersname Commented @ 2010-01-01 22:11Reply to this comment

    一直在用,不过我用的比LZ更高版本,1.5.1pre版,所有插件全部是修改后装上的,不过没有用命令,修改为zip拓展名,一样改一改,我直接改到1.5.*哈哈,无所谓,基本都能用。

  5. 5 bob Commented @ 2010-01-01 22:40Reply to this comment

    LZ也看《李献计历险记》?神作不需解释!

  6. 6 wulun Commented @ 2010-01-01 23:20Reply to this comment

    养了只肥狐,现在又亲手喂大了一只肥鸟,每次开着虚拟机内存占用率居高不下时,看着习惯开启的这只肥鸟,我都心惊胆颤! Mozilla真是让我爱恨两难……

  7. 7 Pepino Commented @ 2010-01-02 0:11Reply to this comment

    其实我觉得这个可以写成直接运行在XULrunner和Gstreamer上,不必在Firefox基础上改。

  8. 8 shizh Commented @ 2010-01-02 19:18Reply to this comment

    推荐,MinimizeToTray revived (MinTrayR), http://tn123.ath.cx/mintrayr/

  9. 9 hantsy Commented @ 2010-01-03 11:36Reply to this comment

    有人在 HP CQ40 609tx 上装过 Linux 吗? http://www.linuxsir.org/bbs/thread362311.html

  10. 10 wulun Commented @ 2010-01-08 21:50Reply to this comment

    试了一下,发现它与Lrcshow-X冲突(可能是提供Dbus接口的MPRIS扩展)--Lrcshow-X启动后空白。 卸载后恢复正常。

  11. 11 黑日白月 Commented @ 2010-01-09 4:21Reply to this comment

    恩,不错~

    @Pepino:

    本来就是在 xulrunner 和 gstreamer 上的……

  12. 12 黑日白月 Commented @ 2010-01-09 4:57Reply to this comment

    楼主用的 Firetray 版本有些早,托盘区右键图标显示菜单比较诡异,我用最新的 0.25-dev 修改了下,放在这里:

    http://dl.dropbox.com/u/464139/firetray_0.2.5_hacked.xpi

    该版本还支持托盘区鼠标滚轮动作设置,绑定到“上一首”“下一首”很方便~

  13. 13 Pepino Commented @ 2010-01-09 15:18Reply to this comment

    @黑日白月: 不是這個意思,我是說不必用FF改,另寫一個獨立的應用程序,又可以利用XULrunner的跨平臺特性。

  14. 14 黑日白月 Commented @ 2010-01-09 19:13Reply to this comment

    @Pepino:

    不好意思,还是没能理解……

    Songbird 本来就不是从 FF 改的啊,只是使用了 xulrunner 和 gstreamer 的啊……

    网页渲染用了 gecko 不代表是从 FF 改的啊……

  15. 15 Pepino Commented @ 2010-01-10 1:09Reply to this comment

    @黑日白月: 那我大概弄錯了,我看Songbird和Flock一樣能用Mozilla Addon,所以……

  16. 16 fkw Commented @ 2010-01-10 12:19Reply to this comment

    如果*nix也有foobar这样的就好了。。。

  17. 17 luojie-dune Commented @ 2010-01-10 19:00Reply to this comment

    foobar2000 到底有什么好的。。。

  18. 18 Pepino Commented @ 2010-01-10 19:37Reply to this comment

    @luojie-dune: 別的不說,我至少有一個插件離不開它:input_tak.dll……

  19. 19 Skyrunner Commented @ 2010-01-11 1:32Reply to this comment

    我现在用的1.5已经默认具有托盘功能了