How can I skip the confirmation prompt when running .sh files in Kitty?

0
0
Asked By CuriousCat45 On

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

Answered By ScripterSam99 On

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.

Answered By TechieTurtle88 On

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?

CuriousCat45 -

Yup, that's how I'm doing it.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.