2b72cd2e95
This commit restore workstation-release needed for workstation base installation and attempt to fix post-installation favourite apps on dash board. Signed-off-by: Luya Tshimbalanga <luya@fedoraproject.org>
72 lines
2.4 KiB
Plaintext
72 lines
2.4 KiB
Plaintext
# 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
|
|
|
|
%include fedora-live-workstation.ks
|
|
%include fedora-design-suite-common.ks
|
|
|
|
# Size partition
|
|
part / --size 14336
|
|
|
|
%post
|
|
# 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
|
|
Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite/Tutorials
|
|
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
|
|
[Desktop Entry]
|
|
Name=Design Suite Info
|
|
GenericName=About Design Suite
|
|
Comment=Wiki page of Design Suite
|
|
Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite
|
|
Type=Application
|
|
Icon=applications-internet
|
|
Categories=Documentation;
|
|
FOE
|
|
chmod a+x /usr/share/applications/fedora-design-suite.desktop
|
|
|
|
# Add information about Fedora Design Team
|
|
cat >> /usr/share/applications/fedora-design-team.desktop << FOE
|
|
[Desktop Entry]
|
|
Name=Design Team Info
|
|
GenericName=About Design Team
|
|
Comment=Wiki page of Design Team
|
|
Exec=xdg-open https://fedoraproject.org/wiki/Design
|
|
Type=Application
|
|
Icon=applications-internet
|
|
Categories=Documentation;
|
|
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
|
|
|
|
# rebuild schema cache with any overrides we installed
|
|
glib-compile-schemas /usr/share/glib-2.0/schemas
|
|
|
|
#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
|
|
|
|
%end
|