2

I am trying to take a screenshot of a certain area using the Shift+Print key combo, and after I take it and try to save it to any directory, I get a message:

Unable to capture screenshot

Error creating file. Please choose another location and retry

But no other location works either. I can save files fine in other contexts.

2
  • 2
    Which directory and filename are you using? Jul 5, 2016 at 17:07
  • This doesn't even seem to be a valid question. No one would use crazy characters to save a screen shot in the first place. Apr 11, 2018 at 23:19

1 Answer 1

2

It was simply because I had invalid characters in the filename of the image, which the screenshot software does a poor job of conveying.

6
  • Invalid characters? There are no invalid characters in path names in Linux. What was the target file system? Jul 9, 2016 at 2:07
  • 1
    @DavidFoerster It was my home directory. I had a '/' in the filename, and when removed, it saved fine. No changing of the target directory or anything like that. This is an invalid character.
    – user540997
    Jul 13, 2016 at 18:31
  • Ok, that's some clarification. Though I wouldn't call the directory separator an “illegal” character. It just has a special meaning. Jul 13, 2016 at 23:31
  • @DavidFoerster That's exactly why any invalid character is invalid
    – user540997
    Jul 14, 2016 at 0:24
  • There's a difference between "this character carries a different syntactic meaning in that context" and "the syntax doesn't allow this character in that context". Jul 14, 2016 at 0:32

You must log in to answer this question.