Hi,
How can I get Konqueror (from KDE 3.5) to lunch executables (+x files)
from inside the file browser window?
If I double click an executable file icon it asks me which application should it use to view that file.
But I just want to run that file.
Thanks
Well, my friend. Maybe i' m late and you may have already solved that problem, but this can be proved
useful for other users as well, so i decided to post.
At first locate the executable that you want to run by double-clicking from within konqueror.
Right click on the executable and select "properties".
Now you have a window with 2 tabs "general" and "permissions".
In the tab named "general" is a text field that says "Type: Executable File".
Next that text field is a small icon button with a tool on it (a key tool as we here in Hellas name it).
Click on that small icon button.
Now you have a new window open with the name "Edit File Type Application/x-executable".
This window have 2 tabs "General" and "Embedding".
In "General" tab is 3 fields and a large button with a gear on it.
Do not touch the field named "Filename Patterns".
Make sure that the field "Description" says: "Executable File" and leave untouched.
In the field named "Application Preference Order" click on the button "Add...".
In the new window that opened, just type "open" (without the "") in the text field and click "ok".
Click "Apply" and "Ok" in the remaining open windows till you remain with the konqueror window opened.
Now try to double click your executable and feel the magic.
There was much easier ways to achieve the same result but i wanted to show the "idea behind".
An easier way: Double click your executable, and in the window that asks with what to open it, just type "open"
in the text field that has focus already. Depending on what you have installed of kde, you might have a
checkbox that says "remember" or "always use" or something like that. Ticking the checkbox and clicking
on "Ok" will do the magic.
You can do the same thing with shell scripts that calls graphical applications, as well as for executables with
extensions. But... be careful, as you may cause a mess.
Anyway... if you do it with the first "hard way" you will know how to fix things in the future ;-)
I hope to hear from you guys, if that was of any help.
Cheers...