summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramnesia <amnesia@boum.org>2010-10-03 12:44:22 +0200
committeramnesia <amnesia@boum.org>2010-10-03 12:44:22 +0200
commita0dca5fbdc6deb0ee1c09ad8f8c85f4bd17bb1ef (patch)
tree0968cd040bde0c5e63b20879eb4168716a2b997e
parentfb996be08a16b7b49cdb8bf28188f992a7f368dd (diff)
Autostart Iceweasel with the GNOME session.0.6-rc3
This workarounds the "Iceweasel 1st page is not loaded" bug.
l---------config/chroot_local-includes/etc/skel/.config/autostart/iceweasel.desktop1
-rwxr-xr-xconfig/chroot_local-includes/usr/local/bin/end-profile9
-rw-r--r--wiki/src/bugs/iceweasel_1st_page_not_loaded.mdwn8
3 files changed, 11 insertions, 7 deletions
diff --git a/config/chroot_local-includes/etc/skel/.config/autostart/iceweasel.desktop b/config/chroot_local-includes/etc/skel/.config/autostart/iceweasel.desktop
new file mode 120000
index 0000000..f798478
--- /dev/null
+++ b/config/chroot_local-includes/etc/skel/.config/autostart/iceweasel.desktop
@@ -0,0 +1 @@
+/usr/share/applications/iceweasel.desktop \ No newline at end of file
diff --git a/config/chroot_local-includes/usr/local/bin/end-profile b/config/chroot_local-includes/usr/local/bin/end-profile
index 44e04fa..5e7f31a 100755
--- a/config/chroot_local-includes/usr/local/bin/end-profile
+++ b/config/chroot_local-includes/usr/local/bin/end-profile
@@ -4,12 +4,7 @@ set -e
test -e /boot-profile.pid || exit 0
-# Wait some time hoping Tor will have bootstrapped
-sleep 60
-
-iceweasel &
-
-# Wait some time hoping Iceweasel will be started
-sleep 30
+# Wait some time hoping Tor has bootstrapped and Iceweasel is started
+sleep 90
sudo kill $(cat /boot-profile.pid)
diff --git a/wiki/src/bugs/iceweasel_1st_page_not_loaded.mdwn b/wiki/src/bugs/iceweasel_1st_page_not_loaded.mdwn
index cc51fe3..d83364e 100644
--- a/wiki/src/bugs/iceweasel_1st_page_not_loaded.mdwn
+++ b/wiki/src/bugs/iceweasel_1st_page_not_loaded.mdwn
@@ -2,3 +2,11 @@ When starting iceweasel for the 1st time under 0.6~rc2, the home page (or any
page given at the command line) is not opened, but about:blank.
If iceweasel was started once, then everything goes well.
+
+> This is now workaround'ed by autostarting Iceweasel with the GNOME
+> session: this way, clicking on a link found in one of our desktop
+> notifications / warnings, or on the T(A)ILS documentation desktop
+> icon, really opens the wanted page. OTOH, this first Iceweasel
+> instance doesn't load the check.torproject.org page, but as we are
+> considering removing it I guess we can nevertheless tag this bug
+> [[!taglink pending]].