Nainstalujte Breeze na Kubuntu 14.04, aniž byste museli umírat

Již v DesdeLinuxu vám ukážeme, jak nainstalovat Vánek (nové umělecká díla a KDE styl 5) v ArchLinuxu a podobně, nicméně některé distribuce jako Kubuntu nebo Fedora nemají potřebné balíčky v úložištích. Co udělám s tímto příspěvkem, je ukázat vám, jak nainstalovat Breeze v Kubuntu, aniž byste při pokusu zemřeli.

Jak nainstalovat Breeze na Kubuntu?

K instalaci Breeze na Kubuntu použijeme balíčky poskytované ArchLinuxem. Je možné, že tento výukový program v budoucnu nebude fungovat, nebo že se odkazy změní, pokud aktualizujete balíčky, které se chystáme stáhnout.

Nejprve se ujistíme, že máme balíček nainstalovaný xz-utils abychom mohli dekomprimovat soubory, které se chystáme stáhnout. Nyní budeme pokračovat otevřením terminálu a vložením:

mkdir ~ / Breeze cd ~ / Breeze /

Nyní, když jsme ve složce, stahujeme balíčky z úložišť ArchLinux:

Za 32 bitů

wget -c http://mirror.gnomus.de/extra/os/i686/breeze-5.1.1-1-i686.pkg.tar.xz && wget -c http://mirror.gnomus.de/extra/ os / i686 / breeze-kde4-5.1.1-1-i686.pkg.tar.xz

Za 64 bitů

wget -c http://mirror.gnomus.de/extra/os/x86_64/breeze-5.1.1-1-x86_64.pkg.tar.xz &&
wget -c http://mirror.gnomus.de/extra/os/x86_64/breeze-kde4-5.1.1-1-x86_64.pkg.tar.xz

Nyní je rozbalíme:

tar -Jxf breeze-5.1.1-1-x86_64.pkg.tar.xz
tar -Jxf breeze-kde4-5.1.1-1-x86_64.pkg.tar.xz

V důsledku toho budeme mít uvnitř Breeze složku nazvanou usr. Nyní pokračujeme v kopírování potřebných souborů:

cd usr / lib / sudo cp -Rv kconf_update_bin / / usr / lib / sudo cp -Rv kde4 / / usr / lib / sudo cp -Rv qt / * / usr / lib / qt4 / sudo cp -Rv qt4 / / usr / lib / cd ../share/ sudo cp -Rv aplikace / usr / share / sudo cp -Rv barevná schémata / usr / share / sudo cp -Rv ikony / usr / share / sudo cp -Rv kconf_update / usr / share / sudo cp -Rv kservices5 / usr / share / sudo cp -Rv kstyle / usr / share / sudo cp -Rv kwin / usr / share / sudo cp -Rv locale / usr / share / sudo cp -Rv QtCurve / usr / share / sudo cp -Rv tapety / usr / sdílet /

Tímto způsobem již budeme mít styl k dispozici v našem systému. Budeme Předvolby »Vzhled aplikací» Styl a vybereme Breeze.

Nainstalujte Breeze

A to je vše, milí přátelé. Tímto způsobem můžeme nainstalovat Breeze do těch distribucí, které nemají ve svých úložištích potřebný balíček.

Jak odinstalovat Breeze na Kubuntu?

Dobře, naučil jsi mě Instalovat Breeze a teď ho chci odinstalovat

V zásadě uděláme obrácený proces. Nezapomeňte uložit složky / usr / share a / usr / lib

Vytvoříme textový soubor s názvem DeleteBreeze.sh a vložíme jej dovnitř:

#!/bin/bash
rm -Rfv /usr/lib/kconf_update_bin/kde4breeze
rm -Rfv /usr/lib/kde4/plugins/styles/breeze.so
rm -Rfv /usr/lib/kde4/kstyle_breeze_config.so
rm -Rfv /usr/lib/qt4/plugins/styles/breeze.so
rm -Rfv /usr/lib/qt/plugins/kstyle_breeze_config.so
rm -Rfv /usr/lib/qt/plugins/styles/breeze.so
rm -Rfv /usr/lib/qt/qml/QtQuick/Controls/Styles/Breeze
rm -Rfv /usr/share/kconf_update/kde4breeze.upd
rm -Rfv /usr/share/icons/breeze
rm -Rfv /usr/share/icons/breeze-dark
rm -Rfv /usr/share/icons/breeze_cursors
rm -Rfv /usr/share/color-schemes/Breeze.colors
rm -Rfv /usr/share/color-schemes/BreezeDark.colors
rm -Rfv /usr/share/kservices5/kwin/kwin4_decoration_qml_breeze.desktop
rm -Rfv /usr/share/locale/nds/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/uk/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/sr@ijekavian/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/pt/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/sr@latin/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/pl/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/ko/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/pt_BR/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/ja/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/zh_CN/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/sr@ijekavianlatin/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/sv/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/de/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/ru/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/fi/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/zh_TW/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/el/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/cs/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/es/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/ca/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/hu/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/nl/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/da/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/sl/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/sr/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/nb/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/en_GB/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/locale/sk/LC_MESSAGES/breeze_style_config.mo
rm -Rfv /usr/share/QtCurve/Breeze.qtcurve
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/ShadowEdge.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/ShadowGradient.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeApplicationMenuButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/ShadowCorner.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeMinimizeButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeCloseButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeMaximizeButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeHelpButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeKeepBelowButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeKeepAboveButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/config.ui
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeStickyButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/main.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeShadeButton.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/ShadowFrame.qml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/config/main.xml
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/config
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/contents
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze/metadata.desktop
rm -Rfv /usr/share/kwin/decorations/kwin4_decoration_qml_breeze
rm -Rfv /usr/share/apps/color-schemes/Breeze.colors
rm -Rfv /usr/share/apps/color-schemes/BreezeDark.colors
rm -Rfv /usr/share/apps/QtCurve/Breeze.qtcurve
rm -Rfv /usr/share/apps/kstyle/themes/breeze.themerc
rm -Rfv /usr/share/wallpapers/Next/
rm -Rfv /usr/share/kstyle/themes/breeze.themerc
exit 0

Uložíme to a udělíme mu oprávnění:

chmod a + x ClearBreeze.sh

A pak to spustíme:

sudo ./DeleteBreeze.sh

A to je vše.