Re: multiple accours
Dana Jansens <[email protected]>
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <CAP1a_afU_Q4cCX9=79+ujYq17z2_bW7zm=b7ZwM97oqZGAgS7w@mail.gmail.com> |
On Fri, Sep 18, 2015 at 4:25 PM, Ian Zimmerman <[email protected]> wrote: > On 2015-09-18 12:28 -0700, Ian Zimmerman wrote: > > > > I run Openbox on my laptop and I am happy with it. My config files > > > are in ~/.config/openbox/ and I start openbox using the startx utility > > > My .xinitrc file contains the line > > > exec openbox-session > > > > > > For some reason I'd like to start openbox on another display with > > > > > > startx /bin/openbox-session -- :1 > > > > > > but with different config files or directory. I have read the > > > openbox-session man page and it says the openbox-session command does > > > not take any command line arguments. Is there a way to give openbox a > > > path to the config files I want to use ? > > > > Set the XDG_CONFIG_HOME environment variable to something else than > $HOME. > > That should really be $HOME/.config. So, like this: > > mkdir -p ~/.alternate-config/openbox > > vi ~/.alternate-config/openbox/rc.xml > > XDG_CONFIG_HOME=~/.alternate-config startx /bin/openbox-session -- :1 > > One thing about this is that all programs you start in the session will > inherit the environment, so programs that follow the XDG spec will look > for their config files under the new directory. You can address it by > making symlinks from ~/.alternate-config to the corresponding files and > directories under ~/.config (except the openbox one, of course). openbox-session passes its command line arguments through to openbox, so you can use: --config-file FILE Specify the path to the config file to use _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox