memeco / osd-lyrics

Automatically exported from code.google.com/p/osd-lyrics
GNU General Public License v3.0
1 stars 0 forks source link

Tray-icon problems in Ubuntu 11.10 #241

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
请列出导致问题的操作
1.I installed osdlyrics through source code since there is no proper deb 
package for Ubuntu 11.10,it works well,and the only problem is that no tray 
icon exists,so I cannot set the fonts or any other things, and nor can I drag 
it.

What's the output in terminal (run with command `osd-lyrics -d debug')?
请给出在终端下运行的输出(使用“osd-lyrics -d
debug”来运行)
solever@solever-desktop:~$ osdlyrics -d debug
*Debug*: in function ol_player_exaile03_get: ol_player_exaile03.c[412]
ol_player_exaile03_get
*Debug*: in function ol_player_listen_get: ol_player_listen.c[360]
ol_player_listen_get
*Debug*: in function ol_player_gmusicbrowser_get: ol_player_gmusicbrowser.c[375]
ol_player_gmusicbrowser_get
*Debug*: in function ol_config_class_init: ol_config.c[152]
id of changed signal is: 146
*Debug*: in function ol_config_get_path: ol_config.c[363]
config path: /home/solever/.config/osdlyrics/osdlyrics.conf
*Debug*: in function ol_config_init: ol_config.c[100]
download-engine
*Debug*: in function ol_config_init: ol_config.c[100]
active-lrc-color
*Debug*: in function ol_config_init: ol_config.c[100]
inactive-lrc-color
*Debug*: in function ol_config_init: ol_config.c[100]
lrc-path
*Debug*: in function ol_config_init: ol_config.c[100]
lrc-filename
*Debug*: in function ol_config_get_string: ol_config.c[336]
[General]display-mode:OSD
*Debug*: in function ol_osd_window_set_bg: ol_osd_window.c[1868]
bg: 0x8849938
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]width
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]width:1024
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]osd-window-mode
*Debug*: in function ol_config_get_string: ol_config.c[336]
[OSD]osd-window-mode:dock
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]visible
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]visible:1
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_osd_window_update_child_allocation: ol_osd_window.c[935]
set child allocation
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (457, 59) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (479, 59) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (501, 59) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (523, 59) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (545, 59) 22 x 22
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]locked
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]locked:1
*Debug*: in function config_change_handler: ol_osd_module.c[217]
  locked: 1
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]locked:1
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]line-count
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]line-count:1
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]font-name
*Debug*: in function ol_config_get_string: ol_config.c[336]
[OSD]font-name:serif 30
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]x
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]y:0
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]x:0
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]lrc-align-0
*Debug*: in function ol_config_get_double: ol_config.c[323]
[OSD]lrc-align-0:0.000000
*Debug*: in function ol_osd_window_set_line_alignment: ol_osd_window.c[1254]
ol_osd_window_set_line_alignment:0-0.000000
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]lrc-align-1
*Debug*: in function ol_config_get_double: ol_config.c[323]
[OSD]lrc-align-1:1.000000
*Debug*: in function ol_osd_window_set_line_alignment: ol_osd_window.c[1254]
ol_osd_window_set_line_alignment:1-1.000000
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]active-lrc-color
*Debug*: in function config_change_handler: ol_osd_module.c[253]
len = 3
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]inactive-lrc-color
*Debug*: in function config_change_handler: ol_osd_module.c[267]
len = 3
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]translucent-on-mouse-over
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]translucent-on-mouse-over:0
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]outline-width
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]outline-width:3
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]blur-radius
*Debug*: in function ol_config_get_double: ol_config.c[323]
[OSD]blur-radius:2.000000
*Debug*: in function ol_lrc_fetch_add_engine: ol_lrc_fetch.c[97]
engine:Xiami
*Debug*: in function ol_lrc_fetch_add_engine: ol_lrc_fetch.c[97]
engine:ttPlayer
*Debug*: in function ol_osd_window_update_child_allocation: ol_osd_window.c[935]
set child allocation
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (457, 63) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (479, 63) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (501, 63) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (523, 63) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (545, 63) 22 x 22
*Debug*: in function ol_player_get_active_player: ol_player.c[133]
controller count:11
*Debug*: in function ol_player_get_active_player: ol_player.c[137]
trying Banshee
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1225]
  lyric:(null)
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1225]
  lyric:(null)
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1225]
  lyric:(null)
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1225]
  lyric:(null)
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1225]
  lyric:(null)
