dde-control-center:基于 DDE 生态的系统控制中心项目

用户可通过该项目管理 Deepin 桌面环境的系统设置。它是 DDE 的控制面板,提供插件扩展功能,支持通过 CMake 开发插件,依赖 Dtk 和 Qt5 等组件构建。【此简介由AI生成】

Branch74Tags829
FilesLast commitLast update
12 days ago
3 months ago
1 year ago
19 days ago
1 year ago
2 years ago
2 months ago
4 days ago
19 days ago
19 days ago
9 months ago
4 days ago
4 days ago
4 days ago
1 year ago
4 days ago
3 years ago
3 years ago
2 years ago
4 days ago
3 years ago
2 months ago
2 months ago

DDE Control Center

DDE Control Center is the control panel of Deepin Desktop Environment.

Dependencies

Check debian/control for build-time and runtime dependencies, or use cmake to check the missing required dependencies.

Installation

Build from source code

  1. Make sure you have installed all dependencies.

  2. Build:

$ cd dde-control-center
$ mkdir Build
$ cd Build
$ cmake ..
$ make
  1. Install:
$ sudo make install

The executable binary file could be found at /usr/bin/dde-control-center after the installation is finished, and plugins will be placed into ${CMAKE_INSTALL_FULL_LIBDIR}/dde-control-center/modules/, usually is /usr/lib/dde-control-center/modules/.

A debian folder is provided to build the package under the deepin linux desktop distribution. To build the package, use the following command:

$ sudo apt build-dep . # install build dependencies
$ dpkg-buildpackage -uc -us -nc -b # build binary package(s)

Usage

Execute dde-control-center -h to get more details.

Note: --spec can be used to debug plugins. The passed in value is the path where the so of plugin is in.

Note: --list prints all modules (url and display name, hidden modules marked with [hidden]) and exits, e.g. dde-control-center --list | grep display. If some plugins do not finish loading within the timeout, the list is still printed and the command exits non-zero.

Getting help

You can press F1 to start deepin-manual when you focus on DDE Control Center window.

You may also find these channels useful if you encounter any other issues:

Develop Plugins with cmake


# just show the target link way

find_package(DdeControlCenter REQUIRED)
find_package(Dtk COMPONENTS Core Widget REQUIRED)
find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED)

add_library(dcc_exampleplugin SHARED
    plugin.h
    plugin.cpp
)

target_link_libraries(dcc_exampleplugin PRIVATE
    Dde::DCCWidget
    Dde::DCCInterface
    Dtk::Core
    Dtk::Widget
    Qt5::Core
    Qt5::Gui
    Qt5::Widgets
)

Getting involved

We encourage you to report issues and contribute changes

License

DDE Control Center is licensed under GPL-3.0-or-later.

Introduction

用户可通过该项目管理 Deepin 桌面环境的系统设置。它是 DDE 的控制面板,提供插件扩展功能,支持通过 CMake 开发插件,依赖 Dtk 和 Qt5 等组件构建。【此简介由AI生成】

Customize your domain
15190163Visit GitHub