Problem when opening .exe files

First of all, I am really noob, sorry.

I am having problems when opening .exe files. If I select open with xTerm it works fine but if I simply click it doesn't open (I have already added xTerm to preferences).

I have found that in my system monitor the path of the file appears like an application when I click it. (Something like "/home/my user name/the folder where the file is/the .exe file name" and like 130KiB memory usage).

Last, there used to be a warning prompt when I clicked on those files but I disabled it (there was like a "don't show again" box). I would like it back if possible.

Linux has no concept of .exe files. Can you give a more concrete example of something you are trying to open and how?

Also, we need to know which version/edition of Garuda you are using.

1 Like

I am trying to open compiled C code I wrote myself (for learning/college). The file appears as "application/x-executable".

Right click on the file and Open with xTerm works perfectly. Left click is when the problem happens.

My edition: Garuda KDE Dr460nized
System info:

KDE plasma ver: 5.22.5
KDE Frameworks: 5.85.0
Qt: 5.15.2
Kernel: 5.13.13-zen1-1-zen (64 bits)
Graphic platform: X11

Sorry for my bad English and thank you for your attention!

It is a console program or does it have a GUI? If it is console program and you click on it that won't open a console. That will just run the program. Depending on what the program does it may just end or it may just be running in the background.

When writing console programs in Linux the common approach would be to run them from a terminal.

You can create a .desktop file that will launch them in a terminal but for a simple program you are writing for yourself that doesn't make much sense.

3 Likes

A console program, makes sense. Thanks!

Last thing I need, is there a way to add a warning before running any executable?

In dolphin, preferences->general->confirmations

image

10 Likes

Wow, you are amazing!!! This is exactly what I wanted and you teached me a lot. Thanks!!!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.