Re: How to take screenshots in fluxbox
Bob Hepple <[email protected]> Tue, 26 Feb 2013 12:58:18 +1000
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <CAHzpm2jtgoSEY=TeDW-=zWH=OmZgnms4nZqT10kXuaaDv2YfdQ@mail.gmail.com> |
I put this in .fluxbox/keys:
Print :ExecCommand xcheck myscreendump -frame
# exclude the frame:
Control Print :ExecCommand xcheck myscreendump -nobdrs
# root window
Control Mod1 Print :ExecCommand xcheck myscreendump -root
Mod4 Print :ExecCommand xcheck myscreendump -root
and this in "myscreendump" somewhere on $PATH:
#!/usr/bin/env bash
TMP=/tmp/dump.png
trap "rm -f $TMP" EXIT
xwd $@ |
xwdtopnm 2>/dev/null |
pnmtopng > $TMP
F=$(
zenity --file-selection --file-filter='*.png' --filename=$HOME/dump.png \
--title="Save window dump" --save --confirm-overwrite
) || exit 0
mv $TMP "$F"
You will need these installed:
xorg-x11-apps
netpbm-progs
Cheers
Bob
On 26 February 2013 12:15, user1 <[email protected]> wrote:
> I am using ubuntu 12.04 and fluxbox 1.3.2
>
> I cannot take proper screenshots in fluxbox
> i have tred shutter, scrot, xfce4-screenshooter and gnome-screenshot
>
> It works fine in unity?
>
> --
> Denne mail er skrevet - svensk tid:
> 26_Feb_2013 03:07
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Fluxbox-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fluxbox-users
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb