Skip to content

Implement Thunderbolt settings module #12762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

timfeierabend
Copy link
Contributor

Summary

This pull request is for adding a new settings module for managing Thunderbolt devices.
https://github.com/orgs/linuxmint/discussions/766

This settings module uses boltd over DBus to manage Thunderbolt devices. The settings module performs some dependency checks and displays messages when requirements aren't met. This settings module supports managing multiple devices. Each device will have its own settings section.

The typical use case is the user will open this settings module, find their device they want to enable, and click "Authorize" to enable it for 1 time. After clicking "Authorize", they can optionally click "Trust" to remember the device. The user can click the "Details" toggle to view device details. The user can click "Forget" to forget the device, whether it is connected or not.

Rationale

Many PCs have Intel processors, with the higher end ones having at least 1 Thunderbolt port. Newer PCs are starting to have USB4 ports. Currently, Thunderbolt device management in Cinnamon is handled through the terminal using boltctl. This can be intimidating for new users.

Adding this feature will improve the usability for Cinnamon for less-technical users and make Cinnamon feel more complete. Both GNOME and KDE have similar settings in their respective control centers.

Screenshots

No thunderbolt is detected on your system:
no_thunderbolt

bolt package is not installed:
bolt_missing

boltd is not running:
boltd_disabled

No Thunderbolt devices detected:
no_devices

Device connected:
device_connected

Device authorized and enrolled:
device_trusted

Device details:
device_details

@mtwebster @clefebvre

@Fantu
Copy link
Contributor

Fantu commented Mar 2, 2025

Thanks for remove "import *".
I think can be good to add boltd to cinnamon recommends in d/control, @clefebvre or @mtwebster will say if it would be better to remove it or put it as a dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants