summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/FDO.txt48
1 files changed, 43 insertions, 5 deletions
diff --git a/doc/FDO.txt b/doc/FDO.txt
index 8ebe00a..61ee2cd 100644
--- a/doc/FDO.txt
+++ b/doc/FDO.txt
@@ -1,11 +1,26 @@
1Enlightenment DR17 use freedesktop.org .desktop files according to the 1Enlightenment DR17 uses freedesktop.org .desktop files according to the
2XDG Desktop Entry Specification version 0.9.4, icon themes according to 2XDG Desktop Entry Specification version 0.9.4, icon themes according to
3the XDG Icon Theme Specification version 0.11, and menus according to 3the XDG Icon Theme Specification version 0.11, and menus according to
4the Desktop Menu Specification version 0.92. There are some extensions 4the Desktop Menu Specification version 0.92. Everything is searched for
5though. 5in paths specified by XDG Base Directory Specification version 0.6.
6There are some extensions and gotchas though.
6 7
7 8
8.desktop extensions. 9Paths.
10
11The spec wants us to run gnome-config and kde-config several times at
12startup. This is currently #if'ed out and replaced with guesses. Lots
13of guesses is a lot quicker than actually running those programs, and
14often is good enough. The plan is to have an idle process run those
15programs and fix the guesses.
16
17A lot of distro specific quirks can be solved by adding more directories
18and directory snippets to the ecore_desktop_paths code. The process of
19eliminating non existing directories is quick, and only done once at
20start up.
21
22
23.desktop.
9 24
10Two extension fields are defined as allowed by the specification. 25Two extension fields are defined as allowed by the specification.
11 26
@@ -34,7 +49,7 @@ just copy the app/icon/class data to the X-Enlightenment-IconClass
34field. 49field.
35 50
36 51
37Icon theme extensions. 52Icon theme.
38 53
39.edj files are searched for before the other types of icon file. The 54.edj files are searched for before the other types of icon file. The
40"icon" group is used to specify the graphics for the icon. It is up to 55"icon" group is used to specify the graphics for the icon. It is up to
@@ -42,3 +57,26 @@ the code using the result to allow full edje interactions and
42animations, and people that write that code are encouraged to support it 57animations, and people that write that code are encouraged to support it
43all. 58all.
44 59
60
61Menus.
62
63The most complex, and thus the most problematic of the specifications.
64The general philosophy is to err on the side of caution, giving the user
65more apps in their menus rather than less. Even if that means some
66duplicates and some things that aren't really apps.
67
68There is often a .hidden menu, it contains various types of things.
69Some of those things are supposed to be moved into proper menus by the
70menu moving part of the spec. The menu moving code has not been
71implemented yet. Following the above philosophy, it is shown to the
72user.
73
74Slackware and probably other distros use parent style menu merging.
75Initially I did not write code to support that for two reasons. The
76specification is confusing, and it takes some digging and cross
77referencing other specs to sort out what it actually means. The other
78reason is that distros available to me at the time for testing did not
79use parent style menu merging, so there was no way to test it properly.
80Now that I know of at least one distro that uses them, it's worthwhile
81writing the code, and installing slackware under QEMU for testing.
82