[prev in list] [next in list] [prev in thread] [next in thread]
List: openbox
Subject: [openbox] Temporary custom openbox
From: danakj () orodu ! net (Dana Jansens)
Date: 2009-11-12 14:22:30
Message-ID: b3502dfb0911120622y1985d192n6d309cf1870c882b () mail ! gmail ! com
[Download RAW message or body]
2009/11/12 mikey <abc.mikey at googlemail.com>:
> Hi there,
>
> I'm writing a little application to start games in a second X session
> and I'm hoping to use openbox as the window manager in the second
> session. I'm hoping to be able to provide a custom setup for openbox
> just for the games session. Is it possible to specify a new set of
> config files (menu.xml, rc.xml, autostart.sh) from .xinitrc when
> openbox-session is called?
You can use the XDG_CONFIG_HOME environment variable to change where
Openbox looks for its config files.
This is how it's defined [1]: $XDG_CONFIG_HOME defines the base
directory relative to which user specific configuration files should
be stored. If $XDG_CONFIG_HOME is either not set or empty, a default
equal to $HOME/.config should be used. This could allow/cause you to
use a different config for other applications running in that session
as well, if they look at this variable.
> If not when are these files read? Are they just accessed during
> startup or does it expect to be able to read them at any time during
> the session? If I can't use my own locations for these files I'm
> wondering if I can move out the user's .config/openbox folder and
> replace it with my own while I start openbox then once it's been
> running for a couple of seconds copy back the user's own folder.
They are read 1) at startup and 2) when you tell Openbox to "reconfigure"
Cheers,
Dana
[1] http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic