Only desktop files and filetrigger for icons

master
Artem Proskurnev 3 years ago
parent aa3d6feb9e
commit f46cc5526e
  1. 23
      kometa-std-desktop-1.0/brandicons.filetrigger
  2. 4
      kometa-std-desktop-1.0/dolphinrc
  3. 2
      kometa-std-desktop-1.0/kcminputrc
  4. 4
      kometa-std-desktop-1.0/kdeglobals
  5. 13
      kometa-std-desktop-1.0/kxkbrc
  6. 24
      kometa-std-desktop.spec

@ -0,0 +1,23 @@
#!/bin/sh
#
# RPM filetrigger for branding icons.
#
# Copyright (C) 2021 Artem Proskurnev <tema@proskurnevs.ru>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
for i in $(egrep "(basealt.png|basealt.svg|altlinux.png|altlinux.svg)")
do
f=$(basename $i)
d=$(dirname $i)
suff=$(echo $f | egrep -o "(png|svg)")
f=$(echo $f | egrep -o "(altlinux|basealt)")
k=$d/kometa.$suff
if [ -e $k ]
then
cp -f $k $d/$f.$suff
fi
done

@ -1,4 +0,0 @@
[General]
GlobalViewProps=false
[PreviewSettings]
Plugins=webarchivethumbnail,ffmpegthumbs,imagethumbnail,exrthumbnail,jpegthumbnail,windowsimagethumbnail,svgthumbnail,directorythumbnail,htmlthumbnail,textthumbnail,djvuthumbnail

@ -1,2 +0,0 @@
[Keyboard]
NumLock=1

@ -1,4 +0,0 @@
[KDE]
SingleClick=false
[Translations]
LANGUAGE=ru

@ -1,13 +0,0 @@
[Layout]
DisplayNames=АНГ,РУС
LayoutList=us,ru
LayoutLoopCount=-1
Model=pc101
Options=compose:menu,grp:alt_shift_toggle
ResetOldOptions=true
ShowFlag=false
ShowLabel=true
ShowLayoutIndicator=true
ShowSingle=false
SwitchMode=WinClass
Use=true

@ -1,6 +1,6 @@
Name: kometa-std-desktop
Version: 1.0
Release: kometa1
Release: kometa2
Summary: Kometa Desktop
License: GPLv3
@ -10,28 +10,25 @@ BuildArch: noarch
Source: %name-%version.tar
%description
Standart files on Desktop and defaults
Standart files on Desktop and kometa icons
%description -l ru_RU.UTF-8
Файлы по умолчанию для Рабочего стола Кометы и настройки приложений
Файлы по умолчанию для Рабочего стола Кометы и настройка иконок
%prep
%setup
%install
%define skeldesktopdir "/etc/skel/Рабочий стол"
%define skelconfig "/etc/skel/.config"
%define ftdir "/usr/lib/rpm"
mkdir -p %buildroot%skeldesktopdir
mkdir -p %buildroot%skelconfig
mkdir -p %buildroot%ftdir
install -pm644 Home.desktop %buildroot%skeldesktopdir
install -pm644 trash.desktop %buildroot%skeldesktopdir
install -pm644 Документ.ott %buildroot%skeldesktopdir
install -pm644 Таблица.ots %buildroot%skeldesktopdir
install -pm644 Презентация.otp %buildroot%skeldesktopdir
install -pm644 dolphinrc %buildroot%skelconfig
install -pm644 kdeglobals %buildroot%skelconfig
install -pm644 kxkbrc %buildroot%skelconfig
install -pm644 kcminputrc %buildroot%skelconfig
install -pm755 brandicons.filetrigger %buildroot%ftdir
%files
"/etc/skel/Рабочий стол/Home.desktop"
@ -39,13 +36,12 @@ install -pm644 kcminputrc %buildroot%skelconfig
"/etc/skel/Рабочий стол/Документ.ott"
"/etc/skel/Рабочий стол/Презентация.otp"
"/etc/skel/Рабочий стол/Таблица.ots"
"/etc/skel/.config/dolphinrc"
"/etc/skel/.config/kdeglobals"
"/etc/skel/.config/kxkbrc"
"/etc/skel/.config/kcminputrc"
"/usr/lib/rpm/brandicons.filetrigger"
%changelog
* Fri Dec 17 2021 Artem Proskurnev <tema@proskurnevs.ru> 1.0-kometa2
- Only desktop icons + filetrigger kometa -> basealt, altlinux
* Thu Oct 21 2021 1.0-kometa1
- Dolphin, single click, ru/us == РУС/АНГ, Num Lock

Loading…
Cancel
Save