[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mass-bug-filing: wms should provide a session file for kdm and gdm

Sorry for the long CC:-line. But as this mass bug filing was not
announced on debian-devel before, there was no chance to counter-speak
there, so I CCed all to keep the negative effects small.

* Christopher Martin <christopher.martin@utoronto.ca> [050925 18:03]:
> To make [your wm] a selectable option in gdm and kdm (though for the moment kdm 
> provides its own file), wm2 should ship /usr/share/xsessions/wm2.desktop. 
> These .desktop files take 2 minutes to create. Examples of the contents of 
> such files can be found in the blackbox, afterstep, and wmaker packages.

I want to ask all ivolved partied to *not* add .desktop files.
(At least not without further discussion).

First I claim this is nothing window manager should need to do, but
this is gdm's and kdm's task. Every window manager should register
itself as 'needs="wm"' to the Debian menu system, and when gdm and
kdm want to show a menu of all installed window managers, they should
add a menu-method to get one automatically.

Secondly I claim that the work-around to have window managers not
yet involved with .desktop files including such a file for this purpose
is hazardous:

* It adds additional burden for Debian. Maintainers have to make sure
  another path is correct, another descriptions fits to another format.
  Maintainers or translators supplying patches have another place and
  another format to get translations for those descriptions. ...

* It adds another burder for those administrating Debian machines,
  as there is another format for those to learn when they want to
  add another window manager, or change the description of some
  windowmanager, or hide away a window manager from the users.

* It makes it harder to add a proper solution:
  Unless there is a common way to tell in the menu registry, that
  there is already a .desktop files, display managers supporting
  those files and also supporting the Debian menu will either have
  to disable the .desktop files or will have multiple entries, unless
  they do some inteligent matching. (And as we all know, 
  inteligent means it might fail).
  For window managers also having or wanting a .desktop file for some
  reason, there are solutions like the 'kderemove="1"' KDE programs
  use to avoid multiple showings thinkable. But for that there needs
  to be such a agreed on token first and adding .desktop files before
  that only makes the situation worse in my eyes.

Thus I want to ask all involved parties to not ship .desktop files,
at least unless your window manager copes with .desktop files anyway.
	Bernhard R. Link

Reply to: