https://marteydodoo.com/writing/2013/12/15/saving-screenshots-different-directory-gnome-3/
Basically gnome-shell now handles it (which is fine) but doesn't provide an option for a directory other than your GNOME Pictures directory (not fine). I'm not really sure why people would want to have their default images directory littered with screen shots, but whatever.
Over-riding Screenshot Keyboard Shortcuts
So, I went to Settings > Keyboard > Shortcuts
Title | Command | Keys |
---|---|---|
Screenshot | gnome-screenshot | PrtSc |
Screenshot of window | gnome-screenshot -w | Alt-PrtSc |
Screenshot of region | gnome-screenshot -a | Shift-PrtSc |
For reasons I haven't explored yet, pressing Shift-PrtSc once doesn't trigger it, but instead sounds a bell. Holding shift and tapping PrtSc twice quickly does, though.
Changing the Default Save Directory for Gnome Screenshot
The second half is then to make gnome-screenshot save it where I'd like it to. Running it in interactive mode (gnome-screenshot -i) doesn't seem to give me an option on where to save it. So, instead, I turned to gsettings.
$ gsettings set org.gnome.gnome-screenshot auto-save-directory "/home/myuser/path/to/my/screenshot/dir"
$ gsettings set org.gnome.gnome-screenshot last-save-directory "/home/myuser/path/to/my/screenshot/dir"
I don't think I need to set the second one, but I did so out of laziness.
Write a script that lets me process my screenshots
A lot of my screenshots are fine as JPGs, and save me a lot of disk space that way, so I wrote a small bash script that uses ImageMagick's convert and my 'splitalbum' to further organise them.
In the interest of getting me to publish more of my work, I automated turning little projects into tarballs and web pages and uploading them. Here is 'Process New Screenshots', quick and dirty.
http://kosmokaryote.org/codepoems/pns/
Wait, Blogger supports having more after a break?!
Keine Kommentare:
Kommentar veröffentlichen