An alternative for XEmbed

Mark Gaiser markg85 at gmail.com
Tue Apr 15 13:03:02 UTC 2014


On Tue, Apr 15, 2014 at 7:17 AM, Martin Gräßlin <mgraesslin at kde.org> wrote:
> On Monday 14 April 2014 23:38:55 Aleix Pol wrote:
>> On Mon, Apr 14, 2014 at 8:09 PM, Martin Gräßlin <mgraesslin at kde.org> wrote:
>> > On Monday 14 April 2014 20:04:48 Marco Martin wrote:
>> > > On Monday 14 April 2014 19:51:02 Martin Gräßlin wrote:
>> > > > On Monday 14 April 2014 19:19:33 Aleix Pol wrote:
>> > > > > Hi,
>> > > > > I've been using Plasma Next for the last days, and I must say it's
>> > > > > really
>> > > > > annoying to get applications lost on close, because they don't
>> >
>> > appear on
>> >
>> > > > > the system tray and they expect to.
>> > > > >
>> > > > > Can we maybe figure out some alternatives so that it's bearable?
>> > > >
>> > > > Sure. Install wmsystemtray and run it as:
>> > > >
>> > > > wmsystemtray --bg-color white --non-wmaker
>> > >
>> > > can we try to do that automaticly-ish out of the box?
>> > > would be a tiny dependency anyways
>> >
>> > Really? It's a pretty ugly piece of software I wouldn't want to ship. It's
>> > more like we should put down somewhere docs to "I lost my systray icon how
>> > to
>> > get it back?".
>> > _______________________________________________
>> > Plasma-devel mailing list
>> > Plasma-devel at kde.org
>> > https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>> Nice or ugly, I think we want to have an official way to support it. It's
>> fine that it's separate because it's deprecated but we still don't want to
>> disregard users that have needs of such feature...
>
> Right, that's why I wrote we should document that. But don't add it to the
> default set of software run in a Plasma Session.
>
> Cheers
> Martin

Idea..

Can you somehow detect if an application wants to do XEmbed stuff? If
it wants to while there is no "wmsystemtray" configured you should
annoy the user and ask if we should enable the wmsystemtray for him
automatically since an app wants to make use of it. Obviously if other
apps also use xembed and wmsystemtray is enabled then you should not
bother the user.

I think this gives the best of both worlds.
- wmsystemtray is gone by default but added when needed
- those apps that still use xembed will remain working just fine
- novice users don't have to bother about manually installing wmsystemtray

You should definitely not place the burden of installing wmsystemtray
on the user imho.


More information about the Plasma-devel mailing list