Skip to content
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

Respect default terminal in cosmic_settings_config (keybind SUPER+T) when changed #975

Merged

Conversation

ellieplayswow
Copy link
Contributor

changes tl;dr

  • you can change your default terminal via COSMIC settings, but cosmic_settings_config is by default bound to cosmic-term
  • when we change the default terminal, persist this setting if possible by grabbing the relevant exec from its FreeDesktop path

demonstration vid:

2025-02-14.10-42-45.online-video-cutter.com.mp4

resolves pop-os/cosmic-epoch#1557

@ellieplayswow
Copy link
Contributor Author

@mmstick sorry about that, have resolved those

@ellieplayswow
Copy link
Contributor Author

resolved all 3 - good shout re: canonicalisation

@ellieplayswow
Copy link
Contributor Author

sorting rustfmt

@mmstick
Copy link
Member

mmstick commented Feb 14, 2025

I need to check if this is writing only local modifications to ~/.config instead of pulling values from the system.

@ellieplayswow
Copy link
Contributor Author

@mmstick no problem, let me know if i've missed anything here

mmstick added a commit to pop-os/libcosmic that referenced this pull request Feb 14, 2025
Required by pop-os/cosmic-settings#975 to a modify a config
containing a HashMap which is used to partially-override the system default config
in the compositor.
@mmstick mmstick force-pushed the feature/update-default-terminal branch from 4012531 to ca2d57e Compare February 14, 2025 20:51
@mmstick
Copy link
Member

mmstick commented Feb 14, 2025

Added a get_local method to the cosmic_config::Config so that we can get the local user config and only write what we've overwritten there.

@mmstick mmstick merged commit 777cbae into pop-os:master Feb 14, 2025
3 checks passed
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.

Default Terminal not respected by keybinding.
2 participants