You are not logged in.
Pages: 1
Hi there,
I want to drop screenshots of the active window into my pictures directory at the press of a button.
At the moment pressing printscreen brings up a lovely dialogue asking me what to do with the picture, what I'd like to do with after I've told it what to do with the picture and then to confirm that I want to do it.
This is great but I don't want to go through all that when playing games. I've had a look at the man page for it and come up wiht this as a keyboard shortcut command
xfce4-screenshooter -w --save $HOME"/Pictures/"
However it still asks me to confirm the file save before it will proceed.
I tried a fully qualified file name hoping to construct unique filenames from the location of my pictures directory and the date and time
xfce4-screenshooter -w --save $HOME"/Pictures/Screenshot-"$(date +"%y-%m-%d-%H%M%S")".jpg"
but it doesn't like that because it's not a directory.
Is there any way to tell it to do the screenshot silently and just go with it?
Offline
What version of xfce4-screenshooter are you using?
It was enhanced/fixed to allow for saving directly from the command line (no dialogs) in version 1.9.4 (as per bug report 14156.
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
xfce4-screenshooter --version says it's 1.8.2
I tried
sudo apt reinstall xfce4-screenshooter but it just put 1.8.2 right back and neither did it upgrade it on a regular software update.
It seems 1.8.2 is the last stable release on the official site however I did find the tarball for 1.9.5. I've tried
./configure && make && sudo make install
but I get told my install tool is too old. Which is odd as it seems to find the version it wants:
checking for intltool >= 0.35.0... found
configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
Offline
Well, you could remove the part about the version of intltool in "configure.ac" :-)
Last edited by Misko_2083 (2019-05-15 20:21:32)
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
I did. It was one of the things I'd already tried but forgot to mention
I added dnl to the two lines referencing intltool
It still tells me that my install tools are out of date yet not.
AC_PROG_CC()
AC_PROG_CC_C_O()
AC_PROG_LD()
dnl AC_PROG_INSTALL()
dnl IT_PROG_INTLTOOL([0.35.0])
AM_PROG_CC_C_O()
checking whether NLS is requested... yes
./configure: line 4867: intltool-update: command not found
checking for intltool >= 0.35.0... found
configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
ruth@ruth-mint:~/xfce4-screenshooter-1.9.5$
I tried just the line referencing intltool first and then both lines. Same deal either way.
Last edited by NewtSoup (2019-05-15 20:36:40)
Offline
^intltool update : command not found
Is it installed?
sudo -s
apt update && apt install intltool
intltool-update --version
dpkg -l | grep intltool
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
nope it wasn't Installed it and found another thing - libxfce4ui-2 missing
appears to be something I need to locate and install manually as
sudo apt install libxfce4ui-2 doesn't work.
Offline
You need to install development libs
apt install libxfce4ui-2-dev
You can install all the build dependencies. Keep in mind they are marked as manually installed by the package manager. Getting rid of them later would not be so simple.
apt-get build-dep xfce4-screenshooter
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 547.23 KiB (Peak: 548.07 KiB) ]