You are not logged in.

#1 2017-08-11 06:03:19

svanberg
Member
Registered: 2009-07-16
Posts: 88

Submenu in menu with running applications in Fluxbox

Hi! For those who have Fluxbox, is it possible to create a submenu from the menu, that contains all currently running applications from all or certain workspace?

Offline

#2 2017-08-11 09:13:01

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Submenu in menu with running applications in Fluxbox

Not a Fluxbox user myself but with a quick scan of the fluxbox-keys man page I found ClientMenu which I think does what you want. http://fluxbox.org/help/man-fluxbox-keys.php

Offline

#3 2017-08-11 10:23:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,171

Re: Submenu in menu with running applications in Fluxbox

I think he wants to alter the client menu itself, but that's not possible (unlike the root menu and the window menu, this one's hardcoded)
Also see https://sourceforge.net/p/fluxbox/feature-requests/260/

What however is indeed possible is to create "some menu", include the client menu and bind "some menu" to a mouse click or shortcut.

Offline

#4 2017-08-12 12:01:39

svanberg
Member
Registered: 2009-07-16
Posts: 88

Re: Submenu in menu with running applications in Fluxbox

Yep, ClientMenu is the thing, unfortunately it closes the regular menu and open another containing what is specified in parameters, not in a submenu which is what I looking for. sad

Opens a menu that contains all windows. If you specify a pattern, only matching windows will be in the menu. Selecting a window will jump to that workspace and raise the window. See CLIENT PATTERNS below for more details on the pattern argument.

~/.fluxbox/menu

[clientmenu] (Minimized applications) {(minimized=yes)}

Offline

#5 2017-08-12 13:03:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,171

Re: Submenu in menu with running applications in Fluxbox

Yeah, that's an action. "[workspaces] (Workspaces)" would get you the full workspace menu, but as mentioned that's not configurable (atm)

Offline

#6 2017-08-13 06:40:36

svanberg
Member
Registered: 2009-07-16
Posts: 88

Re: Submenu in menu with running applications in Fluxbox

Is this achievable by using another Window Manager e.g. Openbox?

Offline

#7 2017-08-13 07:25:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,171

Re: Submenu in menu with running applications in Fluxbox

No idea, never tried.

What would work for pretty much sure is to build the menu dynamically ie.
- a script using wmctrl or xdotool to search for inconified windows and write them into a menu file (with wmctrl/xdotool calls to activate the window)
- include the menufile in the fluxbox menu
- trigger the script with the fluxbox menu

Offline

Board footer

Powered by FluxBB