Advertisement

Linux File Associations

Started by November 05, 2003 04:36 AM
2 comments, last by aidan_walsh 21 years ago
Does anybody know where the major desktop store their file associations? I mean the likes of Gnome, KDE, etc. I''ve tried taking a look around but all I can find are shell scripts or ways of doing it in the desktop manager itself. I''m writing an installer in Java and I need to be able to associate file types with applications. Thanks in advance. SketchSoft OFFLINE | SketchNews
www.aidanwalsh(.net)(.info)
for kde its in control center->kde components->file associations
for gnome go to desktop settings->complex->preferred apps
(translated from german)

this yould differ from your pc if you use another distribution but in general they match. Generally you can set the assiciations in the respective file managers (konqueror/nautilus) with a simple right click on the file.
http://mitglied.lycos.de/lousyphreak/
Advertisement
I had to write a fully Gnome-integrated application a couple weeks ago, so I had to learn all of this then .

There''s a Free Desktop specification for this here. The specification overviews previously used/existing systems as well. It''s pretty readible, so I''ll not write a full example if I can get out of it.

Null, thats one hell of an invaluable site. Thank you!!

SketchSoft OFFLINE | SketchNews
www.aidanwalsh(.net)(.info)

This topic is closed to new replies.

Advertisement