Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kde/kde-gtk-config
Syncs KDE settings to GTK applications
https://github.com/kde/kde-gtk-config
Last synced: 4 days ago
JSON representation
Syncs KDE settings to GTK applications
- Host: GitHub
- URL: https://github.com/kde/kde-gtk-config
- Owner: KDE
- Created: 2015-09-18T15:48:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T17:32:10.000Z (22 days ago)
- Last Synced: 2024-10-24T01:24:52.266Z (22 days ago)
- Language: C++
- Homepage: https://invent.kde.org/plasma/kde-gtk-config
- Size: 1.18 MB
- Stars: 35
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/BSD-2-Clause.txt
Awesome Lists containing this project
README
# KDE GTK Configurator
This project aims to provide a smooth experience for the users of GNOME/GTK applications on Plasma Desktop.
## 👷 The Structure
KDE GTK Configurator has a number of facilities to ensure a good integration with GTK applications. The main ones are the following:
1. The daemon, that runs in background, which is a core of the whole ecosystem. It has a number of various liabilities.
2. Part of the System Settings Application Style KCM that allows the users to change and manage their GTK applications' themes. [^1]
3. GTK3 color reload module, which allows GTK3 applications, that use [Breeze GTK theme](https://invent.kde.org/plasma/breeze-gtk), to update their UI colors without restarting them.## 😈 The daemon
The daemon itself does the following:
1. Watching for changes inside of various Plasma configuration files and on change also apply that setting for the GTK applications using their configuration methods and values.
2. Applying GTK theme on demand from the Application Style KCM
3. Applying colors for Breeze GTK Theme according to the color scheme set in the Colors KCM.### ⚙ Settings the daemon syncs
- 🔤 UI Font
- 💾 Icon Theme
- 👆 Cursor theme and size
- 🆗 Icons on Buttons (Show them or not)
- 🗒 Icons in Menus (Show them or not)
- 🧰 Toolbar Style
- 📜 Scrollbar behavior on click
- 🌓 Dark Theme Preference (Depending on a color scheme set in Colors KCM)
- ❎ Decorations button order (all GTK themes) and appearance (Breeze GTK theme only)
- 🏃 Animations (Enable/Disable)
- 🎨 Color Scheme (Breeze GTK theme only)### ⚙ GTK configuration methods the daemon uses
On X11 Plasma session the daemon uses mainly [xsettingsd](https://github.com/derat/xsettingsd) daemon to control the appearance of the GTK applications. Additionally it uses `settings.ini` and `.gtkrc-2.0` file to provide some settings, that are not available in the xsettingsd configuration.
On Wayland session the daemon uses [GSettings](https://developer.gnome.org/gio/stable/GSettings.html).
##
[^1]: The code for the UI part is located in the [Plasma Workspace](https://invent.kde.org/plasma/plasma-workspace/-/tree/master/kcms/style)