Some blackbox questions

Electrode

Diamond Member
May 4, 2001
6,063
2
81
Well, I took a break from fiddling with openbsd and finally installed fluxbox 0.1.8 on one of my linux boxes yesterday, and I've customized it quite a bit already. Can't wait for the FDT. :)

Anyway, I have some questions, and I'm wondering if anyone can answer them:

1. How do I disable the Toolbar clock? I've got an awesome dockapp that does the job just fine, and the toolbar space the clock takes up would be better spent as icon space.
2. Is there any way to make windows snap to the screen boundaries, other windows, the toolbar, the slit, etc?
3. What's the best way to start things when X starts? Before exec fluxbox in ~/.xinitrc? After? Some other file?

Thanks in advance.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
go figure, i come here in lynx from my p233 while being bored and what happens, i find a thread worth replying to! heh.

ok, as far as the clock, no you cant disable it. i suppose it does waste space but if you want more icon space in the middle you can always increase the size of your toolbar in ~/.fluxboxrc (i think thats it...might be ~/.fluxbox/init actually)

snap - you can turn on snap to screen edges, that will also turn on snap to toolbar, snap to windows should be in a future release, there's been alot of talk about it on the mailing list and sean perry (the guy maintaining blackbox now) seems to want to implement it.

as far as starting apps, you would add them to ~/.xinitrc in this manner:

gkrellm &
bbkeys &
someprog -r &
exec fluxbox

that always confused me, as to why the last line is always "exec abcd" instead of "abcd &", finally i figured it out, the "exec abcd" is sort of a "magic process", it is the process upon which X depends on to stay on. if the magic process dies, x will shut down. if you exit the magic process (exit fluxbox), X will shutdown. the apps "abcd &" can be killed off or whatever and X doesnt care.

what i do for starting apps, is make a script in ~/scripts/ and have it start my 3 dockapps (wmcpuload, wmnd, wmcalclock, and unclutter too now that i think about it), and i assign that script to a keybinding. i find that putting things in .xinitrc makes X take longer to load. i just startx, then hit ctrl+shift+f9 and my 4 little apps start up quickly.

btw, check out my bb themes, only 2 of them but i have to pimp them whenever possible ;) (link in sig)
 

Electrode

Diamond Member
May 4, 2001
6,063
2
81
thanks.

I knew you'd be the first to reply :)

BTW, while you can't really disble the clock, I've found that you CAN give it a blank string, thus effectively killing it off.
 

bubba

Golden Member
Oct 10, 1999
1,589
0
0


If you need more icon space, why not just shrink your toolbar? (you can do that in the rc file)
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< thanks.

I knew you'd be the first to reply :)

BTW, while you can't really disble the clock, I've found that you CAN give it a blank string, thus effectively killing it off.
>>


ah, yeah now that i think about it you can specify the format of the clock, so you could just put nothing there...good call :D