Page 1 of 1

Best Editor to use? Any xBase aware ones? File Associations

Posted: Sun Jul 29, 2007 3:52 am
by xProgrammer
Wondering what the best editor to use to create / edit .prg files. gedit looks OK but isn't xBase aware (not that I can see). Any plugin for it? Any other editor recommendations?

Also how do you associate .prg files with your text editor so that you don't have to go Open with other application| Text Editor

Thanks to anyone who can help

Posted: Sun Jul 29, 2007 10:41 am
by Antonio Linares
Doug,

First recommendation is to install gnome-commander which it is very usefull files manager based on Norton Commander (Total commander on Windows).

From a console window do:
sudo apt-get install gnome-commander

Then invoke it:
gnome-commander

simply double click on a PRG file and gedit will be automatically invoked

Posted: Sun Jul 29, 2007 10:42 am
by Antonio Linares
Image

Thanks and some feedback

Posted: Sun Jul 29, 2007 11:32 am
by xProgrammer
gnome-commander looks good and it solved my problem - but somewhat indirectly. I double clicked on the .prg file and got a similar set of options. However I noticed that the .prg file had permissions of rwx. I removed the x permission and double clicking on the file brings up gedit in both gnome commander and the file browser now.

I tried double clicking on my program to run it but in gnome-commander and got the following error message:

No default application found for the mime-type application/x-executable.
Open the "File types and programs" page in the Control Center to add one.

Sound simple enough but I don't know where the Control Centre is as yet.

Also the terminal session that I launched gnome-commander from gets the following message:

(gnome-commander: 25300) Gtk WARNING **: Ignoring the separator setting

The 2 are presumably related. Anything to do with not having an extension to the filename of the executable? I also cannot launch from the file Browser but launches fine from a terminal (although slight exit problem as reported earlier)

xProgrammer

Posted: Sun Jul 29, 2007 12:44 pm
by Antonio Linares
Yes, we see what you mean. We can't launch the application from gnome-commander too neither from "Nautilus" (the standard file browser). Lets see if we can find a solutiion.

Its seems its not name related as we use the default extension ".a", the result is the same

>
Also the terminal session that I launched gnome-commander from gets the following message:

(gnome-commander: 25300) Gtk WARNING **: Ignoring the separator setting
>

Thats seems as a gnome-commander specific issue. I don't think its related