Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Duncan Murdoch
On 23/03/2021 11:54 a.m., Ivan Krylov wrote: On Tue, 23 Mar 2021 11:41:39 -0400 Duncan Murdoch wrote: It would probably be nice to have rgl windows and other R graphics windows in the same group, but I don't see a way for rgl to know the group_leader that R is using (and it's probably not

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Ivan Krylov
On Tue, 23 Mar 2021 11:41:39 -0400 Duncan Murdoch wrote: > It would probably be nice to have rgl windows and other R graphics > windows in the same group, but I don't see a way for rgl to know the > group_leader that R is using (and it's probably not worth adding this > to the API to be able to

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Duncan Murdoch
On 23/03/2021 6:18 a.m., Ivan Krylov wrote: On Mon, 22 Mar 2021 16:57:48 -0500 Dirk Eddelbuettel wrote: Do you want to send a proper patch to bugzilla? Would be glad to, especially if we manage to solve that problem you uncovered while I was asleep. On Mon, 22 Mar 2021 22:23:47 -0500 Dirk

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Dirk Eddelbuettel
On 23 March 2021 at 09:38, Dirk Eddelbuettel wrote: | | On 23 March 2021 at 17:13, Ivan Krylov wrote: | | В Tue, 23 Mar 2021 08:58:49 -0500 | | Dirk Eddelbuettel пишет: | | | | > I still ship /usr/share/icons/hicolor/48x48/apps/rlogo_icon.png which | | > is from the 2012 patch, and I vaguely

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Dirk Eddelbuettel
On 23 March 2021 at 17:13, Ivan Krylov wrote: | В Tue, 23 Mar 2021 08:58:49 -0500 | Dirk Eddelbuettel пишет: | | > I still ship /usr/share/icons/hicolor/48x48/apps/rlogo_icon.png which | > is from the 2012 patch, and I vaguely recall the .desktop file being | > unhappy without it. Re-creating

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Ivan Krylov
В Tue, 23 Mar 2021 08:58:49 -0500 Dirk Eddelbuettel пишет: > I still ship /usr/share/icons/hicolor/48x48/apps/rlogo_icon.png which > is from the 2012 patch, and I vaguely recall the .desktop file being > unhappy without it. Re-creating a 48x48 from the svg may do. I think you could even link

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Dirk Eddelbuettel
On 23 March 2021 at 08:15, Dirk Eddelbuettel wrote: | Only one small downside: the regrouped icon switches to the old R icon (which | is probably the one we bitmapped). Would you know how we could force the new | one? Could well be my fault. =:-) I still ship

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Dirk Eddelbuettel
On 23 March 2021 at 07:44, Dirk Eddelbuettel wrote: | On 23 March 2021 at 13:18, Ivan Krylov wrote: | | Apparently Xfce uses libwnck [*] which groups windows by WM_CLASS in | | addition to WM_HINTS (as far as understand the code). | | | | Here is what GNOME Shell does [**] besides looking at |

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Dirk Eddelbuettel
On 23 March 2021 at 13:18, Ivan Krylov wrote: | On Mon, 22 Mar 2021 16:57:48 -0500 | Dirk Eddelbuettel wrote: | | > Do you want to send a proper patch to bugzilla? | | Would be glad to, especially if we manage to solve that problem you | uncovered while I was asleep. | | On Mon, 22 Mar 2021

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Ivan Krylov
On Mon, 22 Mar 2021 16:57:48 -0500 Dirk Eddelbuettel wrote: > Do you want to send a proper patch to bugzilla? Would be glad to, especially if we manage to solve that problem you uncovered while I was asleep. On Mon, 22 Mar 2021 22:23:47 -0500 Dirk Eddelbuettel wrote: > Close, close, close

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-23 Thread Martin Maechler
> Dirk Eddelbuettel > on Mon, 22 Mar 2021 22:23:47 -0500 writes: > On 22 March 2021 at 16:57, Dirk Eddelbuettel wrote: > | > | On 23 March 2021 at 00:01, Ivan Krylov wrote: > | | The surrounding code and > | |

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-22 Thread Dirk Eddelbuettel
On 22 March 2021 at 16:57, Dirk Eddelbuettel wrote: | | On 23 March 2021 at 00:01, Ivan Krylov wrote: | | The surrounding code and | | | | proved to be enough of an example. The following patch makes it | | possible to

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-22 Thread Dirk Eddelbuettel
On 23 March 2021 at 00:01, Ivan Krylov wrote: | The surrounding code and | | proved to be enough of an example. The following patch makes it | possible to group x11() windows on my PC with Xfce running: [...] | Some

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-22 Thread Ivan Krylov
On Mon, 22 Mar 2021 15:42:04 -0400 Duncan Murdoch wrote: > I'd be happy to add something to rgl if you could point me to > an example On Mon, 22 Mar 2021 14:54:43 -0500 Dirk Eddelbuettel wrote: > Just like Duncan I see now WM_HINTS yet, so maybe by > just giving them we can improve? The

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-22 Thread Dirk Eddelbuettel
(Group reply to three emails at once) On 22 March 2021 at 10:27, Balasubramanian Narasimhan wrote: | Confession: haven't done this in decades. Equally green here. | Isn't the usual way to use 'xwininfo' to figure out the information | about any X window and set a specific resource in the

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-22 Thread Duncan Murdoch
On 22/03/2021 3:32 p.m., Ivan Krylov wrote: On Sat, 20 Mar 2021 11:51:41 -0500 Dirk Eddelbuettel wrote: R plots however all have one each. Needless to say I may also have more than one plot device open... Would anyone know how we can force these to aggregate under just one? Grouping seems

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-22 Thread Ivan Krylov
On Sat, 20 Mar 2021 11:51:41 -0500 Dirk Eddelbuettel wrote: > R plots however all have one each. Needless to say I may also have > more than one plot device open... Would anyone know how we can force > these to aggregate under just one? Grouping seems to be achieved by setting the window_group

Re: [Rd] Possible x11 window manager window aggregation under one icon?

2021-03-22 Thread Balasubramanian Narasimhan
Confession: haven't done this in decades. Isn't the usual way to use 'xwininfo' to figure out the information about any X window and set a specific resource in the .X11defaults or equivalent?  Also doing the same with windows that aggregate could yield a common resource, perhaps? -Naras On

[Rd] Possible x11 window manager window aggregation under one icon?

2021-03-20 Thread Dirk Eddelbuettel
[ I hope the Subject: is arcane enough to reduce readership to a handful :) ] Running the default window manager in the Linux distribution I am running, multiple 'windows' of the same program are usually aggregated under one icon. I typically have numerous (gnome) terminals, several top-level