I'm having a bit of a hassle with Kitty terminal on my Linux setup. Whenever I try to run my custom .sh scripts, it prompts me for confirmation because of safety concerns, and I'm looking for a way to disable that warning. I've created these scripts to help run games with Wine, as they were defaulting to my integrated GPU instead of the dedicated one. I found a workaround for the GPU issue, but now I want to skip that annoying confirmation prompt. Can anyone guide me on how to do this?
2 Answers
You can disable the confirmation by creating a 'launch-actions.conf' file as per the Kitty documentation. Even though it mentions macOS, the instructions work for Linux too! Check it out here: https://sw.kovidgoyal.net/kitty/open_actions/#scripting-the-opening-of-files-with-kitty-on-macos.
If you're launching the script from the file manager, the confirmation dialogue can be a pain. Have you tried a different method for running it?
Yup, that's how I'm doing it.