[Pkg-xfce-devel] Bug#463523: program as background

Mike Massonnet mmassonnet at gmail.com
Fri Feb 1 09:28:23 UTC 2008


On Fri, Feb 01, 2008 at 09:44:02AM +0100, Matthias Krüger wrote:
Hi Matthias,

> It would be nice if the program "top" could be used as background.

root-tail is your friend.  There are other tools aswell, like conky.

Here is a glimpse of a command to get you started with root-tail:

    top -b -u $UID | root-tail --id $(xprop --root XFCE_DESKTOP_WINDOW|cut -d\  -f5)

As you can see the only tricky part is the id of the xfdesktop window.
You can of course replace top with a ps output and so on.  Btw, if the
lines are too long you can cut them through a pipe like with cut -c 1-60
for instance.

Enjoy the root-tail manual.

As to conclude, this is not a request for xfdesktop IMHO.

> Thank you for your fine work! 	 Matthias Krüger

HTH,
mike





More information about the Pkg-xfce-devel mailing list