Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-11-17 08:43:15

almahdi
Member
Registered: 2020-07-04
Posts: 125

How to change the screenshot image directory

How do we change the screenshot saved images directory from its default (on Arch) ?

Offline

#2 2022-11-17 11:26:17

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,430

Re: How to change the screenshot image directory

Edit the "screenshot_dir" setting in the ~/.config/xfce4/xfce4-screenshooter file.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2022-11-18 12:05:59

almahdi
Member
Registered: 2020-07-04
Posts: 125

Re: How to change the screenshot image directory

ToZ wrote:

Edit the "screenshot_dir" setting in the ~/.config/xfce4/xfce4-screenshooter file.

How come it's not the location ???

screenshot_dir=file:///home/<user_name>

I always retrieve it, for next to first time use in clipboard, in /tmp location
and if one look in that /tmp it's clearly the collection of all screenhot files, sorted in ascending (older to newer) order

so confusing, help out

Last edited by almahdi (2022-11-18 12:19:41)

Offline

#4 2022-11-18 14:48:55

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,430

Re: How to change the screenshot image directory

What version of xfce4-screenshooter are you using?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2022-11-21 14:22:02

almahdi
Member
Registered: 2020-07-04
Posts: 125

Re: How to change the screenshot image directory

$ xfce4-screenshooter -V

xfce4-screenshooter 1.9.11

Offline

#6 2022-11-21 15:04:08

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,430

Re: How to change the screenshot image directory

almahdi wrote:

$ xfce4-screenshooter -V

xfce4-screenshooter 1.9.11

Arch has version 1.10 in its repositories. Have you upgraded lately?

Also, please post back the full contents of ~/.config/xfce4/xfce4-screenshooter.

And finally, how are you using xfce4-screenshooter? The GUI or command line?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2022-11-24 22:50:49

almahdi
Member
Registered: 2020-07-04
Posts: 125

Re: How to change the screenshot image directory

Did update
$ xfce4-screenshooter -V
xfce4-screenshooter 1.10.0

$ cat ~/.config/xfce4/xfce4-screenshooter #|wc -l
delay=1
region=3
action=2
show_mouse=0
screenshot_dir=file:///home/budi
timestamp=true
app=/usr/bin/darktable
last_user=
last_extension=jpg
enable_imgur_upload=true
show_in_folder=false
show_border=1
custom_action_command=none

How to have xfce4-screenshooter's launcher edited, so to be able to have CLI with -s option as:

$ xfce4-screenshooter --help
Usage:
  xfce4-screenshooter [OPTION…]

Help Options:
  -h, --help               Show help options
  --help-all               Show all help options
  --help-gtk               Show GTK+ Options

Application Options:
  -c, --clipboard          Copy the screenshot to the clipboard
  -d, --delay              Delay in seconds before taking the screenshot
  -f, --fullscreen         Take a screenshot of the entire screen
  -m, --mouse              Display the mouse on the screenshot
  --no-border              Removes the window border from the screenshot
  -o, --open               Application to open the screenshot
  -r, --region             Select a region to be captured by clicking a point of the screen without releasing the mouse button, dragging your mouse to the other corner of the region, and releasing the mouse button.
  -s, --save               File path or directory where the screenshot will be saved, accepts png, jpg and bmp extensions. webp is only supported if webp-pixbuf-loader is installed.
  -S, --show in folder     Show the saved file in the folder.
  -i, --imgur              Host the screenshot on Imgur, a free online image hosting service
  -V, --version            Version information
  -w, --window             Take a screenshot of the active window
  --display=DISPLAY        X display to use

while keep it has keyboard shortcut being set up in keyboard or similar setting

Offline

#8 2022-11-25 01:55:30

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,430

Re: How to change the screenshot image directory

In which directory do you want the screenshots placed by default?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2022-11-26 10:44:05

almahdi
Member
Registered: 2020-07-04
Posts: 125

Re: How to change the screenshot image directory

actually point is just to have it on RAM to be as efficient, so mine is to be together under browser cache

/tmp/opera/

it's so neat as opera has its cache only as only few directories with no file else

Offline

#10 2022-11-26 11:55:43

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,430

Re: How to change the screenshot image directory

So then change:

screenshot_dir=file:///home/budi

...to:

screenshot_dir=file:///tmp/opera

...and it will become the default save directory. Make sure the directory exists.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#11 2022-11-27 15:27:37

almahdi
Member
Registered: 2020-07-04
Posts: 125

Re: How to change the screenshot image directory

of course not work as expected, it's still in /tmp

Offline

#12 2022-11-27 16:48:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,430

Re: How to change the screenshot image directory

almahdi wrote:

of course not work as expected, it's still in /tmp

Does /tmp/opera exist?

ls  -l /tmp | grep -i opera

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 571.52 KiB (Peak: 588.36 KiB) ]