You are not logged in.

#1 2009-04-11 12:12:20

Coume
Member
From: UK
Registered: 2008-02-10
Posts: 78
Website

[Fluxbox] is there a way to execute scrot when pressing "PrintSrc"?

Hello,

I am very happy with my current system but I would love to be able to take a screenshot in pushing my "PrntScreen" button.

Is there a way to execute a script/bash file when pushing the PrintScreen button?

Thanks in advance.
Ludo

Offline

#2 2009-04-11 12:22:38

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [Fluxbox] is there a way to execute scrot when pressing "PrintSrc"?

Generally you would use xbindkeys with something like this in .xbindkeysrc

"scrot ~/screenshot_%F-%H-%M-%S.png"
    Print

Offline

#3 2009-04-11 12:36:08

Coume
Member
From: UK
Registered: 2008-02-10
Posts: 78
Website

Re: [Fluxbox] is there a way to execute scrot when pressing "PrintSrc"?

Thanks a lot Procyon!

I did not know about xbindkeys and it is perfect for my needs smile

Offline

Board footer

Powered by FluxBB