From 710e5e24e1e581f4dc90e199c531e96e6ddb9876 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Wed, 16 Feb 2022 10:33:23 +0300 Subject: [PATCH] 1.5-alt1 --- kometa-xdg.spec | 13 +++- plasma5/XDG_CONFIG_DIRS/dolphinrc | 1 + plasma5/XDG_CONFIG_DIRS/kdeglobals | 3 + .../XDG_CONFIG_DIRS/powermanagementprofilesrc | 60 +++++++++++++++++++ .../ServiceMenus/setAsWallpaper.desktop | 26 ++++++++ .../kxmlgui5/dolphin/dolphinui.rc | 3 +- 6 files changed, 103 insertions(+), 3 deletions(-) create mode 100644 plasma5/XDG_CONFIG_DIRS/powermanagementprofilesrc create mode 100644 plasma5/XDG_DATA_DIRS/kservices5/ServiceMenus/setAsWallpaper.desktop diff --git a/kometa-xdg.spec b/kometa-xdg.spec index 1cd89cd..d08a45d 100644 --- a/kometa-xdg.spec +++ b/kometa-xdg.spec @@ -3,8 +3,8 @@ Summary: XDG desktop settings for Kometa distros Summary(ru): Настройки рабочего окружения дистрибутивов Комета License: GPL-3.0 Group: Graphical desktop/Other -Version: 1.4 -Release: alt1 +Version: 1.5 +Release: alt1.1 Source0: kometa-xdg-%version.tar Source1: COPYING BuildArch: noarch @@ -174,6 +174,15 @@ cd scripts ./test.sh %changelog +* Wed Feb 16 2022 Mikhail Novosyolov 1.5-alt1.1 +- Commit 1.5-alt1 by tema@ + +* Tue Feb 15 2022 Artem Proskurnev 1.5-alt1 +- Add power settings +- Add Dolphin filer panel +- Add "Set as wallpaper" +- Set Chromium as the default browser + * Fri Dec 24 2021 Mikhail Novosyolov 1.4-alt1 - Add setting $XDG_DATA_DIRS, enable "Show Previews" button in Dolphin - Tune description: note that kometa-xdg-core can be used just to set env outside of Kometa diff --git a/plasma5/XDG_CONFIG_DIRS/dolphinrc b/plasma5/XDG_CONFIG_DIRS/dolphinrc index 4341263..8da0142 100644 --- a/plasma5/XDG_CONFIG_DIRS/dolphinrc +++ b/plasma5/XDG_CONFIG_DIRS/dolphinrc @@ -1,2 +1,3 @@ [General] +FilterBar=true GlobalViewProps=false diff --git a/plasma5/XDG_CONFIG_DIRS/kdeglobals b/plasma5/XDG_CONFIG_DIRS/kdeglobals index 2ba4980..847dd67 100644 --- a/plasma5/XDG_CONFIG_DIRS/kdeglobals +++ b/plasma5/XDG_CONFIG_DIRS/kdeglobals @@ -1,3 +1,6 @@ +[General] +BrowserApplication=chromium.desktop + [Icons] Theme=kometa-classic-light diff --git a/plasma5/XDG_CONFIG_DIRS/powermanagementprofilesrc b/plasma5/XDG_CONFIG_DIRS/powermanagementprofilesrc new file mode 100644 index 0000000..567a543 --- /dev/null +++ b/plasma5/XDG_CONFIG_DIRS/powermanagementprofilesrc @@ -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 diff --git a/plasma5/XDG_DATA_DIRS/kservices5/ServiceMenus/setAsWallpaper.desktop b/plasma5/XDG_DATA_DIRS/kservices5/ServiceMenus/setAsWallpaper.desktop new file mode 100644 index 0000000..7952ea0 --- /dev/null +++ b/plasma5/XDG_DATA_DIRS/kservices5/ServiceMenus/setAsWallpaper.desktop @@ -0,0 +1,26 @@ +[Desktop Entry] +Type=Service +ServiceTypes=KonqPopupMenu/Plugin +MimeType=image/*; +Actions=SetAsWallpaper; +X-KDE-Priority=TopLevel +X-KDE-StartupNotify=false + +[Desktop Action SetAsWallpaper] +Icon=preferences-desktop-wallpaper +Name=Set as Wallpaper +Name[ar]=تعيين كخلفية سطح المكتب +Name[cn]=设置为桌面背景 +Name[de]=Als Desktophintergrund festlegen +Name[en]=Set as Wallpaper +Name[es]=Establecer como fondo de escritorio +Name[fr]=Choisir comme arrière-plan du Bureau +Name[hi_IN]=डेस्कटॉप पृष्ठभूमि के रूप में सेट करें +Name[id]=Definir como fundo de ambiente de trabalho +Name[it]=Imposta come sfondo del desktop +Name[jp]=デスクトップの背景として設定 +Name[pl]=Ustaw jako tło pulpitu +Name[pt]=Definir como fundo de ambiente de trabalho +Name[ru]=Сделать фоновым изображением рабочего стола +Name[ua]=Установити як фон робочого стола +Exec=qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i - + @@ -199,5 +199,6 @@ +