Power management

master
Artem Proskurnev 3 years ago
parent 6d360e72e2
commit 68580bcd47
  1. 7
      kometa-std-desktop.spec
  2. 60
      kometa-std-desktop/powermanagementprofilesrc

@ -1,5 +1,5 @@
Name: kometa-std-desktop Name: kometa-std-desktop
Version: 1.8 Version: 1.9
Release: kometa1 Release: kometa1
Summary: Kometa default desktop settings Summary: Kometa default desktop settings
@ -41,6 +41,7 @@ mkdir -p %buildroot%skeldesktopdir
mkdir -p %buildroot%ftdir mkdir -p %buildroot%ftdir
mkdir -p %buildroot%aptdir mkdir -p %buildroot%aptdir
install -pm644 powermanagementprofilesrc %buildroot%skelconfigdir
install -pm644 inkscape.xml %buildroot%skelconfigdir/inkscape/preferences.xml install -pm644 inkscape.xml %buildroot%skelconfigdir/inkscape/preferences.xml
install -pm644 chromium.json %buildroot%skelconfigdir/chromium/Default/Preferences install -pm644 chromium.json %buildroot%skelconfigdir/chromium/Default/Preferences
install -pm644 libreoffice.xcu %buildroot%skelconfigdir/libreoffice/4/user/registrymodifications.xcu install -pm644 libreoffice.xcu %buildroot%skelconfigdir/libreoffice/4/user/registrymodifications.xcu
@ -55,6 +56,7 @@ install -pm755 previewplugins.filetrigger %buildroot%ftdir
install -pm644 kometa.list %buildroot%aptdir install -pm644 kometa.list %buildroot%aptdir
%files %files
"/etc/skel/.config/powermanagementprofilesrc"
"/etc/skel/.config/inkscape/preferences.xml" "/etc/skel/.config/inkscape/preferences.xml"
"/etc/skel/.config/chromium/Default/Preferences" "/etc/skel/.config/chromium/Default/Preferences"
"/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu" "/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu"
@ -69,6 +71,9 @@ install -pm644 kometa.list %buildroot%aptdir
"/etc/apt/sources.list.d/kometa.list" "/etc/apt/sources.list.d/kometa.list"
%changelog %changelog
* Thu Mar 15 2022 Artem Proskurnev <tema@proskurnevs.ru> 1.9-kometa1
- Power management
* Fri Mar 11 2022 Artem Proskurnev <tema@proskurnevs.ru> 1.8-kometa1 * Fri Mar 11 2022 Artem Proskurnev <tema@proskurnevs.ru> 1.8-kometa1
- OpenBoard settings - OpenBoard settings

@ -0,0 +1,60 @@
[AC]
icon=battery-charging
[AC][BrightnessControl]
value=100
[AC][DPMSControl]
idleTime=3000
[AC][DimDisplay]
idleTime=2700000
[AC][HandleButtonEvents]
lidAction=1
powerButtonAction=16
triggerLidActionWhenExternalMonitorPresent=false
[Battery]
icon=battery-060
[Battery][BrightnessControl]
value=100
[Battery][DPMSControl]
idleTime=1500
[Battery][DimDisplay]
idleTime=1320000
[Battery][HandleButtonEvents]
lidAction=1
powerButtonAction=16
triggerLidActionWhenExternalMonitorPresent=false
[Battery][SuspendSession]
idleTime=1800000
suspendThenHibernate=false
suspendType=1
[LowBattery]
icon=battery-low
[LowBattery][BrightnessControl]
value=30
[LowBattery][DPMSControl]
idleTime=120
[LowBattery][DimDisplay]
idleTime=60000
[LowBattery][HandleButtonEvents]
lidAction=2
powerButtonAction=16
triggerLidActionWhenExternalMonitorPresent=true
[LowBattery][SuspendSession]
idleTime=300000
suspendThenHibernate=false
suspendType=1
Loading…
Cancel
Save