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

[SOLVED] file association

Tags: None
(comma "," separated)
birno
Registered Member
Posts
6
Karma
0
OS

[SOLVED] file association

Fri Oct 23, 2009 6:57 pm
Hi,

I'm using Debian testing with awesome window manager.
I install Tellico, work well, but the movie files play with vlc, I want mplayer and the http links open with geany, I want iceweasel.
How can I change the file association for a KDE program on a non-KDE system?

Last edited by birno on Mon Oct 26, 2009 12:03 am, edited 2 times in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: fiel association

Fri Oct 23, 2009 11:15 pm
Assuming you are using KDE 4, you need to use "System Settings" to configure KDE. If you are using KDE 3, You need to use "KControl". You may need to install them if they are not already installed.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
birno
Registered Member
Posts
6
Karma
0
OS

Re: fiel association

Sat Oct 24, 2009 6:13 am
I wrote that I not use KDE, I use awesome as a window manager and not install a full DE in the backround just programs that I need.
I don't want to install the half KDE to change an association setting.
Because Tellico doesn't have an option to change these options I think read it from a file, but don't know what file.
Can I change these settings without install any other KDE dependency?
Maybe with in a file that contains the mimetye and program pairs?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: file association

Sat Oct 24, 2009 9:17 am
While this is correct, since KDE applications share common settings between each other, such as file associations, certain applications are required.

Try running the command "kcmshell4 filetypes" which should bring up the File Assocations control module. If that fails, your installation of KDE is missing the Runtime module, which is a hard dependency of all KDE applications.

If this module is not present, most KDE applications will not function correctly.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
birno
Registered Member
Posts
6
Karma
0
OS

Re: file association

Sat Oct 24, 2009 1:09 pm
The command doesnt work because I don't install KDE just Tellico and the required dependencies.
The question is, without this hard dependencies tellico how to know the associations?
Maybe if I create a file under $HOME/.kde/applink or mimelink directories it will work?
If yes what's the file structure?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: file association

Sat Oct 24, 2009 7:34 pm
Didn't realise Tellico was a KDE 3 application. Try "kcmshell filetypes"


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
birno
Registered Member
Posts
6
Karma
0
OS

Re: file association

Sat Oct 24, 2009 9:25 pm
Code: Select all
~$kcmshell filetypes
kbuildsycoca running...

and nothing happend.
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS

Re: file association

Sat Oct 24, 2009 9:38 pm
bcooksley wrote:Didn't realise Tellico was a KDE 3 application. Try "kcmshell filetypes"


Actually, there is a KDE4 version. Whether it is available in Debian I don't know, nor how stable it is compared to the KDE3 version.


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: file association

Sun Oct 25, 2009 1:32 am
@birno: While I don't know the specifics of KDE 3 package names in Debian, try searching for kcm_filetypes.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
birno
Registered Member
Posts
6
Karma
0
OS

Re: file association

Sun Oct 25, 2009 9:51 am
Kryten2X4B wrote:
bcooksley wrote:Didn't realise Tellico was a KDE 3 application. Try "kcmshell filetypes"


Actually, there is a KDE4 version. Whether it is available in Debian I don't know, nor how stable it is compared to the KDE3 version.


With that version I have the same problem.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: file association

Sun Oct 25, 2009 7:49 pm
For the KDE 4 version, the kcmshell4 command I gave above should work. If it doesn't, you are missing a required package for KDE applications to function ( kdebase-runtime )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
birno
Registered Member
Posts
6
Karma
0
OS

Re: file association  Topic is solved

Mon Oct 26, 2009 12:01 am
I solved the problem, copy the mplayer.desktop and iceweasel.desktop files from /usr/share/applications to ~/.kde/share/applnk and set the InitialPreference=20 option.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]