This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problems with file associations

Tags: None
(comma "," separated)
infinality
Registered Member
Posts
3
Karma
0

Problems with file associations

Sun Nov 11, 2012 1:50 am
I have some Super Nintendo ROM file rips of music that end with the extension .spc. For some reason, KDE *insists* that this is a text file. So, if I change the properties of these files so that they are opened using audacious, then all my text files are now opened with audacious. That of course sucks.

I've gone into the file associations area and created a type called "Super Nintendo Music" with .spc extension, as well as make sure .spc is not listed inside any other mime type as an extension. Yet, konqueror still considers .spc files as text files, even though .spc is not even listed in the associated extensions.

What am I doing wrong?
User avatar
jrodriguez
Registered Member
Posts
15
Karma
0
OS

Re: Problems with file associations

Sun Nov 11, 2012 2:47 pm
infinality wrote:I have some Super Nintendo ROM file rips of music that end with the extension .spc. For some reason, KDE *insists* that this is a text file. So, if I change the properties of these files so that they are opened using audacious, then all my text files are now opened with audacious. That of course sucks.

I've gone into the file associations area and created a type called "Super Nintendo Music" with .spc extension, as well as make sure .spc is not listed inside any other mime type as an extension. Yet, konqueror still considers .spc files as text files, even though .spc is not even listed in the associated extensions.

What am I doing wrong?


Hello friend. Interesting problem.

The problem is, partly, that the extension .spc is ambiguous. Three different types of files using this extension:

http://www.fileinfo.com/extension/spc

My system, Kubuntu 12.10, identifies him as 'Software Publisher Certificate File'

PS: I apologize for my English.


PS: I apologize for my English.
infinality
Registered Member
Posts
3
Karma
0

Re: Problems with file associations

Sun Nov 11, 2012 5:26 pm
Thanks for your response. Yes, I noticed the same thing, that .spc is used for other types too, however I went in and specifically removed .spc from every type except the one I created, and it still shows up as a text file! I wonder if it's even possible to do what I'm trying to do without hacking stuff at the system level with root.
User avatar
jrodriguez
Registered Member
Posts
15
Karma
0
OS

Re: Problems with file associations

Sun Nov 11, 2012 6:14 pm
infinality wrote:... I went in and specifically removed .spc from every type except the one I created, ...


How? What Dolphin? Or System Settings/File Associations?

http://userbase.kde.org/System_Settings ... sociations

'File Associations' does not work for you?


PS: I apologize for my English.
infinality
Registered Member
Posts
3
Karma
0
I am using Konqueror, but changed stuff in the File Associations in the System Settings area. I tried dolphin, and amazingly, it works there. So, on a hunch I restarted konqueror and it finally picked up the changes. So, by problem was assuming that "apply" actually applies the changes. ;)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Problems with file associations

Mon Nov 12, 2012 7:01 am
It was probable that Konqueror cached the previous result it had - as looking up the mimetype, and the associated application for that mimetype can be expensive in some cases (especially where the files are on a remote system). In general, KDE uses mimetypes (determined by file extensions and sequences of data)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell