Author Topic: gmusicbrowser on Ubuntu 10.04  (Read 11047 times)

Sven

  • Jr. Member
  • **
  • Posts: 32
    • View Profile
gmusicbrowser on Ubuntu 10.04
« on: April 30, 2010, 17:13:18 »
When I run gmusicbrowser on Lucid, it doesn't find gstreamer. For the moment I'm using mplayer, but gstreamer always worked fine for me, so I was wondering why it doesn't show up. Maybe I missed some packages?

Oh, and the menu bar (in some themes) looks really shitty with the new Lucid theme. Is there a way to fix that? I don't like the new theme how it is now (because the migration sucks), so it's not your fault.

http://img88.imageshack.us/img88/5083/gmb.png

Those were the first two things I noticed while running gmb (git) in Lucid.

Edit: Found another one. You can't enable the tray icon.

Edit2: Got it. It apparently doesn't install any of the packages here when you do sudo apt-get build-dep gmusicbrowser...

http://ns2.canonical.com/en/lucid/gmusicbrowser

Edit3: Installing those packages fixed the issues with gstreamer and the tray icon. But now the tray icon appears to have a gray background instead of a blackish one. This has been reported at https://bugs.launchpad.net/gmb-np. The problem is that it takes the window background as the background for the icon, instead of the menu bar background.

And the gray vs blackish menu ugliness remains too ;)
« Last Edit: April 30, 2010, 19:11:17 by Sven »

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #1 on: April 30, 2010, 22:12:55 »
how did you install it ? The missing packages are marked as "recommended", so it's up to the program you used to install it to decide.
apt-get build-dep install the build dependencies, which are almost non-existent with gmb.

About the tray icon background, what needs to be fixed is the Gtk2::TrayIcon perl package, I'll take a look. Though it's more or less deprecated and replaced by the GtkStatusIcon. The GtkStatusIcon is a bit more limited, in particular, I don't think it can show a popup immediately, so I don't want to remove Gtk2::TrayIcon, but I may add GtkStatusIcon as an option or plugin.

About the menu, some themes use a different background on menus, or some decoration, which looks really bad if the menu is not at the top of the window and/or doesn't use the whole width. Maybe I'll add an option for menus to force them to use the normal background, I'm not sure how easy it is to do. An other possible fix is to create non-menu widgets for these functions.

Sven

  • Jr. Member
  • **
  • Posts: 32
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #2 on: April 30, 2010, 23:33:38 »
I just sudo make install the git repository like I've always been doing. It worked for two releases I think, but this time I actually had to do something to get everything to work. I know what apt-get build-dep does, but it used to work before...

And I already guessed the tray icon was not your fault, but I thought you might wanted to know what was going on. Same with the menus. It's something with really low priority (something like automatic album cover detection is more important), but now someone who runs into the same problems can find them in this post ;)

For now I guess I'll just fix my home-made theme.

ochosi

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #3 on: May 01, 2010, 00:26:15 »
using gmusicbrowser 1.1.5 (from git) in xubuntu lucid here and haven't encountered any problems yet.
the trayicon works fine with xfce-panel just like it did in karmic and before (and the others weren't problems/bugs really ;) ).

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #4 on: May 03, 2010, 20:07:18 »
About the trayicon transparency, I think I fixed it in git, at least it works when I set a picture as the background for my panel.
Can someone using the ubuntu lucid confirm this ? (it requires the Cairo perl module)

Sven

  • Jr. Member
  • **
  • Posts: 32
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #5 on: May 03, 2010, 20:29:23 »
Yep, fixed. Also, the Cairo perl module was already installed for me. Great work again! ;)

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #6 on: May 04, 2010, 02:35:56 »
Sadly, it broke the transparency in xfce4-panel and lxpanel, don't know how it works in kde.
I don't see any way to make it work in both gnome and others, I don't know what I will do. :(

Sven

  • Jr. Member
  • **
  • Posts: 32
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #7 on: May 04, 2010, 19:22:04 »
Can't you do one for gnome and the other for xfce? Like ifdef gnome then use this, and for everything else the other?

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #8 on: May 09, 2010, 06:23:00 »
I could easily only activate this on some condition. Unfortunately, I haven't found a way to detect if it's needed. The only way I see to detect it currently, is looking at the names of running processes, or looking at the names of the windows. But that would be a really ugly thing to do :(

btw, the commit in question is : http://git.gmusicbrowser.org/commit/9d4f5c1b20, as you can see, it's easy to deactivate.

ochosi

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #9 on: May 15, 2010, 18:57:55 »
just a quick heads-up on some further testing i did:
the new version works with the *new* (not yet released) version xfce panel (4.7.1).

but as discussed on irc moving the whole thing to a plugin and making the workaround an option might still be a good idea.

ochosi

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #10 on: May 17, 2010, 17:42:50 »
update: in xfce4-panel-4.7.1 the transparency only works with the patch for gnome-panel from git, not with the older version.
i conclude that it is bad behaviour of xfce-panel or/and lxde's panel in their older versions (or maybe standards have changed?).

balustre

  • Newbie
  • *
  • Posts: 14
    • View Profile
ReĀ : Re: gmusicbrowser on Ubuntu 10.04
« Reply #11 on: May 30, 2010, 04:10:54 »
About the trayicon transparency, I think I fixed it in git, at least it works when I set a picture as the background for my panel.
Can someone using the ubuntu lucid confirm this ? (it requires the Cairo perl module)

Hi. I confirm too that with the latest git v1.1.5 and Fedora 13 with gnome, the trayicon is perfectly transparent.

drazgo

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #12 on: June 09, 2010, 16:11:56 »
Hey guys,

I'm using Ubuntu 10.04, and the white background on the trayicon still is present, even though i'm using the latest devel from gmusicbrowser:


Here's a screenshot of my tray, and as you can see, there still is a white-ish background on the gmusicbrowser logo (it was there as well before I changed the color of the logo to a more fitting one):



Anyone who can help me? I already checked the version of libgtk2-trayicon-perl, and it's the most recent one (0.06-1) thanks!

ochosi

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #13 on: June 18, 2010, 15:46:17 »
hey drazgo,
sorry for the late answer.
seems your using gmb from the shimmer-repository which currently decided to focus on supporting transparency for xfce/lxde-panel.
if you want transparency to work in gnome-panel just uncomment line 6360 in /usr/share/gmusicbrowser/gmusicbrowser.pl

in case you encounter other problems/bugs with the version from our ppa feel free to check in at #shimmer (on irc.freenode.net) or report the bug on launchpad (https://launchpad.net/gmb-shimmer).

drazgo

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: gmusicbrowser on Ubuntu 10.04
« Reply #14 on: June 21, 2010, 20:46:43 »
hey drazgo,
sorry for the late answer.
seems your using gmb from the shimmer-repository which currently decided to focus on supporting transparency for xfce/lxde-panel.
if you want transparency to work in gnome-panel just uncomment line 6360 in /usr/share/gmusicbrowser/gmusicbrowser.pl

in case you encounter other problems/bugs with the version from our ppa feel free to check in at #shimmer (on irc.freenode.net) or report the bug on launchpad (https://launchpad.net/gmb-shimmer).

Hi again,
I would love to uncomment that line, but I can't seem to find that file in that directory  ??? Here's a screenie of the dir: