From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 573911381F3 for ; Sat, 13 Jul 2013 03:06:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5F21E0ADD; Sat, 13 Jul 2013 03:06:23 +0000 (UTC) Received: from mail130c7.megamailservers.com (mail130c7-2520.megamailservers.com [69.49.98.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8B2BE095D for ; Sat, 13 Jul 2013 03:06:22 +0000 (UTC) X-POP-User: admin.sys-concept.com Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail130c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id r6D36K1t009801 for ; Fri, 12 Jul 2013 23:06:22 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id AA76E2047D9; Fri, 12 Jul 2013 21:06:49 -0600 (MDT) Date: Fri, 12 Jul 2013 21:06:49 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] pop up windows with text message Message-ID: <20130713030649.GE14529@syscon7.inet> References: <20130709165430.GC24522@syscon7.inet> <51DD2792.70308@gmail.com> <20130711024822.GB17831@syscon7.inet> <20130711092857.3474e361@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline In-Reply-To: <20130711092857.3474e361@hactar.digimed.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-CSC: 0 X-CHA: v=1.1 cv=Mhqc3/X9V5UQNROQ2s7MHnz/8JIO7YNfKQjkGZdtPl4= c=1 sm=1 a=wom5GMh1gUkA:10 a=gLv17SRba5oA:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=jtKp-5DtcXkHM8NuVXYA:9 a=wPNLvfGTeEIA:10 a=C3ZDv51cNVt4vJz/79I2xQ==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A02020A.51E0C42E.005A,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Archives-Salt: b4e8e88f-01a0-4b92-a4fc-fec3fb1cde9a X-Archives-Hash: b73b10167cad23c83f437bd1df95c217 On 07/11/13 09:28, Neil Bothwick wrote: >On Wed, 10 Jul 2013 20:48:22 -0600, Joseph wrote: > >> Thanks Alan, yes I'm looking into it and your are the second person who >> suggested to me "inotify" is the tool for the job. I've installed >> inotify-tools but I think I will need to find more samples to make it >> to work :-) > >Try incron, it uses the kernel's inotify functions but does the work >for you, and it comes with plenty of examples. > >> Once I copy the file, the system should notify a use that new file >> exist (a message pop-up). If the use closes the message and will not >> open the file, after few ours I want to remind the user that the file >> has not been open yet. > >incron could launch one script you when the file is created. This >would send the notification and create an at job to send another >notification after a specified time. Then you could have another >icrond task triggered by the file being opened for read, that kills >the at job > > >-- >Neil Bothwick > >God is real, unless specifically declared integer. I found "gxmessage" it is very simple and perfect for pop-up message on the other computer. -- Joseph