[prev in list] [next in list] [prev in thread] [next in thread]
List: moblin-dev
Subject: [Moblin Dev] moblin-media and midbrowser .desktop file changes
From: bill.filler () canonical ! com (Bill Filler)
Date: 2007-10-22 18:57:59
Message-ID: E1616BFA-1FD9-4786-A1CE-D024454E6516 () canonical ! com
[Download RAW message or body]
Carl,
The Hildon framework/window manager only knows about desktop files
in /usr/share/applications. A lot of functions defined in libhildonwm
will not work if these desktop files are not correct (especially the
StartupWMClass attribute). Bob Spencer and I have discussed removing
the desktop files from /usr/share/mobile-basic-flash/applications as
it's confusing/error prone having desktop files in both places. I
believe this change will be made moving forward..
Bill
On Oct 22, 2007, at 5:09 PM, Wong, Carl wrote:
> Btw, I thought the desktop files in /usr/share/application only
> used if you are invoking the app via hildon's main menu. But in our
> current UI, we don't have the main menu. Do we really need these
> files? Shouldn't we update the desktop files in /usr/share/mobile-
> basic-flash/applications instead?
>
> Carl
>
> -----Original Message-----
> From: dev-bounces@moblin.org [mailto:dev-bounces@moblin.org] On
> Behalf Of Bill Filler
> Sent: Monday, October 22, 2007 2:03 PM
> To: Lynch, Rusty
> Cc: Moblin Devel
> Subject: Re: [Moblin Dev] moblin-media and midbrowser .desktop file
> changes
>
> Sounds good and yes, I really only care about the StartupWMClass.
> Thanks
>
> Bill
>
> On Oct 22, 2007, at 4:46 PM, Rusty Lynch wrote:
>
>> Well, for moblin-media, how about:
>>
>> [Desktop Entry]
>> Version=1.0
>> Encoding=UTF-8
>> Name=Moblin Media
>> GenericName=Media Player
>> Comment=Play videos, listen to music, view photos, have fun!
>> Exec=moblin-media
>> Terminal=false
>> Type=Application
>> Icon=mobile_player
>> StartupWMClass=MoblinMedia.py
>> StartupNotify=true
>> Categories=GTK;Application;Utility
>> X-Osso-Service=org.moblin.media.service
>>
>> I'm guessing what you really care about is the StartupNotify and
>> StartupWMClass.
>>
>> --rusty
>>
>>
>>
>> On Mon, 2007-10-22 at 16:02 -0400, Bill Filler wrote:
>>> There is an inconsistency between the .desktop files that are
>>> installed in /usr/share/moblie-basic/flash/applications and the ones
>>> in /usr/share/applications for moblin-media.desktop and
>>> midbrowser.desktop. The files in /usr/share/applications need to be
>>> changed (the StartupWMClass is wrong). Can you guys please update
>>> the
>>> source for moblin-media and midbrowser? They should look like the
>>> following:
>>>
>>> [Desktop Entry]
>>> Version=1.0
>>> Encoding=UTF-8
>>> Name=Moblin Media
>>> Comment=Moblin Media
>>> Exec=moblin-media
>>> Icon=mobile_player
>>> StartupNotify=true
>>> Type=Application
>>> Categories=GTK;Application;Utility
>>> StartupWMClass=MoblinMedia.py
>>> X-Osso-Service=org.moblin.media.service
>>>
>>> [Desktop Entry]
>>> Encoding=UTF-8
>>> Name=Mobile Web Browser
>>> Comment=Browse the Web
>>> GenericName=Web Browser
>>> Exec=midbrowser %u
>>> Terminal=false
>>> X-MultipleArgs=false
>>> Type=Application
>>> Icon=midbrowser
>>> Categories=Application;Network;
>>> MimeType=text/html;text/xml;application/xhtml+xml;application/
>>> xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/
>>> rdf+xml;image/gif;image/jpeg;image/png
>>> StartupWMClass=gecko
>>> StartupNotify=true
>>> Name[sv]=Webbl?saren Midbrowser
>>> Comment[sv]=Surfa p? webben
>>> GenericName[sv]=Webbl?sare
>>>
>>> _______________________________________________
>>> dev mailing list
>>> dev@moblin.org
>>> https://www.moblin.org/mailman/listinfo/dev
>
> _______________________________________________
> dev mailing list
> dev@moblin.org
> https://www.moblin.org/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic