WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to make screenshot?  (Read 10733 times)

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: how to make screenshot?
« Reply #15 on: April 19, 2009, 01:30:57 PM »
OK, then  "imlib2_grab" should also be working. 

Note:  Do you copy/paste examples, or type them in yourself?

It works from console (aterm) but it does not from the menu (if called without the full pathname)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: how to make screenshot?
« Reply #16 on: April 19, 2009, 01:36:02 PM »
the menu command is "sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png", so it should be in your home directory and look something like this: screenshot_04.15_23:30:39.png

it does not work for me but this it does:

Code: [Select]
exec /bin/sh -c "sleep 1 && /usr/bin/imlib2_grab screenshot_`date "+%Y%m%d%H%M%S"`.png"

adding this mod to the next cut. Thanks for the report.
10+ Years Contributing to Linux Open Source Projects.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: how to make screenshot?
« Reply #17 on: April 19, 2009, 02:56:08 PM »
OK, then  "imlib2_grab" should also be working. 

Note:  Do you copy/paste examples, or type them in yourself?

It works from console (aterm) but it does not from the menu (if called without the full pathname)

It seems to work fine with no imlib extensions (thus no menu). I hotkey the script to "CA-s" 

Code: [Select]
#!/bin/ash

sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png
« Last Edit: April 19, 2009, 02:58:47 PM by jpeters »

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: how to make screenshot?
« Reply #18 on: April 20, 2009, 01:05:11 PM »
OK, then  "imlib2_grab" should also be working. 

Note:  Do you copy/paste examples, or type them in yourself?

It works from aterm but it does not from desktop-menu (without path).