Update on exaile-soundmenu-indicator and exaile-doubanfm-plugin

Exaile-soundmenu-indicator

As many users complaint about the “minimise to sound menu” issue, I updated exaile-soundmenu-indicator plugin. Now it is basically compliant with specification of SoundMenu: it will keep playing if you click the close button while the player is playing, and will exit if not playing. However, to be able to complete the functionality, you have to commentify the line 1506 of /usr/lib/exaile/xlgui/main.py, which is “return true” of method “delete_event” (On Ubuntu 10.10, exaile 0.3.2.0-ubuntu3). Otherwise, whenever you close the window it won’t exit.

I know this is a bad idea to require user to modify the source code, but it‘s not possible to override the behavior of a GTK callback, especially when you do not have the handler_id of the callback. If you do not mind the incompliant of closing behavior, you can just keep it as is, and exiting by menu and CRTL+Q.

Grab the snapshot of github repository to get the up-to-date version:
https://github.com/sunng87/Exaile-Soundmenu-Indicator

Exaile-doubanfm-plugin

Exaile豆瓣电台插件更新。豆瓣最近调整了登录的策略:

  • 用户在首次访问豆瓣时被设置cookie bid
  • 用户提交登陆表单时被要求提交cookie bid,否则不予通过。

此外,这次更新开始使用HTTPS提交用户登录信息。

https://github.com/sunng87/exaile-doubanfm-plugin,请下载最新0.0.6c。

Exaile doubanfm plugin 0.0.6b

上周豆瓣电台增加了电影原声频道,这次的插件更新支持了这个新频道(OST)。

下载地址

https://github.com/sunng87/exaile-doubanfm-plugin/downloads

安装指南

https://github.com/sunng87/exaile-doubanfm-plugin/wiki/Installation

欢迎使用!

Exaile sound menu integration

Sound menu indicator was introduced in Ubuntu Maverick(10.10). User can control playback from this menu, and view current track information.

The control is based on mpris spec 2.0, which is a common specification of controlling media player with dbus. To enable sound menu support, media player should implement mpris 2.0, and register itself with libindicate.

So this week, I have been working on an exaile plugin to support sound menu and finally got a workable version.

Screenshot of exaile sound menu

The code repo can be found at github:
https://github.com/sunng87/Exaile-Soundmenu-Indicator

终于能用Unity和Gnome-shell了

自从升级到Maverick之后,有两个问题就一直如鲠在喉,GNOME3会话和Ubuntu Netbook(Unity)会话能不能用。前者启动之后出现Panel后全部僵死,鼠标可以移动但是任何操作都没有响应;后者桌面背景图片一闪就黑屏,没有任何响应。

查看unity的xsession-error日志,其中的报错比较含糊,搜索也没有找到相似的问题。查看GNOME-Shell的xsession-error之后发现很多JS报错,搜索了一下,终于找到了一个bug报告:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/618907

情况和我一样,都是之前曾经安装过PPA版本的GNOME-Shell尝鲜,升级之后出现了JS报错。按照说明打开synaptic,果然有两个包使用的是git版本,尽管PPA已经删除,但是已安装的软件包只会被标记为Local or Obsolete,恰好这个git版本是0.9.4比Maverick里的0.9.3还要高,这样更新的时候又不会提示。如果不细看还真的不容易发现。按下Ctrl+E, synaptic会提示Force Version对话框,选择仓库的旧版本,安装、重启。这下不仅GNOME-Shell正常工作了,同样依赖Mutter的Unity也正常了。

这次悲剧,说明使用PPA还是要慎重,尤其是跨版本升级之后,要小心PPA被禁用但软件包没有被升级的情况。