You might also need to set XAUTHORITY variable too, or the X server will refuse the connection. Easiest is to import awesome's environment, for example :
eval $(tr '\0' ' ' < /proc/$(pgrep awesome)/environ) scrot 2012/7/19 Vincent Bernat <[email protected]>: > ❦ 19 juillet 2012 16:36 CEST, Andre Klärner <[email protected]> : > >> Hi alltogether, >> >> I am currently trying to debug a problem with some strange behaving >> GTK-menus. >> >> I wanted to take a screenshot of the phenomen but somehow awesome does not >> get my keypress as long as the gtk-menu is open. >> >> As this menu-problem sometimes doesn't happen for days I can't always keep >> a recordmydesktop session open to capture that. > > You could take a virtual console (Ctrl-Alt-F1) and take the screenshot > from here: > > $ DISPLAY=:0 scrot > -- > printk(KERN_WARNING "%s: Short circuit detected on the lobe\n", > dev->name); > 2.4.0-test2 /usr/src/linux/drivers/net/tokenring/lanstreamer.c > > -- > To unsubscribe, send mail to [email protected]. -- Vivian Brégier http://www.are-ata.org/Vivian.vcf -- To unsubscribe, send mail to [email protected].
