remove rootcommand from init file

This commit is contained in:
Mark Tiefenbruck 2008-10-04 18:49:00 -07:00
parent 073beb9da5
commit ab25696328
9 changed files with 6549 additions and 1707 deletions

View file

@ -1,5 +1,9 @@
(Format: Year/Month/Day)
Changes for 1.1.2
*08/10/05:
* Remove rootcommand from init, as fbsetbg is run automatically nowadays.
For other purposes, use startup instead. (Mark)
Screen.cc/hh
*08/10/04:
* Recognize --option in addition to -option for long option names (Mark)
main.cc util/fbsetroot.cc util/fbrun/main.cc

42
README
View file

@ -7,8 +7,8 @@ Read NEWS to see whats new in this release.
For copyright information see COPYING
For more information and extensive documentation go to:
http://fluxbox.org/version-0.9.php
For more information go to:
http://fluxbox.org/
Compile and Install:
@ -18,44 +18,6 @@ Compile and Install:
and then as root
# make install
Configuration options:
For Gnome support ( default, does not require any gnome libraries ):
./configure --enable-gnome
Use ./configure --help to see the full list of options
For former blackbox users:
- You can use your old blackbox configuration file too. Just copy
.blackboxrc to ~/.fluxbox/init . The same goes for menu file.
- You can also use the Blackbox themes in Fluxbox. Fluxbox has a few
extra styleoption for the tabs but they don't have to be specified.
- The keys file is no longer compatible with bbkeys. There's a
convertkeys script at http://fluxbox.sourceforge.net/ that will
convert the bbkeys format to the fluxbox format.
A few extra notes about the new features:
- To disable tabs and/or iconbar just change it in configure menu.
- To work with tabs, use the third mouse button to drag a tab to
another tab. This will group the two windows together.
- With 'Sloppy Window Grouping' turned on (in your configure menu),
you can drop the tabs anywhere on the target window to group
windows together.
- The 'Maximize over Slit' option means that maximized windows will not
stop at the outside border of the slit, and will instead cover it.
- In the init file, the session.screen0.rootCommand: option will
override the rootCommand option in a theme, keeping your background
the same, no matter what the theme says it should be.
Thanks:

File diff suppressed because it is too large Load diff

View file

@ -958,12 +958,6 @@ Aqui estan los resources que estan actualmente disponibles:
session.screen0.fullMaximization: <booleana>
session.screen0.sloppywindowgrouping: <booleana>
session.screen0.rootCommand: <command>
Esto sobreescribe el rootCommand del estilo. Cuando esta variable esta
seteada va a mantener el fondo de pantalla, mas halla de lo que cualquier
estilo tenga configurado. NOTA: Este comando puede ser peligroso. Por
favor este seguro de lo que esta haciendo cuando configure esta
variable a otro valor distinto de un comando de fondo de pantalla.
session.screen0.imageDither: <booleana>
session.screen0.opaqueMove: <booleana>

File diff suppressed because it is too large Load diff

View file

@ -699,16 +699,6 @@ session.screen0.toolbar.autoHide: <boolean>
used actively by the user, or they remain visible at all times. Default:
False
session.screen0.windowScrollAction: shade|nexttab
This allows you to execute a command by scrolling on the titlebar of a
window. For `shade', scrolling down will shade the window, and scrolling
up will unshade it. For `nexttab', scrolling down will focus the next tab,
and scrolling up will focus the previous one. Default: <blank>
session.screen0.windowScrollReverse: <boolean>
This switches the role of scrolling up and scrolling down for the previous
resource. Default: False
session.screen0.slit.layer: <layer>
session.screen0.toolbar.layer: <layer>
With these two resources, you can set the layer you want the toolbar and
@ -719,8 +709,8 @@ session.screen0.slit.placement: <placement>
session.screen0.toolbar.placement: <placement>
These allow users to place the slit and toolbar where they like. Possible
options are:
- BottomCenter
- BottomLeft
- BottomCenter
- BottomRight
- LeftBottom
- LeftCenter
@ -728,8 +718,8 @@ session.screen0.toolbar.placement: <placement>
- RightBottom
- RightCenter
- RightTop
- TopCenter
- TopLeft
- TopCenter
- TopRight
session.screen0.slit.maxOver: <boolean>
@ -915,14 +905,6 @@ session.screen0.fullMaximization: <boolean>
and any other window that creates a strut, no matter what their individual
settings are. Default: False
session.screen0.rootCommand: <command>
This runs a command when fluxbox starts, intended for setting a default
background. If you want to override backgrounds set by styles, you should
add `background: none' to your style overlay (see section STYLE OVERLAY).
NOTE: Setting this command can be dangerous. Please make sure you know
what you are doing when setting this resource to a value other than a
desktop wallpaper command.
session.screen0.opaqueMove: <boolean>
When moving a window, setting this to True will draw the window
contents as it moves (this is nasty on slow systems). If False, it

File diff suppressed because it is too large Load diff

View file

@ -296,7 +296,6 @@ BScreen::ScreenResource::ScreenResource(FbTk::ResourceManager &rm,
auto_raise(rm, true, scrname+".autoRaise", altscrname+".AutoRaise"),
click_raises(rm, true, scrname+".clickRaises", altscrname+".ClickRaises"),
default_deco(rm, "NORMAL", scrname+".defaultDeco", altscrname+".DefaultDeco"),
rootcommand(rm, "", scrname+".rootCommand", altscrname+".RootCommand"),
tab_placement(rm, FbWinFrame::TOPLEFT, scrname+".tab.placement", altscrname+".Tab.Placement"),
windowmenufile(rm, Fluxbox::instance()->getDefaultDataFilename("windowmenu"), scrname+".windowMenu", altscrname+".WindowMenu"),
typing_delay(rm, 0, scrname+".noFocusWhileTypingDelay", altscrname+".NoFocusWhileTypingDelay"),
@ -461,12 +460,6 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
imageControl().installRootColormap();
root_colormap_installed = true;
// if user specified background in the config then use it
if (!resource.rootcommand->empty()) {
FbCommands::ExecuteCmd cmd(*resource.rootcommand, screenNumber());
cmd.execute();
}
m_root_theme.reset(new RootTheme(imageControl()));
m_root_theme->reconfigTheme();

View file

@ -552,7 +552,6 @@ private:
max_ignore_inc, max_disable_move, max_disable_resize,
workspace_warping, show_window_pos, auto_raise, click_raises;
FbTk::Resource<std::string> default_deco;
FbTk::Resource<std::string> rootcommand;
FbTk::Resource<FbWinFrame::TabPlacement> tab_placement;
FbTk::Resource<std::string> windowmenufile;
FbTk::Resource<unsigned int> typing_delay;