You are not logged in.

#1 2015-11-03 20:57:19

spencer_brown
Member
Registered: 2015-08-21
Posts: 37

Passing output into kdialog

Hi, I am new to scripting and have been starting to the remind calendar.  I would like to pass output from remind into kdialog, but I cannot figure out how.  I am pretty sure that this is not an issue with either program, but simply my limited knowledge of the shell.  I have studied the manuals of both extensively, and found no similar case.  If your preference would be to confirm that this is my issue, and point me in the direction of a shell script resource rather than directly answer my question that would be fine too.

Offline

#2 2015-11-03 21:09:59

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Passing output into kdialog

Please show what you do have.  Is the dialog not even opening, or is the output not what you want?  What is the actual problem?

What output from rem(ind) do you actually want shown in kdialog?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-11-03 23:01:34

spencer_brown
Member
Registered: 2015-08-21
Posts: 37

Re: Passing output into kdialog

This is the output I want from remind.

remind ~/.reminders

and

remind -c[n] ~/.reminders

(simple text calender)
This is the syntax I thought to use in kdialog:

kdialog -passivepopup "input text"

Here's my issue...
I don't know how to direct the output from the remind command into the "input text" field of the kdialog command.  My knowledge doesn't really extend further than simple piping. |

Offline

#4 2015-11-03 23:06:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Passing output into kdialog


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-11-03 23:24:30

spencer_brown
Member
Registered: 2015-08-21
Posts: 37

Re: Passing output into kdialog

Thanks, this looks like just what I needed.
This is why I love linux, especially arch.  Try to do one thing-learn many more.

Last edited by spencer_brown (2015-11-03 23:25:32)

Offline

Board footer

Powered by FluxBB