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

Layout of .directory files.

Tags: None
(comma "," separated)
bonassis
Registered Member
Posts
59
Karma
0
OS

Layout of .directory files.

Mon Oct 18, 2010 12:34 pm
Hello,

Can someone point me to a howto or guide which describes the format of a .directory file used in KDE. It has a simular format like a name.desktop file, with for example a [Desktop Entry] part.

Stef Bon
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Layout of .directory files.

Tue Oct 19, 2010 2:31 am
.directory files use the same format as *.desktop files, as defined by the XDG standards.

Not sure what keys are supported however. Icon should be supported however. Name and Exec likely are not.


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

Re: Layout of .directory files.

Thu Oct 21, 2010 10:52 pm
The question starting the thread wasn't answered. Some SysAdmins are interested in having the person responsible for the module that reads the .directory and .desktop config files publish a HowTo describing the legal options, their exact formats, and the particular sections in which these must/should appear.

The victims of the KDE v4.x pretty crashing buggy also might want to know about this config file stuff too. Not everybody is limited to M$-style point-n-click. Are those particular v4 configs now stored as XML?

I'm a user of KDE v3.5.9 on openSuSE v11.0 (don't need any 'bleeding edge' stuff with M$-style crashes, so won't adopt v4 until the weirdness stops...)
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS

Re: Layout of .directory files.

Thu Oct 21, 2010 11:34 pm
cherev wrote:The question starting the thread wasn't answered. Some SysAdmins are interested in having the person responsible for the module that reads the .directory and .desktop config files publish a HowTo describing the legal options, their exact formats, and the particular sections in which these must/should appear.)


They may indeed be interested in that (and should be), but it is not entirely up to the KDE devs to do that. Sure, someone (or several more likely) wrote the module(s) that reads and interpretes those files but those files are meant to be desktop agnostic.

The following link may be a good starting point though:

http://standards.freedesktop.org/deskto ... ec/latest/


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: Layout of .directory files.

Fri Oct 22, 2010 3:41 am
KDE 4 uses INI style configuration files, like KDE 3 does. They are located in $KDEHOME in share/config, which if not set is usually ~/.kde or ~/.kde4 depending on the distribution or options used when compiling KDE ( if self built )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

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