Łukasz Ślachciak | 6 Mar 2009 20:44
Picon

Waiting for the child process to finis


Hello,

I would like to  know when  application  launched  by my program  has 
finished its execution.

I'm using g_app_info_launch from GIO but it only allows me to launch 
application without giving any possibility to get a knowledge in a 
future when that application has finished.

Does any of the other gnome family libraries allows me to do this? Or I 
just need to use fork() and exec() functions?

Regards

--

-- 

Łukasz Ślachciak
e-mail:rombin <at> gmail.com
Wouter Bolsterlee | 6 Mar 2009 23:29
Picon
Gravatar

Re: Waiting for the child process to finis


2009-03-06 klockan 20:44 skrev Łukasz Ślachciak:
> I would like to  know when  application  launched  by my program  has  
> finished its execution.
>
> I'm using g_app_info_launch from GIO but it only allows me to launch  
> application without giving any possibility to get a knowledge in a  
> future when that application has finished.
>
> Does any of the other gnome family libraries allows me to do this? Or I  
> just need to use fork() and exec() functions?

Try g_spawn_async(), g_spawn_sync() and friends.

    — Wouter
_______________________________________________
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
Łukasz Ślachciak | 7 Mar 2009 08:43
Picon

Re: Waiting for the child process to finis


Thx for the reply. It helped me.

I've used /g_spawn_async/ together with /g_child_watch_add/ and 
/g_spawn_close_pid/.

Regards

-- 

Łukasz Ślachciak
e-mail:rombin <at> gmail.com

Wouter Bolsterlee:
> 2009-03-06 klockan 20:44 skrev Łukasz Ślachciak:
>   
>> I would like to  know when  application  launched  by my program  has  
>> finished its execution.
>>
>> I'm using g_app_info_launch from GIO but it only allows me to launch  
>> application without giving any possibility to get a knowledge in a  
>> future when that application has finished.
>>
>> Does any of the other gnome family libraries allows me to do this? Or I  
>> just need to use fork() and exec() functions?
>>     
>
> Try g_spawn_async(), g_spawn_sync() and friends.
>
>     — Wouter
(Continue reading)

Christian Martellini | 16 Mar 2009 18:33
Picon
Gravatar

gnome-mount notifications & media-applet


Hi guys,
My name is Christian and I'm the main developer of media-applet a small utility for gnome that handles removable devices and local disks. http://live.gnome.org/media-applet

In order to satisfy requests of people using media-applet, I'm working to introduce a better notification system that notifies people when a device is unmounted.

I have already made this on the latest svn release of my project, but I have an annoying problem:  gnome mount notifies users that they can remove the device only when a device that require writing data to disk is unmounted (after all data has been written on it), but this way I got 2 notifications telling the same thing to the users, the first from gnome-mount and the second from media-applet.
See this Screenshot for a better understanding http://lh4.ggpht.com/__2Z1sAOuevg/Sb6FtSFcyqI/AAAAAAAAAwc/uD6UnYi0JWk/s720/Screenshot.png

Since I think that gnome-mount is the proper place for handling this kind of notification don't you think that it could be useful for users to introduce in gnome-mount a notification that always appears when a device is unmounted and not only when you unmount a device that need some data to be written on it?

Maybe this could be a user-activable feature through gconf.

If a device is unmounted with an application different from nautilus (for example using media-applet :) ) there is no feedback telling you that the device was unmounted and a notification could be very useful.


Thanks for your attention,
Cheers
(Continue reading)

Nickolay V. Shmyrev | 17 Mar 2009 10:02
Picon
Favicon

Re: gnome-mount notifications & media-applet


В Пнд, 16/03/2009 в 18:33 +0100, Christian Martellini пишет:
> Hi guys,
> My name is Christian and I'm the main developer of media-applet a
> small utility for gnome that handles removable devices and local
> disks. http://live.gnome.org/media-applet
> 

Hi Chiristian

Nice applet indeed. It would be nice to get it inside gnome-applets one
day.

> In order to satisfy requests of people using media-applet, I'm working
> to introduce a better notification system that notifies people when a
> device is unmounted. 
> 
> I have already made this on the latest svn release of my project, but
> I have an annoying problem:  gnome mount notifies users that they can
> remove the device only when a device that require writing data to disk
> is unmounted (after all data has been written on it), but this way I
> got 2 notifications telling the same thing to the users, the first
> from gnome-mount and the second from media-applet.
> See this Screenshot for a better understanding
> http://lh4.ggpht.com/__2Z1sAOuevg/Sb6FtSFcyqI/AAAAAAAAAwc/uD6UnYi0JWk/s720/Screenshot.png
> 
> Since I think that gnome-mount is the proper place for handling this
> kind of notification don't you think that it could be useful for users
(Continue reading)

Ashish Kumar Rai | 19 Mar 2009 18:03
Picon

GSoC enthusiast hoping to integrate multi-touch user-interface


Respected Sir,

