*.kilepr file association missing

Bug #580401 reported by japs_it88
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kile (Ubuntu)
Fix Released
Undecided
Andreas Wenning

Bug Description

Binary package hint: kile

jacopo@arum:~$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

jacopo@arum:~$ apt-cache policy kile
kile:
  Installed: 1:2.1.0~svn1112263beta4-0ubuntu1
  Candidate: 1:2.1.0~svn1112263beta4-0ubuntu1
  Version table:
 *** 1:2.1.0~svn1112263beta4-0ubuntu1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

Very simply, *.kilepr Kile Project files are treated as plain text after installing kile.
It would make much more sense to change file association settings at install time, and tie *.kilepr to its mother application.

Work around in Kubuntu 10.04:
System Settings > Advanced > File Association > text > x-tex
and add *.kelpr to "Filename Patterns".

Changed in kile (Ubuntu):
assignee: nobody → Andreas Wenning (andreas-wenning)
status: New → In Progress
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Fixed for maverick in the new version just merged from debian.

Changed in kile (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Giovanni Pardini (gio.pardini) wrote :

As a workaround for Ubuntu 10.04, it is also possible to fix the mime type for a single user by creating file .local/share/mime/packages/kile.xml in the user's home directory.

The correct file can be extracted from the updated package (kile_2.1.0~svn1112278beta4-2ubuntu1_i386.deb):

$ mkdir temp
$ dpkg -X kile_2.1.0~svn1112278beta4-2ubuntu1_i386.deb temp/
$ mkdir -p ~/.local/share/mime/packages
$ cp temp/usr/share/mime/packages/kile.xml ~/.local/share/mime/packages
$ update-mime-database ~/.local/share/mime/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.