Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am very very new to linux and have been figuring it out as I go, but I have ran into a program.
I want to run a .tcl and a .motran file. If I click on the icon I get a textread out of the program, and if I run the file from the terminal, the program runs. I want it so that when I click on the file it runs the program (similiar to if I run in terminal). I am running Kubuntu. The programs themselves run perfectly when I run through the terminal but I want to save lots of time and not have to change directories all the time.
Also, I have tried clicking the permissions of the files in question to "Is Executable" but this doesn't change a thing.
Thanks, and if I haven't made the program clear enough please ask.
I just ran a quick test---two files with identical permissions (744). One is a script beginning with #!/bin/bash, the other is just text.
Double-click on the script and it runs, double-click on the other one and it opens in an editor.
What I infer from this is that the GUI first tries to run the file, and then displays it when it cannot run it. In the terminal, the "just text" file just gives error if I try to run it.
If they're console based programs, how would you run them outside a console?
Quote:
If they're console based programs, how would you run them outside a console?
a program is a program....you can run it from anyplace that accepts a command (path) string. The real issue is that you might not see the output of the program unless you have a terminal open.
How's that for hair-splitting?......
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.