Discussion:
[Fluxbox-users] fluxbox-remote
D.T.
2017-02-18 19:21:02 UTC
Permalink
Hello,
what a nice windowmanager this is!

I've been customizing it to my needs; right now I'm trying to add some
extra information to the toolbar.
This article:
groovy-skills.com/linux/2013/09/22/fluxbox-toolbar-mehrere-zeitzonen-und-dynamischen-text-anzeigen/
got me going, and I implemented a sort of cli-pager via workspacenames.

I thought maybe I could use the "strftimeFormat" option to add extra
information to the clock.
I can manually add an arbitrary string to that, e.g.:
session.screen0.strftimeFormat: Michael Jackson - Thriller - %H:%M
but of course I'd like to script that.

I was hoping something like
fluxbox-remote "setresourcevalue session.screen0.strftimeFormat
$(command) %H:%M"
or
fluxbox-remote "setresourcevalue strftimeFormat $(command) %H:%M"
would do the trick, but no luck.
and no helpful error messages either.

so what exactly CAN i do with fluxbox-remote?

greetings,
danter
Thomas Lübking
2017-02-18 21:55:55 UTC
Permalink
Post by D.T.
so what exactly CAN i do with fluxbox-remote?
fluxbox-remote "setresourcevalue session.screen0.strftimeFormat"
would be correct, but setresourcevalue is only accepted from "trusted"
sources, ie. the fluxbox process itself (afaics)
fluxbox-remote is a wide open gate, so I assume protecting somethig as
critical as the core configuration is reasonable.

1.4 will allow you to add random buttons and "RelabelButton" them at will.
I'm personally not aware of a usable fluxbox-remote documentation
either.

Cheers,
Thomas

Loading...