diff --git a/build_files/base/aurora-changes.sh b/build_files/base/aurora-changes.sh index e3a24915a1b..9cc3797c15c 100644 --- a/build_files/base/aurora-changes.sh +++ b/build_files/base/aurora-changes.sh @@ -3,9 +3,16 @@ set -oue pipefail if [[ "${BASE_IMAGE_NAME}" = "kinoite" ]]; then + ln -sf ../places/distributor-logo.svg /usr/share/icons/hicolor/scalable/apps/start-here.svg + sed -i 's@ColorScheme=BreezeLight@ColorScheme=BreezeDark@' /usr/share/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/defaults + sed -i 's@Image=Fedora@Image=/usr/share/wallpapers/jonaton-pie-aurora.jpg@' /usr/share/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/defaults sed -i '//,/<\/entry>/ s/[^<]*<\/default>/preferred:\/\/browser,applications:org.gnome.Ptyxis.desktop,applications:org.kde.discover.desktop,preferred:\/\/filemanager<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml sed -i '//,/<\/entry>/ s/[^<]*<\/default>/preferred:\/\/browser,systemsettings.desktop,org.kde.dolphin.desktop,org.kde.kate.desktop,org.gnome.Ptyxis.desktop,org.kde.discover.desktop<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/config/main.xml sed -i 's@Exec=ptyxis@Exec=kde-ptyxis@g' /usr/share/applications/org.gnome.Ptyxis.desktop - sed -i 's@Keywords=@Keywords=konsole;@g' /usr/share/applications/org.gnome.Ptyxis.desktop + sed -i 's@Keywords=@Keywords=konsole;console;@g' /usr/share/applications/org.gnome.Ptyxis.desktop cp /usr/share/applications/org.gnome.Ptyxis.desktop /usr/share/kglobalaccel/org.gnome.Ptyxis.desktop + sed -i 's@\[Desktop Action new-window\]@\[Desktop Action new-window\]\nX-KDE-Shortcuts=Ctrl+Alt+T@g' /usr/share/applications/org.gnome.Ptyxis.desktop + sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.kde.konsole.desktop + rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop + systemctl enable kde-sysmonitor-workaround.service fi diff --git a/system_files/kinoite/usr/lib/systemd/system/kde-sysmonitor-workaround.service b/system_files/kinoite/usr/lib/systemd/system/kde-sysmonitor-workaround.service new file mode 100644 index 00000000000..a980a9ab8e0 --- /dev/null +++ b/system_files/kinoite/usr/lib/systemd/system/kde-sysmonitor-workaround.service @@ -0,0 +1,20 @@ +[Unit] +Description=Workaround KDE System Monitor not having the correct caps +ConditionFileIsExecutable=/usr/libexec/ksysguard/ksgrd_network_helper +After=local-fs.target + +[Service] +Type=oneshot +# Copy if it doesn't exist +ExecStartPre=/usr/bin/bash -c "[ -x /usr/local/libexec/.ksysguard/ksgrd_network_helper ] || /usr/bin/cp /usr/libexec/ksysguard/ksgrd_network_helper /usr/local/libexec/.ksysguard/ksgrd_network_helper" +# This is faster than using .mount unit. Also allows for the previous line/cleanup +ExecStartPre=/usr/bin/mount --bind /usr/local/libexec/.ksysguard/ksgrd_network_helper /usr/libexec/ksysguard/ksgrd_network_helper +# Fix caps +ExecStart=/usr/sbin/setcap 'cap_net_raw+ep' /usr/libexec/ksysguard/ksgrd_network_helper +# Clean-up after ourselves +ExecStop=/usr/bin/umount /usr/libexec/ksysguard/ksgrd_network_helper +ExecStop=/usr/bin/rm /usr/local/libexec/.ksysguard/ksgrd_network_helper +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/system_files/kinoite/usr/lib/systemd/system/tmpfiles.d/kde-sysmonitor-workaround.conf b/system_files/kinoite/usr/lib/systemd/system/tmpfiles.d/kde-sysmonitor-workaround.conf new file mode 100644 index 00000000000..f8ca6ddb38c --- /dev/null +++ b/system_files/kinoite/usr/lib/systemd/system/tmpfiles.d/kde-sysmonitor-workaround.conf @@ -0,0 +1 @@ +C /usr/local/libexec/.ksysguard/ksgrd_network_helper - - - - /usr/libexec/ksysguard/ksgrd_network_helper \ No newline at end of file diff --git a/system_files/kinoite/usr/share/applications/org.gnome.Ptyxis.desktop b/system_files/kinoite/usr/share/applications/org.gnome.Ptyxis.desktop deleted file mode 100644 index 6c3b429431e..00000000000 --- a/system_files/kinoite/usr/share/applications/org.gnome.Ptyxis.desktop +++ /dev/null @@ -1,60 +0,0 @@ -[Desktop Entry] -Name[it]=Ptyxis -Name[nl]=Ptyxis -Name[pt_BR]=Ptyxis -Name[tr]=Ptyxis -Name[sv]=Ptyxis -Name=Ptyxis -Comment[it]=Un terminale per GNOME rivolto ai container -Comment[nl]=Een op containers gefocuste terminal voor GNOME -Comment[pt_BR]=Um terminal orientado a contêineres para GNOME -Comment[tr]=GNOME için konteyner odaklı uçbirim -Comment[sv]=En behållar-orienterad terminal för GNOME -Comment=A container-oriented terminal for GNOME -Exec=kde-ptyxis -# Translators: Do NOT translate or transliterate this text (this is an icon file name)! -Icon=org.gnome.Ptyxis -DBusActivatable=true -StartupNotify=true -Terminal=false -Type=Application -Categories=GNOME;GTK;System;TerminalEmulator; -GenericName[it]=Terminale -GenericName[nl]=Terminal -GenericName[pt_BR]=Terminal -GenericName[tr]=Uçbirim -GenericName[sv]=Terminal -GenericName=Terminal -# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! -Keywords[tr]=terminal;prompt;ptyxis;shell;command;commandline;cmd;cli;uçbirim;istem;kabuk;komut;komut satırı; -Keywords=konsole;terminal;prompt;ptyxis;shell;command;commandline;cmd;cli; -Actions=new-window;new-tab;preferences; -X-ExecArg=-- -X-KDE-AuthorizeAction=shell_access - -[Desktop Action new-window] -Name[it]=Nuova finestra -Name[nl]=Nieuw venster -Name[pt_BR]=Nova janela -Name[tr]=Yeni Pencere -Name[sv]=Nytt fönster -Name=New Window -Exec=kde-ptyxis --new-window - -[Desktop Action new-tab] -Name[it]=Nuova scheda -Name[nl]=Nieuw tabblad -Name[pt_BR]=Nova aba -Name[tr]=Yeni Sekme -Name[sv]=Ny flik -Name=New Tab -Exec=kde-ptyxis --tab - -[Desktop Action preferences] -Name[it]=Preferenze -Name[nl]=Voorkeuren -Name[pt_BR]=Preferências -Name[tr]=Tercihler -Name[sv]=Inställningar -Name=Preferences -Exec=kde-ptyxis --preferences \ No newline at end of file diff --git a/system_files/kinoite/usr/share/pixmaps/fedora_whitelogo.svg b/system_files/kinoite/usr/share/pixmaps/fedora_whitelogo.svg new file mode 120000 index 00000000000..7ec9b708b35 --- /dev/null +++ b/system_files/kinoite/usr/share/pixmaps/fedora_whitelogo.svg @@ -0,0 +1 @@ +fedora-logo.svg \ No newline at end of file diff --git a/system_files/kinoite/usr/share/wallpapers/greg-rakozy-aurora.jpg b/system_files/kinoite/usr/share/wallpapers/greg-rakozy-aurora.jpg new file mode 100644 index 00000000000..8c9f3a13c94 Binary files /dev/null and b/system_files/kinoite/usr/share/wallpapers/greg-rakozy-aurora.jpg differ diff --git a/system_files/kinoite/usr/share/wallpapers/jonatan-pie-aurora.jpg b/system_files/kinoite/usr/share/wallpapers/jonatan-pie-aurora.jpg new file mode 100644 index 00000000000..91b18149449 Binary files /dev/null and b/system_files/kinoite/usr/share/wallpapers/jonatan-pie-aurora.jpg differ