Pick a color with gpick and copy it to the clipboard: gpick --pick --single --output --no-newline | xsel -b To use with xbindkeys: "(gpick --pick --single --output --no-newline | xsel -b -i) &" Mod4 + k