On Fri, Feb 01, 2008 at 10:28:23AM +0100, Mike Massonnet wrote: > 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)
And that command is wrong :) It misses some bits: top -b -u $UID | root-tail --id $(xprop --root XFCE_DESKTOP_WINDOW|cut -d\ -f5) - The - at the end, so it takes the output of the command passed through the pipe as the file. > 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]