*Debug*: in function _find_by_uri: ol_lrclib.c[133]
SELECT lrcpath FROM lyrics WHERE uri = 
'file:///media/DATARX_/%E9%9F%B3%E4%B9%90%E6%96%87%E4%BB%B6/%E9%9F%B3%E4%B9%90%E
4%B8%93%E8%BE%91/%E5%A4%96%E8%AF%AD%E6%AD%8C%E6%9B%B2/%E7%BB%8F%E5%85%B8%E8%8B%B
1%E8%AF%AD%E6%AD%8C%E6%9B%B2/angel%20-%20sarah%20mclachlan%20%E5%A4%A9%E4%BD%BF(
%E8%8E%8E%E6%8B%89.%E5%85%8B%E5%8A%B3.ape'
*Debug*: in function ol_lrclib_find: ol_lrclib.c[366]
found = 0
*Debug*: in function _find_by_info: ol_lrclib.c[177]
SELECT lrcpath FROM lyrics WHERE title = 'Angel' AND artist = 'Sarah McLachlan 
天使(莎拉.克劳克兰)' AND album = '欧美金唱盘' AND uri is NULL
*Debug*: in function internal_for_each: ol_lyric_manage.c[47]
  uri: file:///media/DATARX_/%E9%9F%B3%E4%B9%90%E6%96%87%E4%BB%B6/%E9%9F%B3%E4%B9%90%E4%B8%93%E8%BE%91/%E5%A4%96%E8%AF%AD%E6%AD%8C%E6%9B%B2/%E7%BB%8F%E5%85%B8%E8%8B%B1%E8%AF%AD%E6%AD%8C%E6%9B%B2/angel%20-%20sarah%20mclachlan%20%E5%A4%A9%E4%BD%BF(%E8%8E%8E%E6%8B%89.%E5%85%8B%E5%8A%B3.ape
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:~/.lyrics, name:%p-%t
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /home/solever/.lyrics/Sarah McLachlan 天使(莎拉.克劳克兰)-Angel.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/home/solever/.lyrics/Sarah McLachlan 天使(莎拉.克劳克兰)-Angel.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:~/.lyrics, name:%t-%p
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /home/solever/.lyrics/Angel-Sarah McLachlan 天使(莎拉.克劳克兰).lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/home/solever/.lyrics/Angel-Sarah McLachlan 天使(莎拉.克劳克兰).lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:~/.lyrics, name:%f
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /home/solever/.lyrics/angel - sarah mclachlan 天使(莎拉.克劳.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/home/solever/.lyrics/angel - sarah mclachlan 天使(莎拉.克劳.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:~/.lyrics, name:%t
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /home/solever/.lyrics/Angel.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/home/solever/.lyrics/Angel.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:%, name:%p-%t
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /media/DATARX_/音乐文件/音乐专辑/外语歌曲/经典英语歌曲/Sarah McLachlan 天使(莎拉.克劳克兰)-Angel.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/media/DATARX_/音乐文件/音乐专辑/外语歌曲/经典英语歌曲/Sarah McLachlan 天使(莎拉.克劳克兰)-Angel.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:%, name:%t-%p
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /media/DATARX_/音乐文件/音乐专辑/外语歌曲/经典英语歌曲/Angel-Sarah McLachlan 天使(莎拉.克劳克兰).lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/media/DATARX_/音乐文件/音乐专辑/外语歌曲/经典英语歌曲/Angel-Sarah McLachlan 天使(莎拉.克劳克兰).lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:%, name:%f
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /media/DATARX_/音乐文件/音乐专辑/外语歌曲/经典英语歌曲/angel - sarah mclachlan 天使(莎拉.克劳.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/media/DATARX_/音乐文件/音乐专辑/外语歌曲/经典英语歌曲/angel - sarah mclachlan 天使(莎拉.克劳.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:%, name:%t
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /media/DATARX_/音乐文件/音乐专辑/外语歌曲/经典英语歌曲/Angel.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/media/DATARX_/音乐文件/音乐专辑/外语歌曲/经典英语歌曲/Angel.lrc
*Debug*: in function _check_lyric_file: ol_main.c[271]
filename;(null)
*Debug*: in function ol_lrc_fetch_begin_search: ol_lrc_fetch_module.c[365]
  title: Angel
  artist: Sarah McLachlan 天使(莎拉.克劳克兰)
  album: 欧美金唱盘
*Debug*: in function ol_lrc_fetch_get_engine: ol_lrc_fetch.c[80]
[0]:Xiami
*Debug*: in function ol_lrc_fetch_get_engine: ol_lrc_fetch.c[80]
[0]:Xiami
*Debug*: in function ol_lrc_fetch_get_engine: ol_lrc_fetch.c[80]
[1]:ttPlayer
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[General]notify-music:1
*Debug*: in function _get_notify: ol_notify.c[49]
summary: Angel
body: Sarah McLachlan 天使(莎拉.克劳克兰)
<i>欧美金唱盘</i>
icon: /usr/share/icons/hicolor/48x48/apps/media-player-banshee.png
*Debug*: in function ol_osd_module_set_message: ol_osd_module.c[559]
  message:Searching lyrics from ttPlayer
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1225]
  lyric:Searching lyrics from ttPlayer
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1225]
  lyric:(null)
*Debug*: in function _search: ol_lrc_fetch_ttplayer.c[186]
url: 
http://ttlrcct.qianqian.com/dll/lyricsvr.dll?sh?Artist=730061007200610068006d006
3006c006100630068006c0061006e0029597f4f28008e83c9622e004b51b3524b5170512900&Titl
e=61006e00670065006c00&Flags=0
*Debug*: in function ol_config_get_string: ol_config.c[336]
[Download]proxy:no
*Debug*: in function ol_osd_window_update_child_allocation: ol_osd_window.c[935]
set child allocation
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (468, 63) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (490, 63) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (512, 63) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (534, 63) 22 x 22
*Debug*: in function _search: ol_lrc_fetch_ttplayer.c[207]
Search result: <?xml version="1.0" encoding="UTF-8" ?>
<result>
    <lrc id="202005" artist="Cristian castro" title="Angel"></lrc>
    <lrc id="260780" artist="틴 탑(Teen Top)" title="Angel"></lrc>
    <lrc id="317008" artist="8mm." title="Angel"></lrc>
    <lrc id="108078" artist="Amanda Perez" title="Angel"></lrc>
    <lrc id="171884" artist="Paris Montgomery" title="Angel"></lrc>
    <lrc id="48805" artist="Cody Simpson" title="Angel"></lrc>
    <lrc id="70562" artist="Liz Scott" title="Angel"></lrc>
    <lrc id="72781" artist="sara" title="ANGEL"></lrc>
    <lrc id="217958" artist="Jessica simpsin" title="angel"></lrc>
    <lrc id="215810" artist="Westlife" title="Angel(对照翻译)"></lrc>
</result>

*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: result
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function _parse_candidate: ol_lrc_fetch_ttplayer.c[88]
Got element: lrc
*Debug*: in function internal_search_callback: ol_lrc_fetch_module.c[167]
returned data:
5
Angel
Amanda Perez
108078
75454

Angel
Cristian castro
202005
75172

angel
Jessica simpsin
217958
75172

ANGEL
sara
72781
75106

Angel
Paris Montgomery
171884
75084

*Debug*: in function internal_for_each: ol_lyric_manage.c[47]
  uri: file:///media/DATARX_/%E9%9F%B3%E4%B9%90%E6%96%87%E4%BB%B6/%E9%9F%B3%E4%B9%90%E4%B8%93%E8%BE%91/%E5%A4%96%E8%AF%AD%E6%AD%8C%E6%9B%B2/%E7%BB%8F%E5%85%B8%E8%8B%B1%E8%AF%AD%E6%AD%8C%E6%9B%B2/angel%20-%20sarah%20mclachlan%20%E5%A4%A9%E4%BD%BF(%E8%8E%8E%E6%8B%89.%E5%85%8B%E5%8A%B3.ape
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:~/.lyrics, name:%p-%t
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /home/solever/.lyrics/Sarah McLachlan 天使(莎拉.克劳克兰)-Angel.lrc
*Debug*: in function internal_check_path_exist: ol_lyric_manage.c[75]
internal_check_path_exist:/home/solever/.lyrics/Sarah McLachlan 
天使(莎拉.克劳克兰)-Angel.lrc
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1225]
  lyric:(null)
*Debug*: in function ol_osd_module_clear_message: ol_osd_module.c[630]
  clear message done
^C
solever@solever-desktop:~$ 

What's the player and which version you are using?
您使用的播放器是什么?它的版本号是多少?
Banshee 2.2.0

What's version of OSD Lyrics?
OSD Lyrics的版本是多少?
osd-lyrics-0.4.1

What's your Linux distro?
您使用哪种发行版?
Ubuntu 11.10

Original issue reported on code.google.com by 1125482...@qq.com on 16 Oct 2011 at 1:07

GoogleCodeExporter commented 8 years ago
Please try install libappindicator-dev, then run ./configure with 
--enable-appindicator. You should see the tray icon after ``make install''

Original comment by tigerso...@gmail.com on 16 Oct 2011 at 1:48

GoogleCodeExporter commented 8 years ago
Thank you very much, it's OK now!
^_^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Original comment by 1125482...@qq.com on 16 Oct 2011 at 2:10

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by tigerso...@gmail.com on 16 Oct 2011 at 2:47

GoogleCodeExporter commented 8 years ago
i have same problem in ubuntu 12.10. after i install libappindicator-dev, the 
tray icon appear. thank you for your enlightenment.

Original comment by Coys.J...@gmail.com on 5 Oct 2012 at 9:28

GoogleCodeExporter commented 8 years ago
Thanks this worked for me in ubuntu 13.04.. :)

Original comment by sud...@rds.net.in on 20 Jul 2013 at 8:48