[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: DCOP app without GUI
From: Luke Alan Sandell <kde-devel () luketopia ! net>
Date: 2005-09-10 19:31:38
Message-ID: 200509101531.38894.kde-devel () luketopia ! net
[Download RAW message or body]
On Sep 9, 2005 8:50 am, Nikhil Marathe wrote:
> This is one of the first applications I am gonna make.
> What I wanted to know is if it is possible to have a DCOP application
> wihtout a GUI.
Yes, it is very possible.
> This app I am making will allow users to browse their shell history and
> edit it.
By shell history do you mean that which appears when you type "history" in
bash?
> There will also be a konqueror service menu to find if a filename
> is their in the history.
Does this really require a dcop service? Why not do something like
#!/bin/bash
if [ -n `history | grep $1` ] then
kdialog --messagebox "The file is in your history"
else
kdialog --mesagebox "The file is not in your history"
done
Of course, you probably plan on doing something more sophisticated, but you
get the idea.
> And how do i make it startup on kde startup
Why not just call it on demand: via "dcopstart" from the shell and
KDCOPServiceStarter class from c++?
> -Nikhil
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic