Skip to content

Instantly share code, notes, and snippets.

@AlbinoDrought
Created February 6, 2019 00:02
Show Gist options
  • Save AlbinoDrought/093cbaac6f3bc2d1c4d92d6f1e4ed3ea to your computer and use it in GitHub Desktop.
Save AlbinoDrought/093cbaac6f3bc2d1c4d92d6f1e4ed3ea to your computer and use it in GitHub Desktop.
Pasting screenshots into Thunderbird like its the Year of the Linux desktop ™️

I have struggled pasting screenshots into Thunderbird for too long. This is how I made it work:

  1. Installl CopyQ because nothing else worked for me: https://github.com/hluk/CopyQ
  2. Here's your scrot command: scrot -s -e 'mv $f /tmp/ && copyq write image/png - < /tmp/$f && copyq select 0' 2.5. Here's your i3wm bindsym scrot command: bindsym --release $mod+Print exec scrot -s -e 'mv $f /tmp/ && copyq write image/png - < /tmp/$f && copyq select 0'

Have fun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment