LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-22-2005, 01:33 PM   #1
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
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 :-)
 
Old 08-22-2005, 02:18 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
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?
 
Old 08-22-2005, 03:02 PM   #3
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Original Poster
Rep: Reputation: 46
yeah, it appears to work fine.

maybe a permissions problem??
 
Old 08-22-2005, 03:29 PM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,349

Rep: Reputation: 49
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
 
Old 08-22-2005, 03:36 PM   #5
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Original Poster
Rep: Reputation: 46
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.
 
Old 08-22-2005, 05:09 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
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
 
Old 08-23-2005, 04:08 AM   #7
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Original Poster
Rep: Reputation: 46
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.......
 
Old 09-27-2005, 11:50 AM   #8
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folders, and Mounts and File associations in KDE wombat53 Slackware 9 10-02-2005 10:18 PM
KDE File Associations Not Saving barkers Linux - Software 0 08-26-2005 07:55 AM
kde file associations gone crazy fibbi Linux - Software 1 06-20-2004 05:29 PM
KDE looses file associations Doergn Linux - Software 2 06-12-2004 02:25 AM
KDE never remembers my file associations agustin Mandriva 5 11-07-2003 01:19 PM


All times are GMT -5. The time now is 05:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration