Results 1 to 8 of 8
I can't seem to run executables. When I click them, nothing happens. What program should I open them with? How can I run them from the command line?
Edit: Some ...
- 07-30-2007 #1Just Joined!
- Join Date
- Jul 2007
- Location
- USA
- Posts
- 61
Running Exectutables
I can't seem to run executables. When I click them, nothing happens. What program should I open them with? How can I run them from the command line?
Edit: Some execs do open (gimp just opened from usr/bin, the only one I found that opened). Most don't, including my C++ programs made in Anjuta.
- 07-30-2007 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,095
If you are referring to Windows executables, you'll need to run them under WINE:
Wine HQoz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 07-30-2007 #3Just Joined!
- Join Date
- Jul 2007
- Location
- USA
- Posts
- 61
No, I am not referring to .exe I am referring to Linux files that say "executable" as file type.
- 07-30-2007 #4
Open Terminal OR Press Alt+F2. Type exact name of Executable and hit enter key.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-30-2007 #5Just Joined!
- Join Date
- Jul 2007
- Location
- USA
- Posts
- 61
- 07-30-2007 #6
you can run executables by clicking them but at fisrt be sure , you have changed that files permissions.
withcommand you can set that files permission for running. You can run it by clicking now.Code:chmod +x file_name
EDIT:
There is an alternative info about this topic.
- 07-30-2007 #7Just Joined!
- Join Date
- Jul 2007
- Location
- USA
- Posts
- 61
I just happened to be reading about chmod in my Linux book as I read your post. That is not the problem, all users have permission to execute. I have no problem opening files from the terminal, its clicking them thats the problem now. I tried setting the default program as the terminal, but I don't know where the terminal actually is on the computer, all I have is a shortcut.
- 07-30-2007 #8
Right. So the thing is, if you click a program, it gets executed. But if the program is text-based, then it won't appear anywhere (unless you started X from a terminal somewhere, in which case, it will appear in that terminal). So if it's a commandline program, you want it to run in a terminal.
I believe that the Gnome terminal is called gnome-terminal, and the KDE one is called konsole. If you type, from the terminal, "which gnome-terminal" or "which konsole", it will tell you the absolute path of that program.
Now, as I recall, with Gnome, if you run an executable from Nautilus, it would ask you if you want to run it in a terminal. I personally advise that if you're going to run a commandline program, just open up a terminal and run it yourself.DISTRO=Arch
Registered Linux User #388732


Reply With Quote
