Thank you.

I use Moblin 2.0 release.

Use d-feet to check org.moblin.UX.Shell.Toolbar bus. It only shows 
LaunchApplication, 
 LaunchApplicationByDesktopFile,   LaunchDefaultApplicationForUrl.

However, I found the  org.moblin.UX.Shell.Panels.myzone when using d-feet. It 
has RequestHide  and RequestShow signals.

So I typed the following commands to try it when I am not a "root" user.
dbus-send --session --type=signal --dest=org.moblin.UX.Shell.Panels.myzone 
/org/moblin/UX/Shell/Panels/myzone org.moblin.UX.Shell.Panel.RequestShow
dbus-send --session --type=signal --dest=org.moblin.UX.Shell.Panels.myzone 
/org/moblin/UX/Shell/Panels/myzone org.moblin.UX.Shell.Panel.RequestHide

But it dost not act. Can I try these commands in the terminal ? 

Thank you for your help.

From: [email protected]
To: [email protected]; [email protected]
Date: Fri, 6 Nov 2009 09:16:00 +0800
Subject: RE: [Moblin Dev] How can I show a running application (window) above   
myzone






















I just tried the command
on my netbook with Moblin 2.1 release. It is workable.

Make sure you are using
default user, but not root to login. 

 

Use d-feet to check
org.moblin.UX.Shell.Toolbar bus. On my netbook, HidePanel, HideToolbar,
ShowPanel, ShowToolbar methods are exposed.

 

 









From:
小
勝
[mailto:[email protected]] 

Sent: 2009年11月5日 20:21

To: Wang, Jing J; [email protected]

Subject: RE: [Moblin Dev] How can
I show a running application (window) above myzone



 

Thank you for your help.



However, I try to type the command in the terminal.

dbus-send --session --type=method_call --print-reply
--dest=org.moblin.UX.Shell.Toolbar /org/moblin/UX/Shell/Toolbar
org.moblin.UX.Shell.Toolbar.HidePanel string:myzone boolean:true



It shows one error message.

Error org.freedesktop.DBus.Error.UnknowMethod: Method "HidePanel"
with signature "sb" on interface
"org.moblin.UX.Shell.Toolbar" doesn't exist.



I also run the sample code of dbus to list the name of all session bus.

The message bus of org.moblin.UX.Shell.Toolbar exists on my system.

Does "HidePanel" method support? 

 

Thank you.



> From: [email protected]

> To: [email protected]; [email protected]

> Date: Thu, 5 Nov 2009 13:17:04 +0800

> Subject: RE: [Moblin Dev] How can I show a running application (window)
above myzone

> 

> I don't think any Application window can locate above Myzone. A workaround
way is to send dbus command to toolbar to hide Myzone in your daemon.

> 

> Dbus-send --session --type-method_call --dest=org.moblin.UX.Shell.Toolbar
/org/moblin/UX/Shell/Toolbar org.moblin.UX.Shell.Toolbar.HidePanel
string:myzone boolean:true

> 

> -----Original Message-----

> From: [email protected]
[mailto:[email protected]] On
Behalf Of 小
勝

> Sent: 2009年11月5日 13:00

> To: [email protected]

> Subject: [Moblin Dev] How can I show a running application (window) above
myzone

> 

> 

> Hi,

> 

> I write a daemon to start a application (window) when some 

> events occur. This daemon can work fine when I am using 

> some applications. However, if I am idle in myzone, the event 

> occurs, starting application can not show above myzone until 

> I type "Alt + Tab".

> 

> Can I show a window above myzone of moblin?

> 

> Thank you.

> 

> _________________________________________________________________

> 隨身的 Windows Live Messenger 和 Hotmail,不限時地掌握資訊盡在指間 — Windows Live for Mobile

> http://3c.msn.com.tw/mobile/

> _______________________________________________

> Moblin dev Mailing List

> [email protected]

> 

> To manage or unsubscribe from this mailing list visit:

> http://lists.moblin.org/listinfo/dev
or your user account on http://moblin.org once logged in.

> 

> For more information on the Moblin Developer Mailing lists visit:

> http://moblin.org/community/mailing-lists







Windows 7:簡化您的日常工作。 找出適合您的電腦。

                                          
_________________________________________________________________
嶄新的 Windows 7:找出適合您的電腦。深入了解。
http://windows.microsoft.com/shop
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to