Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Fluxbox Actions via Script, How to use Keyboard Shortcuts by Script< Next Oldest | Next Newest >
Thomsen Offline





Group: Members
Posts: 7
Joined: Nov. 2004
Posted: Mar. 22 2005,11:46 QUOTE

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 !
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 22 2005,15:27 QUOTE

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!


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Thomsen Offline





Group: Members
Posts: 7
Joined: Nov. 2004
Posted: Mar. 23 2005,07:55 QUOTE

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
Back to top
Profile PM 
Thomsen Offline





Group: Members
Posts: 7
Joined: Nov. 2004
Posted: Mar. 25 2005,16:01 QUOTE

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  :)
Back to top
Profile PM 
3 replies since Mar. 22 2005,11:46 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Fluxbox Actions via Script

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code