1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-25 16:43:08 +00:00
fedora-kickstarts/fedora-live-design_suite.ks

72 lines
2.4 KiB
Plaintext
Raw Normal View History

2013-01-29 22:13:15 +00:00
# fedora-design-suite.ks
# Based on Live Workstation
# A collection of applications for professional visual designers
# http://fedoraproject.org/wiki/Design_Suite
# Maintained by Luya Tshimbalanga <luya AT fedoraproject DOT org>
# Credit to Sebastian Dziallas for initiating the project
2013-01-29 22:13:15 +00:00
%include fedora-live-workstation.ks
%include fedora-design-suite-common.ks
2013-01-29 22:13:15 +00:00
# Size partition
part / --size 14336
2013-01-29 22:13:15 +00:00
%post
2013-10-17 03:28:17 +00:00
# Add link to lists of tutorials
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
[Desktop Entry]
Name=List of design tutorials
GenericName=List of Tutorials for Designers
Comment=Reference of Design Related Tutorials
2015-09-11 03:57:23 +00:00
Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite/Tutorials
2013-10-17 03:28:17 +00:00
Type=Application
Icon=applications-graphics
Categories=Graphics;Documentation;
FOE
chmod a+x /usr/share/applications/list-design-tutorials.desktop
# Add information about Fedora Design Suite
cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
2015-02-21 01:51:02 +00:00
[Desktop Entry]
2015-04-22 01:25:18 +00:00
Name=Design Suite Info
GenericName=About Design Suite
Comment=Wiki page of Design Suite
2015-09-11 03:57:23 +00:00
Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite
2015-02-21 01:51:02 +00:00
Type=Application
2015-02-28 03:34:19 +00:00
Icon=applications-internet
Categories=Documentation;
FOE
chmod a+x /usr/share/applications/fedora-design-suite.desktop
2015-02-28 03:34:19 +00:00
# Add information about Fedora Design Team
cat >> /usr/share/applications/fedora-design-team.desktop << FOE
[Desktop Entry]
2015-04-22 01:25:18 +00:00
Name=Design Team Info
GenericName=About Design Team
2015-02-28 03:34:19 +00:00
Comment=Wiki page of Design Team
2015-09-11 03:57:23 +00:00
Exec=xdg-open https://fedoraproject.org/wiki/Design
2015-02-28 03:34:19 +00:00
Type=Application
Icon=applications-internet
Categories=Documentation;
2015-02-21 01:51:02 +00:00
FOE
chmod a+x /usr/share/applications/fedora-design-team.desktop
# Use Powerline in bash
cat >> $HOME/.bashrc << FOE
# Enable powerline daemon
if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bash/powerline.sh
fi
FOE
#Override the favorite desktop application in Dash
sed -i "s/favorite-apps=."'*'"/favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'pitivi.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']/" /etc/rc.d/init.d/livesys
# rebuild schema cache with any overrides we installed
glib-compile-schemas /usr/share/glib-2.0/schemas
%end