Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-06-03 15:34:27

mustbeit
Member
Registered: 2024-08-05
Posts: 17
LinuxChrome 137.0

xfce4-screenshooter how to change default file name & formats

OS: Manjaro XFCE, latest updates.

Hello,

Concerning xfce4-screenshooter:

Is it possible to change the default file name format?

By default I have:
"Capture d’écran_%Y-%m-%d_%H-%M-%S.png"

I wish at least
"Capture d’écran_%Y-%m-%d %H%M%S.webp"

However, running in Terminal:

xfce4-screenshooter -f -s "/home/$USER/Images/Capture d’écran_$(date +%Y-%m-%d' '%H%M%S).webp"

does the job for fullscreen shots

Of course I could change the default keyboard shortcuts using xfce4-keyboard-settings, but I though it ought to be in the preferences of xfce4-screenshooter.
As it requires 3 changes:
fullscreen,
window,
rectangle area
and what about if you want to save in another folder, esp. for a specific task/project.

Thanks

REF:
https://unix.stackexchange.com/question … e-template

Last edited by mustbeit (2025-06-03 15:41:46)

Offline

#2 2025-06-03 18:56:37

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,016
LinuxFirefox 138.0

Re: xfce4-screenshooter how to change default file name & formats

Unfortunately, its hard-coded.

If you set:

TIMESTAMP=false

...in ~/.config/xfce4/xfce4-screenshooter, it will save the file without the timestamp. Not sure if that helps or not though.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2025-06-04 00:26:58

mustbeit
Member
Registered: 2024-08-05
Posts: 17
LinuxChrome 137.0

Re: xfce4-screenshooter how to change default file name & formats

Interesting:
~/.config/xfce4/xfce4-screenshooter

ought to be added in https://docs.xfce.org/apps/xfce4-screenshooter/usage


ToZ wrote:

Unfortunately, its hard-coded.

Could use ~/.config/xfce4/xfce4-screenshooter as a config file with a new param:
save_filename_format=myScreenshot_%Y-%m-%d' '%H%M%S.webp
=> bug as new feature?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 529.63 KiB (Peak: 531.16 KiB) ]