4

I want to map the Ctrl+Alt+4 to take a screenshot of a selected area. Right now I can do that from a terminal using gnome-screenshot -a. I have tried putting:

Control Mod1 4 :ExecCommand gnome-screenshot -a` 

in my ~/.fluxbox/keys but that does not work -- probably because of the space before -a.

Is there a way to map those key combination to take a screenshot of a selected area?

user11498
  • 2,421
  • 4
  • 22
  • 25

1 Answers1

1

I believe that you are using an old syntax. It's Exec instead of ExecCommand

This worked for me:

Mod4 4 :Exec gnome-screenshot -a
tauil
  • 11
  • 2
  • Well, the question was asked 2 years ago. At that time it was `ExecCommand`. Still, yeah, toady's (2016) syntax is `Exec`. – grochmal Sep 16 '16 at 18:37