How can I skip the confirmation prompt when running .sh files in Kitty?
Asked by
SILK SCREEN
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?
Answers
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?
Reply to this answer
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.
Reply to this answer
Add your answer
Answers are reviewed before publication.
SILK SCREEN: Yup, that's how I'm doing it.