Re: How to run 'feh' in the background of a script?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ed
Date:  
To: Main PLUG discussion list
Subject: Re: How to run 'feh' in the background of a script?
On Tue, Oct 2, 2012 at 11:27 AM, <> wrote:
>
> Thanks Matt.
>
> I like to use 'feh' rather than 'display' because 'feh -x -g' gives
> a borderless image with no title bar and with a specified image size.
>
> feh -x -g 400x400 & kwrite textfile.txt <ENTER> (this worked)
>
> Is there also a way to execute both parts so that when I quit/close
> the text file, the image also closes rather than having to close it
> separately?
>


if you want the kwrite process to be the control, you will be writing
a script that launches feh as a subprocess rather than a background
process, and then the kwrite process. That way when you exit kwrite,
the script ends and kills it's children too.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss