Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fluxbox command
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
robind
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 260
Location: California

PostPosted: Fri Mar 18, 2005 12:33 am    Post subject: fluxbox command Reply with quote

How do I go about sending commands to fluxbox from bash? Is that even possible?
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Fri Mar 18, 2005 12:38 am    Post subject: Reply with quote

1st what do you mean
2nd what command do you want to send
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
robind
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 260
Location: California

PostPosted: Fri Mar 18, 2005 12:39 am    Post subject: Reply with quote

As in I want to tell fluxbox to change workspaces using the "Workspace" command.
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Fri Mar 18, 2005 12:48 am    Post subject: Reply with quote

You have the Init function on you
Code:
~/.fluxbox/
thats what its for
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
robind
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 260
Location: California

PostPosted: Fri Mar 18, 2005 1:28 am    Post subject: Reply with quote

Okay, yes, I'm aware of init, but I'm trying to write a script that will automatically switch my desktop periodically. And I don't know how to send commands to fluxbox to do so from bash.
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Fri Mar 18, 2005 1:35 am    Post subject: Reply with quote

So if you dunno to make a script how do you wanna get it done ??
If i was you i would do one simple and would put it on my .xinitrc
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
robind
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 260
Location: California

PostPosted: Fri Mar 18, 2005 2:15 am    Post subject: Reply with quote

I don't know how to send commands to fluxbox from bash. I know how to write scripts.
Back to top
View user's profile Send private message
lamaistres
Apprentice
Apprentice


Joined: 17 Dec 2002
Posts: 268
Location: Seattle

PostPosted: Fri Mar 18, 2005 3:30 am    Post subject: Reply with quote

How about setting up .fluxbox/keys and then writing a cron or script that executes Alt+F# keys after such minutes?
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Fri Mar 18, 2005 3:41 am    Post subject: Reply with quote

i think you're looking for wmctrl.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
robind
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 260
Location: California

PostPosted: Fri Mar 18, 2005 3:57 am    Post subject: Reply with quote

Aha! wmcontrol!

I've stumbled across that before...but it didn't register for some reason. I think that'll be perfect. Thanks!
Back to top
View user's profile Send private message
mascanho
Veteran
Veteran


Joined: 21 Dec 2004
Posts: 1241
Location: On my Bmx Bike on a Concrete Park Flatlanding ...

PostPosted: Fri Mar 18, 2005 10:59 am    Post subject: Reply with quote

Post Beginner set it SOLVED
_________________
Flatland Life is a Choice !
emerge avatar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum