Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 trying to create a launcher in Fedora 13 which will run a simple script named proj4a. I run this script from the command line as follows:
$ $HOME/proj4a >$HOME/proj4a_out
where proj4a is an executable file in my home directory and the output goes into a file, proj4a_out, in my home directory. Everything works fine.
I created a launcher called Proj4a and in the command field I entered the following:
' $HOME/proj4a >$HOME/proj4a_out'
When I click on the launcher it comes back with the following:
There was an error launching the application.
Details: Failed to execute child process "$HOME/proj4a >$HOME/proj4a_out" (No such file or directory)
I can't for the life of me figure out what is wrong here. Does anybody see what I'm missing?
[snip]
Details: Failed to execute child process "$HOME/proj4a >$HOME/proj4a_out" (No such file or directory)
I can't for the life of me figure out what is wrong here. Does anybody see what I'm missing?
I had a similar problem, which I fixed by putting a script file in the directory where I wanted to run the executable 'rpcemu', and that script was 'runrpcemu'...
Code:
#!/bin/sh
#
# Runs RPCemu
# installed in /home/terry/RPCemu-168
cd /home/terry/RPCemu-168
./rpcemu
My desktop launcher included the line...
Code:
Exec=/home/terry/RPCemu-168/runrpcemu
Not sure if my problem was exactly the same , but it is worth a try.
The launcher does not run a shell to execute the command so $HOME is treated literally. If you change $HOME to the required value (/home/<your user name>/) it should work.
The launcher does not run a shell to execute the command so $HOME is treated literally. If you change $HOME to the required value (/home/<your user name>/) it should work.
I tried what you suggested and I now get the following message:
Details: Failed to execute child process "/home/enowak/proj4a >/home/enowak/proj4a_out" (No such file or directory)
I had a similar problem, which I fixed by putting a script file in the directory where I wanted to run the executable 'rpcemu', and that script was 'runrpcemu'...
Code:
#!/bin/sh
#
# Runs RPCemu
# installed in /home/terry/RPCemu-168
cd /home/terry/RPCemu-168
./rpcemu
My desktop launcher included the line...
Code:
Exec=/home/terry/RPCemu-168/runrpcemu
Not sure if my problem was exactly the same , but it is worth a try.
Cheers,
Terry
I create a launcher by right-clicking my desktop and then clicking "create launcher...".
This produces a box which contains entries for Type:, Name:, Command:, and Comment: .
Did you put the line "Exec=/home/terry/RPCemu-168/runrpcemu" into the command: box?
I create a launcher by right-clicking my desktop and then clicking "create launcher...".
This produces a box which contains entries for Type:, Name:, Command:, and Comment: .
Did you put the line "Exec=/home/terry/RPCemu-168/runrpcemu" into the command: box?
No, the "Exec=" stuff is generated. You add the path to your shell, in my case it was '/home/terry/RPCemu-168/runrpcemu'.
Once you have created your launcher, you can go to your Desktop dir and drag your new launcher icon to an editor and check/edit the appropriate Exec line.
Here is the text of my launcher to run rpcemu...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.