![]() Registered Member ![]()
|
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.
|
![]() Administrator ![]()
|
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] |
![]() Registered Member ![]()
|
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? |
![]() Administrator ![]()
|
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] |
![]() Registered Member ![]()
|
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? |
![]() Administrator ![]()
|
Didn't realise Tellico was a KDE 3 application. Try "kcmshell filetypes"
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
and nothing happend. |
![]() Registered Member ![]()
|
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. |
![]() Administrator ![]()
|
@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] |
![]() Registered Member ![]()
|
With that version I have the same problem. |
![]() Administrator ![]()
|
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] |
![]() Registered Member ![]()
|
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.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]