From 34266bc9b362b3db9f0ef5c7e4a3d0154a02f8a9 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Oct 16 2020 15:41:12 +0000 Subject: add 99-restart-dbus.sh plasma shutdown script, to forcefully restart user dbus (#1861700) --- diff --git a/99-restart-dbus.sh b/99-restart-dbus.sh new file mode 100755 index 0000000..aa3d595 --- /dev/null +++ b/99-restart-dbus.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# Restart DBus as shutdown may not be clean leaving failed activation requests that prevent the next login +(sleep 8 && systemctl --user restart dbus.service) & diff --git a/kde-settings.spec b/kde-settings.spec index b816d8a..69f06ba 100644 --- a/kde-settings.spec +++ b/kde-settings.spec @@ -2,12 +2,13 @@ Summary: Config files for kde Name: kde-settings Version: 33.0 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT Url: https://github.com/FedoraKDE/kde-settings Source0: https://github.com/FedoraKDE/kde-settings/archive/%{version}/%{name}-%{version}.tar.gz Source1: COPYING +Source2: 99-restart-dbus.sh BuildArch: noarch @@ -90,6 +91,7 @@ if [ %{_prefix} != /usr ] ; then fi cp -p %{SOURCE1} . +install -p -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/shutdown/99-restart-dbus.sh # default wallpaper symlink %if 0%{?version_maj:1} @@ -140,6 +142,7 @@ test -f %{_datadir}/wallpapers/F%{version_maj} || ls -l %{_datadir}/wallpapers %{_sysconfdir}/xdg/plasma-workspace/env/gtk2_rc_files.sh %{_sysconfdir}/xdg/plasma-workspace/env/gtk3_scrolling.sh %{_sysconfdir}/xdg/plasma-workspace/shutdown/kuiserver5.sh +%{_sysconfdir}/xdg/plasma-workspace/shutdown/99-restart-dbus.sh %{_datadir}/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/plasmoidsetupscripts/org.kde.plasma.kicker.js %{_datadir}/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/plasmoidsetupscripts/org.kde.plasma.kickerdash.js %{_datadir}/plasma/look-and-feel/org.fedoraproject.fedora.desktop/contents/plasmoidsetupscripts/org.kde.plasma.kickoff.js @@ -156,6 +159,9 @@ test -f %{_datadir}/wallpapers/F%{version_maj} || ls -l %{_datadir}/wallpapers %changelog +* Fri Oct 16 2020 Rex Dieter - 33.0-2 +- add 99-restart-dbus.sh plasma shutdown script, to forcefully restart user dbus (#1861700) + * Tue Sep 08 2020 Than Ngo - 33-1 - bump for Fedora 33 - Fix background image (RHBZ #1872054)