I am a GSoC enthusiast hoping to integrate multi-touch user-interface with the help of MPX ( Multi-Pointer X ) in MT enabled desktop/surface.

Multi-touch denotes a set of interaction techniques which allow computer users to control graphical applications with several fingers. The multi-touch technology is in a development stage and offers immense opportunities - both technical and economical. It will help in putting computers to a variety of new applications and open up new kinds of avenues.
I feel that Multi-touch has started to show that it will be the next-big-thing in the field of User Interface.

I do feel that Multi-Touch(MT) stuff is still in infancy stage but it has started to show its effect through the phenomenal success of IPhone and various big-shot companies are pouring in huge money to develop in-house multi-touch software. Hence I would like to propose to start with the development of MT based user interface the new generation desktop/surface systems.

It is much more intuitive and friendly way for an architect or a designer to develop and show models with his both hands by directly touching the models instead of using the mouse as a pointer device which is more abstract.  A user can very easily and in natural way can navigate/use an application based on Multi-Touch user interface.

MPX provides multiple independent pointers (mouse cursors) at the windowing system level. Since gesture depends a lot on the context, gesture support is not required in the X. A gesture in one context can mean something different in a different context. And the only thing that knows the context is the application, very similar to a button press.Pressing a mouse button can mean a zillion different things, depending where and when it happens. That's why all X does is relay the button press to a client application, which then does the right thing.
I am trying to build (Continue reading)

Suraj James | 24 Mar 2009 00:31
Picon
Favicon

Gnome Development Question


Hi,

 I'm trying to find information on how to make an application a part of Gnome Project. Like Cheese is a part of Gnome or Nautilus is a part of Gnome, I know a project "Jokosher Audio Editor" (http://www.jokosher.org/) which might be interested in becoming a Gnome Sub Project. Could you please give details on how to become a part of Gnome and what are the requirements. Could you give some advantages of becoming a part of Gnome.

Please send details here : https://bugs.launchpad.net/jokosher/+bug/347585. If you can't login or submit a comment in the launchpad page, please send them directly to me and I can post it there.

Thanks,

Suraj

Tell the whole story with photos, right from your Messenger window. Learn how!
_______________________________________________
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
Hubert Figuiere | 24 Mar 2009 05:10
Gravatar

Re: Gnome Development Question


On 03/23/2009 07:31 PM, Suraj James wrote:
>
>   I'm trying to find information on how to make an application a part of Gnome Project.

The information you are looking for is here:

http://live.gnome.org/ReleasePlanning/ModuleProposing

Hub
Paul Cutler | 26 Mar 2009 22:37
Favicon
Gravatar

GNOME Terminal Documentation


Hi, I'm working on updating the GNOME Terminal documentation, which
last updated by Christian Persch in December.

I didn't see a mailing list for GNOME Terminal, and wasn't sure where
to ask, so if this isn't the right place, please let me know.

My goals for updating the docs for GNOME Terminal are:

* Make GNOME Terminal docs compatible with Pulse
(http://www.gnome.org/~shaunm/pulse/web/doc/svn.gnome.org/gnome-terminal/gnome-terminal/trunk)
* Update "About This Document"
* Update the description / metadata per Bug 500563 from the GHOP
Contest: http://bugzilla.gnome.org/show_bug.cgi?id=500563
* Bug 544101 (Custom Command documentation)  I need some help with
this one.  Looking at the second comment in Bugzilla, I'm not really
sure what the bug report is asking to be documented as it relates to
GNOME Terminal's current behavior.  The documentation currently
states:

Run a custom command instead of my shell

                      Select this option to run a specified command,
other than the normal shell, in the terminal. Specify the custom
command in the Custom command text box.

I almost think that for users who go into the Preferences of GNOME
Terminal to set a custom command that runs instead of the shell, they
probably know what they're doing and the current documentation is good
enough.  Thoughts?
(Continue reading)

Shaun McCance | 26 Mar 2009 23:14
Picon
Gravatar

Re: GNOME Terminal Documentation

On Thu, 2009-03-26 at 16:37 -0500, Paul Cutler wrote:
> Hi, I'm working on updating the GNOME Terminal documentation, which
> last updated by Christian Persch in December.

I went ahead and committed a releaseinfo marking the
document as "review".  Let's get these changes in and
the document reviewed before 2.26.1.

Paul and any other documentation folks: please submit
reviews or patches to bugzilla and ping the mailing
list.  I or someone else will try to look over them
as quickly as possible.

Everybody please note that gnome-terminal has branched,
so you should work from the gnome-2-26 branch:

svn.gnome.org/svn/gnome-terminal/branches/gnome-2-26

Anybody committing patches should make sure to commit
them to both gnome-2-26 and trunk.

Behdad and Christian, could one of you do a technical
review of the documentation please?  You're looking for
technical accuracy and completeness.  What we need to
know from you is whether everything the documentation
says is true, and whether it covers any new features
that may have been added.  You don't need to worry
about language or markup.

Thanks for your time.
(Continue reading)


Gmane