- Power management - OpenBoard settings - LibreOffice VerticalRuler - Kometa repo - kdeglobals -> kometa-xdg - Disable presenter console LO Impress - Docs -> kometa-docdir - KDE5 preview plugins - Chromium - default - Change Inkscape deafult theme. In a standard theme, icons are not visible on a dark background. Chromium <- yandex.ru - Only desktop icons + filetrigger kometa -> basealt, altlinux - Dolphin, single click, ru/us == РУС/АНГ, Num Lockmaster
parent
22757f7700
commit
a95d4b4e3f
@ -0,0 +1,87 @@ |
|||||||
|
Name: mos-std-desktop |
||||||
|
Version: 1.0 |
||||||
|
Release: alt1 |
||||||
|
|
||||||
|
Summary: M OS default desktop settings |
||||||
|
Summary(ru_RU.UTF-8): Начальные настройки пользователя операционной системы М |
||||||
|
|
||||||
|
License: GPLv3 |
||||||
|
Group: System/Configuration/Other |
||||||
|
Url: http://osmesh.ru |
||||||
|
BuildArch: noarch |
||||||
|
Requires: xmlstarlet |
||||||
|
Source: %name-%version.tar |
||||||
|
|
||||||
|
%description |
||||||
|
Standart files on Desktop and M OS icons, ovewrite basealt logo |
||||||
|
Default settings for applications |
||||||
|
|
||||||
|
%description -l ru_RU.UTF-8 |
||||||
|
Файлы по умолчанию для Рабочего стола Эмки, настройка приложений и настройка иконок. |
||||||
|
Файловый триггер используется, чтобы не создавалось ошибочного впечателния, что М - продукт компании Базальт. |
||||||
|
Все изображения логотипа затираются и используются изображения логотипа М. |
||||||
|
|
||||||
|
%prep |
||||||
|
%setup |
||||||
|
|
||||||
|
%install |
||||||
|
%define skeldir "/etc/skel" |
||||||
|
%define skelconfigdir "/etc/skel/.config" |
||||||
|
%define skellocalsharedir "/etc/skel/.local/share" |
||||||
|
%define skeldesktopdir "/etc/skel/Рабочий стол" |
||||||
|
%define ftdir "/usr/lib/rpm" |
||||||
|
%define aptdir "/etc/apt/sources.list.d" |
||||||
|
|
||||||
|
mkdir -p %buildroot%skelconfigdir |
||||||
|
mkdir -p %buildroot%skelconfigdir/inkscape |
||||||
|
mkdir -p %buildroot%skelconfigdir/chromium/Default |
||||||
|
mkdir -p %buildroot%skelconfigdir/libreoffice/4/user |
||||||
|
mkdir -p %buildroot%skellocalsharedir/OpenBoard |
||||||
|
mkdir -p %buildroot%skeldesktopdir |
||||||
|
mkdir -p %buildroot%ftdir |
||||||
|
mkdir -p %buildroot%aptdir |
||||||
|
|
||||||
|
install -pm644 powermanagementprofilesrc %buildroot%skelconfigdir |
||||||
|
install -pm644 inkscape.xml %buildroot%skelconfigdir/inkscape/preferences.xml |
||||||
|
install -pm644 chromium.json %buildroot%skelconfigdir/chromium/Default/Preferences |
||||||
|
install -pm644 libreoffice.xcu %buildroot%skelconfigdir/libreoffice/4/user/registrymodifications.xcu |
||||||
|
install -pm644 OpenBoardUser.config %buildroot%skellocalsharedir/OpenBoard |
||||||
|
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 -pm755 brandicons.filetrigger %buildroot%ftdir |
||||||
|
install -pm755 previewplugins.filetrigger %buildroot%ftdir |
||||||
|
install -pm644 mos.list %buildroot%aptdir |
||||||
|
|
||||||
|
%files |
||||||
|
"/etc/skel/.config/powermanagementprofilesrc" |
||||||
|
"/etc/skel/.config/inkscape/preferences.xml" |
||||||
|
"/etc/skel/.config/chromium/Default/Preferences" |
||||||
|
"/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu" |
||||||
|
"/etc/skel/.local/share/OpenBoard/OpenBoardUser.config" |
||||||
|
"/etc/skel/Рабочий стол/Home.desktop" |
||||||
|
"/etc/skel/Рабочий стол/trash.desktop" |
||||||
|
"/etc/skel/Рабочий стол/Документ.ott" |
||||||
|
"/etc/skel/Рабочий стол/Презентация.otp" |
||||||
|
"/etc/skel/Рабочий стол/Таблица.ots" |
||||||
|
"/usr/lib/rpm/brandicons.filetrigger" |
||||||
|
"/usr/lib/rpm/previewplugins.filetrigger" |
||||||
|
"/etc/apt/sources.list.d/mos.list" |
||||||
|
|
||||||
|
%changelog |
||||||
|
* Thu Apr 21 2022 Artem Proskurnev <tema@altlinux.org> 1.0-alt1 |
||||||
|
- Power management |
||||||
|
- OpenBoard settings |
||||||
|
- LibreOffice VerticalRuler |
||||||
|
- Kometa repo |
||||||
|
- kdeglobals -> kometa-xdg |
||||||
|
- Disable presenter console LO Impress |
||||||
|
- Docs -> kometa-docdir |
||||||
|
- KDE5 preview plugins |
||||||
|
- Chromium - default |
||||||
|
- Change Inkscape deafult theme. In a standard theme, icons are not visible on a dark background. Chromium <- yandex.ru |
||||||
|
- Only desktop icons + filetrigger kometa -> basealt, altlinux |
||||||
|
- Dolphin, single click, ru/us == РУС/АНГ, Num Lock |
||||||
|
|
@ -0,0 +1,11 @@ |
|||||||
|
[App] |
||||||
|
EnableAutomaticSoftwareUpdates=false |
||||||
|
ToolBarOrientationVertical=true |
||||||
|
ToolBarPositionedAtTop=false |
||||||
|
UseSystemOnScreenKeyboard=false |
||||||
|
|
||||||
|
[Board] |
||||||
|
KeyboardPaletteKeyBtnSize=41x41 |
||||||
|
LeftLibPaletteBoardModeIsCollapsed=false |
||||||
|
PenPressureSensitive=false |
||||||
|
RightLibPaletteBoardModeIsCollapsed=false |
@ -0,0 +1,28 @@ |
|||||||
|
#!/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)") |
||||||
|
kpng=$d/kometa.png |
||||||
|
ksvg=$d/kometa.svg |
||||||
|
if [ -e $kpng ] |
||||||
|
then |
||||||
|
/bin/cp -f $kpng $d/$f.png |
||||||
|
fi |
||||||
|
if [ -e $ksvg ] |
||||||
|
then |
||||||
|
/bin/cp -f $ksvg $d/$f.svg |
||||||
|
fi |
||||||
|
done |
@ -0,0 +1,40 @@ |
|||||||
|
{ |
||||||
|
"session": { |
||||||
|
"restore_on_startup": 4, |
||||||
|
"startup_urls": [ |
||||||
|
"https://yandex.ru/" |
||||||
|
] |
||||||
|
}, |
||||||
|
"default_search_provider_data": { |
||||||
|
"template_url_data": { |
||||||
|
"alternate_urls": [], |
||||||
|
"contextual_search_url": "", |
||||||
|
"created_by_policy": false, |
||||||
|
"created_from_play_api": false, |
||||||
|
"date_created": "0", |
||||||
|
"doodle_url": "", |
||||||
|
"id": "3", |
||||||
|
"image_url": "https://yandex.ru/images/search/?rpt=imageview", |
||||||
|
"image_url_post_params": "upfile={google:imageThumbnail},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
||||||
|
"input_encodings": [ |
||||||
|
"UTF-8" |
||||||
|
], |
||||||
|
"is_active": 0, |
||||||
|
"keyword": "yandex.ru", |
||||||
|
"last_modified": "0", |
||||||
|
"last_visited": "0", |
||||||
|
"logo_url": "https://storage.ape.yandex.net/get/browser/Doodles/yandex/drawable-xxhdpi/yandex.png", |
||||||
|
"new_tab_url": "https://www.yandex.ru/chrome/newtab", |
||||||
|
"originating_url": "", |
||||||
|
"preconnect_to_search_url": false, |
||||||
|
"prepopulate_id": 15, |
||||||
|
"safe_for_autoreplace": true, |
||||||
|
"search_url_post_params": "", |
||||||
|
"short_name": "Яндекс", |
||||||
|
"suggestions_url": "https://suggest.yandex.ru/suggest-ff.cgi?part={searchTerms}&{google:cursorPosition}", |
||||||
|
"suggestions_url_post_params": "", |
||||||
|
"url": "https://yandex.ru/{yandex:searchPath}?text={searchTerms}&{yandex:referralID}", |
||||||
|
"usage_count": 0 |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,41 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||||
|
<inkscape |
||||||
|
version="1" |
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"> |
||||||
|
<group |
||||||
|
id="theme" |
||||||
|
defaultPreferDarkTheme="1" |
||||||
|
defaultGtkTheme="Breeze" |
||||||
|
defaultIconTheme="breeze-dark" |
||||||
|
symbolicIcons="0" |
||||||
|
preferDarkTheme="1" |
||||||
|
darkTheme="1" |
||||||
|
symbolicDefaultBaseColors="1" |
||||||
|
symbolicDefaultHighColors="1" |
||||||
|
menuIcons_canvas="0" |
||||||
|
menuIcons_layers="0" |
||||||
|
menuIcons_objects="0" |
||||||
|
iconTheme="multicolor" |
||||||
|
gtkTheme="Minwaita-Inkscape" /> |
||||||
|
<group |
||||||
|
id="options"> |
||||||
|
<group |
||||||
|
id="boot" |
||||||
|
canvas="dark"> |
||||||
|
</group> |
||||||
|
</group> |
||||||
|
<group |
||||||
|
id="template"> |
||||||
|
<sodipodi:namedview |
||||||
|
id="base" |
||||||
|
pagecolor="#505050" |
||||||
|
pageopacity="0" |
||||||
|
pagecheckerboard="0" |
||||||
|
bordercolor="#eeeeee" |
||||||
|
borderopacity="1" |
||||||
|
objecttolerance="10.0" |
||||||
|
gridtolerance="10.0" |
||||||
|
guidetolerance="10.0" |
||||||
|
pageshadow="0" /> |
||||||
|
</group> |
||||||
|
</inkscape> |
@ -0,0 +1,6 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
||||||
|
<item oor:path="/org.openoffice.Office.Impress/Misc/Start"><prop oor:name="EnablePresenterScreen" oor:op="fuse"><value>false</value></prop></item> |
||||||
|
<item oor:path="/org.openoffice.Office.Writer/Layout/Window"><prop oor:name="VerticalRuler" oor:op="fuse"><value>true</value></prop></item> |
||||||
|
</oor:items> |
||||||
|
|
@ -0,0 +1,5 @@ |
|||||||
|
# Kometa |
||||||
|
|
||||||
|
rpm http://osmesh.ru/repo/p10 x86_64 hasher |
||||||
|
rpm http://osmesh.ru/repo/p10 noarch hasher |
||||||
|
rpm http://osmesh.ru/repo/p10 x86_64-i586 hasher |
@ -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 |
@ -0,0 +1,33 @@ |
|||||||
|
#!/bin/sh |
||||||
|
# |
||||||
|
# RPM filetrigger for kde5 preview plugins. |
||||||
|
# |
||||||
|
# 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. |
||||||
|
|
||||||
|
mf='/usr/share/kf5/plasma/plasmoids/org.kde.desktopcontainment/contents/config/main.xml' |
||||||
|
if egrep -qs $mf; |
||||||
|
then |
||||||
|
if [ -f $mf ]; |
||||||
|
then |
||||||
|
cat $mf > /tmp/main.xml |
||||||
|
f="/tmp/main.xml" |
||||||
|
g="/tmp/group.xml" |
||||||
|
t="/tmp/tempmain.xml" |
||||||
|
gstart=$(cat $f | grep -n "<group" | egrep -o "^[0-9]+") |
||||||
|
gend=$(cat $f | grep -n "</group>" | egrep -o "^[0-9]+") |
||||||
|
awk "NR>=$gstart && NR<=$gend" $f > $g |
||||||
|
awk "NR<$gstart" $f > $t |
||||||
|
xmlstarlet edit -u "/group/entry[@name='previewPlugins']/default" \ |
||||||
|
-v "audiothumbnail,ffmpegthumbs,imagethumbnail,exrthumbnail,jpegthumbnail,\ |
||||||
|
windowsimagethumbnail,svgthumbnail,windowsexethumbnail,comicbookthumbnail,\ |
||||||
|
directorythumbnail,fontthumbnail,blenderthumbnail,rawthumbnail,ebookthumbnail" \ |
||||||
|
$g | awk "NR>1" >> $t |
||||||
|
awk "NR>$gend" $f >> $t |
||||||
|
mv -f $t $mf |
||||||
|
fi |
||||||
|
fi |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue