X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=doc%2Fopenbox.1.sgml;h=70766ba468f9f3b4ba7e3c1bdf70f544fabb0c9f;hb=07a34428c0a03d322e725f315cde64d737967a57;hp=4ed2139e280e4a803e7ca8c435594be56416adbd;hpb=5a3154df0878e37d0af8fdd9077133283879b38f;p=chaz%2Fopenbox diff --git a/doc/openbox.1.sgml b/doc/openbox.1.sgml index 4ed2139e..70766ba4 100644 --- a/doc/openbox.1.sgml +++ b/doc/openbox.1.sgml @@ -63,36 +63,42 @@ manpage.1: manpage.sgml within GNOME or KDE, you can choose the appropriate entry, and it will launch GNOME or KDE with Openbox as the window manager. - If you don't want to run Openbox withing a desktop environment, then - it is recommended that you instead set up a ~/.xsession file and - use the Default session type. The ~/.xsession file - should any applications you want to run at startup, and then run - &dhpackage; at the end, such as: + The third option at log in, which is Openbox + without a session manager, uses the openbox-session + command to start Openbox. On log in, &dhpackage; will + run the ~/.config/openbox/autostart.sh script if it exists, and will run + the system-wide script @configdir@/openbox/autostart.sh otherwise. You + may place anything you want to run automatically in those files, for + example: + -
+
xsetroot -solid grey & - gnome-settings-daemon & - exec &dhpackage;
+ gnome-settings-daemon &
+ + Make sure that each line is followed by a "&" or else the script will + stop there and further commands will not be executed. You can use the + @configdir@/openbox/autostart.sh file as an example for creating your + own. + + The default @configdir@/openbox/autostart.sh runs a number of things + with Openbox. Lastly, if you use startx to launch your X - session, you should set up a ~/.xinitrc file, exactly the same as the - above ~/.xsession file. + session, you can set up a ~/.xinitrc file to run + openbox-session and follow the same directions as + above regarding the autostart.sh file. You can use the obconf tool to configure Openbox easily with a graphical interface, however more in-depth configuration - is possible by editing the configuration files by hand. The default - configuration files are installed in @configdir@/openbox/, and the - user configuration is placed in ~/.config/openbox/. You can copy - the default configuration to ~/.config/openbox and edit it to your - liking. - - There are 3 default configuration files, rc.xml, - rc-gnome.xml, and rc-kde.xml. The - rc-gnome.xml is used when you run - openbox-gnome-session and the rc-kde.xml is used when - you run openbox-kde-session. The configuration - files should be named the same in ~/.config/openbox/. - + is possible by editing the configuration files by hand. Please note that + obconf older than version 2.0 may not work at all + for you. + + The default configuration and menu files are installed in + @configdir@/openbox/, and the user configuration is placed in + ~/.config/openbox/. You can copy the default configuration and menus + to ~/.config/openbox and edit it to your liking. OPTIONS @@ -121,7 +127,7 @@ manpage.1: manpage.sgml If Openbox is already running on the display, tell it to - reload it's configuration. + reload its configuration.