This is an obscure, odd problem, but maybe someone here can offer some suggestions.
I am setting up my new installation of Fedora 12 x86_64 with Gnome desktop. I am trying to create a menu item in the Applications menu to launch TreeForm, a syntax tree editing program written in Java. The command to launch it is: java -Xmx256m -Xms64m -jar TreeForm.jar The TreeForm.jar archive resides in /home/jjj/Software. If I use the command line and change directory to /home/jjj/Software, then execute the command, the program launches and all of the buttons on its menu appear. If I launch it from someplace else and use the command: java -Xmx256m -Xms64m -jar /home/jjj/Software/TreeForm/TreeForm.jar It launches, but the buttons do not appear. The TreeForm folder contains a subfolder containing images of the buttons. For some reason the application finds the subfolder when it is launched from the command line inside the /home/jjj/Software/TreeForm folder, but not if it is called from outside that folder. This is very strange, but it doesn't matter to me as long as I get the buttons. I opened Alacarte to create a launch item. The launch entry launches TreeForm, but without the buttons. The command I started with was: java -Xmx256m -Xms64m -jar /home/jjj/Software/TreeForm.jar In an attempt to fix the problem, I changed the command to: cd /home/jjj/Software/TreeForm | java -Xmx256m -Xms64m -jar TreeForm.jar However, this gives me an error message 'failed to execute child process "cd" (No such file or directory).' I'm trying to get the launch menu command to change to the directory first, then launch the .jar archive. Apparently I haven't got the syntax quite right. Clicking on the Help button in Alacarte gives me 'The requested URI "ghelp:user-guide#menu-editor" is invalid.' I bet there is someone here with enough command line experience to suggest some ways of writing the command so that it accomplishes what I want. _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
