summaryrefslogtreecommitdiffstats
path: root/desktop/root-tail/README
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/root-tail/README')
-rw-r--r--desktop/root-tail/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/desktop/root-tail/README b/desktop/root-tail/README
index 14d5a160df..9318d9c390 100644
--- a/desktop/root-tail/README
+++ b/desktop/root-tail/README
@@ -9,3 +9,15 @@ it a sort of multi-tail.
For example:
root-tail -g 800x250+100+50 -font 10x20 /var/log/messages,green \
-font 12x24 /var/log/secure,red,'ALERT'
+
+By default root-tail doesn't seem to work on XFCE. You need to explicitly
+specify the ID of the display to use it (by using the "-id" flag of root-tail).
+Use the xprop command to find the active root display, and run this through
+the cut command to strip out the ID number for insertion into the
+root-tail `-id` field.
+
+It looks a little something like this:
+
+root-tail -g 800x250+100+50 -font fixed /var/log/messages,green \
+/var/log/secure,red,'ALERT' -id $(xprop -root XFCE_DESKTOP_WINDOW |\
+awk '{ print $NF }')