Package: iceweasel Version: 2.0.0.3-1 I finally had enough of this and made a simple script to workaround this. Place this in ~/.kde/shutdown, chmod +x it of course, and edit it to point to your Ff/Iw profile. Now when you log out of KDE, this script will run and fix the sessionstore.js file.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.21-2-k7
Debian Release: testing/unstable
900 testing ftp.us.debian.org
900 testing ftp.sunet.se
800 unstable ftp.us.debian.org
800 unstable ftp.sunet.se
500 stable security.debian.org
500 edgy-cafuego ubuntu.cafuego.net
500 edgy wine.budgetdedicated.com
1 experimental ftp.us.debian.org
--- Package information. ---
Depends (Version) | Installed
==================================-+-================
fontconfig | 2.4.2-1.2
psmisc | 22.5-1
debianutils (>= 1.16) | 2.22.1
libatk1.0-0 (>= 1.12.2) | 1.18.0-2
libc6 (>= 2.3.6-6) | 2.5-9+b1
libcairo2 (>= 1.2.4) | 1.4.10-1
libfontconfig1 (>= 2.4.0) | 2.4.2-1.2
libfreetype6 (>= 2.2) | 2.2.1-6
libgcc1 (>= 1:4.1.1-12) | 1:4.2-20070627-1
libglib2.0-0 (>= 2.12.0) | 2.12.12-1+b1
libgtk2.0-0 (>= 2.8.0) | 2.10.13-1
libjpeg62 | 6b-13
libmyspell3c2 | 1:3.1-18
libpango1.0-0 (>= 1.14.8) | 1.16.4-1
libpng12-0 (>= 1.2.13-4) | 1.2.15~beta5-2
libstdc++6 (>= 4.1.1-12) | 4.2-20070627-1
libx11-6 | 2:1.0.3-7
libxft2 (>> 2.1.1) | 2.1.12-2
libxinerama1 | 1:1.0.2-1
libxp6 | 1:1.0.0.xsf1-1
libxrender1 | 1:0.9.2-1
libxt6 | 1:1.0.5-3
zlib1g (>= 1:1.2.1) | 1:1.2.3.3.dfsg-3
#!/bin/sh
FILE="/home/you/.mozilla/firefox/your.profile/sessionstore.js"
FIND='session:{state:"running"}'
REPLACE='session:{state:"stopped"}'
# If Firefox is still running, wait
while [ $(ps -A a | grep -i firefox-bin | wc -l) -gt "1" ]
do
sleep 3
done
# Fix the sessionstore.js file
rpl $FIND $REPLACE $FILE
signature.asc
Description: This is a digitally signed message part.

