horst3180/ceti-2-theme

语言: CSS

git: https://github.com/horst3180/ceti-2-theme

Ceti官方延续Gnome 3.14,3.16和3.18
Official continuation of Ceti for Gnome 3.14, 3.16 and 3.18
README.md (中文)

Ceti-2主题

Ceti-2是GTK 3,GTK 2和Gnome-Shell的主题。它支持基于GTK 3和GTK 2的桌面环境,如Gnome,Unity,Budgie,Pantheon等。

Ceti-2是Ceti对Gnome 3.14,3.16和3.18的官方延续。它已经完全改版,现在基于Vertex。

要求

  • Gnome / GTK 3.14,3.16或3.18
  • gnome-themes-standard包
  • 黑帮引擎。根据您的发行版,这有不同的名称。
  • gtk-engine-murrine(Arch Linux)
  • gtk2-engines-murrine(Debian,Ubuntu,基本操作系统)
  • gtk-murrine-engine(Fedora)
  • gtk2-engine-murrine(openSUSE)
  • gtk-engines-murrine(Gentoo)

满足这些要求的主要分布是

  • 基于Arch Linux和Arch Linux的发行版
  • Ubuntu 15.04
  • 小学OS Freya
  • Debian Jessie,测试或不稳定
  • Gentoo的
  • Fedora 21和22
  • OpenSuse 13.2和Tumbleweed

这些分布的衍生物也应该有效。

如果未列出您的发行版,请自行检查要求。

安装

重要说明:在继续操作之前,请从系统中删除所有旧版本的主题。

sudo rm -rf /usr/share/themes/Ceti-2
rm -rf ~/.local/share/themes/Ceti-2
rm -rf ~/.themes/Ceti-2

Ubuntu,Debian,Fedora和openSUSE的预构建软件包可在以下网站获得

HTTP://software.open素色.org/download.HTML?project=home%3A Horst3180&package=侧踢-2-theme

Arch Linux用户可以从AUR安装主题

HTTPS://AU R.Arch Linux.org/packages/侧踢-2-themes/

HTTPS://AU R.Arch Linux.org/packages/侧踢-2-themes-git/

手动安装

构建您需要的主题  autoconf的  automake的  如果你使用Fedora,请使用pkg-config或pkgconfig  libgtk-3-dev用于基于Debian的发行版或gtk3-devel用于基于RPM的发行版 * git如果要克隆源目录

如果您的发行版不提供单独的开发包,则只需要GTK 3而不是-dev包。

使用以下命令安装主题

1.获取来源

如果要从git安装最新版本,请使用以下命令克隆存储库

git clone https://github.com/horst3180/ceti-2-theme --depth 1 && cd ceti-2-theme

如果要安装最新的稳定版本,请运行

git clone https://github.com/horst3180/ceti-2-theme --depth 1 && cd ceti-2-theme
git fetch --tags
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)

或者从https://github.com/horst3180/Ceti-2-theme/releases下载并cd到提取的档案中

2.构建并安装主题

./autogen.sh --prefix=/usr
sudo make install

传递给autogen.sh的其他选项是

--disable-gnome-shell      disable GNOME Shell support
--disable-gtk2             disable GTK2 support
--disable-gtk3             disable GTK3 support
--disable-metacity         disable Metacity support
--disable-unity            disable Unity support
--disable-xfwm             disable XFWM support

--with-gnome=<version>     build the theme for a specific Gnome version (3.14, 3.16, 3.18)
                           Note: Normally the correct version is detected automatically and this
                           option should not be needed.

安装完成后,您可以通过选择Ceti-2激活gnome-tweak-tool或类似程序的主题。

卸载主题

sudo make uninstall

来自此README所在的目录,或

sudo rm -rf /usr/share/themes/Ceti-2

附加功能

与此README所在目录相同的额外目录包含一个Chrome / Chromium主题和另一个metacity主题,它隐藏了最大化窗口的窗口标题(不适用于Gnome 3.16及更高版本)。

要安装Chrome / Chromium主题,请转到extra / Chrome文件夹,然后将Ceti-2-chrome.crx拖放到Chrome / Chromium窗口中。 Chrome主题的来源位于源“Chrome /来源”文件夹中。

要安装备用metacity主题,请将Ceti-2-alternative-metacity文件夹复制到/ usr / share / themes并选择它作为窗口主题。

故障排除

如果您在Unity下获得黑色或不可见背景等工件,请禁用覆盖滚动条

