Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-05-15 05:19:18

NewtSoup
Member
Registered: 2019-05-11
Posts: 12

xfce4-screenshooter is too helpful!

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

#2 2019-05-15 10:35:03

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

Re: xfce4-screenshooter is too helpful!

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

#3 2019-05-15 14:28:54

NewtSoup
Member
Registered: 2019-05-11
Posts: 12

Re: xfce4-screenshooter is too helpful!

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

#4 2019-05-15 20:17:00

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

Re: xfce4-screenshooter is too helpful!

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

#5 2019-05-15 20:35:53

NewtSoup
Member
Registered: 2019-05-11
Posts: 12

Re: xfce4-screenshooter is too helpful!

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

#6 2019-05-15 21:02:06

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

Re: xfce4-screenshooter is too helpful!

^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

#7 2019-05-15 23:00:49

NewtSoup
Member
Registered: 2019-05-11
Posts: 12

Re: xfce4-screenshooter is too helpful!

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

#8 2019-05-16 08:40:04

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

Re: xfce4-screenshooter is too helpful!

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

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 547.23 KiB (Peak: 548.07 KiB) ]