Re: toolbar placement
Javier Vasquez <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <CALUrRGcmOipNhMH06xY0mOQBkDeDJFzhWbZLbX5VmRvWhYgiUA@mail.gmail.com> |
| | On 1/17/12, Massimo Canonico<[email protected]> ... | | This would be ok, if I like to have toolbar in the TopCenter always.. | | but when I use one single screen I like to hahe the tool bar in the | | BottomCenter, but when I switch to double screen (with my script) I | | would like to have toolbar in the TopCenter. Can I modify that value in | | ~/.fluxbox/init with a script? | | On 1/18/12, Michael Craft <[email protected]> wrote: | This should definately be possible, you could use something like sed or awk | to modify that value in the config file, and then use kill or killall to | send SIGUSR1 to the fluxbox process to have it reload the config. You mean using killall in the same script, or some other kill? Please notice if you kill fluxbox when it was started by startx, and not a desktop manager such as xdm, then your X session dies. So I wouldn't suggest killing fluxbox as a general solution. If you want to restart fluxbox, the fluxbox menu offers a "restart fluxbox" option, and that works no matter how fluxbox was called. Also for the toolbar placement, if you're under fluxbox already, you don't need a script. Again the fluxbox menu offers a toolbar placement option, so you can do it dynamically, and I believe you don't even need to restart fluxbox when changing through fluxbox menu. The script sounds good, but in this case I think fluxbox menu is easier for dynamic changes. -- Javier. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d