gsettings set com.canonical.desktop.interface scrollbar-mode normal

错误报告

如果您发现错误,请通过https://github.com/horst3180/Ceti-2-theme/issues报告

alt tag

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

Ceti-2 Theme

Ceti-2 is a theme for GTK 3, GTK 2 and Gnome-Shell. It supports GTK 3 and GTK 2 based desktop environments like Gnome, Unity, Budgie, Pantheon, etc.

Ceti-2 is the official continuation of Ceti for Gnome 3.14, 3.16 and 3.18. It has been completely revamped and is now based on Vertex.

Requirements

  • Gnome/GTK 3.14, 3.16 or 3.18
  • The gnome-themes-standard package
  • The murrine engine. This has different names depending on your distro.
  • gtk-engine-murrine (Arch Linux)
  • gtk2-engines-murrine (Debian, Ubuntu, elementary OS)
  • gtk-murrine-engine (Fedora)
  • gtk2-engine-murrine (openSUSE)
  • gtk-engines-murrine (Gentoo)

Main distributions that meet these requirements are

  • Arch Linux and Arch Linux based distros
  • Ubuntu 15.04
  • elementary OS Freya
  • Debian Jessie, Testing or Unstable
  • Gentoo
  • Fedora 21 and 22
  • OpenSuse 13.2 and Tumbleweed

Derivatives of these distributions should work, aswell.

If your distribution is not listed, please check the requirements yourself.

Installation

Important: Remove all older versions of the theme from your system before you proceed any further.

sudo rm -rf /usr/share/themes/Ceti-2
rm -rf ~/.local/share/themes/Ceti-2
rm -rf ~/.themes/Ceti-2

Packages

Prebuilt packages for Ubuntu, Debian, Fedora and openSUSE are available at

http://software.opensuse.org/download.html?project=home%3AHorst3180&package=ceti-2-theme

Arch Linux users can install the theme from the AUR

https://aur.archlinux.org/packages/ceti-2-themes/

https://aur.archlinux.org/packages/ceti-2-themes-git/

Manual Installation

To build the theme you need
autoconf
automake
pkg-config or pkgconfig if you use Fedora
libgtk-3-dev for Debian based distros or gtk3-devel for RPM based distros
* git if you want to clone the source directory

If your distributions doesn't ship separate development packages you just need GTK 3 instead of the -dev packages.

Install the theme with the following commands

1. Get the source

If you want to install the latest version from git, clone the repository with

git clone https://github.com/horst3180/ceti-2-theme --depth 1 && cd ceti-2-theme

If you want to install the latest stable release, run

git clone https://github.com/horst3180/ceti-2-theme --depth 1 && cd ceti-2-theme
git fetch --tags
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)

or download it from https://github.com/horst3180/Ceti-2-theme/releases and cd into the extracted archive

2. Build and install the theme

./autogen.sh --prefix=/usr
sudo make install

Other options to pass to autogen.sh are

--disable-gnome-shell      disable GNOME Shell support
--disable-gtk2             disable GTK2 support
--disable-gtk3             disable GTK3 support
--disable-metacity         disable Metacity support
--disable-unity            disable Unity support
--disable-xfwm             disable XFWM support

--with-gnome=<version>     build the theme for a specific Gnome version (3.14, 3.16, 3.18)
                           Note: Normally the correct version is detected automatically and this
                           option should not be needed.

After the installation is complete you can activate the theme with gnome-tweak-tool or a similar program by selecting Ceti-2.

Uninstall the theme

Run

sudo make uninstall

from the same directory as this README resides in, or

sudo rm -rf /usr/share/themes/Ceti-2

Extras

The extra directory in the same directory as this README resides in contains a Chrome/Chromium theme and an alternative metacity theme, which hides the window titles of maximized windows (doesn't work on Gnome 3.16 and up).

To install the Chrome/Chromium theme go to the extra/Chrome folder and drag and drop the Ceti-2-chrome.crx into the Chrome/Chromium window. The source of the Chrome themes is located in the source "Chrome/source" folder.

To install the alternative metacity theme, copy the Ceti-2-alternative-metacity folder to /usr/share/themes and select it as window theme.

Troubleshooting

If you get artifacts like black or invisible backgrounds under Unity, disable overlay scrollbars with

gsettings set com.canonical.desktop.interface scrollbar-mode normal

Bug reporting

If you find a bug, please report it at https://github.com/horst3180/Ceti-2-theme/issues

alt tag