JWM option to collapse programs in taskbar? (Solved)

Using applications, configuring, problems
Post Reply
Message
Author
O.F.I.N.S.I.S.
Posts: 159
Joined: Sun 01 Mar 2020, 16:17

JWM option to collapse programs in taskbar? (Solved)

#1 Post by O.F.I.N.S.I.S. »

Hi.

I don't know if the title is right, as I don't know the right term for what I'm looking for.

Openbox WM has option to have only one button in the taskbar, even if there's multiple windows of the same program is opened.

E.g. there's multiple Rox filer windows opened, only one button appears in the taskbar. When clicking this button it expands, so I can select which window to activate.

Is there something similar in JWM?

JWM 2.3.7 is installed.
Last edited by O.F.I.N.S.I.S. on Mon 18 May 2020, 06:48, edited 1 time in total.
Our Future Is Not Set In Stone
[url]https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ[/url]
[url]https://soundcloud.com/user-633698367[/url]
[b]My own build of Bionic64[/b]

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#2 Post by rockedge »

there is that exact option in JWM. I will look at my WeeDogLinux64-Void set up. There I have that feature working that you describe and I can check again how to configure JWM for that.

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#3 Post by HerrBert »

I think you are looking for the TrayStyle tag attribute group="true", not to confuse with the Group setting.
In /root/.jwm/jwmrc-personal add

Code: Select all

<TrayStyle group="true"/>
and restart jwm.
Note that jwm's grouping may work different from other wm. To popup the menu of available windows you have to right-click the traybutton...
Attachments
jwm-grouping.jpg
(14.98 KiB) Downloaded 88 times

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#4 Post by rockedge »

Hallo HerrBert!

yes that's the correct option to enable

Code: Select all

<TrayStyle group="true"/>

O.F.I.N.S.I.S.
Posts: 159
Joined: Sun 01 Mar 2020, 16:17

#5 Post by O.F.I.N.S.I.S. »

Ok, thanks to all.

This works well.

Left-click appears/disappears all windows from desktop
Right-click gives a menu to choose a window from.

That's what I was looking for. :)

Edit:

After applying it to the manually remastered base .sfs everything works fine.

Thanks again! :D
Our Future Is Not Set In Stone
[url]https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ[/url]
[url]https://soundcloud.com/user-633698367[/url]
[b]My own build of Bionic64[/b]

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#6 Post by Mike Walsh »

I don't actually get this issue. I have all my taskbar entries minimized down to just the icon anyway, with the width set at exactly 1 pixel less than the height of the taskbar. With this new, larger, much higher-res monitor, it's not like I ever really get 'congestion' any more.

If I was still using the old 1024x768 Dell one, though, this would probably get some use!


Mike. :wink:

O.F.I.N.S.I.S.
Posts: 159
Joined: Sun 01 Mar 2020, 16:17

#7 Post by O.F.I.N.S.I.S. »

I don't actually get this issue. I have all my taskbar entries minimized down to just the icon anyway, with the width set at exactly 1 pixel less than the height of the taskbar.
I often have multiple Rox filer windows opened besides some other programs. Also I like to have the text also visible, but with too many windows opened the text is very short - it then looks like '/mnt/...' or similar . Don't repeatedly want to hover a button and to wait until the tool-tip pops up to show the path.

To have only one button feels very comfortable to me and by right-clicking such single button I can see all paths immediately to select the needed window.

Another issue is: when Corona came around the corner, almost daily I calculate the percentage of deaths compared to infected persons. Doing this for Germany generally and the location of my town. Sometimes also from world wide data.

Therefor I created a script to start a minimum of 4 instances of galculator at a time. So, my taskbar is often filled by lots of windows an I find it hard to activate the one I want to. Especially if there's one window at full size on the screen.
Our Future Is Not Set In Stone
[url]https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ[/url]
[url]https://soundcloud.com/user-633698367[/url]
[b]My own build of Bionic64[/b]

Post Reply