[kde-linux] Clear screen on konsole

Alain M. alainm at pobox.com
Sun May 3 20:32:25 UTC 2009


Hi Erbureth,

Erbureth escreveu:
> 
> You can use DCOP interface, for example
> $ clear
> $ dcop konsole-[pid] session-[session#] clearHistory
> works for me

How do I get the session# ?? Geting the pid is no problem within a script...

I tried
   dcop konsole-21746 session-0 clearHistory
   dcop konsole-21746 session-1 clearHistory
assuming that the first session should be 0 or 1, and the pid I got from 
ps. But nothing happened, both from inside the session or from another 
konsole

thanks,
Alain



More information about the kde-linux mailing list