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

MacOS Terminal Theme "Is Corrupt" #23

Open
clickbrain opened this issue Oct 10, 2023 · 7 comments
Open

MacOS Terminal Theme "Is Corrupt" #23

clickbrain opened this issue Oct 10, 2023 · 7 comments

Comments

@clickbrain
Copy link

MacOS responds that your terminal theme is corrupt when trying to open it.

@getninjaN
Copy link
Contributor

MacOS responds that your terminal theme is corrupt when trying to open it.

I exported it from the Terminal settings. Hmm, I'll take a look.

@getninjaN
Copy link
Contributor

@clickbrain what version of macOS are you using? I duplicated the Dracula theme when creating this one and I'm thinking it could be the font that makes it corrupt?

One commit in that repo was changing the font as a macOS Mojave update.

@tklai
Copy link
Contributor

tklai commented Dec 23, 2023

Hi @clickbrain

Are you simply double click the terminal after you downloaded the file?
You may need to right click the file and click "Open" to import from Finder, or import via Terminal Settings.

@clickbrain
Copy link
Author

@getninjaN
I'm running Sonoma 14.1. Thanks for checking.

@tklai Thanks.
Here's a screenvid of what I see when I try to import/open it.
https://monosnap.com/file/Hc6CepuQExlVIzPoHoB6LGuTm4RcL0

@clickbrain
Copy link
Author

Monosnap.Screencast.Dec.23.mp4

@tklai
Copy link
Contributor

tklai commented Dec 24, 2023

@clickbrain
Cc. @getninjaN

Not sure if it is color profile issue. Can you try the terminal files from my PR #68?

@tklai
Copy link
Contributor

tklai commented Dec 24, 2023

Looked into some terminal theme repositories around GitHub and found this issue may relates to macOS security mechanism.
When users download a file from the internet, macOS attaches a flag com.apple.quarantine to prevent opening the files directly without user consents.

However, you can try the following command to remove the flag.

xattr -d com.apple.quarantine {the_file}
Part Explanation
xattr A macOS tool which manage extended attributes
-d A flag that tell the tool to delete an attribute
com.apple.quarantine The attribute that triggers macOS security mechanism
{the_file} The file you want to process

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

No branches or pull requests

3 participants