Click to See Complete Forum and Search --> : attn: fluxbox users
hetman
02-01-2002, 05:04 AM
heres a quick question:
is there a way that i can have fluxbox "remember" the open terminals/apps from my last session? its a pain for me to reopen and rearrange my windows once i shut down. kde, windowmaker and some other ones remember the last windows opened and they reopen those in the same spot.
can anyone help me out?
z0mbix
02-01-2002, 05:57 AM
I have a bash script that I run after fluxbox has started that opens everything up in the right places, Like this (http://www.jamsession.co.uk/screenshots/slackware_ss4.jpg). Here it is:
#!/bin/bash
Eterm -T \{:Zombix-Terminal-Secondary:\} -c grey -g 80x25+77+0 &
Eterm -T \{:Zombix-Terminal-Primary:\} -c grey -g 80x25+518+303 &
Eterm -T \{:Zombix-Run:\} -c grey -g 42x1+154+634 -x --scrollbar=0 &
Eterm -Ox -g 141x8+154+660 -F nexus --no-input --no-cursor -n
\{:/var/log/messages:\} -T \{:/var/log/messages:\} --scrollbar off -f grey -e tail -150f /var/log/messages &
gkrellm &
# End
Ludootje
02-01-2002, 11:28 AM
yes that's a feature they should add to fluxbox, bb & :cool:icewm :cool:
gnome&kde have it, it's nice...
hetman
02-01-2002, 06:23 PM
do u have this script in some startup folder or do u run it manually, either way where do u put it?
slapNUT
02-01-2002, 10:43 PM
hetman6
I would guess it's a script in his ~/bin directory and it is started via .xinitrc like this:
exec ~/bin/terms-script
Or something like that. The script has to be executable and if you dont include the full path then it needs to be located within your path.
Ludootje
02-02-2002, 04:34 AM
hetman: for if you didn't know, you make it runnable using the cmd:
chmod +x <filename>
eg: chmod +x startupcrap.sh