feat: add dbus-activatable desktop entry for dde-shell#1600
Conversation
There was a problem hiding this comment.
Sorry @18202781743, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
TAG Bot New tag: 2.0.42 |
1. Add a new desktop entry file org.deepin.dde-shell.desktop in the misc directory 2. Configure the entry as a DBusActivatable application with Exec and TryExec set to /bin/false 3. Set NoDisplay to true to hide from menus and launchers 4. Categorize it under System for organization purposes 5. This enables the DDE shell service to be started on demand via D- Bus activation Log: Added D-Bus activation support for DDE Shell service Influence: 1. Verify that dde-shell can be activated via D-Bus when needed 2. Test that the entry does not appear in application menus or launchers 3. Confirm that the service starts on demand and stops when no longer needed feat: 为 dde-shell 添加 D-Bus 激活的 desktop 条目 1. 在 misc 目录中添加新的 desktop 文件 org.deepin.dde-shell.desktop 2. 配置该条目为 DBusActivatable 应用,Exec 和 TryExec 设置为 /bin/false 3. 设置 NoDisplay 为 true 以隐藏于菜单和启动器中 4. 归类到 System 类别以便于组织管理 5. 这使得 DDE shell 服务可以通过 D-Bus 激活按需启动 Log: 新增 DDE Shell 服务的 D-Bus 激活支持 Influence: 1. 验证 dde-shell 能否在需要时通过 D-Bus 激活 2. 测试该条目不会出现在应用菜单或启动器中 3. 确认服务按需启动并在不需要时自动停止
deepin pr auto review你好!我是CodeGeeX。我已仔细审查了你提供的Git Diff。本次代码变更主要为DDE-Shell添加了桌面入口文件、应用图标资源,更新了构建与安装脚本,并修改了版权声明年份。 整体来看,代码逻辑清晰,变更合理。但为了提升代码质量、安全性和规范性,我提出以下审查意见和改进建议: 1. 语法与逻辑
2. 代码质量
3. 代码性能
4. 代码安全
总结与修改后的代码示例misc/org.deepin.dde-shell.desktop (建议修改后): [Desktop Entry]
Type=Application
Name=Deepin Desktop Shell
Comment=Deepin desktop shell service
Icon=dde-shell
Exec=dde-shell
DBusActivatable=true
NoDisplay=true
Terminal=false
StartupNotify=false
Categories=System;debian/dde-shell.install (建议修改后): shell/CMakeLists.txt (关于版权年份的建议): # SPDX-FileCopyrightText: 2023 - 2024 UnionTech Software Technology Co., Ltd.希望这些审查意见对你有所帮助!如果有任何疑问,欢迎继续探讨。 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, BLumia The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
misc directory
TryExec set to /bin/false
Bus activation
Log: Added D-Bus activation support for DDE Shell service
Influence:
needed
feat: 为 dde-shell 添加 D-Bus 激活的 desktop 条目
Log: 新增 DDE Shell 服务的 D-Bus 激活支持
Influence: