[暂不合并]chore(xsettings): add ExecStartPre to disable THP before service startup#69
[暂不合并]chore(xsettings): add ExecStartPre to disable THP before service startup#69mhduiy wants to merge 1 commit into
Conversation
1. Added ExecStartPre=-/usr/libexec/dde-thp-disable to XSettings1 D-Bus service 2. Ensures touchpad palm rejection (THP) is disabled before the XSettings service starts Log: Run dde-thp-disable as ExecStartPre in XSettings1 D-Bus service chore(xsettings): 在 XSettings 服务启动前添加 ExecStartPre 禁用 THP 1. 在 XSettings1 D-Bus service 中添加了 ExecStartPre=-/usr/libexec/dde-thp-disable 2. 确保在 XSettings 服务启动前禁用触摸板手掌防误触(THP) Log: 在 XSettings1 D-Bus 服务中添加 dde-thp-disable 作为 ExecStartPre PMS: TASK-390043
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy 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 |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds a pre-start step to the XSettings1 D-Bus service to run a helper that disables touchpad palm rejection (THP) before the service starts. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review你好!我是CodeGeeX。我已仔细审查了你提供的 Git Diff 内容。 本次修改在 systemd 服务单元文件 以下是我从语法逻辑、代码质量、代码性能和代码安全四个维度提出的审查意见和改进建议: 1. 语法逻辑
2. 代码质量
3. 代码性能
4. 代码安全这是本次变更中最需要关注的维度:
总结与改进建议改进后的代码示例: [Service]
Type=dbus
BusName=org.deepin.dde.XSettings1
# Workaround: Disable THP before starting to avoid Qt rendering latency/stalls
ExecStartPre=-/usr/libexec/dde-thp-disable
ExecStart=/usr/bin/deepin-service-manager -n org.deepin.dde.XSettings1
Restart=on-failure
RestartSec=3Checklist(请确认):
|
Log: Run dde-thp-disable as ExecStartPre in XSettings1 D-Bus service
chore(xsettings): 在 XSettings 服务启动前添加 ExecStartPre 禁用 THP
Log: 在 XSettings1 D-Bus 服务中添加 dde-thp-disable 作为 ExecStartPre
PMS: TASK-390043
Summary by Sourcery
Enhancements: