 |



 |
- Getting Started
- Ultimate Guide to fluxbox Tabs
- Keybindings
- Setting Backgrounds
- The Slit
- Editing Your Menu
- The Basics of themes (styles) in Fluxbox
Fluxbox Theme Basics
contributed by: Justin Rebelo {rebelo@shaw.ca}
- What is a style and how does it work?
A style is basicaly a theme for fluxbox. It is a simple ascii text file that
tells fluxbox how to generate the appearance of the different components of the
window manager. They are located in ~/.fluxbox/styles and in the global fluxbox
share directory, which will vary depending on the method of installation used.
- How do I make my own?
Start off by opening a style in your favorite text editor (I recommend vim).
Look at the style, how it is structured and organized. Just looking at it will
explain most of the questions you may have.
- Structure of a style:
The style is made up of a few major
components which then have their own sub-directives. The toolbar, menu and
window are the major components. The window.* directives control the appearance
of your window frames, window.tab.* controls the appearance of the window tabs.
menu.* controls the appearance of the popup menu that you see when you right
click on the desktop. toolbar.* is the bar you will see at the top or bottom
of your screen. The slit (also called a dock, wharf, etc in other WMs) is
controlled by the toolbar settings.
- Can I set a background image/color?
Somewhere in the style file you will see a line with "rootCommand:" at the
beginning and it will be followed by a command (preferably bsetbg) to set the
background color or image of the style. You CAN use other rootCommands than
bsetbg, but I don't advise it. bsetbg is actually a wrapper for other root
commands for setting the root window. This way, a user specifies which of the
rootCommands they prefer and it will be used in all themes that use bsetbg.
- Can I add note/comments in my styles?
Sure, just start a line with a hash (#), a bang(!), or use C style comments
(//).
- I still have more questions...
Take a look at the styles provided with fluxbox, you should be able to find the
answer there or by trying different settings. If you still can't get it, stop
by #fluxbox on openprojects. My nick is
demerol.
|
|
|
|
 |
|
  |
|
 |
|