@ -0,0 +1,26 @@ | |||
The RIT Fedora Remix | |||
==================== | |||
Instructions | |||
------------ | |||
sudo yum -y install spin-kickstarts livecd-tools | |||
sudo livecd-creator -c fedora-rit-spin.ks | |||
Authors | |||
------- | |||
Luke Macken <lmacken@redhat.com> | |||
Eitan Romanoff <ear7631@gmail.com> | |||
Tasks | |||
----- | |||
https://fedorahosted.org/fossrit/query?milestone=RIT+Spin | |||
Resources | |||
--------- | |||
http://foss.rit.edu | |||
http://fossrit.fedorahosted.org | |||
https://fedoraproject.org/wiki/Remix |
@ -0,0 +1,15 @@ | |||
# .bash_profile | |||
# Get the aliases and functions | |||
if [ -f ~/.bashrc ]; then | |||
. ~/.bashrc | |||
fi | |||
# User specific environment and startup programs | |||
PATH=$PATH:$HOME/bin | |||
export PATH | |||
~/Desktop/FusionEnableLauncher.py | |||
@ -0,0 +1,57 @@ | |||
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |||
<!-- This is an automatically generated file. | |||
It will be read and overwritten. | |||
DO NOT EDIT! --> | |||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |||
<TITLE>Bookmarks</TITLE> | |||
<H1>Bookmarks</H1> | |||
<DL><p> | |||
<DT><H3 ADD_DATE="961112773" LAST_MODIFIED="1241209009" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3> | |||
<DL><p> | |||
<DT><A HREF="http://docs.fedoraproject.org/" ADD_DATE="1158286602" LAST_MODIFIED="1176675660" LAST_CHARSET="UTF-8">Fedora Documentation</A> | |||
<DD>Fedora Documentation. | |||
<DT><H3 ADD_DATE="1130967903" LAST_MODIFIED="1241211003">Fedora Project</H3> | |||
<DL><p> | |||
<DT><A HREF="http://fedoraproject.org/" ADD_DATE="1158286779" LAST_MODIFIED="1176675285" LAST_CHARSET="UTF-8">Fedora Project</A> | |||
<DD>Home of the Fedora Project. | |||
<DT><A HREF="http://forums.fedoraforum.org/" ADD_DATE="1130967896" LAST_MODIFIED="1176675301" LAST_CHARSET="ISO-8859-1">Fedora Forum</A> | |||
<DD>Fedora Forums for community interaction. | |||
<DT><A HREF="http://fedorasolved.org/" ADD_DATE="1130967896" LAST_MODIFIED="1176675301" LAST_CHARSET="ISO-8859-1">Fedora Solved</A> | |||
<DD>Community answers to community questions. | |||
<DT><A HREF="http://fedoraproject.org/wiki/FWN/LatestIssue" ADD_DATE="1176675071" LAST_MODIFIED="1176675310" LAST_CHARSET="ISO-8859-1">Fedora Weekly News</A> | |||
<DD>Fedora Weekly News. | |||
<DT><A HREF="http://planet.fedoraproject.org/" ADD_DATE="1176675201" LAST_MODIFIED="1241208858" LAST_CHARSET="UTF-8">Planet Fedora</A> | |||
<DD>Blogs by Fedora contributors. | |||
<DT><A HREF="http://fedoraproject.org/en/join-fedora" ADD_DATE="1241209418" LAST_MODIFIED="1241209719">Join Fedora!</A> | |||
<DD>Join the Fedora Project! | |||
</DL><p> | |||
<DT><H3 ADD_DATE="1176674113" LAST_MODIFIED="1241208802">Red Hat</H3> | |||
<DL><p> | |||
<DT><A HREF="http://www.redhat.com/" ADD_DATE="1176674148" LAST_MODIFIED="1176674158" LAST_CHARSET="ISO-8859-1">Red Hat</A> | |||
<DD>Home of Red Hat, sponsor of the Fedora Project. | |||
<DT><A HREF="http://www.jboss.org/" ADD_DATE="1176674189" LAST_MODIFIED="1176674200" LAST_CHARSET="UTF-8">JBoss</A> | |||
<DD>Home of the JBoss community, sponsored by Red Hat. | |||
<DT><A HREF="http://opensource.com/" ADD_DATE="1269287471" LAST_MODIFIED="1176674200">OpenSource.com</A> | |||
<DD>Open Source applied to the world. | |||
<DT><A HREF="http://theopensourceway.org/" ADD_DATE="1269287471" LAST_MODIFIED="1176674200">The Open Source Way</A> | |||
<DD>Community authored open source best practices. | |||
</DL><p> | |||
<DT><H3 ADD_DATE="1176674388" LAST_MODIFIED="1241209425">Free Content</H3> | |||
<DL><p> | |||
<DT><A HREF="http://www.wikipedia.org/" ADD_DATE="1176674401" LAST_MODIFIED="1176675382" LAST_CHARSET="UTF-8">Wikipedia</A> | |||
<DD>Collaborative encycolpedia. | |||
<DT><A HREF="http://librivox.org/" ADD_DATE="1241209006" LAST_MODIFIED="1241209033">LibriVox</A> | |||
<DD>Freely licensed audio books. | |||
<DT><A HREF="http://www.openclipart.org/" ADD_DATE="1269287471" LAST_MODIFIED="1241209033">Open Clip Art</A> | |||
<DD>Freely licensed clip art. | |||
<DT><A HREF="http://www.freesound.org/" ADD_DATE="1269287471" LAST_MODIFIED="1241209033">Free Sound</A> | |||
<DD>Freely licensed sound. | |||
<DT><A HREF="http://creativecommons.org/" ADD_DATE="1176674776" LAST_MODIFIED="1176675626" LAST_CHARSET="UTF-8">Creative Commons</A> | |||
<DD>Free licenses for creative work. | |||
</DL><p> | |||
<DT><A FEEDURL="http://foss.rit.edu/files/bookmarks.rss" HREF="http://foss.rit.edu">RIT Bookmarks</A> | |||
</DL><p> | |||
</DL><p |
@ -0,0 +1,39 @@ | |||
wget | |||
libreoffice-writer | |||
libreoffice-base | |||
libreoffice-calc | |||
thunderbird | |||
codeblocks | |||
pidgin | |||
ekiga | |||
emacs | |||
gimp | |||
inkscape | |||
dia | |||
banshee | |||
git | |||
htop | |||
powertop | |||
nethack | |||
mplayer | |||
screen | |||
vim-common | |||
vim-enhanced | |||
vim | |||
zsh | |||
vlc | |||
nano | |||
audacity | |||
gpp | |||
wine | |||
wireshark | |||
irssi | |||
xchat | |||
gwibber | |||
elinks | |||
transmission | |||
midori | |||
evince | |||
gnumeric | |||
abiword | |||
fpaste |
@ -0,0 +1,213 @@ | |||
# The RIT Fedora Remix | |||
# | |||
# Authors: | |||
# Luke Macken <lmacken@redhat.com> | |||
# Eitan Romanoff <ear7631@gmail.com> | |||
# | |||
# Tasks: | |||
# https://fedorahosted.org/fossrit/query?milestone=RIT+Spin | |||
# | |||
# Instructions: | |||
# sudo yum -y install spin-kickstarts livecd-tools | |||
# sudo livecd-creator -c fedora-rit-spin.ks | |||
%include /usr/share/spin-kickstarts/fedora-live-desktop.ks | |||
%include /usr/share/spin-kickstarts/fedora-live-minimization.ks | |||
%packages | |||
# Must-have applications | |||
wget | |||
libreoffice-writer | |||
#libreoffice-base | |||
libreoffice-calc | |||
thunderbird | |||
#codeblocks | |||
pidgin | |||
ekiga | |||
emacs | |||
gimp | |||
inkscape | |||
dia | |||
banshee | |||
git | |||
htop | |||
powertop | |||
nethack | |||
#mplayer | |||
screen | |||
vim-common | |||
vim-enhanced | |||
vim | |||
zsh | |||
#vlc | |||
nano | |||
#audacity | |||
gpp | |||
wine | |||
wireshark | |||
irssi | |||
xchat | |||
gwibber | |||
elinks | |||
transmission | |||
midori | |||
evince | |||
gnumeric | |||
abiword | |||
fpaste | |||
# Legacy cmdline things we don't want | |||
-krb5-auth-dialog | |||
-krb5-workstation | |||
-pam_krb5 | |||
-quota | |||
-minicom | |||
-jwhois | |||
-mtr | |||
-pinfo | |||
-rsh | |||
-nfs-utils | |||
-ypbind | |||
-yp-tools | |||
-rpcbind | |||
-acpid | |||
-ntsysv | |||
# Drop some system-config things | |||
-system-config-boot | |||
-system-config-language | |||
-system-config-network | |||
-system-config-rootpassword | |||
-system-config-services | |||
-policycoreutils-gui | |||
%end | |||
%post | |||
# This will remove duplicate omni.jar archives created from previous builds | |||
rm -rf /tmp/firefox-omni | |||
#unzip omni.jar | |||
mkdir -p /tmp/firefox-omni | |||
pushd /tmp/firefox-omni | |||
unzip /usr/lib*/firefox-*/omni.jar | |||
# Create the custom browserconfig.properties file | |||
cat > /tmp/firefox-omni/chrome/en-US/locale/branding/browserconfig.properties <<EOF | |||
browser.startup.homepage=http://foss.rit.edu/ritfedoraspin/spinwelcome.html | |||
EOF | |||
# Create the custom bookmarks.html file | |||
cat > /tmp/firefox-omni/defaults/profile/bookmarks.html <<EOF | |||
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |||
<!-- This is an automatically generated file. | |||
It will be read and overwritten. | |||
DO NOT EDIT! --> | |||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |||
<TITLE>Bookmarks</TITLE> | |||
<H1>Bookmarks</H1> | |||
<DL><p> | |||
<DT><H3 ADD_DATE="961112773" LAST_MODIFIED="1241209009" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3> | |||
<DL><p> | |||
<DT><A HREF="http://docs.fedoraproject.org/" ADD_DATE="1158286602" LAST_MODIFIED="1176675660" LAST_CHARSET="UTF-8">Fedora Documentation</A> | |||
<DD>Fedora Documentation. | |||
<DT><H3 ADD_DATE="1130967903" LAST_MODIFIED="1241211003">Fedora Project</H3> | |||
<DL><p> | |||
<DT><A HREF="http://fedoraproject.org/" ADD_DATE="1158286779" LAST_MODIFIED="1176675285" LAST_CHARSET="UTF-8">Fedora Project</A> | |||
<DD>Home of the Fedora Project. | |||
<DT><A HREF="http://forums.fedoraforum.org/" ADD_DATE="1130967896" LAST_MODIFIED="1176675301" LAST_CHARSET="ISO-8859-1">Fedora Forum</A> | |||
<DD>Fedora Forums for community interaction. | |||
<DT><A HREF="http://fedorasolved.org/" ADD_DATE="1130967896" LAST_MODIFIED="1176675301" LAST_CHARSET="ISO-8859-1">Fedora Solved</A> | |||
<DD>Community answers to community questions. | |||
<DT><A HREF="http://fedoraproject.org/wiki/FWN/LatestIssue" ADD_DATE="1176675071" LAST_MODIFIED="1176675310" LAST_CHARSET="ISO-8859-1">Fedora Weekly News</A> | |||
<DD>Fedora Weekly News. | |||
<DT><A HREF="http://planet.fedoraproject.org/" ADD_DATE="1176675201" LAST_MODIFIED="1241208858" LAST_CHARSET="UTF-8">Planet Fedora</A> | |||
<DD>Blogs by Fedora contributors. | |||
<DT><A HREF="http://fedoraproject.org/en/join-fedora" ADD_DATE="1241209418" LAST_MODIFIED="1241209719">Join Fedora!</A> | |||
<DD>Join the Fedora Project! | |||
</DL><p> | |||
<DT><H3 ADD_DATE="1176674113" LAST_MODIFIED="1241208802">Red Hat</H3> | |||
<DL><p> | |||
<DT><A HREF="http://www.redhat.com/" ADD_DATE="1176674148" LAST_MODIFIED="1176674158" LAST_CHARSET="ISO-8859-1">Red Hat</A> | |||
<DD>Home of Red Hat, sponsor of the Fedora Project. | |||
<DT><A HREF="http://www.jboss.org/" ADD_DATE="1176674189" LAST_MODIFIED="1176674200" LAST_CHARSET="UTF-8">JBoss</A> | |||
<DD>Home of the JBoss community, sponsored by Red Hat. | |||
<DT><A HREF="http://opensource.com/" ADD_DATE="1269287471" LAST_MODIFIED="1176674200">OpenSource.com</A> | |||
<DD>Open Source applied to the world. | |||
<DT><A HREF="http://theopensourceway.org/" ADD_DATE="1269287471" LAST_MODIFIED="1176674200">The Open Source Way</A> | |||
<DD>Community authored open source best practices. | |||
</DL><p> | |||
<DT><H3 ADD_DATE="1176674388" LAST_MODIFIED="1241209425">Free Content</H3> | |||
<DL><p> | |||
<DT><A HREF="http://www.wikipedia.org/" ADD_DATE="1176674401" LAST_MODIFIED="1176675382" LAST_CHARSET="UTF-8">Wikipedia</A> | |||
<DD>Collaborative encycolpedia. | |||
<DT><A HREF="http://librivox.org/" ADD_DATE="1241209006" LAST_MODIFIED="1241209033">LibriVox</A> | |||
<DD>Freely licensed audio books. | |||
<DT><A HREF="http://www.openclipart.org/" ADD_DATE="1269287471" LAST_MODIFIED="1241209033">Open Clip Art</A> | |||
<DD>Freely licensed clip art. | |||
<DT><A HREF="http://www.freesound.org/" ADD_DATE="1269287471" LAST_MODIFIED="1241209033">Free Sound</A> | |||
<DD>Freely licensed sound. | |||
<DT><A HREF="http://creativecommons.org/" ADD_DATE="1176674776" LAST_MODIFIED="1176675626" LAST_CHARSET="UTF-8">Creative Commons</A> | |||
<DD>Free licenses for creative work. | |||
</DL><p> | |||
<DT><A FEEDURL="http://foss.rit.edu/files/bookmarks.rss" HREF="http://fss.rit.edu">RIT Bookmarks</A> | |||
</DL><p> | |||
</DL><p> | |||
EOF | |||
# Zip things back up | |||
# >/dev/null will mute output | |||
zip -9 -r omni.jar * >/dev/null | |||
mv omni.jar /usr/lib/firefox-6/omni.jar | |||
# go to the backgrounds folder for custom images | |||
cd /usr/share/backgrounds/images | |||
# fetch custom RIT backgrounds | |||
# note: resolv.conf is not yet set up, so we have to use the hosting ip directly | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/RIT_1280x1024.png" | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/RIT_2048x1536.png" | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/RIT_1920x1200.png" | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/tiger_1280x1024.png" | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/tiger_2048x1536.png" | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/tiger_1920x1200.png" | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/sentinel_1280x800.png" | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/celebration_1280x800.png" | |||
# normalish (1280 x 1024) | |||
su -c "cp /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png.backup" | |||
su -c "rm /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png" | |||
su -c "cp /usr/share/backgrounds/images/tiger_1280x1024.png /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png" | |||
# standard (2048x1536) | |||
su -c "cp /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png.backup" | |||
su -c "rm /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png" | |||
su -c "cp /usr/share/backgrounds/images/tiger_2048x1536.png /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png" | |||
# wide (1920x1200) | |||
su -c "cp /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png.backup" | |||
su -c "rm /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png" | |||
su -c "cp /usr/share/backgrounds/images/tiger_1920x1200.png /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png" | |||
# Fetch rpm fusion scripts, bash_profile | |||
su -c "mkdir -p /usr/share/autostart" | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/enablerpmfusion.txt" | |||
su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/FusionEnableLauncher.txt" | |||
su -c "mv FusionEnableLauncher.txt FusionEnableLauncher.py" | |||
su -c "mv enablerpmfusion.txt enablerpmfusion.sh" | |||
su -c "chmod a+rwx FusionEnableLauncher.py" | |||
su -c "chmod a+rwx enablerpmfusion.sh" | |||
su -c "cp FusionEnableLauncher.py /usr/share/autostart/FusionEnableLauncher.py" | |||
su -c "cp enablerpmfusion.sh /usr/share/autostart/enablerpmfusion.sh" | |||
%end |
@ -0,0 +1,89 @@ | |||
#!/bin/sh | |||
# This script creates an omni-jar in /tmp/ while being tested. | |||
# This will remove duplicates | |||
rm -rf /tmp/firefox-omni | |||
#unzip omni.jar | |||
mkdir -p /tmp/firefox-omni | |||
pushd /tmp/firefox-omni | |||
unzip /usr/lib/firefox-6/omni.jar | |||
# Edit the bookmarks.html file | |||
cat > /tmp/firefox-omni/defaults/profile/bookmarks.html <<EOF | |||
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |||
<!-- This is an automatically generated file. | |||
It will be read and overwritten. | |||
DO NOT EDIT! --> | |||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |||
<TITLE>Bookmarks</TITLE> | |||
<H1>Bookmarks</H1> | |||
<DL><p> | |||
<DT><H3 ADD_DATE="961112773" LAST_MODIFIED="1241209009" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3> | |||
<DL><p> | |||
<DT><A HREF="http://docs.fedoraproject.org/" ADD_DATE="1158286602" LAST_MODIFIED="1176675660" LAST_CHARSET="UTF-8">Fedora Documentation</A> | |||
<DD>Fedora Documentation. | |||
<DT><H3 ADD_DATE="1130967903" LAST_MODIFIED="1241211003">RIT Links</H3> | |||
<DL><p> | |||
<DT><A HREF="http://rit.edu/" ADD_DATE="1158286779" LAST_MODIFIED="1176675285" LAST_CHARSET="UTF-8">RIT Homepage</A> | |||
<DD>RIT Homepage. | |||
<DT><A HREF="http://mycourses.rit.edu/" ADD_DATE="1158286779" LAST_MODIFIED="1176675285" LAST_CHARSET="UTF-8">Mycourses</A> | |||
<DD>Mycourses Homepage. | |||
<DT><A HREF="http://schedule.csh.rit.edu/" ADD_DATE="1158286779" LAST_MODIFIED="1176675285" LAST_CHARSET="UTF-8">RIT Schedule Maker</A> | |||
<DD>Create a class schedule. | |||
<DT><A HREF="http://infocenter.rit.edu" ADD_DATE="1158286779" LAST_MODIFIED="1176675285" LAST_CHARSET="UTF-8">RIT Infocenter</A> | |||
<DD>Class Registration, Academic Services, and more. | |||
</DL><p> | |||
<DT><H3 ADD_DATE="1130967903" LAST_MODIFIED="1241211003">Fedora Project</H3> | |||
<DL><p> | |||
<DT><A HREF="http://fedoraproject.org/" ADD_DATE="1158286779" LAST_MODIFIED="1176675285" LAST_CHARSET="UTF-8">Fedora Project</A> | |||
<DD>Home of the Fedora Project. | |||
<DT><A HREF="http://forums.fedoraforum.org/" ADD_DATE="1130967896" LAST_MODIFIED="1176675301" LAST_CHARSET="ISO-8859-1">Fedora Forum</A> | |||
<DD>Fedora Forums for community interaction. | |||
<DT><A HREF="http://fedorasolved.org/" ADD_DATE="1130967896" LAST_MODIFIED="1176675301" LAST_CHARSET="ISO-8859-1">Fedora Solved</A> | |||
<DD>Community answers to community questions. | |||
<DT><A HREF="http://fedoraproject.org/wiki/FWN/LatestIssue" ADD_DATE="1176675071" LAST_MODIFIED="1176675310" LAST_CHARSET="ISO-8859-1">Fedora Weekly News</A> | |||
<DD>Fedora Weekly News. | |||
<DT><A HREF="http://planet.fedoraproject.org/" ADD_DATE="1176675201" LAST_MODIFIED="1241208858" LAST_CHARSET="UTF-8">Planet Fedora</A> | |||
<DD>Blogs by Fedora contributors. | |||
<DT><A HREF="http://fedoraproject.org/en/join-fedora" ADD_DATE="1241209418" LAST_MODIFIED="1241209719">Join Fedora!</A> | |||
<DD>Join the Fedora Project! | |||
</DL><p> | |||
<DT><H3 ADD_DATE="1176674113" LAST_MODIFIED="1241208802">Red Hat</H3> | |||
<DL><p> | |||
<DT><A HREF="http://www.redhat.com/" ADD_DATE="1176674148" LAST_MODIFIED="1176674158" LAST_CHARSET="ISO-8859-1">Red Hat</A> | |||
<DD>Home of Red Hat, sponsor of the Fedora Project. | |||
<DT><A HREF="http://www.jboss.org/" ADD_DATE="1176674189" LAST_MODIFIED="1176674200" LAST_CHARSET="UTF-8">JBoss</A> | |||
<DD>Home of the JBoss community, sponsored by Red Hat. | |||
<DT><A HREF="http://opensource.com/" ADD_DATE="1269287471" LAST_MODIFIED="1176674200">OpenSource.com</A> | |||
<DD>Open Source applied to the world. | |||
<DT><A HREF="http://theopensourceway.org/" ADD_DATE="1269287471" LAST_MODIFIED="1176674200">The Open Source Way</A> | |||
<DD>Community authored open source best practices. | |||
</DL><p> | |||
<DT><H3 ADD_DATE="1176674388" LAST_MODIFIED="1241209425">Free Content</H3> | |||
<DL><p> | |||
<DT><A HREF="http://www.wikipedia.org/" ADD_DATE="1176674401" LAST_MODIFIED="1176675382" LAST_CHARSET="UTF-8">Wikipedia</A> | |||
<DD>Collaborative encycolpedia. | |||
<DT><A HREF="http://librivox.org/" ADD_DATE="1241209006" LAST_MODIFIED="1241209033">LibriVox</A> | |||
<DD>Freely licensed audio books. | |||
<DT><A HREF="http://www.openclipart.org/" ADD_DATE="1269287471" LAST_MODIFIED="1241209033">Open Clip Art</A> | |||
<DD>Freely licensed clip art. | |||
<DT><A HREF="http://www.freesound.org/" ADD_DATE="1269287471" LAST_MODIFIED="1241209033">Free Sound</A> | |||
<DD>Freely licensed sound. | |||
<DT><A HREF="http://creativecommons.org/" ADD_DATE="1176674776" LAST_MODIFIED="1176675626" LAST_CHARSET="UTF-8">Creative Commons</A> | |||
<DD>Free licenses for creative work. | |||
</DL><p> | |||
</DL><p> | |||
</DL><p> | |||
EOF | |||
# Zip things back up | |||
# >/dev/null will mute output | |||
zip -9 -r omni.jar * >/dev/null | |||
mv omni.jar /usr/lib/firefox-6/omni.jar |
@ -0,0 +1,104 @@ | |||
#!/usr/bin/env python | |||
""" | |||
FusionEnableLauncher.py | |||
Author: Eitan Romanoff | |||
Draws a simple two-button dialog that prompts the user if they want to enable | |||
RPM fusion for the Fedora RIT Spin. Enabler script can be found at this link: | |||
<link here> | |||
""" | |||
import pygtk | |||
import subprocess | |||
pygtk.require('2.0') | |||
import gtk | |||
class FusionEnableLauncher: | |||
"""Launch the enabler script, then close this box.""" | |||
def launch_enabler_script(self, widget, data=None): | |||
subprocess.call(['./enablerpmfusion.sh'], shell=True) | |||
self.destroy(widget, None) | |||
"""delete event callback""" | |||
def delete_event(self, widget, event, data=None): | |||
return False | |||
"""destroy event callback""" | |||
def destroy(self, widget, data=None): | |||
gtk.main_quit() | |||
"""init function - draws the window and does setup""" | |||
def __init__(self): | |||
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) | |||
self.window.set_title("Enable RPM Fusion?") | |||
self.window.set_resizable(False) | |||
# Create packing boxes. Outer level is vertical containing | |||
# Label upper, then horizontal box lower. | |||
self.box0 = gtk.VBox(False, 20) | |||
self.box1 = gtk.HBox(False, 5) | |||
# Add the veritcal box to the window | |||
self.window.add(self.box0) | |||
# hook up delete callback to event | |||
self.window.connect("delete_event", self.delete_event) | |||
# hook up destroy callback to event | |||
self.window.connect("destroy", self.destroy) | |||
# Sets the border width of the window. | |||
self.window.set_border_width(20) | |||
# Label for message | |||
self.label = gtk.Label() | |||
self.label.set_line_wrap(True) | |||
self.label.set_text("Would you like to enable non-free and/or patent encumbered repositories? Due to the legal implications of shipping non-free or patent encumbered technology, we cannot enable these packages by default. Long story short, if you want to do things like like listen to mp3, or watch youtube videos in your browser, you will probably need to enable these options. You may enable these options at any time by running the enablerpmfusion.sh script located on your desktop.") | |||
# Add the vertical elementals | |||
self.box0.pack_start(self.label, False, False, 0) | |||
self.box0.pack_start(self.box1, False, False, 0) | |||
# Creates two buttons - enable and cancel | |||
self.enable_button = gtk.Button("Enable Fusion") | |||
self.cancel_button = gtk.Button("Cancel") | |||
# Hook up enable button to callback on click event | |||
self.enable_button.connect("clicked", self.launch_enabler_script, None) | |||
# Hook up the cancel button to destroy callback on click event | |||
self.cancel_button.connect_object("clicked", gtk.Widget.destroy, self.window) | |||
# This packs the buttons into the horizontal box (container). | |||
self.box1.pack_start(self.cancel_button, True, True, 0) | |||
self.cancel_button.show() | |||
self.box1.pack_start(self.enable_button, True, True, 0) | |||
self.enable_button.show() | |||
# Make the items visible... | |||
self.label.show() | |||
self.box1.show() | |||
self.box0.show() | |||
# Make the window visible... | |||
self.window.show() | |||
def main(self): | |||
# All PyGTK applications must have a gtk.main(). Control ends here | |||
# and waits for an event to occur (like a key press or mouse event). | |||
gtk.main() | |||
# If the program is run directly or passed as an argument to the python | |||
# interpreter then create a HelloWorld instance and show it | |||
if __name__ == "__main__": | |||
launcher = FusionEnableLauncher() | |||
launcher.main() |
@ -0,0 +1,11 @@ | |||
#!/bin/sh | |||
# This script will replace the omni.jar in the /usr/lib/firefox-6/ with | |||
# the one in /usr/lib/firefox-6/omni-backup/ | |||
su | |||
pushd /usr/lib/firefox-6/ | |||
rm omni.jar | |||
cp omni-backup/omni.jar omni.jar | |||
popd | |||
exit |
@ -0,0 +1,27 @@ | |||
#!/bin/sh | |||
# go to the backgrounds folder for custom images | |||
cd /usr/share/backgrounds/images | |||
# fetch custom RIT backgrounds | |||
# note: resolv.conf is not yet set up, so we have to use the hosting ip directly | |||
su -c "wget --header=\"Host: www.cs.rit.edu\" http://129.21.30.99/~ear7631/RIT_1280x1024.png" | |||
su -c "wget --header=\"Host: www.cs.rit.edu\" http://129.21.30.99/~ear7631/RIT_2048x1536.png" | |||
su -c "wget --header=\"Host: www.cs.rit.edu\" http://129.21.30.99/~ear7631/RIT_1920x1200.png" | |||
# normalish (1280 x 1024) | |||
su -c "cp /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png.backup" | |||
su -c "rm /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png" | |||
su -c "cp /usr/share/backgrounds/images/RIT_1280x1024.png /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png" | |||
# standard (2048x1536) | |||
su -c "cp /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png.backup" | |||
su -c "rm /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png" | |||
su -c "cp /usr/share/backgrounds/images/RIT_2048x1536.png /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png" | |||
# wide (1920x1200) | |||
su -c "cp /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png.backup" | |||
su -c "rm /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png" | |||
su -c "cp /usr/share/backgrounds/images/RIT_1920x1200.png /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png" |
@ -0,0 +1,5 @@ | |||
#!/bin/sh | |||
# Cut from Remy Decausemaker's enablerpmfusion.sh script found here: | |||
# fpase.org/4jpe/ | |||
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm' |