Skip to content

Commit

Permalink
xfce4-settings-qubes: drop manual systemd-inhibit registration
Browse files Browse the repository at this point in the history
xfce4-power-manager now handle it itself. And inhibition of
handle-lid-switch disables suspend on lid close at all, as
xfce4-power-manager rely on logind to do that.

QubesOS/qubes-issues#2120
  • Loading branch information
marmarek committed Jul 13, 2016
1 parent 6914f17 commit 7b393f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions xfce4-settings-qubes/inhibit-systemd-power-handling.desktop

This file was deleted.

3 changes: 0 additions & 3 deletions xfce4-settings-qubes/xfce4-settings-qubes.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Group: User Interface/Desktops
License: GPLv2+
URL: http://www.qubes-os.org/
Source0: xfce4-panel-qubes-default.xml
Source1: inhibit-systemd-power-handling.desktop
Source2: xsettings.xml
Source3: xfwm4.xml
Source4: xfce4-desktop.xml
Expand All @@ -30,7 +29,6 @@ Requires(post): xfce4-panel

%install
install -m 644 -D %{SOURCE0} %{buildroot}%{_sysconfdir}/xdg/xfce4/panel/default.xml.qubes
install -m 644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/inhibit-systemd-power-handling.desktop
install -m 644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.qubes
install -m 644 -D %{SOURCE3} %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
install -m 644 -D %{SOURCE4} %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
Expand Down Expand Up @@ -78,7 +76,6 @@ if [ $1 -lt 1 ]; then
fi

%files
%{_sysconfdir}/xdg/autostart/inhibit-systemd-power-handling.desktop
%{_sysconfdir}/xdg/xfce4/panel/default.xml.qubes
%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.qubes
%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
Expand Down

0 comments on commit 7b393f3

Please sign in to comment.