From 6d5907d4d44d729ed6e0e6c49d6e68e3bbbb5243 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 01:09:15 -0500 Subject: [PATCH 01/23] Add qa desktop entries to favorites. --- custom/qa-test-day.ks | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 8ec8118..7457894 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -32,6 +32,8 @@ abiword # brand as fedora test spin fedora-logos -generic-logos +# glib2 is needed to set up favorites, though it probably gets pulled in anyway. +glib2 %end %post @@ -63,4 +65,12 @@ EOF # Add gnome-terminal shortcut to desktop cp /usr/share/applications/gnome-terminal.desktop /etc/skel/Desktop + +# Change the favorites using a vendor override. (Adding a profile would +# be another way to do this.) +cat << EOF > /usr/share/glib-2.0/schemas/qa-testday.gschema.override +[org/gnome/shell] +favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-wiki.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop'] +EOF +glib-compile-schemas %end From 7003848a4bd27ca47d111a4089c47e02dca89e9c Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 02:06:32 -0500 Subject: [PATCH 02/23] Change how the startup page is modified. Recent firefox versions keep the properties in a zip archive. So the appropriate file needs to be extracted, modified and put back into the archive. --- custom/qa-test-day.ks | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 7457894..30db47a 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -38,9 +38,12 @@ glib2 %post # Set Test_Day:Current as default browser homepage -cat << EOF > `ls -1 /usr/lib*/firefox*/browserconfig.properties` +unzip -c /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties -d /tmp +cat << EOF > /tmp/chrome/en-US/locale/browser/browser.properties browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current EOF +(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties) +rm -f /tmp/chrome/en-US/locale/browser/browser.properties # Create a .desktop link for Test Day wiki mkdir -p /etc/skel/Desktop From 7020ce3cacbf33cf79adf97c18ad8df4407b964f Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 08:42:53 -0500 Subject: [PATCH 03/23] Remove unzip option included by mistake. --- custom/qa-test-day.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 30db47a..fafc9f6 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -38,7 +38,7 @@ glib2 %post # Set Test_Day:Current as default browser homepage -unzip -c /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties -d /tmp +unzip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties -d /tmp cat << EOF > /tmp/chrome/en-US/locale/browser/browser.properties browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current EOF From 6308e3e455c65a0fe3da7607e2d5464545da5f62 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 09:52:02 -0500 Subject: [PATCH 04/23] glib-compile-schemas doesn't have a default. I incorrectly assumed glib-compile-schemas would default to the system schemas, but it turns out I need to explicitly name the directory. --- custom/qa-test-day.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index fafc9f6..3d6bfa8 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -75,5 +75,5 @@ cat << EOF > /usr/share/glib-2.0/schemas/qa-testday.gschema.override [org/gnome/shell] favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-wiki.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop'] EOF -glib-compile-schemas +glib-compile-schemas /usr/share/glib-2.0/schemas/ %end From f32212bb3e8520429868415154ab181ed0899586 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 11:41:54 -0500 Subject: [PATCH 05/23] The startup page should be changed in the branding area. --- custom/qa-test-day.ks | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 3d6bfa8..672dff6 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -38,12 +38,12 @@ glib2 %post # Set Test_Day:Current as default browser homepage -unzip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties -d /tmp -cat << EOF > /tmp/chrome/en-US/locale/browser/browser.properties +mkdir -p /tmp/chrome/en-US/locale/branding +cat << EOF > /tmp/chrome/en-US/locale/branding/browserconfig.properties browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current EOF -(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties) -rm -f /tmp/chrome/en-US/locale/browser/browser.properties +(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties) +rm -rf /tmp/chrome # Create a .desktop link for Test Day wiki mkdir -p /etc/skel/Desktop From fd0752d245daf381ab447dbf519362f4c5ac74c4 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 13:35:03 -0500 Subject: [PATCH 06/23] Suppress first run pages for firefox. --- custom/qa-test-day.ks | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 672dff6..6c2c744 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -41,6 +41,8 @@ glib2 mkdir -p /tmp/chrome/en-US/locale/branding cat << EOF > /tmp/chrome/en-US/locale/branding/browserconfig.properties browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current +startup.homepage_override_url= +startup.homepage_welcome_url= EOF (cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties) rm -rf /tmp/chrome From f3a46f063181786e5c254e06ecf1b2be4730df64 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 13:43:21 -0500 Subject: [PATCH 07/23] Fix up the key value favorites override file. --- custom/qa-test-day.ks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 6c2c744..59bfbd0 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -73,8 +73,8 @@ cp /usr/share/applications/gnome-terminal.desktop /etc/skel/Desktop # Change the favorites using a vendor override. (Adding a profile would # be another way to do this.) -cat << EOF > /usr/share/glib-2.0/schemas/qa-testday.gschema.override -[org/gnome/shell] +cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override +[org.gnome.shell] favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-wiki.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop'] EOF glib-compile-schemas /usr/share/glib-2.0/schemas/ From 3b1b41ea36eaee81bdc0f3f2bcc1e21271db5948 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 15:17:00 -0500 Subject: [PATCH 08/23] qa-test-day: It looks like empty urls need to be quoted. --- custom/qa-test-day.ks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 59bfbd0..fdab591 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -41,8 +41,8 @@ glib2 mkdir -p /tmp/chrome/en-US/locale/branding cat << EOF > /tmp/chrome/en-US/locale/branding/browserconfig.properties browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current -startup.homepage_override_url= -startup.homepage_welcome_url= +startup.homepage_override_url='' +startup.homepage_welcome_url='' EOF (cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties) rm -rf /tmp/chrome From f5653f7bb23d7add8db971ec1da7302ddad0951c Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 15:24:35 -0500 Subject: [PATCH 09/23] qa-test-day: Account for favorites search path --- custom/qa-test-day.ks | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index fdab591..4da447a 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -49,7 +49,7 @@ rm -rf /tmp/chrome # Create a .desktop link for Test Day wiki mkdir -p /etc/skel/Desktop -cat << EOF > /etc/skel/Desktop/testday-wiki.desktop +cat << EOF > /etc/skel/.local/share/applications/testday-wiki.desktop [Desktop Entry] Encoding=UTF-8 Name=Participate in a Test Day @@ -59,7 +59,7 @@ Icon=gnome-fs-bookmark EOF # Create a .desktop link for Test Day IRC chat -cat << EOF > /etc/skel/Desktop/testday-irc.desktop +cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop [Desktop Entry] Encoding=UTF-8 Name=Connect to a Test Day chat @@ -68,9 +68,6 @@ URL=http://webchat.freenode.net/?channels=fedora-test-day Icon=gnome-fs-bookmark EOF -# Add gnome-terminal shortcut to desktop -cp /usr/share/applications/gnome-terminal.desktop /etc/skel/Desktop - # Change the favorites using a vendor override. (Adding a profile would # be another way to do this.) cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override From 1ce7a7bfadb11ebb78ff91f75505cfcce1166071 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 15:26:40 -0500 Subject: [PATCH 10/23] qa-test-day: Remove redundant firefox favorite --- custom/qa-test-day.ks | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 4da447a..ba1d2d0 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -47,17 +47,6 @@ EOF (cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties) rm -rf /tmp/chrome -# Create a .desktop link for Test Day wiki -mkdir -p /etc/skel/Desktop -cat << EOF > /etc/skel/.local/share/applications/testday-wiki.desktop -[Desktop Entry] -Encoding=UTF-8 -Name=Participate in a Test Day -Type=Link -URL=https://fedoraproject.org/wiki/Test_Day:Current -Icon=gnome-fs-bookmark -EOF - # Create a .desktop link for Test Day IRC chat cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop [Desktop Entry] From 0b9063fdada5d173ee86c3ade3e35a2d38fe8eea Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 15:28:12 -0500 Subject: [PATCH 11/23] qa-test-day: The new directory for favorites needs to be created. --- custom/qa-test-day.ks | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index ba1d2d0..f295ee1 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -47,6 +47,9 @@ EOF (cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties) rm -rf /tmp/chrome +# Create a directory to store global custom favorites +mkdir -p /usr/skel/.local/share/applications + # Create a .desktop link for Test Day IRC chat cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop [Desktop Entry] From 07e93683474b62450ecd36e76d1ea7aa0398eef0 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 16:10:18 -0500 Subject: [PATCH 12/23] qa-test-day: Remove reference to deleted favorite. --- custom/qa-test-day.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index f295ee1..2db6f19 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -64,7 +64,7 @@ EOF # be another way to do this.) cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override [org.gnome.shell] -favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-wiki.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop'] +favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop'] EOF glib-compile-schemas /usr/share/glib-2.0/schemas/ %end From 008df75ef7414ce696faf5e66f60dc8260b2a21e Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 16:45:40 -0500 Subject: [PATCH 13/23] qa-test-day: skel is in /etc not /usr. --- custom/qa-test-day.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 2db6f19..9189ea1 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -48,7 +48,7 @@ EOF rm -rf /tmp/chrome # Create a directory to store global custom favorites -mkdir -p /usr/skel/.local/share/applications +mkdir -p /etc/skel/.local/share/applications # Create a .desktop link for Test Day IRC chat cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop From 998da55f54aa642f9a2c6a396829a40fca9be6bd Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 17:02:03 -0500 Subject: [PATCH 14/23] qa-test-day: override urls don't stick, try to ignore them instead. --- custom/qa-test-day.ks | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 9189ea1..0e03ff6 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -41,8 +41,7 @@ glib2 mkdir -p /tmp/chrome/en-US/locale/branding cat << EOF > /tmp/chrome/en-US/locale/branding/browserconfig.properties browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current -startup.homepage_override_url='' -startup.homepage_welcome_url='' +browser.startup.homepage_override.mstone=ignore EOF (cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties) rm -rf /tmp/chrome From 54f86c48a775ad598e82a811db071bf18ac8349a Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 18:46:43 -0500 Subject: [PATCH 15/23] qa-testday: Replace firefox favorite with test day wiki favorite. --- custom/qa-test-day.ks | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 0e03ff6..b5c8030 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -49,6 +49,14 @@ rm -rf /tmp/chrome # Create a directory to store global custom favorites mkdir -p /etc/skel/.local/share/applications +# Create a favorite for the current test day wiki page +cat << EOF > /etc/skel/.local/share/applications/testday-wiki.desktop +Name=Participate in a Test Day +Type=Application +Exec=firefox "https://fedoraproject.org/wiki/Test_Day:Current" +Icon=firefox +EOF + # Create a .desktop link for Test Day IRC chat cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop [Desktop Entry] @@ -63,7 +71,7 @@ EOF # be another way to do this.) cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override [org.gnome.shell] -favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop'] +favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'nautilus.desktop', 'gnome-terminal.desktop'] EOF glib-compile-schemas /usr/share/glib-2.0/schemas/ %end From d3a88a6af5615893877ea9a371b90e7ccc40453e Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 18:48:09 -0500 Subject: [PATCH 16/23] qa-testday: Link desktop entries don't work, use app entry instead. --- custom/qa-test-day.ks | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index b5c8030..ac8df59 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -62,9 +62,9 @@ cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop [Desktop Entry] Encoding=UTF-8 Name=Connect to a Test Day chat -Type=Link -URL=http://webchat.freenode.net/?channels=fedora-test-day -Icon=gnome-fs-bookmark +Type=Application +Exec=firefox "http://webchat.freenode.net/?channels=fedora-test-day" +Icon=firefox EOF # Change the favorites using a vendor override. (Adding a profile would From 21a1ab03f13eacdbabea59e3f7d872685d19ae1f Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 18:49:13 -0500 Subject: [PATCH 17/23] qa-testday: Make comment reflect favorite instead of link. --- custom/qa-test-day.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index ac8df59..c3ddccc 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -57,7 +57,7 @@ Exec=firefox "https://fedoraproject.org/wiki/Test_Day:Current" Icon=firefox EOF -# Create a .desktop link for Test Day IRC chat +# Create a favorite for Test Day IRC chat cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop [Desktop Entry] Encoding=UTF-8 From 974c944b2f72b0d6d36720a65e5fa849c39d1248 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 18:54:01 -0500 Subject: [PATCH 18/23] qa-testday: Add back install to hard drive favorite --- custom/qa-test-day.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index c3ddccc..a10ebf1 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -71,7 +71,7 @@ EOF # be another way to do this.) cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override [org.gnome.shell] -favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'nautilus.desktop', 'gnome-terminal.desktop'] +favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop'] EOF glib-compile-schemas /usr/share/glib-2.0/schemas/ %end From ae20b8bcfbc68ce3d73d3fe99c63e72c7ddbfcb8 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 18:55:29 -0500 Subject: [PATCH 19/23] qa-testday: Remove unneeded encoding definition. --- custom/qa-test-day.ks | 1 - 1 file changed, 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index a10ebf1..1925dbc 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -60,7 +60,6 @@ EOF # Create a favorite for Test Day IRC chat cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop [Desktop Entry] -Encoding=UTF-8 Name=Connect to a Test Day chat Type=Application Exec=firefox "http://webchat.freenode.net/?channels=fedora-test-day" From ccb24e2e7b43c5ae2a4b0a9fe6d1e309ed61bc1e Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 19:01:49 -0500 Subject: [PATCH 20/23] qa-testday: Need to override welcome page a different way. --- custom/qa-test-day.ks | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 1925dbc..d9db440 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -37,14 +37,21 @@ glib2 %end %post +# Turn off alternate pages on first firefox use or after updates +unzip /usr/lib/firefox-*/omni.jar defaults/preferences/firefox-branding.js -d /tmp +cat << EOF >> /tmp/defaults/preferences/firefox-branding.js +pref("startup.homepage_welcome_url",""); +pref("startup.homepage_override_url",""); +EOF + # Set Test_Day:Current as default browser homepage mkdir -p /tmp/chrome/en-US/locale/branding cat << EOF > /tmp/chrome/en-US/locale/branding/browserconfig.properties browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current -browser.startup.homepage_override.mstone=ignore EOF -(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties) -rm -rf /tmp/chrome + +(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties defaults/preferences/firefox-branding.js) +rm -rf /tmp/chrome /tmp/defaults # Create a directory to store global custom favorites mkdir -p /etc/skel/.local/share/applications From ea3c728d69964b8d9985b58922f277abe2aed4a6 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 19:42:01 -0500 Subject: [PATCH 21/23] Adjust tweaking prerequisites to include zip and unzip. --- custom/qa-test-day.ks | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index d9db440..0a04c48 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -32,8 +32,11 @@ abiword # brand as fedora test spin fedora-logos -generic-logos -# glib2 is needed to set up favorites, though it probably gets pulled in anyway. +# glib2 is needed to set up favorites glib2 +# zip and unzip are needed to tweak firefox settings +zip +unzip %end %post From 056803cac58f98c809425cd111616e58339c3b16 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 20:57:02 -0500 Subject: [PATCH 22/23] Add missing line to testday-wiki favorite. --- custom/qa-test-day.ks | 1 + 1 file changed, 1 insertion(+) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index 0a04c48..b8a7df8 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -61,6 +61,7 @@ mkdir -p /etc/skel/.local/share/applications # Create a favorite for the current test day wiki page cat << EOF > /etc/skel/.local/share/applications/testday-wiki.desktop +[Desktop Entry] Name=Participate in a Test Day Type=Application Exec=firefox "https://fedoraproject.org/wiki/Test_Day:Current" From ae3d38155c59fe1a135f04e0a5c5c486b57467a7 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sat, 9 Apr 2011 21:00:05 -0500 Subject: [PATCH 23/23] qa-testday: Make a local liveinst.desktop For some reason I don't know right now, the installed liveinst.desktop gets renamed to anaconda.desktop in live-base. So until I know if that should really be done differently, I'm adding a local one. --- custom/qa-test-day.ks | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks index b8a7df8..5a02a65 100644 --- a/custom/qa-test-day.ks +++ b/custom/qa-test-day.ks @@ -77,6 +77,15 @@ Exec=firefox "http://webchat.freenode.net/?channels=fedora-test-day" Icon=firefox EOF +# Create a favorite for liveinst +cat << EOF > /etc/skel/.local/share/applications/liveinst.desktop +[Desktop Entry] +Name=Install to hard drive +Type=Application +Exec=liveinst +Icon=anaconda +EOF + # Change the favorites using a vendor override. (Adding a profile would # be another way to do this.) cat << EOF > /usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override