From bd8275b33cec5b0765b93e8905bfefcdfd994b73 Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Tue, 10 Feb 2009 16:25:22 -0500 Subject: Renamed fluxstyle(1) to fluxbox-style(5) --- doc/Makefile.am | 10 +- doc/asciidoc/Makefile | 4 +- doc/asciidoc/fluxbox-style.txt | 496 +++++++++++++++++++++++++ doc/asciidoc/fluxbox.txt | 12 +- doc/asciidoc/fluxstyle.txt | 496 ------------------------- doc/fluxbox-style.5.in | 823 +++++++++++++++++++++++++++++++++++++++++ doc/fluxbox.1.in | 10 +- doc/fluxstyle.1.in | 823 ----------------------------------------- 8 files changed, 1340 insertions(+), 1334 deletions(-) create mode 100644 doc/asciidoc/fluxbox-style.txt delete mode 100644 doc/asciidoc/fluxstyle.txt create mode 100644 doc/fluxbox-style.5.in delete mode 100644 doc/fluxstyle.1.in diff --git a/doc/Makefile.am b/doc/Makefile.am index 879edf3..8268fff 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -2,17 +2,17 @@ # Makefile.am for fluxbox/doc SUBDIRS = ru -CLEANFILES = fluxbox.1 fluxstyle.1 +CLEANFILES = fluxbox.1 fluxbox-style.5 MAINTAINERCLEANFILES = Makefile.in man_MANS = fluxbox.1 fbsetroot.1 fbrun.1 fbsetbg.1 \ - startfluxbox.1 fluxstyle.1 fluxbox-keys.5 fluxbox-apps.5 fluxbox-remote.1 + startfluxbox.1 fluxbox-style.5 fluxbox-keys.5 fluxbox-apps.5 fluxbox-remote.1 EXTRA_DIST=fluxbox.1.in fbsetroot.1 fbrun.1 fluxbox-keys.5 fluxbox-apps.5 fluxbox-remote.1 startfluxbox.1 fbsetbg.1 \ - fluxstyle.1.in CODESTYLE + fluxbox-style.5.in CODESTYLE distclean-local: rm -f *\~ fluxbox.1: fluxbox.1.in @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," $(srcdir)/fluxbox.1.in > fluxbox.1 -fluxstyle.1: fluxstyle.1.in - @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," $(srcdir)/fluxstyle.1.in > fluxstyle.1 +fluxbox-style.5: fluxbox-style.5.in + @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," $(srcdir)/fluxbox-style.5.in > fluxbox-style.5 diff --git a/doc/asciidoc/Makefile b/doc/asciidoc/Makefile index e116a23..646d415 100644 --- a/doc/asciidoc/Makefile +++ b/doc/asciidoc/Makefile @@ -2,8 +2,8 @@ # create manpages from the asciidoc files # -SRC1 = fluxbox.txt fluxstyle.txt fluxbox-keys.txt fluxbox-remote.txt -SRC5 = fluxbox-keys.txt fluxbox-apps.txt +SRC1 = fluxbox.txt fluxbox-keys.txt fluxbox-remote.txt +SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt MAN = $(SRC1:.txt=.1) $(SRC5:.txt=.5) diff --git a/doc/asciidoc/fluxbox-style.txt b/doc/asciidoc/fluxbox-style.txt new file mode 100644 index 0000000..ce1d264 --- /dev/null +++ b/doc/asciidoc/fluxbox-style.txt @@ -0,0 +1,496 @@ +fluxbox-style(5) +================ +Henrik Kinnunen +v1.1.1, 10 February 2009 +:man source: fluxbox-style.txt +:man version: {revision} +:man manual: Fluxbox Manual + +NAME +---- +fluxbox-style - A comprehensive look at styles/themes for fluxbox(1). + +SYNOPSIS +-------- +This document describes various options available for fluxbox styles. + +DESCRIPTION +----------- +What is a Style? + +Styles, sometimes referred to as Themes, are a graphical overlay for the +fluxbox(1) window manager. If you wanted to get to know fluxbox, the styles +would be the 'look' of the 'look and feel'. + +Styles are simple ASCII text files that tell fluxbox(1) how to generate the +appearance of different components of the window manager. The default +installation of fluxbox(1) is shipped with many classic examples that show a +great deal of what one could do. To use one of the standard styles navigate to +the 'System Styles' menu under your main fluxbox(1) menu. + +fluxbox(1) uses its own graphics class to render its images on the fly. By +using styles you can determine, at a great level of configurability, what your +desktop will look like. Since fluxbox(1) was derived from blackbox many often +wonder if old themes will work on the latest releases of fluxbox(1). Well they +basically do, but you will have to tune them since the fluxbox(1) code has +changed quite a bit since the initial grab. + +STRUCTURE +--------- +A style is made up of a few major components which then have their own +sub-directives. The major components are as follows: + +The 'window.\*' directives control the appearance of the 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. Finally the 'slit.\*' has options you can use to customize the +appearance of the slit. However if you don't set the slit directives +specifically, the slit's appearance is controlled by the toolbar +directives instead. + +To understand how the style mechanism works, it is nice to know a little about +how X11 resources work. X11 resources consist of a key and a value. The key is +constructed of several smaller keys (sometimes referred to as children), +delimited by a period (.). Keys may also contain an asterisk (\*) +to serve as a wildcard, which means that one line of text will match +several keys. This is useful for styles that are based on one or two +colors. + +A more complete reference to this can be found in X(7), section 'RESOURCES'. + +LOCATION +-------- +There are many places to store your styles, the most common is in your +'~/.fluxbox/styles' directory. The initial installation will place the default +styles in '@pkgdatadir@/styles' providing a basic usable configuration. + +When creating your own style, create a directory (normally the name of your +style) in '~/.fluxbox/styles/' (If the 'styles' directory doesn't exist, +create that also). While there isn't an official structure, it is +common to create a directory named after your style and place your +pixmaps directory (if required) in there along with a file called +theme.cfg (may also be named style.cfg). This file is where you will +construct your style using the components covered later in this manual +page. An example of steps taken when beginning a style project of your +own may look like: + + $ cd + $ mkdir -p ~/.fluxbox/styles/YourStyle/pixmaps + $ cd ~/.fluxbox/styles/YourStyle + $ nano theme.cfg + +Output of a packaged style should look like the following: + + $ cd + $ tar -tjvf YourStyle.tar.bz2 + .fluxbox/styles/YourStyle/theme.cfg + .fluxbox/styles/YourStyle/pixmaps + .fluxbox/styles/YourStyle/pixmaps/stick.xpm + ... + +Of course, all of these are just preferences, fluxbox(1) allows for the +customization of many things, including how you handle your styles. Just +remember, however, that if you plan to distribute your style you may find +some community bickering if you don't follow practices. :) + +CREATING YOUR STYLE +------------------- +As discussed above, fluxbox(1) allows you to configure its four main components: +the toolbar, menus, slit and window decorations. Remember that you can +customize the slit with its own directives, otherwise the slit will take the +appearance of the toolbar. + +Here are some quick examples to illustrate basic syntax: + + toolbar.clock.color: green + +This sets the color resource of the toolbar clock to 'green'. Another example: + + menu*color: rgb:3/4/5 + +This sets the color resource of the menu and all of its 'children' to +`rgb:3/4/5'. (For a description of color names, see X(1).) So this one also +applies to 'menu.title.color' and 'menu.frame.color'. And with + + *font: -b&h-lucida-medium-r-normal-*-*-140-* + +you set the font resource for all keys to this font name all at once (For +information about the fonts installed on your system, you can use a +program like xfontsel(1), gtkfontsel, or xlsfonts(1).) + +In the last example you will notice the wildcard (\*) before font. In a Fluxbox +style you can set a value with a wildcard. The example means that every font +in the style will be what is specified. You can do this with any +component/value. For example if you wanted all of the text to be one color you +would do: + + *textColor: rgb:3/4/5 + +This means that you can setup a very simple style with very few properties. +See the EXAMPLES below for an example of this in practice. fluxbox(1) also allows +you to override wildcards in your style. Lets take our example above and add +an override for the toolbar.clock.textColor component: + + *textColor: rgb:3/4/5 + toolbar.clock.textColor: rgb:255/0/0 + +With that all of the text will be 'rgb:3/4/5' except the toolbar clock text +which will be 'rgb:255/0/0'. + +Now what makes fluxbox(1) so spectacular is its ability to render textures on the +fly. A texture is a fillpattern that you see on some styles. Texture +descriptions are specified directly to the key that they should apply to, +e.g.: + + toolbar.clock: Raised Gradient Diagonal Bevel1 + toolbar.clock.color: rgb:8/6/4 + toolbar.clock.colorTo: rgb:4/3/2 + +Don't worry, we will explain what these mean. A texture description consists +of up to five fields, which are as follows: + +.Flat | Raised | Sunken +gives the component either a flat, raised or sunken appearance. + +.Gradient | Solid +tells fluxbox(1) to draw either a solid color or a gradient texture. + +.Horizontal | Vertical | Diagonal | Crossdiagonal | Pipecross | Elliptic | Rectangle | Pyramid +Select one of these texture types. They only work when *Gradient* is specified. + +.Interlaced +tells fluxbox(1) to interlace the texture (darken every other line). This option +is most commonly used with gradiented textures, but it also works in solid +textures. + +.Bevel1 | Bevel2 +tells fluxbox(1) which type of bevel to use. Bevel1 is the default bevel. The +shading is placed on the edge of the image. Bevel2 is an alternative. The +shading is placed one pixel in from the edge of the image. + +Instead of a texture description, also the option *ParentRelative* is available, +which makes the component appear as a part of its parent, e.g. totally +transparent. + +Or for even more possibilities Pixmap. If pixmap texture is specified (it +might not be necessary on every occasion) the pixmap file is specified +in a separate pixmap resource. + + toolbar.clock: pixmap + toolbar.clock.pixmap: clock_background.xpm + +This feature might need some investigation, reports say that sometimes the +resources color and colorTo must be set and then they may not be set. + +All gradiented textures are composed of two color values: the 'color' and +'colorTo' resources. When *Interlaced* is used in *Solid* mode, the 'colorTo' +resource is used to find the interlacing color. + +A WORD ABOUT FONTS +------------------ +We should comment about fonts before we move on to the complete component +list. fluxbox(1) supports different options for text. These options currently +include bold, halo and shadow. To set these do this: fontname-size:options for +any of the font components in the style file. For example: + + menu.title.font: sans-8:bold,shadow + +The latest versions of fluxbox(1) (> 0.9.8) also support different values for +these text options. The possibilities are as follows: + + -------- + Shadow color= offsetx= offsety= Halo color= + -------- + +For the case of completeness, here are some real world examples: + + *.font: Verdana-10:bold,shadow:offsetx=2;offsety=4;color=green + *.font: Verdana-10:halo:color=blue + +Of course this could all be placed on one line. Also note that for the offset +options, negative integers are allowed. + +FONT PROBLEMS +~~~~~~~~~~~~~ +If you have problems installing fonts or getting them to work, you should read +the docs page at xfree.org. Here is a link to one of these: +http://xfree.org/4.3.0/fonts2.html#3[] + +FULL COMPONENT LIST +------------------- +Here is the exhaustive component list for fluxbox(1) styles. Each one is listed +with their type of value required. Comments in a style file are preceded +with an exclamation point (!) which we also use here so that these can be +pasted into a new theme.cfg to be customized appropiately. Please note that +in order to keep styles consistent it is often the practice of stylists +to provide all of the theme-items in their style file even if they are not +used. This allows the user the ease of changing different components. + +WINDOW OPTIONS +-------------- +Many, many things you can do with window design in fluxbox(1), below are your +options. Have fun. + + ----------------------------------------- + window.bevelWidth: + window.borderColor: + window.borderWidth: + window.button.focus: + window.button.focus.color: + window.button.focus.colorTo: + window.button.focus.picColor: + window.button.focus.pixmap: + window.button.pressed: + window.button.pressed.color: + window.button.pressed.colorTo: + window.button.pressed.pixmap: + window.button.unfocus: + window.button.unfocus.color: + window.button.unfocus.colorTo: + window.button.unfocus.picColor: + window.button.unfocus.pixmap: + window.close.pixmap: + window.close.pressed.pixmap: + window.close.unfocus.pixmap: + window.font: + window.frame.focusColor: + window.frame.unfocusColor: + window.grip.focus: + window.grip.focus.color: + window.grip.focus.colorTo: + window.grip.focus.pixmap: + window.grip.unfocus: + window.grip.unfocus.color: + window.grip.unfocus.colorTo: + window.grip.unfocus.pixmap: + window.handle.focus: + window.handle.focus.color: + window.handle.focus.colorTo: + window.handle.focus.pixmap: + window.handle.unfocus: + window.handle.unfocus.color: + window.handle.unfocus.colorTo: + window.handle.unfocus.pixmap: + window.handleWidth: + window.iconify.pixmap: + window.iconify.pressed.pixmap: + window.iconify.unfocus.pixmap: + window.justify: <{Left|Right|Center}> + window.label.active: + window.label.active.textColor: + window.label.focus: + window.label.focus.color: + window.label.focus.colorTo: + window.label.focus.pixmap: + window.label.unfocus: + window.label.unfocus.color: + window.label.unfocus.colorTo: + window.label.unfocus.pixmap: + window.label.focus.textColor: + window.label.unfocus.textColor: + window.maximize.pixmap: + window.maximize.pressed.pixmap: + window.maximize.unfocus.pixmap: + window.roundCorners: <{Top|Bottom}{Left|Right}> + window.shade.pixmap: + window.shade.pressed.pixmap: + window.shade.unfocus.pixmap: + window.stick.pixmap: + window.stick.pressed.pixmap: + window.stick.unfocus.pixmap: + window.stuck.pixmap: + window.stuck.unfocus.pixmap: + window.title.focus: + window.title.focus.color: + window.title.focus.colorTo: + window.title.focus.pixmap: + window.title.height: + window.title.unfocus: + window.title.unfocus.color: + window.title.unfocus.colorTo: + window.title.unfocus.pixmap: + ----------------------------------------- + +MENU OPTIONS +------------ +Everything you need to make your menu look pretty. + + ----------------------------------------- + menu.bevelWidth: + menu.borderColor: + menu.borderWidth: + menu.bullet: <{empty|square|triangle|diamond}> + menu.bullet.position: <{left|right}> + menu.frame: + menu.frame.color: + menu.frame.colorTo: + menu.frame.disableColor: + menu.frame.font: + menu.frame.justify: <{Left|Right|Center}> + menu.frame.pixmap: + menu.frame.textColor: + menu.hilite: + menu.hilite.color: + menu.hilite.colorTo: + menu.hilite.pixmap: + menu.hilite.textColor: + menu.itemHeight: + menu.title: + menu.title.color: + menu.title.colorTo: + menu.title.font: + menu.title.pixmap: + menu.title.textColor: + menu.title.justify: <{Left|Right|Center}> + menu.titleHeight: + menu.roundCorners: <{Top|Bottom}{Left|Right}> + menu.selected.pixmap: + menu.submenu.pixmap: + menu.unselected.pixmap: + ----------------------------------------- + +BACKGROUND +------------ +Every style must specify the background option. If you don't want your style to +change the user's background, then use `background: none'. The options +`centered', `aspect', `tiled', and `fullscreen' require the `background.pixmap' +resource to contain a valid file name. The `random' option requires +`background.pixmap' to contain a valid directory name. For these options, +fluxbox(1) will call fbsetbg(1) to set the background. The options `gradient', +`solid', and `mod' all require `background.color' to be set. `gradient' and +`mod' both require `background.colorTo'. `mod' requires `background.modX' and +`background.modY' to be set as well. These options will be passed to +fbsetroot(1) to set the background. + + background: centered|aspect|tiled|fullscreen|random|solid|gradient |mod|none + background.pixmap: + background.color: + background.colorTo: + background.modX: + background.modY: + +SLIT +---- +Here are all of the options for the slit. + + ----------------------------------------- + slit: + slit.bevelWidth: + slit.borderColor: + slit.borderWidth: + slit.color: + slit.colorTo: + slit.pixmap: + ----------------------------------------- + +TOOLBAR OPTIONS +--------------- +Below you will find all of the configuration possibilities for the toolbar. +The list is pretty extensive and offers you many options to make your toolbar +look just the way you want it. + + ----------------------------------------- + toolbar: + toolbar.bevelWidth: + toolbar.borderColor: + toolbar.borderWidth: + toolbar.button.scale: + toolbar.color: + toolbar.colorTo: + toolbar.clock: + toolbar.clock.borderColor: + toolbar.clock.borderWidth: + toolbar.clock.font: + toolbar.clock.justify: <{Left|Right|Center}> + toolbar.clock.pixmap: + toolbar.clock.color: + toolbar.clock.colorTo: + toolbar.clock.textColor: + toolbar.height: + toolbar.iconbar.focused: + toolbar.iconbar.focused.color: + toolbar.iconbar.focused.colorTo: + toolbar.iconbar.focused.pixmap: + toolbar.iconbar.unfocused: + toolbar.iconbar.unfocused.color: + toolbar.iconbar.unfocused.colorTo: + toolbar.iconbar.unfocused.pixmap: + toolbar.iconbar.empty: + toolbar.iconbar.empty.color: + toolbar.iconbar.empty.colorTo: + toolbar.iconbar.empty.pixmap: + toolbar.iconbar.focused.borderColor: + toolbar.iconbar.focused.borderWidth: + toolbar.iconbar.unfocused.borderColor: + toolbar.iconbar.unfocused.borderWidth: + toolbar.iconbar.borderColor: + toolbar.iconbar.borderWidth: + toolbar.iconbar.focused.font: + toolbar.iconbar.focused.justify: <{Left|Right|Center}> + toolbar.iconbar.focused.textColor: + toolbar.iconbar.unfocused.font: + toolbar.iconbar.unfocused.justify: <{Left|Right|Center}> + toolbar.iconbar.unfocused.textColor: + toolbar.pixmap: + toolbar.shaped: + toolbar.workspace.font: + toolbar.workspace.justify: <{Left|Right|Center}> + toolbar.workspace.textColor: + toolbar.workspace: + toolbar.workspace.borderColor: + toolbar.workspace.borderWidth: + toolbar.workspace.color: + toolbar.workspace.colorTo: + toolbar.workspace.pixmap: + ----------------------------------------- + +EXAMPLES +-------- +This list may seem intimidating, but remember, when you create your own style +you can easily set a majority of these keys with a single component. For an +example of this: + + ----------------------------------------- + *color: slategrey + *colorTo: darkslategrey + *unfocus.color: darkslategrey + *unfocus.colorTo: black + *textColor: white + *unfocus.textColor: lightgrey + *font: lucidasans-10 + ----------------------------------------- + +This sets nice defaults for many components. + +COLOR FORMATS +------------- +These are the color formats for styles: + + #000000 (Hexadecimal) + rgb:<0-255>/<0-255>/<0-255> + +See /usr/share/X11/rgb.txt for an explaination. + +AUTHOR and CREDITS +------------------ +Blackbox was written and maintained by Brad Hughes +and Jeff Raven . + +fluxbox(1) is written and maintained by Henrik Kinnunen +with contributions and patches merged from many individuals around the world. + +The Official fluxbox(1) website: http://www.fluxbox.org[] +You can find a lot of styles here: http://tenr.de/[] + +This manpage was composed from various resources including the official +documentation, fluxbox(1) man page and numerous other resources by Curt +"Asenchi" Micol. If you notice any errors or problems with this page, please +contact him here: and using the great contributions of +. Numerous other languages could be available +if someone jumps in. + +SEE ALSO +-------- +fluxbox(1) fbsetbg(1) fbsetroot(1) + diff --git a/doc/asciidoc/fluxbox.txt b/doc/asciidoc/fluxbox.txt index e13647a..eb463dc 100644 --- a/doc/asciidoc/fluxbox.txt +++ b/doc/asciidoc/fluxbox.txt @@ -196,6 +196,9 @@ default, tabs are located just above the window, but they may be embedded in the titlebar or moved to other locations on the outside of the window. Configuration is discussed in TAB OPTIONS section. +You can also set up automatic grouping using the `apps' file. See *GROUP +SECTIONS* in fluxbox-apps(5) for details. + MENUS ----- fluxbox installs a default menu file in @pkgdatadir@/menu. You can also use @@ -238,7 +241,7 @@ if not all, of those here. ~/.fluxbox/styles This is the location where you will store new styles that you grab from the Internet. If you create your own styles this is also where you will put yours (provided that you follow the 'standards' - described in fluxstyle(1)). + described in fluxbox-style(5)). - *Workspace List*: This is a list of the workspaces configured in your `init' file. If there @@ -1033,14 +1036,14 @@ specify colors, textures, pixmaps and fonts, and thus the overall look of your window borders, menus and the toolbar. The default installation of fluxbox provides some of these style files. See -fluxstyle(1) to accommodate the growing number of style components. +fluxbox-style(5) to accommodate the growing number of style components. STYLE OVERLAY ------------- In addition to the style file, the overlay file, whose location is specified by session.screen0.styleOverlay (default: ~/.fluxbox/overlay ) can be used to set style resources that override all styles. For more information about which parts -of fluxbox can be controlled by the overlay file, see fluxstyle(1). +of fluxbox can be controlled by the overlay file, see fluxbox-style(5). THE SLIT -------- @@ -1192,5 +1195,6 @@ mailinglists. More information can be found on the official website. SEE ALSO -------- -fluxbox-keys(5) bsetroot(1) fbsetbg(1) fbrun(1) fluxstyle(1) +fluxbox-apps(5) fluxbox-keys(5) bsetroot(1) fbsetbg(1) fbrun(1) +fluxbox-style(5) fluxbox-remote(1) diff --git a/doc/asciidoc/fluxstyle.txt b/doc/asciidoc/fluxstyle.txt deleted file mode 100644 index 221507d..0000000 --- a/doc/asciidoc/fluxstyle.txt +++ /dev/null @@ -1,496 +0,0 @@ -fluxstyle(1) -============ -Henrik Kinnunen -v1.1.1, 10 February 2009 -:man source: fluxstyle.txt -:man version: {revision} -:man manual: Fluxbox Manual - -NAME ----- -fluxstyle - A comprehensive look at styles/themes for fluxbox(1). - -SYNOPSIS --------- -This document describes various options available for fluxbox styles. - -DESCRIPTION ------------ -What is a Style? - -Styles, sometimes referred to as Themes, are a graphical overlay for the -fluxbox(1) window manager. If you wanted to get to know fluxbox, the styles -would be the 'look' of the 'look and feel'. - -Styles are simple ASCII text files that tell fluxbox(1) how to generate the -appearance of different components of the window manager. The default -installation of fluxbox(1) is shipped with many classic examples that show a -great deal of what one could do. To use one of the standard styles navigate to -the 'System Styles' menu under your main fluxbox(1) menu. - -fluxbox(1) uses its own graphics class to render its images on the fly. By -using styles you can determine, at a great level of configurability, what your -desktop will look like. Since fluxbox(1) was derived from blackbox many often -wonder if old themes will work on the latest releases of fluxbox(1). Well they -basically do, but you will have to tune them since the fluxbox(1) code has -changed quite a bit since the initial grab. - -STRUCTURE ---------- -A style is made up of a few major components which then have their own -sub-directives. The major components are as follows: - -The 'window.\*' directives control the appearance of the 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. Finally the 'slit.\*' has options you can use to customize the -appearance of the slit. However if you don't set the slit directives -specifically, the slit's appearance is controlled by the toolbar -directives instead. - -To understand how the style mechanism works, it is nice to know a little about -how X11 resources work. X11 resources consist of a key and a value. The key is -constructed of several smaller keys (sometimes referred to as children), -delimited by a period (.). Keys may also contain an asterisk (\*) -to serve as a wildcard, which means that one line of text will match -several keys. This is useful for styles that are based on one or two -colors. - -A more complete reference to this can be found in X(7), section 'RESOURCES'. - -LOCATION --------- -There are many places to store your styles, the most common is in your -'~/.fluxbox/styles' directory. The initial installation will place the default -styles in '@pkgdatadir@/styles' providing a basic usable configuration. - -When creating your own style, create a directory (normally the name of your -style) in '~/.fluxbox/styles/' (If the 'styles' directory doesn't exist, -create that also). While there isn't an official structure, it is -common to create a directory named after your style and place your -pixmaps directory (if required) in there along with a file called -theme.cfg (may also be named style.cfg). This file is where you will -construct your style using the components covered later in this manual -page. An example of steps taken when beginning a style project of your -own may look like: - - $ cd - $ mkdir -p ~/.fluxbox/styles/YourStyle/pixmaps - $ cd ~/.fluxbox/styles/YourStyle - $ nano theme.cfg - -Output of a packaged style should look like the following: - - $ cd - $ tar -tjvf YourStyle.tar.bz2 - .fluxbox/styles/YourStyle/theme.cfg - .fluxbox/styles/YourStyle/pixmaps - .fluxbox/styles/YourStyle/pixmaps/stick.xpm - ... - -Of course, all of these are just preferences, fluxbox(1) allows for the -customization of many things, including how you handle your styles. Just -remember, however, that if you plan to distribute your style you may find -some community bickering if you don't follow practices. :) - -CREATING YOUR STYLE -------------------- -As discussed above, fluxbox(1) allows you to configure its four main components: -the toolbar, menus, slit and window decorations. Remember that you can -customize the slit with its own directives, otherwise the slit will take the -appearance of the toolbar. - -Here are some quick examples to illustrate basic syntax: - - toolbar.clock.color: green - -This sets the color resource of the toolbar clock to 'green'. Another example: - - menu*color: rgb:3/4/5 - -This sets the color resource of the menu and all of its 'children' to -`rgb:3/4/5'. (For a description of color names, see X(1).) So this one also -applies to 'menu.title.color' and 'menu.frame.color'. And with - - *font: -b&h-lucida-medium-r-normal-*-*-140-* - -you set the font resource for all keys to this font name all at once (For -information about the fonts installed on your system, you can use a -program like xfontsel(1), gtkfontsel, or xlsfonts(1).) - -In the last example you will notice the wildcard (\*) before font. In a Fluxbox -style you can set a value with a wildcard. The example means that every font -in the style will be what is specified. You can do this with any -component/value. For example if you wanted all of the text to be one color you -would do: - - *textColor: rgb:3/4/5 - -This means that you can setup a very simple style with very few properties. -See the EXAMPLES below for an example of this in practice. fluxbox(1) also allows -you to override wildcards in your style. Lets take our example above and add -an override for the toolbar.clock.textColor component: - - *textColor: rgb:3/4/5 - toolbar.clock.textColor: rgb:255/0/0 - -With that all of the text will be 'rgb:3/4/5' except the toolbar clock text -which will be 'rgb:255/0/0'. - -Now what makes fluxbox(1) so spectacular is its ability to render textures on the -fly. A texture is a fillpattern that you see on some styles. Texture -descriptions are specified directly to the key that they should apply to, -e.g.: - - toolbar.clock: Raised Gradient Diagonal Bevel1 - toolbar.clock.color: rgb:8/6/4 - toolbar.clock.colorTo: rgb:4/3/2 - -Don't worry, we will explain what these mean. A texture description consists -of up to five fields, which are as follows: - -.Flat | Raised | Sunken -gives the component either a flat, raised or sunken appearance. - -.Gradient | Solid -tells fluxbox(1) to draw either a solid color or a gradient texture. - -.Horizontal | Vertical | Diagonal | Crossdiagonal | Pipecross | Elliptic | Rectangle | Pyramid -Select one of these texture types. They only work when *Gradient* is specified. - -.Interlaced -tells fluxbox(1) to interlace the texture (darken every other line). This option -is most commonly used with gradiented textures, but it also works in solid -textures. - -.Bevel1 | Bevel2 -tells fluxbox(1) which type of bevel to use. Bevel1 is the default bevel. The -shading is placed on the edge of the image. Bevel2 is an alternative. The -shading is placed one pixel in from the edge of the image. - -Instead of a texture description, also the option *ParentRelative* is available, -which makes the component appear as a part of its parent, e.g. totally -transparent. - -Or for even more possibilities Pixmap. If pixmap texture is specified (it -might not be necessary on every occasion) the pixmap file is specified -in a separate pixmap resource. - - toolbar.clock: pixmap - toolbar.clock.pixmap: clock_background.xpm - -This feature might need some investigation, reports say that sometimes the -resources color and colorTo must be set and then they may not be set. - -All gradiented textures are composed of two color values: the 'color' and -'colorTo' resources. When *Interlaced* is used in *Solid* mode, the 'colorTo' -resource is used to find the interlacing color. - -A WORD ABOUT FONTS ------------------- -We should comment about fonts before we move on to the complete component -list. fluxbox(1) supports different options for text. These options currently -include bold, halo and shadow. To set these do this: fontname-size:options for -any of the font components in the style file. For example: - - menu.title.font: sans-8:bold,shadow - -The latest versions of fluxbox(1) (> 0.9.8) also support different values for -these text options. The possibilities are as follows: - - -------- - Shadow color= offsetx= offsety= Halo color= - -------- - -For the case of completeness, here are some real world examples: - - *.font: Verdana-10:bold,shadow:offsetx=2;offsety=4;color=green - *.font: Verdana-10:halo:color=blue - -Of course this could all be placed on one line. Also note that for the offset -options, negative integers are allowed. - -FONT PROBLEMS -~~~~~~~~~~~~~ -If you have problems installing fonts or getting them to work, you should read -the docs page at xfree.org. Here is a link to one of these: -http://xfree.org/4.3.0/fonts2.html#3[] - -FULL COMPONENT LIST -------------------- -Here is the exhaustive component list for fluxbox(1) styles. Each one is listed -with their type of value required. Comments in a style file are preceded -with an exclamation point (!) which we also use here so that these can be -pasted into a new theme.cfg to be customized appropiately. Please note that -in order to keep styles consistent it is often the practice of stylists -to provide all of the theme-items in their style file even if they are not -used. This allows the user the ease of changing different components. - -WINDOW OPTIONS --------------- -Many, many things you can do with window design in fluxbox(1), below are your -options. Have fun. - - ----------------------------------------- - window.bevelWidth: - window.borderColor: - window.borderWidth: - window.button.focus: - window.button.focus.color: - window.button.focus.colorTo: - window.button.focus.picColor: - window.button.focus.pixmap: - window.button.pressed: - window.button.pressed.color: - window.button.pressed.colorTo: - window.button.pressed.pixmap: - window.button.unfocus: - window.button.unfocus.color: - window.button.unfocus.colorTo: - window.button.unfocus.picColor: - window.button.unfocus.pixmap: - window.close.pixmap: - window.close.pressed.pixmap: - window.close.unfocus.pixmap: - window.font: - window.frame.focusColor: - window.frame.unfocusColor: - window.grip.focus: - window.grip.focus.color: - window.grip.focus.colorTo: - window.grip.focus.pixmap: - window.grip.unfocus: - window.grip.unfocus.color: - window.grip.unfocus.colorTo: - window.grip.unfocus.pixmap: - window.handle.focus: - window.handle.focus.color: - window.handle.focus.colorTo: - window.handle.focus.pixmap: - window.handle.unfocus: - window.handle.unfocus.color: - window.handle.unfocus.colorTo: - window.handle.unfocus.pixmap: - window.handleWidth: - window.iconify.pixmap: - window.iconify.pressed.pixmap: - window.iconify.unfocus.pixmap: - window.justify: <{Left|Right|Center}> - window.label.active: - window.label.active.textColor: - window.label.focus: - window.label.focus.color: - window.label.focus.colorTo: - window.label.focus.pixmap: - window.label.unfocus: - window.label.unfocus.color: - window.label.unfocus.colorTo: - window.label.unfocus.pixmap: - window.label.focus.textColor: - window.label.unfocus.textColor: - window.maximize.pixmap: - window.maximize.pressed.pixmap: - window.maximize.unfocus.pixmap: - window.roundCorners: <{Top|Bottom}{Left|Right}> - window.shade.pixmap: - window.shade.pressed.pixmap: - window.shade.unfocus.pixmap: - window.stick.pixmap: - window.stick.pressed.pixmap: - window.stick.unfocus.pixmap: - window.stuck.pixmap: - window.stuck.unfocus.pixmap: - window.title.focus: - window.title.focus.color: - window.title.focus.colorTo: - window.title.focus.pixmap: - window.title.height: - window.title.unfocus: - window.title.unfocus.color: - window.title.unfocus.colorTo: - window.title.unfocus.pixmap: - ----------------------------------------- - -MENU OPTIONS ------------- -Everything you need to make your menu look pretty. - - ----------------------------------------- - menu.bevelWidth: - menu.borderColor: - menu.borderWidth: - menu.bullet: <{empty|square|triangle|diamond}> - menu.bullet.position: <{left|right}> - menu.frame: - menu.frame.color: - menu.frame.colorTo: - menu.frame.disableColor: - menu.frame.font: - menu.frame.justify: <{Left|Right|Center}> - menu.frame.pixmap: - menu.frame.textColor: - menu.hilite: - menu.hilite.color: - menu.hilite.colorTo: - menu.hilite.pixmap: - menu.hilite.textColor: - menu.itemHeight: - menu.title: - menu.title.color: - menu.title.colorTo: - menu.title.font: - menu.title.pixmap: - menu.title.textColor: - menu.title.justify: <{Left|Right|Center}> - menu.titleHeight: - menu.roundCorners: <{Top|Bottom}{Left|Right}> - menu.selected.pixmap: - menu.submenu.pixmap: - menu.unselected.pixmap: - ----------------------------------------- - -BACKGROUND ------------- -Every style must specify the background option. If you don't want your style to -change the user's background, then use `background: none'. The options -`centered', `aspect', `tiled', and `fullscreen' require the `background.pixmap' -resource to contain a valid file name. The `random' option requires -`background.pixmap' to contain a valid directory name. For these options, -fluxbox(1) will call fbsetbg(1) to set the background. The options `gradient', -`solid', and `mod' all require `background.color' to be set. `gradient' and -`mod' both require `background.colorTo'. `mod' requires `background.modX' and -`background.modY' to be set as well. These options will be passed to -fbsetroot(1) to set the background. - - background: centered|aspect|tiled|fullscreen|random|solid|gradient |mod|none - background.pixmap: - background.color: - background.colorTo: - background.modX: - background.modY: - -SLIT ----- -Here are all of the options for the slit. - - ----------------------------------------- - slit: - slit.bevelWidth: - slit.borderColor: - slit.borderWidth: - slit.color: - slit.colorTo: - slit.pixmap: - ----------------------------------------- - -TOOLBAR OPTIONS ---------------- -Below you will find all of the configuration possibilities for the toolbar. -The list is pretty extensive and offers you many options to make your toolbar -look just the way you want it. - - ----------------------------------------- - toolbar: - toolbar.bevelWidth: - toolbar.borderColor: - toolbar.borderWidth: - toolbar.button.scale: - toolbar.color: - toolbar.colorTo: - toolbar.clock: - toolbar.clock.borderColor: - toolbar.clock.borderWidth: - toolbar.clock.font: - toolbar.clock.justify: <{Left|Right|Center}> - toolbar.clock.pixmap: - toolbar.clock.color: - toolbar.clock.colorTo: - toolbar.clock.textColor: - toolbar.height: - toolbar.iconbar.focused: - toolbar.iconbar.focused.color: - toolbar.iconbar.focused.colorTo: - toolbar.iconbar.focused.pixmap: - toolbar.iconbar.unfocused: - toolbar.iconbar.unfocused.color: - toolbar.iconbar.unfocused.colorTo: - toolbar.iconbar.unfocused.pixmap: - toolbar.iconbar.empty: - toolbar.iconbar.empty.color: - toolbar.iconbar.empty.colorTo: - toolbar.iconbar.empty.pixmap: - toolbar.iconbar.focused.borderColor: - toolbar.iconbar.focused.borderWidth: - toolbar.iconbar.unfocused.borderColor: - toolbar.iconbar.unfocused.borderWidth: - toolbar.iconbar.borderColor: - toolbar.iconbar.borderWidth: - toolbar.iconbar.focused.font: - toolbar.iconbar.focused.justify: <{Left|Right|Center}> - toolbar.iconbar.focused.textColor: - toolbar.iconbar.unfocused.font: - toolbar.iconbar.unfocused.justify: <{Left|Right|Center}> - toolbar.iconbar.unfocused.textColor: - toolbar.pixmap: - toolbar.shaped: - toolbar.workspace.font: - toolbar.workspace.justify: <{Left|Right|Center}> - toolbar.workspace.textColor: - toolbar.workspace: - toolbar.workspace.borderColor: - toolbar.workspace.borderWidth: - toolbar.workspace.color: - toolbar.workspace.colorTo: - toolbar.workspace.pixmap: - ----------------------------------------- - -EXAMPLES --------- -This list may seem intimidating, but remember, when you create your own style -you can easily set a majority of these keys with a single component. For an -example of this: - - ----------------------------------------- - *color: slategrey - *colorTo: darkslategrey - *unfocus.color: darkslategrey - *unfocus.colorTo: black - *textColor: white - *unfocus.textColor: lightgrey - *font: lucidasans-10 - ----------------------------------------- - -This sets nice defaults for many components. - -COLOR FORMATS -------------- -These are the color formats for styles: - - #000000 (Hexadecimal) - rgb:<0-255>/<0-255>/<0-255> - -See /usr/share/X11/rgb.txt for an explaination. - -AUTHOR and CREDITS ------------------- -Blackbox was written and maintained by Brad Hughes -and Jeff Raven . - -fluxbox(1) is written and maintained by Henrik Kinnunen -with contributions and patches merged from many individuals around the world. - -The Official fluxbox(1) website: http://www.fluxbox.org[] -You can find a lot of styles here: http://tenr.de/[] - -This manpage was composed from various resources including the official -documentation, fluxbox(1) man page and numerous other resources by Curt -"Asenchi" Micol. If you notice any errors or problems with this page, please -contact him here: and using the great contributions of -. Numerous other languages could be available -if someone jumps in. - -SEE ALSO --------- -fluxbox(1) fbsetbg(1) fbsetroot(1) - diff --git a/doc/fluxbox-style.5.in b/doc/fluxbox-style.5.in new file mode 100644 index 0000000..02323d5 --- /dev/null +++ b/doc/fluxbox-style.5.in @@ -0,0 +1,823 @@ +.\" Title: fluxbox-style +.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] +.\" Generator: DocBook XSL Stylesheets v1.74.0 +.\" Date: 02/10/2009 +.\" Manual: Fluxbox Manual +.\" Source: fluxbox-style.txt 1.1.1 +.\" Language: English +.\" +.TH "FLUXBOX\-STYLE" "5" "02/10/2009" "fluxbox\-style\&.txt 1\&.1\&.1" "Fluxbox Manual" +.\" ----------------------------------------------------------------- +.\" * (re)Define some macros +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" toupper - uppercase a string (locale-aware) +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.de toupper +.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ +\\$* +.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz +.. +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" SH-xref - format a cross-reference to an SH section +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.de SH-xref +.ie n \{\ +.\} +.toupper \\$* +.el \{\ +\\$* +.\} +.. +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" SH - level-one heading that works better for non-TTY output +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.de1 SH +.\" put an extra blank line of space above the head in non-TTY output +.if t \{\ +.sp 1 +.\} +.sp \\n[PD]u +.nr an-level 1 +.set-an-margin +.nr an-prevailing-indent \\n[IN] +.fi +.in \\n[an-margin]u +.ti 0 +.HTML-TAG ".NH \\n[an-level]" +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +\." make the size of the head bigger +.ps +3 +.ft B +.ne (2v + 1u) +.ie n \{\ +.\" if n (TTY output), use uppercase +.toupper \\$* +.\} +.el \{\ +.nr an-break-flag 0 +.\" if not n (not TTY), use normal case (not uppercase) +\\$1 +.in \\n[an-margin]u +.ti 0 +.\" if not n (not TTY), put a border/line under subheading +.sp -.6 +\l'\n(.lu' +.\} +.. +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" SS - level-two heading that works better for non-TTY output +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.de1 SS +.sp \\n[PD]u +.nr an-level 1 +.set-an-margin +.nr an-prevailing-indent \\n[IN] +.fi +.in \\n[IN]u +.ti \\n[SN]u +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.ps \\n[PS-SS]u +\." make the size of the head bigger +.ps +2 +.ft B +.ne (2v + 1u) +.if \\n[.$] \&\\$* +.. +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" BB/BE - put background/screen (filled box) around block of text +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.de BB +.if t \{\ +.sp -.5 +.br +.in +2n +.ll -2n +.gcolor red +.di BX +.\} +.. +.de EB +.if t \{\ +.if "\\$2"adjust-for-leading-newline" \{\ +.sp -1 +.\} +.br +.di +.in +.ll +.gcolor +.nr BW \\n(.lu-\\n(.i +.nr BH \\n(dn+.5v +.ne \\n(BHu+.5v +.ie "\\$2"adjust-for-leading-newline" \{\ +\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] +.\} +.el \{\ +\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] +.\} +.in 0 +.sp -.5v +.nf +.BX +.in +.sp .5v +.fi +.\} +.. +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" BM/EM - put colored marker in margin next to block of text +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.de BM +.if t \{\ +.br +.ll -2n +.gcolor red +.di BX +.\} +.. +.de EM +.if t \{\ +.br +.di +.ll +.gcolor +.nr BH \\n(dn +.ne \\n(BHu +\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[] +.in 0 +.nf +.BX +.in +.fi +.\} +.. +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "Name" +fluxbox-style \- A comprehensive look at styles/themes for fluxbox(1)\&. +.SH "Synopsis" +.sp +This document describes various options available for fluxbox styles\&. +.SH "DESCRIPTION" +.sp +What is a Style? +.sp +Styles, sometimes referred to as Themes, are a graphical overlay for the fluxbox(1) window manager\&. If you wanted to get to know fluxbox, the styles would be the \fIlook\fR of the \fIlook and feel\fR\&. +.sp +Styles are simple ASCII text files that tell fluxbox(1) how to generate the appearance of different components of the window manager\&. The default installation of fluxbox(1) is shipped with many classic examples that show a great deal of what one could do\&. To use one of the standard styles navigate to the \fISystem Styles\fR menu under your main fluxbox(1) menu\&. +.sp +fluxbox(1) uses its own graphics class to render its images on the fly\&. By using styles you can determine, at a great level of configurability, what your desktop will look like\&. Since fluxbox(1) was derived from blackbox many often wonder if old themes will work on the latest releases of fluxbox(1)\&. Well they basically do, but you will have to tune them since the fluxbox(1) code has changed quite a bit since the initial grab\&. +.SH "STRUCTURE" +.sp +A style is made up of a few major components which then have their own sub\-directives\&. The major components are as follows: +.sp +The \fIwindow\&.*\fR directives control the appearance of the window frames, window\&.tab\&.* controls the appearance of the window tabs, \fImenu\&.*\fR controls the appearance of the popup menu that you see when you right click on the desktop\&. \fItoolbar\&.*\fR is the bar you will see at the top or bottom of your screen\&. Finally the \fIslit\&.*\fR has options you can use to customize the appearance of the slit\&. However if you don\'t set the slit directives specifically, the slit\'s appearance is controlled by the toolbar directives instead\&. +.sp +To understand how the style mechanism works, it is nice to know a little about how X11 resources work\&. X11 resources consist of a key and a value\&. The key is constructed of several smaller keys (sometimes referred to as children), delimited by a period (\&.)\&. Keys may also contain an asterisk (*) to serve as a wildcard, which means that one line of text will match several keys\&. This is useful for styles that are based on one or two colors\&. +.sp +A more complete reference to this can be found in X(7), section \fIRESOURCES\fR\&. +.SH "LOCATION" +.sp +There are many places to store your styles, the most common is in your \fI~/\&.fluxbox/styles\fR directory\&. The initial installation will place the default styles in \fI@pkgdatadir@/styles\fR providing a basic usable configuration\&. +.sp +When creating your own style, create a directory (normally the name of your style) in \fI~/\&.fluxbox/styles/\fR (If the \fIstyles\fR directory doesn\'t exist, create that also)\&. While there isn\'t an official structure, it is common to create a directory named after your style and place your pixmaps directory (if required) in there along with a file called theme\&.cfg (may also be named style\&.cfg)\&. This file is where you will construct your style using the components covered later in this manual page\&. An example of steps taken when beginning a style project of your own may look like: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +$ cd +$ mkdir \-p ~/\&.fluxbox/styles/YourStyle/pixmaps +$ cd ~/\&.fluxbox/styles/YourStyle +$ nano theme\&.cfg +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +Output of a packaged style should look like the following: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +$ cd +$ tar \-tjvf YourStyle\&.tar\&.bz2 + \&.fluxbox/styles/YourStyle/theme\&.cfg + \&.fluxbox/styles/YourStyle/pixmaps + \&.fluxbox/styles/YourStyle/pixmaps/stick\&.xpm + \&.\&.\&. +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +Of course, all of these are just preferences, fluxbox(1) allows for the customization of many things, including how you handle your styles\&. Just remember, however, that if you plan to distribute your style you may find some community bickering if you don\'t follow practices\&. :) +.SH "CREATING YOUR STYLE" +.sp +As discussed above, fluxbox(1) allows you to configure its four main components: the toolbar, menus, slit and window decorations\&. Remember that you can customize the slit with its own directives, otherwise the slit will take the appearance of the toolbar\&. +.sp +Here are some quick examples to illustrate basic syntax: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +toolbar\&.clock\&.color: green +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +This sets the color resource of the toolbar clock to \fIgreen\fR\&. Another example: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +menu*color: rgb:3/4/5 +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +This sets the color resource of the menu and all of its \fIchildren\fR to `rgb:3/4/5\'\&. (For a description of color names, see X(1)\&.) So this one also applies to \fImenu\&.title\&.color\fR and \fImenu\&.frame\&.color\fR\&. And with +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +*font: \-b&h\-lucida\-medium\-r\-normal\-*\-*\-140\-* +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +you set the font resource for all keys to this font name all at once (For information about the fonts installed on your system, you can use a program like xfontsel(1), gtkfontsel, or xlsfonts(1)\&.) +.sp +In the last example you will notice the wildcard (*) before font\&. In a Fluxbox style you can set a value with a wildcard\&. The example means that every font in the style will be what is specified\&. You can do this with any component/value\&. For example if you wanted all of the text to be one color you would do: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +*textColor: rgb:3/4/5 +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +This means that you can setup a very simple style with very few properties\&. See the EXAMPLES below for an example of this in practice\&. fluxbox(1) also allows you to override wildcards in your style\&. Lets take our example above and add an override for the toolbar\&.clock\&.textColor component: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +*textColor: rgb:3/4/5 +toolbar\&.clock\&.textColor: rgb:255/0/0 +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +With that all of the text will be \fIrgb:3/4/5\fR except the toolbar clock text which will be \fIrgb:255/0/0\fR\&. +.sp +Now what makes fluxbox(1) so spectacular is its ability to render textures on the fly\&. A texture is a fillpattern that you see on some styles\&. Texture descriptions are specified directly to the key that they should apply to, e\&.g\&.: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +toolbar\&.clock: Raised Gradient Diagonal Bevel1 +toolbar\&.clock\&.color: rgb:8/6/4 +toolbar\&.clock\&.colorTo: rgb:4/3/2 +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +Don\'t worry, we will explain what these mean\&. A texture description consists of up to five fields, which are as follows: +.PP +\fBFlat | Raised | Sunken\fR. gives the component either a flat, raised or sunken appearance\&. +.PP +\fBGradient | Solid\fR. tells fluxbox(1) to draw either a solid color or a gradient texture\&. +.PP +\fBHorizontal | Vertical | Diagonal | Crossdiagonal | Pipecross | Elliptic | Rectangle | Pyramid\fR. Select one of these texture types\&. They only work when +\fBGradient\fR +is specified\&. +.PP +\fBInterlaced\fR. tells fluxbox(1) to interlace the texture (darken every other line)\&. This option is most commonly used with gradiented textures, but it also works in solid textures\&. +.PP +\fBBevel1 | Bevel2\fR. tells fluxbox(1) which type of bevel to use\&. Bevel1 is the default bevel\&. The shading is placed on the edge of the image\&. Bevel2 is an alternative\&. The shading is placed one pixel in from the edge of the image\&. +.sp +Instead of a texture description, also the option \fBParentRelative\fR is available, which makes the component appear as a part of its parent, e\&.g\&. totally transparent\&. +.sp +Or for even more possibilities Pixmap\&. If pixmap texture is specified (it might not be necessary on every occasion) the pixmap file is specified in a separate pixmap resource\&. +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +toolbar\&.clock: pixmap +toolbar\&.clock\&.pixmap: clock_background\&.xpm +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +This feature might need some investigation, reports say that sometimes the resources color and colorTo must be set and then they may not be set\&. +.sp +All gradiented textures are composed of two color values: the \fIcolor\fR and \fIcolorTo\fR resources\&. When \fBInterlaced\fR is used in \fBSolid\fR mode, the \fIcolorTo\fR resource is used to find the interlacing color\&. +.SH "A WORD ABOUT FONTS" +.sp +We should comment about fonts before we move on to the complete component list\&. fluxbox(1) supports different options for text\&. These options currently include bold, halo and shadow\&. To set these do this: fontname\-size:options for any of the font components in the style file\&. For example: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +menu\&.title\&.font: sans\-8:bold,shadow +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +The latest versions of fluxbox(1) (> 0\&.9\&.8) also support different values for these text options\&. The possibilities are as follows: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +\-\-\-\-\-\-\-\- +Shadow color= offsetx= offsety= Halo color= +\-\-\-\-\-\-\-\- +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +For the case of completeness, here are some real world examples: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +*\&.font: Verdana\-10:bold,shadow:offsetx=2;offsety=4;color=green +*\&.font: Verdana\-10:halo:color=blue +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +Of course this could all be placed on one line\&. Also note that for the offset options, negative integers are allowed\&. +.SS "FONT PROBLEMS" +.sp +If you have problems installing fonts or getting them to work, you should read the docs page at xfree\&.org\&. Here is a link to one of these: \m[blue]\fBhttp://xfree\&.org/4\&.3\&.0/fonts2\&.html#3\fR\m[] +.SH "FULL COMPONENT LIST" +.sp +Here is the exhaustive component list for fluxbox(1) styles\&. Each one is listed with their type of value required\&. Comments in a style file are preceded with an exclamation point (!) which we also use here so that these can be pasted into a new theme\&.cfg to be customized appropiately\&. Please note that in order to keep styles consistent it is often the practice of stylists to provide all of the theme\-items in their style file even if they are not used\&. This allows the user the ease of changing different components\&. +.SH "WINDOW OPTIONS" +.sp +Many, many things you can do with window design in fluxbox(1), below are your options\&. Have fun\&. +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +window\&.bevelWidth: +window\&.borderColor: +window\&.borderWidth: +window\&.button\&.focus: +window\&.button\&.focus\&.color: +window\&.button\&.focus\&.colorTo: +window\&.button\&.focus\&.picColor: +window\&.button\&.focus\&.pixmap: +window\&.button\&.pressed: +window\&.button\&.pressed\&.color: +window\&.button\&.pressed\&.colorTo: +window\&.button\&.pressed\&.pixmap: +window\&.button\&.unfocus: +window\&.button\&.unfocus\&.color: +window\&.button\&.unfocus\&.colorTo: +window\&.button\&.unfocus\&.picColor: +window\&.button\&.unfocus\&.pixmap: +window\&.close\&.pixmap: +window\&.close\&.pressed\&.pixmap: +window\&.close\&.unfocus\&.pixmap: +window\&.font: +window\&.frame\&.focusColor: +window\&.frame\&.unfocusColor: +window\&.grip\&.focus: +window\&.grip\&.focus\&.color: +window\&.grip\&.focus\&.colorTo: +window\&.grip\&.focus\&.pixmap: +window\&.grip\&.unfocus: +window\&.grip\&.unfocus\&.color: +window\&.grip\&.unfocus\&.colorTo: +window\&.grip\&.unfocus\&.pixmap: +window\&.handle\&.focus: +window\&.handle\&.focus\&.color: +window\&.handle\&.focus\&.colorTo: +window\&.handle\&.focus\&.pixmap: +window\&.handle\&.unfocus: +window\&.handle\&.unfocus\&.color: +window\&.handle\&.unfocus\&.colorTo: +window\&.handle\&.unfocus\&.pixmap: +window\&.handleWidth: +window\&.iconify\&.pixmap: +window\&.iconify\&.pressed\&.pixmap: +window\&.iconify\&.unfocus\&.pixmap: +window\&.justify: <{Left|Right|Center}> +window\&.label\&.active: +window\&.label\&.active\&.textColor: +window\&.label\&.focus: +window\&.label\&.focus\&.color: +window\&.label\&.focus\&.colorTo: +window\&.label\&.focus\&.pixmap: +window\&.label\&.unfocus: +window\&.label\&.unfocus\&.color: +window\&.label\&.unfocus\&.colorTo: +window\&.label\&.unfocus\&.pixmap: +window\&.label\&.focus\&.textColor: +window\&.label\&.unfocus\&.textColor: +window\&.maximize\&.pixmap: +window\&.maximize\&.pressed\&.pixmap: +window\&.maximize\&.unfocus\&.pixmap: +window\&.roundCorners: <{Top|Bottom}{Left|Right}> +window\&.shade\&.pixmap: +window\&.shade\&.pressed\&.pixmap: +window\&.shade\&.unfocus\&.pixmap: +window\&.stick\&.pixmap: +window\&.stick\&.pressed\&.pixmap: +window\&.stick\&.unfocus\&.pixmap: +window\&.stuck\&.pixmap: +window\&.stuck\&.unfocus\&.pixmap: +window\&.title\&.focus: +window\&.title\&.focus\&.color: +window\&.title\&.focus\&.colorTo: +window\&.title\&.focus\&.pixmap: +window\&.title\&.height: +window\&.title\&.unfocus: +window\&.title\&.unfocus\&.color: +window\&.title\&.unfocus\&.colorTo: +window\&.title\&.unfocus\&.pixmap: +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.SH "MENU OPTIONS" +.sp +Everything you need to make your menu look pretty\&. +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +menu\&.bevelWidth: +menu\&.borderColor: +menu\&.borderWidth: +menu\&.bullet: <{empty|square|triangle|diamond}> +menu\&.bullet\&.position: <{left|right}> +menu\&.frame: +menu\&.frame\&.color: +menu\&.frame\&.colorTo: +menu\&.frame\&.disableColor: +menu\&.frame\&.font: +menu\&.frame\&.justify: <{Left|Right|Center}> +menu\&.frame\&.pixmap: +menu\&.frame\&.textColor: +menu\&.hilite: +menu\&.hilite\&.color: +menu\&.hilite\&.colorTo: +menu\&.hilite\&.pixmap: +menu\&.hilite\&.textColor: +menu\&.itemHeight: +menu\&.title: +menu\&.title\&.color: +menu\&.title\&.colorTo: +menu\&.title\&.font: +menu\&.title\&.pixmap: +menu\&.title\&.textColor: +menu\&.title\&.justify: <{Left|Right|Center}> +menu\&.titleHeight: +menu\&.roundCorners: <{Top|Bottom}{Left|Right}> +menu\&.selected\&.pixmap: +menu\&.submenu\&.pixmap: +menu\&.unselected\&.pixmap: +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.SH "BACKGROUND" +.sp +Every style must specify the background option\&. If you don\'t want your style to change the user\'s background, then use `background: none\'\&. The options `centered\', `aspect\', `tiled\', and `fullscreen\' require the `background\&.pixmap\' resource to contain a valid file name\&. The `random\' option requires `background\&.pixmap\' to contain a valid directory name\&. For these options, fluxbox(1) will call fbsetbg(1) to set the background\&. The options `gradient\', `solid\', and `mod\' all require `background\&.color\' to be set\&. `gradient\' and `mod\' both require `background\&.colorTo\'\&. `mod\' requires `background\&.modX\' and `background\&.modY\' to be set as well\&. These options will be passed to fbsetroot(1) to set the background\&. +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +background: centered|aspect|tiled|fullscreen|random|solid|gradient |mod|none +background\&.pixmap: +background\&.color: +background\&.colorTo: +background\&.modX: +background\&.modY: +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.SH "SLIT" +.sp +Here are all of the options for the slit\&. +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +slit: +slit\&.bevelWidth: +slit\&.borderColor: +slit\&.borderWidth: +slit\&.color: +slit\&.colorTo: +slit\&.pixmap: +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.SH "TOOLBAR OPTIONS" +.sp +Below you will find all of the configuration possibilities for the toolbar\&. The list is pretty extensive and offers you many options to make your toolbar look just the way you want it\&. +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +toolbar: +toolbar\&.bevelWidth: +toolbar\&.borderColor: +toolbar\&.borderWidth: +toolbar\&.button\&.scale: +toolbar\&.color: +toolbar\&.colorTo: +toolbar\&.clock: +toolbar\&.clock\&.borderColor: +toolbar\&.clock\&.borderWidth: +toolbar\&.clock\&.font: +toolbar\&.clock\&.justify: <{Left|Right|Center}> +toolbar\&.clock\&.pixmap: +toolbar\&.clock\&.color: +toolbar\&.clock\&.colorTo: +toolbar\&.clock\&.textColor: +toolbar\&.height: +toolbar\&.iconbar\&.focused: +toolbar\&.iconbar\&.focused\&.color: +toolbar\&.iconbar\&.focused\&.colorTo: +toolbar\&.iconbar\&.focused\&.pixmap: +toolbar\&.iconbar\&.unfocused: +toolbar\&.iconbar\&.unfocused\&.color: +toolbar\&.iconbar\&.unfocused\&.colorTo: +toolbar\&.iconbar\&.unfocused\&.pixmap: +toolbar\&.iconbar\&.empty: +toolbar\&.iconbar\&.empty\&.color: +toolbar\&.iconbar\&.empty\&.colorTo: +toolbar\&.iconbar\&.empty\&.pixmap: +toolbar\&.iconbar\&.focused\&.borderColor: +toolbar\&.iconbar\&.focused\&.borderWidth: +toolbar\&.iconbar\&.unfocused\&.borderColor: +toolbar\&.iconbar\&.unfocused\&.borderWidth: +toolbar\&.iconbar\&.borderColor: +toolbar\&.iconbar\&.borderWidth: +toolbar\&.iconbar\&.focused\&.font: +toolbar\&.iconbar\&.focused\&.justify: <{Left|Right|Center}> +toolbar\&.iconbar\&.focused\&.textColor: +toolbar\&.iconbar\&.unfocused\&.font: +toolbar\&.iconbar\&.unfocused\&.justify: <{Left|Right|Center}> +toolbar\&.iconbar\&.unfocused\&.textColor: +toolbar\&.pixmap: +toolbar\&.shaped: +toolbar\&.workspace\&.font: +toolbar\&.workspace\&.justify: <{Left|Right|Center}> +toolbar\&.workspace\&.textColor: +toolbar\&.workspace: +toolbar\&.workspace\&.borderColor: +toolbar\&.workspace\&.borderWidth: +toolbar\&.workspace\&.color: +toolbar\&.workspace\&.colorTo: +toolbar\&.workspace\&.pixmap: +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.SH "EXAMPLES" +.sp +This list may seem intimidating, but remember, when you create your own style you can easily set a majority of these keys with a single component\&. For an example of this: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +*color: slategrey +*colorTo: darkslategrey +*unfocus\&.color: darkslategrey +*unfocus\&.colorTo: black +*textColor: white +*unfocus\&.textColor: lightgrey +*font: lucidasans\-10 +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +This sets nice defaults for many components\&. +.SH "COLOR FORMATS" +.sp +These are the color formats for styles: +.sp +.if n \{\ +.RS 4 +.\} +.fam C +.ps -1 +.nf +.BB lightgray +#000000 (Hexadecimal) +rgb:<0\-255>/<0\-255>/<0\-255> +.EB lightgray +.fi +.fam +.ps +1 +.if n \{\ +.RE +.\} +.sp +See /usr/share/X11/rgb\&.txt for an explaination\&. +.SH "AUTHOR and CREDITS" +.sp +Blackbox was written and maintained by Brad Hughes <\m[blue]\fBblackbox@alug\&.org\fR\m[]\&\s-2\u[1]\d\s+2> and Jeff Raven <\m[blue]\fBjraven@psu\&.edu\fR\m[]\&\s-2\u[2]\d\s+2>\&. +.sp +fluxbox(1) is written and maintained by Henrik Kinnunen <\m[blue]\fBfluxgen@fluxbox\&.org\fR\m[]\&\s-2\u[3]\d\s+2> with contributions and patches merged from many individuals around the world\&. +.sp +The Official fluxbox(1) website: \m[blue]\fBhttp://www\&.fluxbox\&.org\fR\m[] You can find a lot of styles here: \m[blue]\fBhttp://tenr\&.de/\fR\m[] +.sp +This manpage was composed from various resources including the official documentation, fluxbox(1) man page and numerous other resources by Curt "Asenchi" Micol\&. If you notice any errors or problems with this page, please contact him here: <\m[blue]\fBasenchi@asenchi\&.com\fR\m[]\&\s-2\u[4]\d\s+2> and using the great contributions of <\m[blue]\fBgrubert@users\&.sourceforge\&.net\fR\m[]\&\s-2\u[5]\d\s+2>\&. Numerous other languages could be available if someone jumps in\&. +.SH "SEE ALSO" +.sp +fluxbox(1) fbsetbg(1) fbsetroot(1) +.SH "Notes" +.IP " 1." 4 +blackbox@alug.org +.RS 4 +\%mailto:blackbox@alug.org +.RE +.IP " 2." 4 +jraven@psu.edu +.RS 4 +\%mailto:jraven@psu.edu +.RE +.IP " 3." 4 +fluxgen@fluxbox.org +.RS 4 +\%mailto:fluxgen@fluxbox.org +.RE +.IP " 4." 4 +asenchi@asenchi.com +.RS 4 +\%mailto:asenchi@asenchi.com +.RE +.IP " 5." 4 +grubert@users.sourceforge.net +.RS 4 +\%mailto:grubert@users.sourceforge.net +.RE diff --git a/doc/fluxbox.1.in b/doc/fluxbox.1.in index 98dacab..b3f8825 100644 --- a/doc/fluxbox.1.in +++ b/doc/fluxbox.1.in @@ -406,6 +406,8 @@ A left click (mouse button 1) on any part of the window\'s border will raise it\ .SS "Tabs" .sp fluxbox allows windows to be `grouped\' by middle clicking and holding on a window\'s tab and dragging it onto another window\&. This `tabbing\' allows you to put multiple applications in one location on the desktop and do several operations (for example, moving or resizing) to all windows in the group\&. By default, tabs are located just above the window, but they may be embedded in the titlebar or moved to other locations on the outside of the window\&. Configuration is discussed in TAB OPTIONS section\&. +.sp +You can also set up automatic grouping using the `apps\' file\&. See \fBGROUP SECTIONS\fR in fluxbox\-apps(5) for details\&. .SH "MENUS" .sp fluxbox installs a default menu file in @pkgdatadir@/menu\&. You can also use fluxbox \-i to confirm this action\&. Of course this system\-wide menu can be customized for all users at once, but it is also possible to create an individual menu file for each user\&. By convention, users create a menu file in ~/\&.fluxbox/menu \&. Once you\'ve created your own menu file, you\'ll want to make sure that you properly declare this location in your `init\' file so that fluxbox knows where to look\&. The value you\'ll want to add or change is: @@ -466,7 +468,7 @@ The root menu is where you can change different aspects of fluxbox by simply cli \fBUser Styles\fR: ~/\&.fluxbox/styles This is the location where you will store new styles that you grab from the Internet\&. If you create your own styles this is also where you will put yours (provided that you follow the \fIstandards\fR -described in fluxstyle(1))\&. +described in fluxbox\-style(5))\&. .RE .sp .RS 4 @@ -2106,10 +2108,10 @@ session\&.screen0\&.tab\&.placement: .sp fluxbox enables you to use specialized files that contain X(1) resources to specify colors, textures, pixmaps and fonts, and thus the overall look of your window borders, menus and the toolbar\&. .sp -The default installation of fluxbox provides some of these style files\&. See fluxstyle(1) to accommodate the growing number of style components\&. +The default installation of fluxbox provides some of these style files\&. See fluxbox\-style(5) to accommodate the growing number of style components\&. .SH "STYLE OVERLAY" .sp -In addition to the style file, the overlay file, whose location is specified by session\&.screen0\&.styleOverlay (default: ~/\&.fluxbox/overlay ) can be used to set style resources that override all styles\&. For more information about which parts of fluxbox can be controlled by the overlay file, see fluxstyle(1)\&. +In addition to the style file, the overlay file, whose location is specified by session\&.screen0\&.styleOverlay (default: ~/\&.fluxbox/overlay ) can be used to set style resources that override all styles\&. For more information about which parts of fluxbox can be controlled by the overlay file, see fluxbox\-style(5)\&. .SH "THE SLIT" .sp The slit is a special fluxbox window frame that can contain dockable applications, e\&.g\&. \fIbbtools\fR or \fIwmapps\fR\&. @@ -2391,4 +2393,4 @@ Numerous other languages could be available if someone jumps in\&. If you find any bugs, please visit the #fluxbox irc channel on irc\&.freenode\&.net or submit them to the bug tracker at \m[blue]\fBhttp://sf\&.net/projects/fluxbox\fR\m[] \&. Or you may subscribe to one of the mailinglists\&. More information can be found on the official website\&. .SH "SEE ALSO" .sp -fluxbox\-keys(5) bsetroot(1) fbsetbg(1) fbrun(1) fluxstyle(1) +fluxbox\-apps(5) fluxbox\-keys(5) bsetroot(1) fbsetbg(1) fbrun(1) fluxbox\-style(5) fluxbox\-remote(1) diff --git a/doc/fluxstyle.1.in b/doc/fluxstyle.1.in deleted file mode 100644 index 11b12e8..0000000 --- a/doc/fluxstyle.1.in +++ /dev/null @@ -1,823 +0,0 @@ -.\" Title: fluxstyle -.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.74.0 -.\" Date: 02/10/2009 -.\" Manual: Fluxbox Manual -.\" Source: fluxstyle.txt 1.1.1 -.\" Language: English -.\" -.TH "FLUXSTYLE" "1" "02/10/2009" "fluxstyle\&.txt 1\&.1\&.1" "Fluxbox Manual" -.\" ----------------------------------------------------------------- -.\" * (re)Define some macros -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" toupper - uppercase a string (locale-aware) -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.de toupper -.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ -\\$* -.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz -.. -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" SH-xref - format a cross-reference to an SH section -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.de SH-xref -.ie n \{\ -.\} -.toupper \\$* -.el \{\ -\\$* -.\} -.. -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" SH - level-one heading that works better for non-TTY output -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.de1 SH -.\" put an extra blank line of space above the head in non-TTY output -.if t \{\ -.sp 1 -.\} -.sp \\n[PD]u -.nr an-level 1 -.set-an-margin -.nr an-prevailing-indent \\n[IN] -.fi -.in \\n[an-margin]u -.ti 0 -.HTML-TAG ".NH \\n[an-level]" -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -\." make the size of the head bigger -.ps +3 -.ft B -.ne (2v + 1u) -.ie n \{\ -.\" if n (TTY output), use uppercase -.toupper \\$* -.\} -.el \{\ -.nr an-break-flag 0 -.\" if not n (not TTY), use normal case (not uppercase) -\\$1 -.in \\n[an-margin]u -.ti 0 -.\" if not n (not TTY), put a border/line under subheading -.sp -.6 -\l'\n(.lu' -.\} -.. -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" SS - level-two heading that works better for non-TTY output -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.de1 SS -.sp \\n[PD]u -.nr an-level 1 -.set-an-margin -.nr an-prevailing-indent \\n[IN] -.fi -.in \\n[IN]u -.ti \\n[SN]u -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.ps \\n[PS-SS]u -\." make the size of the head bigger -.ps +2 -.ft B -.ne (2v + 1u) -.if \\n[.$] \&\\$* -.. -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" BB/BE - put background/screen (filled box) around block of text -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.de BB -.if t \{\ -.sp -.5 -.br -.in +2n -.ll -2n -.gcolor red -.di BX -.\} -.. -.de EB -.if t \{\ -.if "\\$2"adjust-for-leading-newline" \{\ -.sp -1 -.\} -.br -.di -.in -.ll -.gcolor -.nr BW \\n(.lu-\\n(.i -.nr BH \\n(dn+.5v -.ne \\n(BHu+.5v -.ie "\\$2"adjust-for-leading-newline" \{\ -\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] -.\} -.el \{\ -\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] -.\} -.in 0 -.sp -.5v -.nf -.BX -.in -.sp .5v -.fi -.\} -.. -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" BM/EM - put colored marker in margin next to block of text -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.de BM -.if t \{\ -.br -.ll -2n -.gcolor red -.di BX -.\} -.. -.de EM -.if t \{\ -.br -.di -.ll -.gcolor -.nr BH \\n(dn -.ne \\n(BHu -\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[] -.in 0 -.nf -.BX -.in -.fi -.\} -.. -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "Name" -fluxstyle \- A comprehensive look at styles/themes for fluxbox(1)\&. -.SH "Synopsis" -.sp -This document describes various options available for fluxbox styles\&. -.SH "DESCRIPTION" -.sp -What is a Style? -.sp -Styles, sometimes referred to as Themes, are a graphical overlay for the fluxbox(1) window manager\&. If you wanted to get to know fluxbox, the styles would be the \fIlook\fR of the \fIlook and feel\fR\&. -.sp -Styles are simple ASCII text files that tell fluxbox(1) how to generate the appearance of different components of the window manager\&. The default installation of fluxbox(1) is shipped with many classic examples that show a great deal of what one could do\&. To use one of the standard styles navigate to the \fISystem Styles\fR menu under your main fluxbox(1) menu\&. -.sp -fluxbox(1) uses its own graphics class to render its images on the fly\&. By using styles you can determine, at a great level of configurability, what your desktop will look like\&. Since fluxbox(1) was derived from blackbox many often wonder if old themes will work on the latest releases of fluxbox(1)\&. Well they basically do, but you will have to tune them since the fluxbox(1) code has changed quite a bit since the initial grab\&. -.SH "STRUCTURE" -.sp -A style is made up of a few major components which then have their own sub\-directives\&. The major components are as follows: -.sp -The \fIwindow\&.*\fR directives control the appearance of the window frames, window\&.tab\&.* controls the appearance of the window tabs, \fImenu\&.*\fR controls the appearance of the popup menu that you see when you right click on the desktop\&. \fItoolbar\&.*\fR is the bar you will see at the top or bottom of your screen\&. Finally the \fIslit\&.*\fR has options you can use to customize the appearance of the slit\&. However if you don\'t set the slit directives specifically, the slit\'s appearance is controlled by the toolbar directives instead\&. -.sp -To understand how the style mechanism works, it is nice to know a little about how X11 resources work\&. X11 resources consist of a key and a value\&. The key is constructed of several smaller keys (sometimes referred to as children), delimited by a period (\&.)\&. Keys may also contain an asterisk (*) to serve as a wildcard, which means that one line of text will match several keys\&. This is useful for styles that are based on one or two colors\&. -.sp -A more complete reference to this can be found in X(7), section \fIRESOURCES\fR\&. -.SH "LOCATION" -.sp -There are many places to store your styles, the most common is in your \fI~/\&.fluxbox/styles\fR directory\&. The initial installation will place the default styles in \fI@pkgdatadir@/styles\fR providing a basic usable configuration\&. -.sp -When creating your own style, create a directory (normally the name of your style) in \fI~/\&.fluxbox/styles/\fR (If the \fIstyles\fR directory doesn\'t exist, create that also)\&. While there isn\'t an official structure, it is common to create a directory named after your style and place your pixmaps directory (if required) in there along with a file called theme\&.cfg (may also be named style\&.cfg)\&. This file is where you will construct your style using the components covered later in this manual page\&. An example of steps taken when beginning a style project of your own may look like: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -$ cd -$ mkdir \-p ~/\&.fluxbox/styles/YourStyle/pixmaps -$ cd ~/\&.fluxbox/styles/YourStyle -$ nano theme\&.cfg -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -Output of a packaged style should look like the following: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -$ cd -$ tar \-tjvf YourStyle\&.tar\&.bz2 - \&.fluxbox/styles/YourStyle/theme\&.cfg - \&.fluxbox/styles/YourStyle/pixmaps - \&.fluxbox/styles/YourStyle/pixmaps/stick\&.xpm - \&.\&.\&. -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -Of course, all of these are just preferences, fluxbox(1) allows for the customization of many things, including how you handle your styles\&. Just remember, however, that if you plan to distribute your style you may find some community bickering if you don\'t follow practices\&. :) -.SH "CREATING YOUR STYLE" -.sp -As discussed above, fluxbox(1) allows you to configure its four main components: the toolbar, menus, slit and window decorations\&. Remember that you can customize the slit with its own directives, otherwise the slit will take the appearance of the toolbar\&. -.sp -Here are some quick examples to illustrate basic syntax: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -toolbar\&.clock\&.color: green -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -This sets the color resource of the toolbar clock to \fIgreen\fR\&. Another example: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -menu*color: rgb:3/4/5 -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -This sets the color resource of the menu and all of its \fIchildren\fR to `rgb:3/4/5\'\&. (For a description of color names, see X(1)\&.) So this one also applies to \fImenu\&.title\&.color\fR and \fImenu\&.frame\&.color\fR\&. And with -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -*font: \-b&h\-lucida\-medium\-r\-normal\-*\-*\-140\-* -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -you set the font resource for all keys to this font name all at once (For information about the fonts installed on your system, you can use a program like xfontsel(1), gtkfontsel, or xlsfonts(1)\&.) -.sp -In the last example you will notice the wildcard (*) before font\&. In a Fluxbox style you can set a value with a wildcard\&. The example means that every font in the style will be what is specified\&. You can do this with any component/value\&. For example if you wanted all of the text to be one color you would do: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -*textColor: rgb:3/4/5 -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -This means that you can setup a very simple style with very few properties\&. See the EXAMPLES below for an example of this in practice\&. fluxbox(1) also allows you to override wildcards in your style\&. Lets take our example above and add an override for the toolbar\&.clock\&.textColor component: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -*textColor: rgb:3/4/5 -toolbar\&.clock\&.textColor: rgb:255/0/0 -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -With that all of the text will be \fIrgb:3/4/5\fR except the toolbar clock text which will be \fIrgb:255/0/0\fR\&. -.sp -Now what makes fluxbox(1) so spectacular is its ability to render textures on the fly\&. A texture is a fillpattern that you see on some styles\&. Texture descriptions are specified directly to the key that they should apply to, e\&.g\&.: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -toolbar\&.clock: Raised Gradient Diagonal Bevel1 -toolbar\&.clock\&.color: rgb:8/6/4 -toolbar\&.clock\&.colorTo: rgb:4/3/2 -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -Don\'t worry, we will explain what these mean\&. A texture description consists of up to five fields, which are as follows: -.PP -\fBFlat | Raised | Sunken\fR. gives the component either a flat, raised or sunken appearance\&. -.PP -\fBGradient | Solid\fR. tells fluxbox(1) to draw either a solid color or a gradient texture\&. -.PP -\fBHorizontal | Vertical | Diagonal | Crossdiagonal | Pipecross | Elliptic | Rectangle | Pyramid\fR. Select one of these texture types\&. They only work when -\fBGradient\fR -is specified\&. -.PP -\fBInterlaced\fR. tells fluxbox(1) to interlace the texture (darken every other line)\&. This option is most commonly used with gradiented textures, but it also works in solid textures\&. -.PP -\fBBevel1 | Bevel2\fR. tells fluxbox(1) which type of bevel to use\&. Bevel1 is the default bevel\&. The shading is placed on the edge of the image\&. Bevel2 is an alternative\&. The shading is placed one pixel in from the edge of the image\&. -.sp -Instead of a texture description, also the option \fBParentRelative\fR is available, which makes the component appear as a part of its parent, e\&.g\&. totally transparent\&. -.sp -Or for even more possibilities Pixmap\&. If pixmap texture is specified (it might not be necessary on every occasion) the pixmap file is specified in a separate pixmap resource\&. -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -toolbar\&.clock: pixmap -toolbar\&.clock\&.pixmap: clock_background\&.xpm -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -This feature might need some investigation, reports say that sometimes the resources color and colorTo must be set and then they may not be set\&. -.sp -All gradiented textures are composed of two color values: the \fIcolor\fR and \fIcolorTo\fR resources\&. When \fBInterlaced\fR is used in \fBSolid\fR mode, the \fIcolorTo\fR resource is used to find the interlacing color\&. -.SH "A WORD ABOUT FONTS" -.sp -We should comment about fonts before we move on to the complete component list\&. fluxbox(1) supports different options for text\&. These options currently include bold, halo and shadow\&. To set these do this: fontname\-size:options for any of the font components in the style file\&. For example: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -menu\&.title\&.font: sans\-8:bold,shadow -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -The latest versions of fluxbox(1) (> 0\&.9\&.8) also support different values for these text options\&. The possibilities are as follows: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -\-\-\-\-\-\-\-\- -Shadow color= offsetx= offsety= Halo color= -\-\-\-\-\-\-\-\- -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -For the case of completeness, here are some real world examples: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -*\&.font: Verdana\-10:bold,shadow:offsetx=2;offsety=4;color=green -*\&.font: Verdana\-10:halo:color=blue -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -Of course this could all be placed on one line\&. Also note that for the offset options, negative integers are allowed\&. -.SS "FONT PROBLEMS" -.sp -If you have problems installing fonts or getting them to work, you should read the docs page at xfree\&.org\&. Here is a link to one of these: \m[blue]\fBhttp://xfree\&.org/4\&.3\&.0/fonts2\&.html#3\fR\m[] -.SH "FULL COMPONENT LIST" -.sp -Here is the exhaustive component list for fluxbox(1) styles\&. Each one is listed with their type of value required\&. Comments in a style file are preceded with an exclamation point (!) which we also use here so that these can be pasted into a new theme\&.cfg to be customized appropiately\&. Please note that in order to keep styles consistent it is often the practice of stylists to provide all of the theme\-items in their style file even if they are not used\&. This allows the user the ease of changing different components\&. -.SH "WINDOW OPTIONS" -.sp -Many, many things you can do with window design in fluxbox(1), below are your options\&. Have fun\&. -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -window\&.bevelWidth: -window\&.borderColor: -window\&.borderWidth: -window\&.button\&.focus: -window\&.button\&.focus\&.color: -window\&.button\&.focus\&.colorTo: -window\&.button\&.focus\&.picColor: -window\&.button\&.focus\&.pixmap: -window\&.button\&.pressed: -window\&.button\&.pressed\&.color: -window\&.button\&.pressed\&.colorTo: -window\&.button\&.pressed\&.pixmap: -window\&.button\&.unfocus: -window\&.button\&.unfocus\&.color: -window\&.button\&.unfocus\&.colorTo: -window\&.button\&.unfocus\&.picColor: -window\&.button\&.unfocus\&.pixmap: -window\&.close\&.pixmap: -window\&.close\&.pressed\&.pixmap: -window\&.close\&.unfocus\&.pixmap: -window\&.font: -window\&.frame\&.focusColor: -window\&.frame\&.unfocusColor: -window\&.grip\&.focus: -window\&.grip\&.focus\&.color: -window\&.grip\&.focus\&.colorTo: -window\&.grip\&.focus\&.pixmap: -window\&.grip\&.unfocus: -window\&.grip\&.unfocus\&.color: -window\&.grip\&.unfocus\&.colorTo: -window\&.grip\&.unfocus\&.pixmap: -window\&.handle\&.focus: -window\&.handle\&.focus\&.color: -window\&.handle\&.focus\&.colorTo: -window\&.handle\&.focus\&.pixmap: -window\&.handle\&.unfocus: -window\&.handle\&.unfocus\&.color: -window\&.handle\&.unfocus\&.colorTo: -window\&.handle\&.unfocus\&.pixmap: -window\&.handleWidth: -window\&.iconify\&.pixmap: -window\&.iconify\&.pressed\&.pixmap: -window\&.iconify\&.unfocus\&.pixmap: -window\&.justify: <{Left|Right|Center}> -window\&.label\&.active: -window\&.label\&.active\&.textColor: -window\&.label\&.focus: -window\&.label\&.focus\&.color: -window\&.label\&.focus\&.colorTo: -window\&.label\&.focus\&.pixmap: -window\&.label\&.unfocus: -window\&.label\&.unfocus\&.color: -window\&.label\&.unfocus\&.colorTo: -window\&.label\&.unfocus\&.pixmap: -window\&.label\&.focus\&.textColor: -window\&.label\&.unfocus\&.textColor: -window\&.maximize\&.pixmap: -window\&.maximize\&.pressed\&.pixmap: -window\&.maximize\&.unfocus\&.pixmap: -window\&.roundCorners: <{Top|Bottom}{Left|Right}> -window\&.shade\&.pixmap: -window\&.shade\&.pressed\&.pixmap: -window\&.shade\&.unfocus\&.pixmap: -window\&.stick\&.pixmap: -window\&.stick\&.pressed\&.pixmap: -window\&.stick\&.unfocus\&.pixmap: -window\&.stuck\&.pixmap: -window\&.stuck\&.unfocus\&.pixmap: -window\&.title\&.focus: -window\&.title\&.focus\&.color: -window\&.title\&.focus\&.colorTo: -window\&.title\&.focus\&.pixmap: -window\&.title\&.height: -window\&.title\&.unfocus: -window\&.title\&.unfocus\&.color: -window\&.title\&.unfocus\&.colorTo: -window\&.title\&.unfocus\&.pixmap: -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.SH "MENU OPTIONS" -.sp -Everything you need to make your menu look pretty\&. -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -menu\&.bevelWidth: -menu\&.borderColor: -menu\&.borderWidth: -menu\&.bullet: <{empty|square|triangle|diamond}> -menu\&.bullet\&.position: <{left|right}> -menu\&.frame: -menu\&.frame\&.color: -menu\&.frame\&.colorTo: -menu\&.frame\&.disableColor: -menu\&.frame\&.font: -menu\&.frame\&.justify: <{Left|Right|Center}> -menu\&.frame\&.pixmap: -menu\&.frame\&.textColor: -menu\&.hilite: -menu\&.hilite\&.color: -menu\&.hilite\&.colorTo: -menu\&.hilite\&.pixmap: -menu\&.hilite\&.textColor: -menu\&.itemHeight: -menu\&.title: -menu\&.title\&.color: -menu\&.title\&.colorTo: -menu\&.title\&.font: -menu\&.title\&.pixmap: -menu\&.title\&.textColor: -menu\&.title\&.justify: <{Left|Right|Center}> -menu\&.titleHeight: -menu\&.roundCorners: <{Top|Bottom}{Left|Right}> -menu\&.selected\&.pixmap: -menu\&.submenu\&.pixmap: -menu\&.unselected\&.pixmap: -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.SH "BACKGROUND" -.sp -Every style must specify the background option\&. If you don\'t want your style to change the user\'s background, then use `background: none\'\&. The options `centered\', `aspect\', `tiled\', and `fullscreen\' require the `background\&.pixmap\' resource to contain a valid file name\&. The `random\' option requires `background\&.pixmap\' to contain a valid directory name\&. For these options, fluxbox(1) will call fbsetbg(1) to set the background\&. The options `gradient\', `solid\', and `mod\' all require `background\&.color\' to be set\&. `gradient\' and `mod\' both require `background\&.colorTo\'\&. `mod\' requires `background\&.modX\' and `background\&.modY\' to be set as well\&. These options will be passed to fbsetroot(1) to set the background\&. -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -background: centered|aspect|tiled|fullscreen|random|solid|gradient |mod|none -background\&.pixmap: -background\&.color: -background\&.colorTo: -background\&.modX: -background\&.modY: -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.SH "SLIT" -.sp -Here are all of the options for the slit\&. -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -slit: -slit\&.bevelWidth: -slit\&.borderColor: -slit\&.borderWidth: -slit\&.color: -slit\&.colorTo: -slit\&.pixmap: -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.SH "TOOLBAR OPTIONS" -.sp -Below you will find all of the configuration possibilities for the toolbar\&. The list is pretty extensive and offers you many options to make your toolbar look just the way you want it\&. -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -toolbar: -toolbar\&.bevelWidth: -toolbar\&.borderColor: -toolbar\&.borderWidth: -toolbar\&.button\&.scale: -toolbar\&.color: -toolbar\&.colorTo: -toolbar\&.clock: -toolbar\&.clock\&.borderColor: -toolbar\&.clock\&.borderWidth: -toolbar\&.clock\&.font: -toolbar\&.clock\&.justify: <{Left|Right|Center}> -toolbar\&.clock\&.pixmap: -toolbar\&.clock\&.color: -toolbar\&.clock\&.colorTo: -toolbar\&.clock\&.textColor: -toolbar\&.height: -toolbar\&.iconbar\&.focused: -toolbar\&.iconbar\&.focused\&.color: -toolbar\&.iconbar\&.focused\&.colorTo: -toolbar\&.iconbar\&.focused\&.pixmap: -toolbar\&.iconbar\&.unfocused: -toolbar\&.iconbar\&.unfocused\&.color: -toolbar\&.iconbar\&.unfocused\&.colorTo: -toolbar\&.iconbar\&.unfocused\&.pixmap: -toolbar\&.iconbar\&.empty: -toolbar\&.iconbar\&.empty\&.color: -toolbar\&.iconbar\&.empty\&.colorTo: -toolbar\&.iconbar\&.empty\&.pixmap: -toolbar\&.iconbar\&.focused\&.borderColor: -toolbar\&.iconbar\&.focused\&.borderWidth: -toolbar\&.iconbar\&.unfocused\&.borderColor: -toolbar\&.iconbar\&.unfocused\&.borderWidth: -toolbar\&.iconbar\&.borderColor: -toolbar\&.iconbar\&.borderWidth: -toolbar\&.iconbar\&.focused\&.font: -toolbar\&.iconbar\&.focused\&.justify: <{Left|Right|Center}> -toolbar\&.iconbar\&.focused\&.textColor: -toolbar\&.iconbar\&.unfocused\&.font: -toolbar\&.iconbar\&.unfocused\&.justify: <{Left|Right|Center}> -toolbar\&.iconbar\&.unfocused\&.textColor: -toolbar\&.pixmap: -toolbar\&.shaped: -toolbar\&.workspace\&.font: -toolbar\&.workspace\&.justify: <{Left|Right|Center}> -toolbar\&.workspace\&.textColor: -toolbar\&.workspace: -toolbar\&.workspace\&.borderColor: -toolbar\&.workspace\&.borderWidth: -toolbar\&.workspace\&.color: -toolbar\&.workspace\&.colorTo: -toolbar\&.workspace\&.pixmap: -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.SH "EXAMPLES" -.sp -This list may seem intimidating, but remember, when you create your own style you can easily set a majority of these keys with a single component\&. For an example of this: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -*color: slategrey -*colorTo: darkslategrey -*unfocus\&.color: darkslategrey -*unfocus\&.colorTo: black -*textColor: white -*unfocus\&.textColor: lightgrey -*font: lucidasans\-10 -\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -This sets nice defaults for many components\&. -.SH "COLOR FORMATS" -.sp -These are the color formats for styles: -.sp -.if n \{\ -.RS 4 -.\} -.fam C -.ps -1 -.nf -.BB lightgray -#000000 (Hexadecimal) -rgb:<0\-255>/<0\-255>/<0\-255> -.EB lightgray -.fi -.fam -.ps +1 -.if n \{\ -.RE -.\} -.sp -See /usr/share/X11/rgb\&.txt for an explaination\&. -.SH "AUTHOR and CREDITS" -.sp -Blackbox was written and maintained by Brad Hughes <\m[blue]\fBblackbox@alug\&.org\fR\m[]\&\s-2\u[1]\d\s+2> and Jeff Raven <\m[blue]\fBjraven@psu\&.edu\fR\m[]\&\s-2\u[2]\d\s+2>\&. -.sp -fluxbox(1) is written and maintained by Henrik Kinnunen <\m[blue]\fBfluxgen@fluxbox\&.org\fR\m[]\&\s-2\u[3]\d\s+2> with contributions and patches merged from many individuals around the world\&. -.sp -The Official fluxbox(1) website: \m[blue]\fBhttp://www\&.fluxbox\&.org\fR\m[] You can find a lot of styles here: \m[blue]\fBhttp://tenr\&.de/\fR\m[] -.sp -This manpage was composed from various resources including the official documentation, fluxbox(1) man page and numerous other resources by Curt "Asenchi" Micol\&. If you notice any errors or problems with this page, please contact him here: <\m[blue]\fBasenchi@asenchi\&.com\fR\m[]\&\s-2\u[4]\d\s+2> and using the great contributions of <\m[blue]\fBgrubert@users\&.sourceforge\&.net\fR\m[]\&\s-2\u[5]\d\s+2>\&. Numerous other languages could be available if someone jumps in\&. -.SH "SEE ALSO" -.sp -fluxbox(1) fbsetbg(1) fbsetroot(1) -.SH "Notes" -.IP " 1." 4 -blackbox@alug.org -.RS 4 -\%mailto:blackbox@alug.org -.RE -.IP " 2." 4 -jraven@psu.edu -.RS 4 -\%mailto:jraven@psu.edu -.RE -.IP " 3." 4 -fluxgen@fluxbox.org -.RS 4 -\%mailto:fluxgen@fluxbox.org -.RE -.IP " 4." 4 -asenchi@asenchi.com -.RS 4 -\%mailto:asenchi@asenchi.com -.RE -.IP " 5." 4 -grubert@users.sourceforge.net -.RS 4 -\%mailto:grubert@users.sourceforge.net -.RE -- cgit v0.11.2