switching windows

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

 



Hi,

ext Marius Gedminas wrote:
> On Mon, Feb 04, 2008 at 06:04:28PM +0200, Eero Tamminen wrote:
>> ext Jeffrey Mark Siskind wrote:
>> You need to have a .desktop file installed which specifies the WM_CLASS
>> X property of that window (and preferably also an icon to use for it).
> 
> I'm quite interested in the reason why Maemo needs a .desktop file
> instead of taking the information from the standard X window properties.
> Is this explained anywhere?

I think the reason is that unlike Linux desktop window managers,
current Task Navigator internal structures are (still) quite tightly
bound to .desktop files and their contents, the appearing windows
are just then mapped to corresponding desktop entry objects based
on WM_CLASS, not maintained internally as independent objects.
If you want more accurate details, please read hildon desktop
source code.

.desktop files are needed so that user can start the applications from
the  Application menu in the first place (terminal is not supposed to be
the way how apps are started :-)).

Admittedly Hildon desktop should handle better applications that don't
have a .desktop file.  There doesn't seem to be a bug about this, at
least I couldn't find one[1].  If this is indeed true, could somebody
report it?


	- Eero

[1] There are some slightly related bugs:
	https://bugs.maemo.org/show_bug.cgi?id=95#c15
	https://bugs.maemo.org/show_bug.cgi?id=657
	https://bugs.maemo.org/show_bug.cgi?id=1303


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux