remove setAsWallpaper.desktop

p11 2.3-alt1
Mikhail Novosyolov 2 years ago
parent 178cbcb7c9
commit 14d49e1da0
  1. 12
      mos-xdg.spec
  2. 26
      plasma5/XDG_DATA_DIRS/kservices5/ServiceMenus/setAsWallpaper.desktop

@ -5,8 +5,8 @@ Summary: XDG desktop settings for M OS distros
Summary(ru): Настройки рабочего окружения дистрибутивов М ОС Summary(ru): Настройки рабочего окружения дистрибутивов М ОС
License: GPL-3.0 License: GPL-3.0
Group: Graphical desktop/Other Group: Graphical desktop/Other
Version: 2.2 Version: 2.3
Release: alt2 Release: alt1
Source0: %name-%version.tar Source0: %name-%version.tar
Source1: COPYING Source1: COPYING
BuildArch: noarch BuildArch: noarch
@ -77,10 +77,7 @@ KDE 5 desktop settings for classic variant of M OS
/etc/xdg/mos/mimeapps.list /etc/xdg/mos/mimeapps.list
%dir /usr/share/mos/kxmlgui5 %dir /usr/share/mos/kxmlgui5
%dir /usr/share/mos/kxmlgui5/dolphin %dir /usr/share/mos/kxmlgui5/dolphin
%dir /usr/share/mos/kservices5
%dir /usr/share/mos/kservices5/ServiceMenus
/usr/share/mos/kxmlgui5/dolphin/dolphinui.rc /usr/share/mos/kxmlgui5/dolphin/dolphinui.rc
/usr/share/mos/kservices5/ServiceMenus/setAsWallpaper.desktop
#-------------------------------------------------------------- #--------------------------------------------------------------
@ -112,6 +109,11 @@ cd scripts
./test.sh ./test.sh
%changelog %changelog
* Mon Nov 21 2022 Mikhail Novosyolov <mikhailnov@altlinux.org> 2.3-alt1
- remove setAsWallpaper.desktop, it now exists in plasma5-workspace
$ rpm -qf /usr/share/kservices5/ServiceMenus/setaswallpaper.desktop
plasma5-workspace-5.24.6-alt6.x86_64
* Fri Nov 18 2022 Mikhail Novosyolov <mikhailnov@altlinux.org> 2.2-alt2 * Fri Nov 18 2022 Mikhail Novosyolov <mikhailnov@altlinux.org> 2.2-alt2
- Own directory /etc/xdg/mos/autostart (will be used in other packages) - Own directory /etc/xdg/mos/autostart (will be used in other packages)

@ -1,26 +0,0 @@
[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<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "%u")}';
Loading…
Cancel
Save