Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

scrot option -u doesn't exist #12

Closed
ghost opened this issue May 15, 2014 · 3 comments
Closed

scrot option -u doesn't exist #12

ghost opened this issue May 15, 2014 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented May 15, 2014

ArchLinux
Linux hive 3.14.3-2-ARCH #1 SMP PREEMPT Mon May 12 20:52:20 CEST 2014 x86_64 GNU/Linux
scrot version 0.8

felipe@hive ~ % scrot -u
scrot: invalid option -- 'u'

@jomo
Copy link
Owner

jomo commented May 15, 2014

Apparently there are different version of scrot around. I searched around a bit and it seems like the original scrot by Tom Gilbert doesn't have the -u option. I think it may be debian-specific. I'll remove the option later.

For now, you can just set screenshot_window_command="scrot %img" in your config.

Since scrot -u is just a fallback in case scrot -s fails, I assume you tried to take a screenshot while your mouse was trapped (in a game or something)? Or are there any other errors?

@Brottweiler
Copy link

Apparently there are different version of scrot around. I searched around a bit and it seems like the original scrot by Tom Gilbert doesn't have the -u option. I think it may be debian-specific. I'll remove the option later.

This is true. I run Archlinux, and have to use the package scrot-patched which has Debian's patches, to be able to use the -u option.

Since you use Archlinux too, use that package I just linked.

@jomo
Copy link
Owner

jomo commented May 15, 2014

if you have another program that you prefer over scrot, you can just define that in the config, too.

@jomo jomo closed this as completed in 2c5f057 May 25, 2014
@jomo jomo added the bug label Jun 24, 2014
jomo added a commit that referenced this issue Apr 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants