Fluxbox Actions via ScriptForum: X and Fluxbox Topic: Fluxbox Actions via Script started by: Thomsen Posted by Thomsen on Mar. 22 2005,11:46
Hi ! I figured out, how to change the functions of Shortcuts (e.g. Alt + Tab = NextWindow) in Fluxbox, which can be done in the .fluxbox folder in /home/dsl/.What I would like to do is not bind the action to a button, but to call it via Script (e.g. change between 2 Apps or Browser Windows every 10 Seconds without killing and restarting) can anyone tell me how to do this ? Thanx very much ! Posted by mikshaw on Mar. 22 2005,15:27
There's not much in the documentation about this other than linking to < http://sweb.cz/tripie/utils/wmctrl/ > , which may not work with fluxbox stable.I'm guessing if you find a way to spoof key presses it could be scripted. There's gotta be something like that here somewhere....particularly when similar things need to be done for accessibility. I've always wanted to be able to talk to fluxbox from Bash, but never really did much research on it. I'll look around for a while. If you find an answer, please post it here! Posted by Thomsen on Mar. 23 2005,07:55
Thanks Mikshaw ! Thats seems to be the right thing for me. I'm gonna post my experiences here... Btw, do you also know a solution for hiding the mouse pointer completely (not only in the root window - xsetroot thing) ? TIA
Posted by Thomsen on Mar. 25 2005,16:01
Here are my experiences with wmctrl:It works more or less with fluxbox... I was able to move around windows within a workspace, resize them, close them, switch between workspaces and so on. all these functions are explained in the help - just run wmctrl --help. wmctrl can be downloaded via apt-get, just install apt-get.dsl, change the state from stable to unstable, type "apt-get update", type "apt-get install wmctrl" and apt should do the rest for u (worked fine for me). The second time I installed wmctrl, it was not possible to move windows anymore, I don't know why. I think it's not very improved with fluxbox. If you have any other tools to talk from bash to windowmanager let us know. Have fun |