用户可通过该项目管理 Deepin 桌面环境的系统设置。它是 DDE 的控制面板,提供插件扩展功能,支持通过 CMake 开发插件,依赖 Dtk 和 Qt5 等组件构建。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 12 days ago | ||
fix(CI): broken cppcheck See also: https://github.com/linuxdeepin/.github/blob/master/workflow-templates/cppcheck.yml and https://github.com/linuxdeepin/deepin-camera/pull/501 Log: | 3 months ago | |
chore: Update obs workflows.yml 取消掉archlinux和debian的ci构建检查,改为只关注obs上dde的构建状态,同时添加构建依赖仓库。 | 1 year ago | |
feat(at-spi): make QML anchor ids unique and close operable gaps 1. Give reusable components a passable accessibleId property with a static fallback (DccCheckIcon, DccTimeRange, DccRightView, WallpaperSelectView, CustomComboBox, FontCombobox, CustomTipsSlider, SpinboxEx, CustomComBobox, ImageCheckBox, EditActionLabel, AutoSizingComboBox, KeySequenceDisplay) so instances no longer share one id. 2. Append a dynamic suffix to every anchor that lives inside a delegate or Repeater body (list rows, menu entries, combo popup items), which otherwise duplicate once the list has more than one row. 3. Pass a unique value at every usage point and tag the remaining plugin-side DccObject nodes, which had no anchor at all. 4. Close the last 9 operable gaps found by a rescan: AddFaceinfoDialog/ AddFingerDialog/AddIrisDialog ListView, DevelopModePage RecommandButton, and the RegisterDialog/VerifyDialog buttons. 5. Disambiguate the 3 cross-module duplicates that predated this change (Common_Switch / Common_TextField / CustomComboBox_*) with a module prefix. 6. Drop the 6 Accessible.id values wrongly attached to Menu popups, which are not Items and made Qt emit "Accessible must be attached to an Item or an Action" while the anchor never reached the AT-SPI tree. 7. Rebuild tests/at/spi/expected_names.yaml from the current source: 583 elements / 583 unique ids. 8. Update copyright years to 2026 for the touched files that lagged. Log: Operable-element anchor coverage reaches 100%; 27 pages scanned with zero duplicate ids. Influence: AT-SPI locators are stable, per-instance unique and actually reachable through the accessibility tree. feat(at-spi): 修复 QML 锚点重名并补齐可操作元素缺口 1. 为可复用组件新增可传入的 accessibleId 属性并保留静态回退 (DccCheckIcon、DccTimeRange、DccRightView、WallpaperSelectView、 CustomComboBox、FontCombobox、CustomTipsSlider、SpinboxEx、CustomComBobox、 ImageCheckBox、EditActionLabel、AutoSizingComboBox、KeySequenceDisplay), 避免多实例共用同一个 id。 2. 凡是位于 delegate / Repeater 体内的锚点一律追加动态后缀——否则列表项 多于一行的瞬间就会同名(列表行、菜单项、下拉选项)。 3. 在全部使用点传入唯一值,并为此前完全没有锚点的插件侧 DccObject 节点补充锚点。 4. 修复重扫发现的最后 9 处可操作元素缺口:AddFaceinfoDialog/ AddFingerDialog/AddIrisDialog 的 ListView、DevelopModePage 的 RecommandButton,以及 RegisterDialog/VerifyDialog 的按钮。 5. 为本次改动前就已存在的 3 处跨模块重名(Common_Switch / Common_TextField / CustomComboBox_*)加模块前缀消歧。 6. 删除 6 处错误挂在 Menu 弹层上的 Accessible.id——Menu 不是 Item,Qt 会报 "Accessible must be attached to an Item or an Action" 且锚点无法进入 AT-SPI 树。 7. 按当前源码重建 tests/at/spi/expected_names.yaml:583 条 / 583 个唯一 id。 8. 将相关文件的许可协议年份更新至 2026。 Log: 可操作元素锚点覆盖率达到 100%;实测 27 个页面零重名。 Influence: 所有可操作 QML 控件均具备稳定、逐实例唯一且可在无障碍树中 实际取到的 AT-SPI 定位锚点。 | 19 days ago | |
fix: remove the need of datetime_language.ts and datetime_country.ts 移除对 datetime_language.ts 与 datetime_country.ts 翻译资源的依赖 对应的地区名称的文案转而在 dde-control-center.ts 中提供. PMS: STORY-39039 Log: | 1 year ago | |
feat: Implement touch screen module code Implement touch screen module code Log: Implement touch screen module code Task: https://pms.uniontech.com/task-view-361973.html | 2 years ago | |
build: enable warnings as errors for release builds 1. Add new ENABLE_WARNINGS_AS_ERRORS CMake option, defaulting to ON 2. Use CMAKE_COMPILE_WARNING_AS_ERROR for CMake 3.24+, fall back to -Werror for GNU/Clang on older versions 3. Enable this option in Arch Linux PKGBUILD and Debian packaging rules 4. This ensures all compiler warnings are treated as build errors in official builds Log: None Influence: 1. Verify the project builds successfully with the new option enabled on both Arch and Debian systems 2. Test building with ENABLE_WARNINGS_AS_ERRORS=OFF to ensure the option can be disabled cleanly 3. Confirm build behavior on different CMake versions (before and after 3.24) 4. Ensure existing warning-free code continues to compile without issues 5. Verify the MSVC compiler path is not affected (no -Werror set for MSVC) build: 发布构建启用警告即错误处理 1. 新增 ENABLE_WARNINGS_AS_ERRORS CMake 选项,默认开启 2. CMake 3.24+ 使用 CMAKE_COMPILE_WARNING_AS_ERROR,旧版本对 GNU/Clang 回退使用 -Werror 3. 在 Arch Linux PKGBUILD 和 Debian 打包规则中启用此选项 4. 确保所有编译警告在官方构建中被视为构建错误 Influence: 1. 在 Arch 和 Debian 系统上验证项目在启用新选项后能成功构建 2. 测试设置 ENABLE_WARNINGS_AS_ERRORS=OFF 时能正常禁用该功能 3. 确认为不同 CMake 版本(3.24 前后)的构建行为正确 4. 确保现有无警告代码能正常编译无问题 5. 验证 MSVC 编译器路径不受影响(MSVC 不添加 -Werror) PMS: TASK-394823 | 2 months ago | |
feat(dock-plugins): migrate wirelesscasting tray plugin from dde-tray-loader Add the wirelesscasting dock plugin under src/dock-plugins (PluginsItemInterfaceV2, loaded by trayplugin-loader), together with the Display1 D-Bus interface and the display D-Bus types it needs, and keep shipping it in its own dde-wirelesscasting-plugin package. XdgActivation reuses ds::XdgActivation from libdde-shell-dev (Dde::Shell) instead of a local copy. The plugin keeps loading its own translation domain (dock-wirelesscasting-plugin) in its constructor. Also fix Monitor::hwAddress() to return m_hwAddress instead of m_name; the accessor is unused in dde-tray-loader upstream, so this is an intentional deviation from it (unlike the rest of the file, which stays byte-identical). 将无线投屏托盘插件从 dde-tray-loader 迁移到 dde-control-center,新增 src/dock-plugins/wirelesscasting 及所需的 Display1 D-Bus 接口与显示相关类型, 并继续由独立的 dde-wirelesscasting-plugin 包提供;XdgActivation 复用 libdde-shell-dev 提供的 ds::XdgActivation,不再自带副本;翻译继续使用独立域 dock-wirelesscasting-plugin,由插件自身加载。 同时修正 Monitor::hwAddress() 返回 m_name 的笔误,改为返回 m_hwAddress;该 接口在上游未被调用,故此处是对 dde-tray-loader 的一处有意偏离(文件其余部分 仍与上游保持一致)。 Log: 迁移无线投屏托盘插件至 dde-control-center PMS: TASK-396375 Influence: 无线投屏插件的 .so 与翻译仍由 dde-wirelesscasting-plugin 包提供;XdgActivation 改用 libdde-shell-dev;Monitor::hwAddress() 修正为返回真实硬件地址(对上游的有意偏离,当前无调用者);插件行为不变 | 4 days ago | |
feat(at-spi): make QML anchor ids unique and close operable gaps 1. Give reusable components a passable accessibleId property with a static fallback (DccCheckIcon, DccTimeRange, DccRightView, WallpaperSelectView, CustomComboBox, FontCombobox, CustomTipsSlider, SpinboxEx, CustomComBobox, ImageCheckBox, EditActionLabel, AutoSizingComboBox, KeySequenceDisplay) so instances no longer share one id. 2. Append a dynamic suffix to every anchor that lives inside a delegate or Repeater body (list rows, menu entries, combo popup items), which otherwise duplicate once the list has more than one row. 3. Pass a unique value at every usage point and tag the remaining plugin-side DccObject nodes, which had no anchor at all. 4. Close the last 9 operable gaps found by a rescan: AddFaceinfoDialog/ AddFingerDialog/AddIrisDialog ListView, DevelopModePage RecommandButton, and the RegisterDialog/VerifyDialog buttons. 5. Disambiguate the 3 cross-module duplicates that predated this change (Common_Switch / Common_TextField / CustomComboBox_*) with a module prefix. 6. Drop the 6 Accessible.id values wrongly attached to Menu popups, which are not Items and made Qt emit "Accessible must be attached to an Item or an Action" while the anchor never reached the AT-SPI tree. 7. Rebuild tests/at/spi/expected_names.yaml from the current source: 583 elements / 583 unique ids. 8. Update copyright years to 2026 for the touched files that lagged. Log: Operable-element anchor coverage reaches 100%; 27 pages scanned with zero duplicate ids. Influence: AT-SPI locators are stable, per-instance unique and actually reachable through the accessibility tree. feat(at-spi): 修复 QML 锚点重名并补齐可操作元素缺口 1. 为可复用组件新增可传入的 accessibleId 属性并保留静态回退 (DccCheckIcon、DccTimeRange、DccRightView、WallpaperSelectView、 CustomComboBox、FontCombobox、CustomTipsSlider、SpinboxEx、CustomComBobox、 ImageCheckBox、EditActionLabel、AutoSizingComboBox、KeySequenceDisplay), 避免多实例共用同一个 id。 2. 凡是位于 delegate / Repeater 体内的锚点一律追加动态后缀——否则列表项 多于一行的瞬间就会同名(列表行、菜单项、下拉选项)。 3. 在全部使用点传入唯一值,并为此前完全没有锚点的插件侧 DccObject 节点补充锚点。 4. 修复重扫发现的最后 9 处可操作元素缺口:AddFaceinfoDialog/ AddFingerDialog/AddIrisDialog 的 ListView、DevelopModePage 的 RecommandButton,以及 RegisterDialog/VerifyDialog 的按钮。 5. 为本次改动前就已存在的 3 处跨模块重名(Common_Switch / Common_TextField / CustomComboBox_*)加模块前缀消歧。 6. 删除 6 处错误挂在 Menu 弹层上的 Accessible.id——Menu 不是 Item,Qt 会报 "Accessible must be attached to an Item or an Action" 且锚点无法进入 AT-SPI 树。 7. 按当前源码重建 tests/at/spi/expected_names.yaml:583 条 / 583 个唯一 id。 8. 将相关文件的许可协议年份更新至 2026。 Log: 可操作元素锚点覆盖率达到 100%;实测 27 个页面零重名。 Influence: 所有可操作 QML 控件均具备稳定、逐实例唯一且可在无障碍树中 实际取到的 AT-SPI 定位锚点。 | 19 days ago | |
feat(at-spi): make QML anchor ids unique and close operable gaps 1. Give reusable components a passable accessibleId property with a static fallback (DccCheckIcon, DccTimeRange, DccRightView, WallpaperSelectView, CustomComboBox, FontCombobox, CustomTipsSlider, SpinboxEx, CustomComBobox, ImageCheckBox, EditActionLabel, AutoSizingComboBox, KeySequenceDisplay) so instances no longer share one id. 2. Append a dynamic suffix to every anchor that lives inside a delegate or Repeater body (list rows, menu entries, combo popup items), which otherwise duplicate once the list has more than one row. 3. Pass a unique value at every usage point and tag the remaining plugin-side DccObject nodes, which had no anchor at all. 4. Close the last 9 operable gaps found by a rescan: AddFaceinfoDialog/ AddFingerDialog/AddIrisDialog ListView, DevelopModePage RecommandButton, and the RegisterDialog/VerifyDialog buttons. 5. Disambiguate the 3 cross-module duplicates that predated this change (Common_Switch / Common_TextField / CustomComboBox_*) with a module prefix. 6. Drop the 6 Accessible.id values wrongly attached to Menu popups, which are not Items and made Qt emit "Accessible must be attached to an Item or an Action" while the anchor never reached the AT-SPI tree. 7. Rebuild tests/at/spi/expected_names.yaml from the current source: 583 elements / 583 unique ids. 8. Update copyright years to 2026 for the touched files that lagged. Log: Operable-element anchor coverage reaches 100%; 27 pages scanned with zero duplicate ids. Influence: AT-SPI locators are stable, per-instance unique and actually reachable through the accessibility tree. feat(at-spi): 修复 QML 锚点重名并补齐可操作元素缺口 1. 为可复用组件新增可传入的 accessibleId 属性并保留静态回退 (DccCheckIcon、DccTimeRange、DccRightView、WallpaperSelectView、 CustomComboBox、FontCombobox、CustomTipsSlider、SpinboxEx、CustomComBobox、 ImageCheckBox、EditActionLabel、AutoSizingComboBox、KeySequenceDisplay), 避免多实例共用同一个 id。 2. 凡是位于 delegate / Repeater 体内的锚点一律追加动态后缀——否则列表项 多于一行的瞬间就会同名(列表行、菜单项、下拉选项)。 3. 在全部使用点传入唯一值,并为此前完全没有锚点的插件侧 DccObject 节点补充锚点。 4. 修复重扫发现的最后 9 处可操作元素缺口:AddFaceinfoDialog/ AddFingerDialog/AddIrisDialog 的 ListView、DevelopModePage 的 RecommandButton,以及 RegisterDialog/VerifyDialog 的按钮。 5. 为本次改动前就已存在的 3 处跨模块重名(Common_Switch / Common_TextField / CustomComboBox_*)加模块前缀消歧。 6. 删除 6 处错误挂在 Menu 弹层上的 Accessible.id——Menu 不是 Item,Qt 会报 "Accessible must be attached to an Item or an Action" 且锚点无法进入 AT-SPI 树。 7. 按当前源码重建 tests/at/spi/expected_names.yaml:583 条 / 583 个唯一 id。 8. 将相关文件的许可协议年份更新至 2026。 Log: 可操作元素锚点覆盖率达到 100%;实测 27 个页面零重名。 Influence: 所有可操作 QML 控件均具备稳定、逐实例唯一且可在无障碍树中 实际取到的 AT-SPI 定位锚点。 | 19 days ago | |
feat: migrate QML plugins to Qt6 resource system This commit transitions the control center from file-based QML plugin loading to Qt6's resource system for better performance and deployment. Key changes include: 1. Replaced manual file copying with qt_add_qml_module for proper QML module management 2. Added plugin-system and plugin-device as proper subdirectories 3. Updated plugin loading logic to support both resource-based and file- based plugins 4. Modified DCI icon theme search paths to use resource paths 5. Fixed local file paths in QML by converting them to proper file:// URLs 6. Enhanced plugin discovery with multiple path resolution strategies The migration improves plugin loading performance, simplifies deployment, and provides better integration with Qt6's QML module system. It also maintains backward compatibility with existing file- based plugins. Log: Improved QML plugin loading performance and deployment Influence: 1. Test control center startup and plugin loading 2. Verify all plugin modules load correctly (system, device, accounts, etc.) 3. Check icon display in various modules 4. Test plugin navigation and functionality 5. Verify resource paths work in different deployment scenarios 6. Test backward compatibility with existing plugin configurations feat: 迁移 QML 插件到 Qt6 资源系统 本次提交将控制中心从基于文件的 QML 插件加载迁移到 Qt6 资源系统,以获得更 好的性能和部署体验。主要变更包括: 1. 使用 qt_add_qml_module 替代手动文件复制,实现更好的 QML 模块管理 2. 添加 plugin-system 和 plugin-device 作为正式子目录 3. 更新插件加载逻辑以支持基于资源和基于文件的插件 4. 修改 DCI 图标主题搜索路径以使用资源路径 5. 通过转换为 file:// URL 修复 QML 中的本地文件路径问题 6. 增强插件发现功能,支持多种路径解析策略 此次迁移提高了插件加载性能,简化了部署流程,并提供了与 Qt6 QML 模块系统 的更好集成。同时保持了对现有基于文件的插件的向后兼容性。 Log: 提升 QML 插件加载性能和部署体验 Influence: 1. 测试控制中心启动和插件加载 2. 验证所有插件模块正确加载(系统、设备、账户等) 3. 检查各模块中的图标显示 4. 测试插件导航和功能 5. 验证资源路径在不同部署场景下的工作 6. 测试与现有插件配置的向后兼容性 | 9 months ago | |
fix(cmake): generate desktop file in build tree 1. Copy and install the desktop file from the build directory, including Debug builds. 2. Require an explicit translation output path to keep out-of-source builds clean. 3. Stop the translation script on errors and fail configuration if desktop translation fails. Log: Generate and install the desktop file from the build directory. Influence: Out-of-source builds preserve the desktop source. fix(cmake): 在构建目录生成桌面文件 1. 将桌面文件复制到构建目录并从中安装,确保调试构建跳过翻译时文件仍然可用。 2. 要求显式指定翻译输出路径,避免源码外构建覆盖原始桌面文件。 3. 翻译脚本出错即退出,并在桌面翻译失败时终止配置。 Log: 将桌面文件的生成和安装来源统一到构建目录。 PMS: TASK-398509 Influence: 源码外构建保留原始桌面文件。 | 4 days ago | |
fix(cmake): generate desktop file in build tree 1. Copy and install the desktop file from the build directory, including Debug builds. 2. Require an explicit translation output path to keep out-of-source builds clean. 3. Stop the translation script on errors and fail configuration if desktop translation fails. Log: Generate and install the desktop file from the build directory. Influence: Out-of-source builds preserve the desktop source. fix(cmake): 在构建目录生成桌面文件 1. 将桌面文件复制到构建目录并从中安装,确保调试构建跳过翻译时文件仍然可用。 2. 要求显式指定翻译输出路径,避免源码外构建覆盖原始桌面文件。 3. 翻译脚本出错即退出,并在桌面翻译失败时终止配置。 Log: 将桌面文件的生成和安装来源统一到构建目录。 PMS: TASK-398509 Influence: 源码外构建保留原始桌面文件。 | 4 days ago | |
feat(personalization): make AT-SPI anchors unique 1. Derive theme card and icon/cursor theme anchors from model ids. 2. Derive color block and window rounded-corner anchors from stable indices. 3. Expose checked state for theme cards, color blocks, theme items and radius options. 4. Expose More Wallpapers as an accessible button with a press action. 5. Derive wallpaper item anchors from the component instance prefix. 6. Sync tests/at/spi/expected_names.yaml with the new anchors and lines. Log: AT-SPI anchors are unique per instance and recorded in expected names. Influence: Accessibility locators are unique and statistics stay in sync. feat(personalization): 统一 AT-SPI 锚点 1. 主题卡片、图标/光标主题项锚点改为按 model id 生成。 2. 活动色色块、窗口圆角选项锚点改为按稳定下标生成。 3. 为主题卡片、色块、主题项、圆角选项补充选中状态。 4. “下载更多”暴露为可访问按钮并支持 press action。 5. 壁纸项锚点按组件实例前缀生成,避免多区块重名。 6. 同步 tests/at/spi/expected_names.yaml 的锚点与行号。 Log: AT-SPI 锚点按实例唯一,并同步到预期名单。 PMS: TASK-398455 Influence: 无障碍定位唯一且统计清单保持同步。 | 4 days ago | |
fix: add persistent storage for custom NTP server addresses - Add dconfig configuration file for datetime settings - Implement custom NTP server save/restore functionality - Update UI to load saved custom server addresses - Replace gsettings with dconfig framework Log: add persistent storage for custom NTP server addresses pms: BUG-333957 | 1 year ago | |
feat(dock): add fashion mode option 1. Add Fashion Mode after Centered Mode in taskbar settings. 2. Register light and dark icons with compatible resource aliases. 3. Update the English translation file. Log: Add the Fashion Mode option with theme-aware icons. Influence: Taskbar settings offer three display modes. feat(dock): 新增时尚模式选项 1. 在任务栏设置的居中模式后新增时尚模式。 2. 为深浅色图标配置兼容的资源别名。 3. 更新英文翻译文件。 Log: 新增时尚模式选项并适配深浅色图标。 PMS: TASK-398629 Influence: 任务栏设置提供三种显示模式。 | 4 days ago | |
chore: add clang-format Log: add clang-format for edit | 3 years ago | |
fix: missing translations Log: | 3 years ago | |
feat: dde-control-center for v25 dde-control-center for v25 Log: Task: https://pms.uniontech.com/task-view-361721.html | 2 years ago | |
fix(cmake): generate desktop file in build tree 1. Copy and install the desktop file from the build directory, including Debug builds. 2. Require an explicit translation output path to keep out-of-source builds clean. 3. Stop the translation script on errors and fail configuration if desktop translation fails. Log: Generate and install the desktop file from the build directory. Influence: Out-of-source builds preserve the desktop source. fix(cmake): 在构建目录生成桌面文件 1. 将桌面文件复制到构建目录并从中安装,确保调试构建跳过翻译时文件仍然可用。 2. 要求显式指定翻译输出路径,避免源码外构建覆盖原始桌面文件。 3. 翻译脚本出错即退出,并在桌面翻译失败时终止配置。 Log: 将桌面文件的生成和安装来源统一到构建目录。 PMS: TASK-398509 Influence: 源码外构建保留原始桌面文件。 | 4 days ago | |
chore: fix reuse ci fix reuse Log: fix reuse influence: github ci Change-Id: I09f62cfbd19ec688ef2a4cf2d8bde9b4415a2b1c | 3 years ago | |
fix(dcc): report incomplete plugin loading in --list 1. Expose DccManager::loadFinished() so callers can tell whether plugin loading has finished 2. Print a stderr warning and exit non-zero from --list when some plugins did not finish loading, instead of silently dumping a partial tree 3. Document the exit code in README.md and README.zh_CN.md Log: dde-control-center --list no longer silently prints a partial tree Influence: Scripts can detect an incomplete module list via exit code fix(dcc): --list 加载未完成时返回非 0 1. 新增 DccManager::loadFinished(),供调用方判断插件是否加载完成 2. --list 在插件未加载完成时向 stderr 打印警告并以非 0 退出, 不再静默输出残缺的模块树 3. 在 README.md、README.zh_CN.md 中说明该退出码 Log: dde-control-center --list 不再静默输出残缺的模块树 PMS: TASK-395397 Influence: 脚本可通过退出码识别模块列表是否完整 | 2 months ago | |
fix(dcc): report incomplete plugin loading in --list 1. Expose DccManager::loadFinished() so callers can tell whether plugin loading has finished 2. Print a stderr warning and exit non-zero from --list when some plugins did not finish loading, instead of silently dumping a partial tree 3. Document the exit code in README.md and README.zh_CN.md Log: dde-control-center --list no longer silently prints a partial tree Influence: Scripts can detect an incomplete module list via exit code fix(dcc): --list 加载未完成时返回非 0 1. 新增 DccManager::loadFinished(),供调用方判断插件是否加载完成 2. --list 在插件未加载完成时向 stderr 打印警告并以非 0 退出, 不再静默输出残缺的模块树 3. 在 README.md、README.zh_CN.md 中说明该退出码 Log: dde-control-center --list 不再静默输出残缺的模块树 PMS: TASK-395397 Influence: 脚本可通过退出码识别模块列表是否完整 | 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
-
Make sure you have installed all dependencies.
-
Build:
$ cd dde-control-center
$ mkdir Build
$ cd Build
$ cmake ..
$ make
- 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
- Contribution guide for developers. (English)
- 开发者代码贡献指南 (中文)
License
DDE Control Center is licensed under GPL-3.0-or-later.
Introduction
用户可通过该项目管理 Deepin 桌面环境的系统设置。它是 DDE 的控制面板,提供插件扩展功能,支持通过 CMake 开发插件,依赖 Dtk 和 Qt5 等组件构建。【此简介由AI生成】
Customize your domain