Tiny Core Extensions > TCE Q&A Forum
How is fluxbox started by TCL
emninger:
Since there is no .xinitrc it's not really clear to me, how tinycorelinux starts fluxbox (which is my preferred window manager)? IOW, what's the chain that ends up with
--- Code: ---startfluxbox
--- End code ---
?
From the console,
--- Code: ---startx
--- End code ---
works ... ?
hiro:
.xsession
emninger:
--- Quote from: hiro on November 04, 2015, 09:40:26 AM ---.xsession
--- End quote ---
It's a bit late, but i'm coming back to the question (startup sequence) now: IIRC - in linux - the startx command presumes the existence of ~/.xinitrc (?)
Moreover, sorry, but i'm not really familiar with scripting, i do not see precisely where in *MY* .xsession fluxbox is called.I presume it might be this:
--- Code: ---"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
--- End code ---
If so, where is the "$DESKTOP" defined?
Thanks a lot for your patience.
Rich:
Hi emninger
Desktop is defined in /etc/sysconfig/desktop. The /etc/init.d/tc-config sets the DESKTOP environmental variable
which is then used by .xsession to start it.
Misalf:
Some extensions have a startup script located at /usr/local/tce.installed/ and executed upon loading the extension.
In case of Fluxbox it is /usr/local/tce.installed/fluxbox which writes to /etc/sysconfig/desktop .
startx reads /etc/sysconfig/desktop and exports its value as variable before executing ~/.xsession .
If you load any other window manager, /etc/sysconfig/desktop gets rewritten with the respective value (e.g. openbox).
Navigation
[0] Message Index
[#] Next page
Go to full version