Results 1 to 4 of 4

Thread: kbackgroundsnapshot -c does not work (for capturing current window)

  1. #1
    Join Date
    Jan 2006
    Location
    Örebro, Sweden
    Beans
    491

    kbackgroundsnapshot -c does not work (for capturing current window)

    I have noticed that "kbackgroundsnapshot -c" to capture a screenshot of the current window does not work in Kubuntu 12.10 or 13.04. At least not with my computer. I only get a corrupted or blank PNG image. I also get the terminal output

    X Error: BadDrawable (invalid Pixmap or Window parameter) 9
    Major opcode: 62 (X_CopyArea)
    Resource id: 0x0

    I filed a bug report at launchpad but nobody seemed to notice it there.

    Does kbackgroundsnapshot work for anybody else?
    Last edited by jazzgossen; May 15th, 2013 at 07:49 AM.

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: kbackgroundsnapshot -c does not work (for capturing current window)

    I get the same error. Posted on launchpad too.

  3. #3
    Join Date
    Jan 2009
    Beans
    13

    Re: kbackgroundsnapshot -c does not work (for capturing current window)

    Perhaps you could install 'scrot' from the software centre.
    To take a screenshot you need to open a terminal and type " scrot -d 5 " (note 5 indicates a countdown and is a variable so you can change the 5 to however many seconds delay you prefer before the pic is taken.
    You can even specify where the pic is saved. The above suggestion will save to 'Home'.
    You can specify "scrot -d 4 desktop.jpeg" which will wait 4 seconds before taking a screenshot and saving it to the desktop in jpeg format.
    Likewise "scrot -d 6 desktop.png".... wait six seconds to take the screenshot in png format.
    I've also tried "scrot -d 5 drive.ferrari" but it either didn't work or I have to specify my own drive (joke)

  4. #4
    Join Date
    Jan 2006
    Location
    Örebro, Sweden
    Beans
    491

    Re: kbackgroundsnapshot -c does not work (for capturing current window)

    Thanks for the tip! "scrot -ub" does exactly what I want.

    I'll mark the thread as solved even though kbackgroundsnapshot still doesn't work.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •