From 0f02deea4f7da5ee186433cc71a7ba0193a8f52d Mon Sep 17 00:00:00 2001 From: Artem Proskurnev Date: Wed, 29 Dec 2021 16:28:44 +0300 Subject: [PATCH] Add default yandex to chromium --- kometa-std-desktop-1.1/chromium.json | 46 +++++++++++++++++++ .../{preferences.xml => inkscape.xml} | 0 kometa-std-desktop.spec | 7 ++- 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 kometa-std-desktop-1.1/chromium.json rename kometa-std-desktop-1.1/{preferences.xml => inkscape.xml} (100%) diff --git a/kometa-std-desktop-1.1/chromium.json b/kometa-std-desktop-1.1/chromium.json new file mode 100644 index 0000000..3695019 --- /dev/null +++ b/kometa-std-desktop-1.1/chromium.json @@ -0,0 +1,46 @@ +{ + "browser": { + "custom_chrome_frame": true + }, + "extensions": { + "theme": { + "use_system": true + } + }, + "homepage": "https://yandex.ru", + "homepage_is_newtabpage": false, + "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": "", + "favicon_url": "https://yastatic.net/s3/web4static/_/v2/ZcejnfbLE_TlMK13nS41mdC4A88.png", + "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", + "logo_url": "https://storage.ape.yandex.net/get/browser/Doodles/yandex/drawable-xxhdpi/yandex.png", + "new_tab_url": "chrome://new-tab-page", + "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 + } + } +} diff --git a/kometa-std-desktop-1.1/preferences.xml b/kometa-std-desktop-1.1/inkscape.xml similarity index 100% rename from kometa-std-desktop-1.1/preferences.xml rename to kometa-std-desktop-1.1/inkscape.xml diff --git a/kometa-std-desktop.spec b/kometa-std-desktop.spec index 7a73800..0e0e2bf 100644 --- a/kometa-std-desktop.spec +++ b/kometa-std-desktop.spec @@ -29,9 +29,11 @@ Default settings for applications %define ftdir "/usr/lib/rpm" mkdir -p %buildroot%skeldir/.config/inkscape +mkdir -p %buildroot%skeldir/.config/chromium/Default mkdir -p %buildroot%skeldesktopdir mkdir -p %buildroot%ftdir -install -pm644 preferences.xml %buildroot%skeldir/.config/inkscape +install -pm644 inkscape.xml %buildroot%skeldir/.config/inkscape/preferences.xml +install -pm644 chromium.json %buildroot%skeldir/.config/chromium/Default/Preferences install -pm644 Home.desktop %buildroot%skeldesktopdir install -pm644 trash.desktop %buildroot%skeldesktopdir install -pm644 Документ.ott %buildroot%skeldesktopdir @@ -41,6 +43,7 @@ install -pm755 brandicons.filetrigger %buildroot%ftdir %files "/etc/skel/.config/inkscape/preferences.xml" +"/etc/skel/.config/chromium/Default/Preferences" "/etc/skel/Рабочий стол/Home.desktop" "/etc/skel/Рабочий стол/trash.desktop" "/etc/skel/Рабочий стол/Документ.ott" @@ -50,7 +53,7 @@ install -pm755 brandicons.filetrigger %buildroot%ftdir %changelog * Wed Dec 29 2021 Artem Proskurnev 1.1-kometa1 -- Change Inkscape deafult theme. In a standard theme, icons are not visible on a dark background. +- Change Inkscape deafult theme. In a standard theme, icons are not visible on a dark background. Chromium <- yandex.ru * Fri Dec 17 2021 Artem Proskurnev 1.0-kometa2 - Only desktop icons + filetrigger kometa -> basealt, altlinux