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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-22-2005, 01:33 PM
|
#1
|
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,463
Rep:
|
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 :-)
|
|
|
|
08-22-2005, 02:18 PM
|
#2
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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?
|
|
|
|
08-22-2005, 03:02 PM
|
#3
|
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,463
Original Poster
Rep:
|
yeah, it appears to work fine.
maybe a permissions problem??
|
|
|
|
08-22-2005, 03:29 PM
|
#4
|
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,346
Rep:
|
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
|
|
|
|
08-22-2005, 03:36 PM
|
#5
|
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,463
Original Poster
Rep:
|
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.
|
|
|
|
08-22-2005, 05:09 PM
|
#6
|
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
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
|
|
|
|
08-23-2005, 04:08 AM
|
#7
|
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,463
Original Poster
Rep:
|
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.......
|
|
|
|
09-27-2005, 11:50 AM
|
#8
|
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
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).
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:53 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|