On Tue, 2 Dec 2014 15:06:22 +0200
"Andrej N. Gritsenko" <and...@rep.kiev.ua> wrote:

>     Hello!
> 
> Peter Nguyen Dang has written on Wednesday, 26 November, at  9:02:
> 
> >We had a little conversation with "Lonely Stranger" about
> >lxpanel's volumealsa plugin and that it updates icon, tooltip,
> >etc twice every time user sets volume. He suggested me to
> >reply here so do I. I copied relevant part of the discussion
> >below in case anyone interested.
> 
> >I do not share the belief that mixer's latency causes the
> >problem. I suspect currently this plugin misuses signal
> >blocking and unblocking (or gtk behaves in an unexpected
> >way, depending on the viewpoint) and tested this theory with
> >the following code : http://pastebin.ca/2878175
> 
> >I could reproduce the problem without any sound devices,
> >mixers involved. This convinces me, that duplicate updates
> >are caused by value-changed signal emitted by vertical scale.
> >Even though the signal is blocked, when the scale is
> >repositioned, the signal is emitted and just waits to get
> >unblocked. Or gets emitted after unblocked.
> 
> >Proposed solution for this here :
> >https://sourceforge.net/p/lxde/patches/490/
> 
>     Your solution looks fine and it's in GIT sources since Thursday. And
> I think if something was made not good then users will let us know. Thank
> you very much. And I have plans to improve 'volumealsa' plugin a lot in
> next version (0.9), making it widely configurable, able to use multimedia
> keyboard, etc., and you're welcome to give any ideas and help.
> 
>     With best regards,
>     Andriy.

Hello,

I am not sure what I will say does apply here, but you could check: we (users of
Ubuntu Lxde or else using Openbox, for instance), regularly have issues with 
tray icons
showing twice or not at all, because of a python script default provided with 
Openbox,
which, imo should be removed upstream. This autostart python script is
openbox-xdg-autostart and is called from the openbox-autostart script, located 
in the
same directory of the system (in Archlinux, openbox 
/usr/lib/openbox/openbox-autostart
openbox /usr/lib/openbox/openbox-xdg-autostart

in Debian, Ubuntu and derivated, under another directory of the system, such as
"/usr/lib/openbox/".

From there, either python-xdg (pyxdg) is installed in the system (many programs 
require
it, but not all) and the openbox scripts take care of displaying the icons. Or 
it's not
installed, and the openbox scripts don't display the icons concerned (there are 
related
*.desktop files in the /etc/xdg/autostart directory), and some other mechanism 
must be
provided in order to have theme displayed.

For the Bento remix (Ubuntu with Openbox almost standalone), I comment out the
faulty line because I use xdg-autostart from the obsession program, but this 
isn't a
clean solution, and I don't like it

All in all, the Openbox scripts might need to be removed from the sources 
upstream, to
let the devs of the other programs coming after handle it their way. Don't you 
think so?

Best regards,
Mélodie

--

Linuxvillage
http://linuxvillage.org
http://linuxvillage.org/en


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to