[Gvsig_english] Suggestion gvSIG 2.0.0.2066 -- Installation on Ubuntu does not establish file associations

Manuel Madrid mmadrid at gvsig.com
Wed Jun 5 10:56:52 CEST 2013


Hi Simon,

Ok. We'll review this. Thank you very much for all the info.

Best,
Manuel.

El 05/06/13 03:32, Simon Cropper escribió:
> Manuel,
> 
> The sequence is a bit different in Ubuntu 13.04.
> 
> 1. Right Click gvsproj file
>     > there is NO "Use a custom command" option
> 2. Select "Open with > Other Application..."
> 3. In dialog box select "Show other applications"
> 4. The list of applications installed on the system appears
>     > gvSIG *IS NOT IN LIST*
>     > No other options exist to select specific application
> 
> As I understand it, this list is populated from the list of files in the 
> "$HOME/.local/share/applications" directory. I checked this directory 
> and the gvSIG desktop file is present. All the permissions for this file 
> are OK.
> 
> Obviously something has changed...
> 
> Searching the Internet again I found the following ...
> 
> http://ubuntugenius.wordpress.com/2012/06/18/ubuntu-fix-add-program-to-list-of-applications-in-open-with-when-right-clicking-files-in-nautilus/
> 
> ... which allows me to see the application in the list
> ... but this causes the following error to be thrown up!
> 
> Errors in initialization of application.
>    postInitialize of extension 
> 'org.gvsig.app.extension.ProjectExtension' failed
> 
> I presume you will need to change the desktop file to include "%f" in 
> the Exec= line and fix the bash script so it stops baulking when 
> starting with a command line argument.
> 
> On 05/06/13 01:17, Manuel Madrid wrote:
>> Hi Simon,
>>
>> I could associate gvsproj files to gvSIG app in Ubuntu 10.04. Maybe it
>> has changed in newer versions. I made this:
>>
>> 1. Right click on the file within the system file manager.
>> 2. Expand the option called "Use a custom command" and browse for the
>> gvSIG executable file.
>> 3. Press on "Open".
>> 4. gvSIG launches and the .gvsproj file extension keeps associated to
>> gvSIG app.
>>
>> Nevertheless, gvSIG launching is not correct. It throws an error.
>>
>> Thus, the problem is not the file association but to be able to load the
>> project file properly. I opened an issue [1].
>>
>> Please, check again that you are able to associate the file extension
>> and let us know.
>>
>> Best,
>> Manuel.
>>
>> [1] https://devel.gvsig.org/redmine/issues/1892
>>
>> El 04/06/13 04:35, Simon Cropper escribió:
>>> Hi Guys,
>>>
>>> Operating System: Ubuntu 13.04 (using Gnome Classic Interface).
>>> gvSIG Version 2.0.0.2066
>>> Java version: 1.6.0_20
>>>
>>> **PROBLEM**
>>>
>>> Installation on Ubuntu does not establish file associations.
>>>
>>> I have spent about half an about trying to link the project file
>>> *.gvsproj with the gvSIG application. I have searched the Internet for
>>> solutions and tried everything listed and a few other tricks.
>>>
>>> The application desktop file in the $HOME/.local/applications
>>> are not seen by the OS when listing alternative applications to use to
>>> open the file. By default the Archive manager is associated with the
>>> file extension type.
>>>
>>> It would be useful if you could just click on the project file and have
>>> the file passed onto gvSIG.
>>>
>>> Can anyone help get this thing fixed?
>>>
>>
> 
> 

-- 
Manuel Madrid.
Product and testing manager.
gvSIG project (http://www.gvsig.org).


More information about the Gvsig_internacional mailing list