Output of cmdline progs (was: KDE and the executable bit)

Thiago Macieira thiago at kde.org
Mon Jan 28 18:46:31 GMT 2008

Oswald Buddenhagen wrote:
>On Mon, Jan 28, 2008 at 06:54:03PM +0200, Andras Mantia wrote:
>> On Monday 28 January 2008, Thiago Macieira wrote:
>> > Hey, suggestion for an ugly hack: ldd the target application. If it
>> > doesn't link to X11, open a terminal. (will obviously break for
>> > statically-linked apps)
>> and non-binary applications.
>yes, i think it would be more reliable to watch /proc for a network
>connection to $DISPLAY.
>but this whole idea seems incredibly fragile to me ...

Right. My idea was trying to detect before the app is launched, so that 
konsole is started.

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080128/b416a660/attachment.sig>

More information about the kde-core-devel mailing list