LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   KDE file associations (https://www.linuxquestions.org/questions/linux-software-2/kde-file-associations-355876/)

satinet 08-22-2005 01:33 PM

KDE file associations
 
Hello,

In KDE the default file associations are pretty rubbish. It insist on opening things in a preset application. Ok fine. Go to the contol panel and change that.....

However, when i change default file associations, KDE does not act on it. And when I go back to the control centre, things are the same as they were before. This is really making KDE pretty useless as I like to play a lot of multimedia stuff and am getting sick of having to manual select Xine every time.

Any ideas?

Thanks :-)

leonscape 08-22-2005 02:18 PM

Yes, somthings broken in your setup, or your not setting things quite right. Setting the Associations in the control panel should be permanant.

When you chnage your settings, do you click apply? and does a window popup with a progrss bar, saying saving settings... appear?

satinet 08-22-2005 03:02 PM

yeah, it appears to work fine.

maybe a permissions problem??

IsaacKuo 08-22-2005 03:29 PM

You wouldn't have happened to have accidentally logged in graphically as root, would you?

Assuming it's a permissions problem, try looking around in the ~/.kde directory for anything amiss (like something owned by root instead of <userid>, or something without write permissions). If so, then perhaps issuing the following will fix it:

cd ~
chown -r userid:usergroup .kde

satinet 08-22-2005 03:36 PM

No - i'm not a noobie.... are you kidding? lol

i know how to chown recursively. My job is a unix administrator. I just don't know that much about KDE.
It's the same for all users, even if I create a new one for testing.

I was wondering if anyone knew specifly how KDE deals with file associations.........


maybe i wrote my post in a newbie way. sigh.

foo_bar_foo 08-22-2005 05:09 PM

in kde those references are stored in
`kde-config --prefix`/share/applications/mimeinfo.cache

this stuff can get all messed up as you have found out

if you have a file in $HOME/.kde/share/applnk
about an application then it overrides the file in
`kde-config --prefix`/share/applnk
and most likely can mess up your ability to do file associations with that app
so delete the broken ones of those and then do
kbuildsycoca --noincremental
i think that will rebuild the database

wish i knew more

satinet 08-23-2005 04:08 AM

Hmm, yes i suspect there is something wrong with my config. not that i've ever changed it previously.

I will just have to do the digging i guess. doh :-(


Thanks for your suggestions. I points me in a direction.......

archtoad6 09-27-2005 11:50 AM

Quote:

Originally posted by foo_bar_foo
in kde those references are stored in
`kde-config --prefix`/share/applications/mimeinfo.cache
... the file in
`kde-config --prefix`/share/applnk

Your backticks, '`', are confusing me; could you provide a paste-able CLI snippet in a code block?
(& Yes, I did RTFM).


All times are GMT -5. The time now is 10:30 PM.