xfce-screenshooter ์ค์น
์ด ํจํค์ง๋ XFCE์ ํ๋ฌ๊ทธ์ธ์ผ๋ก X ์๋์ฐ์ ํ๋ฉด์ ์บก์ณํ์ฌ ์ด๋ฏธ์ง๋ก ์ ์ฅํด์ฃผ๋ ๊ธฐ๋ฅ์ ์ ๊ณตํ๋ค. ์ต์ ์ ๋ฐ๋ผ ์์ญ์บก์ณ, ์ ์ฒดํ๋ฉด ์บก์ณ, ํด๋ฆฝ๋ณด๋ ์ ์ฅ ๋ฑ์ ์ฌ์ฉํ ์ ์๋ค.
sudo apt install xfce4-screenshooter
๋จ์ถํค ๋ฑ๋ก

keyboard shortcut 1 ์ ์์: luasenvy
์ด ์ ์๋ฌผ์ "CC BY 4.0 ๊ตญ์ ๊ท์ฝ" ๋ผ์ด์ ์ค๋ก ๋ฐฐํฌ๋์์ต๋๋ค.
sh -c "xfce4-screenshooter -f -s $HOME/Pictures/Screenshots/full_$(date +%s).png"
sh -c "xfce4-screenshooter -r -c"
sh -c "xfce4-screenshooter -r -s $HOME/Pictures/Screenshots/region_$(date +%s).png"
๊ฐ๊ฐ ํ์ํ ๊ธฐ๋ฅ์ ๋ง์ถฐ ์์ ์ด ํธํ๊ฒ ์ฌ์ฉํ ์ ์๋ ๋จ์ถํค๋ฅผ ๋ฑ๋กํ์ฌ ์ฌ์ฉํ๋ฉด ๋๋ค.
webp๋ก ๋ณํํ์ฌ ์ ์ฅํ๊ธฐ
imagemagick ํจํค์ง๋ฅผ ํ์ฉํ๋ฉด png๋ก ์ ์ฅ๋๋ ์บก์ณ ์ด๋ฏธ์ง๋ฅผ webp๋ก ๋ณํํ ์ ์๋ค. ๋ค๋ง ํด๋ฆฝ๋ณด๋๋ ์คํจํ์๋๋ฐ ๋ณํ์ ๋์ง๋ง image/webp ํ์์ผ๋ก ํด๋ฆฝ๋ณด๋์ ์ ์ฅ๋์ง ์์๋ค.
์บก์ณํ์ผ์ /tmp/
๋๋ ํ ๋ฆฌ์ ์์๋ก ์ ์ฅํ๊ณ convert ๋ช
๋ น์ ํตํ์ฌ webp๋ก ๋ณํํ๋ ๋ฐฉ์์ด๋ค. webp ์์ถ์ ๊ฐ์ฅ ํจ์จ์ด ์ข์ 80% ํ๋ฆฌํฐ ์ต์
์ ์ฃผ์๋๋ฐ ํ์ํ๋ค๋ฉด ๋ณ๊ฒฝํ์ฌ ์ฌ์ฉํ๋ฉด ๋๋ค.
sudo apt install imagemagick

keyboard shortcut 2 ์ ์์: luasenvy
์ด ์ ์๋ฌผ์ "CC BY 4.0 ๊ตญ์ ๊ท์ฝ" ๋ผ์ด์ ์ค๋ก ๋ฐฐํฌ๋์์ต๋๋ค.
sh -c "xfce4-screenshooter -f -s /tmp/screenshot.png && convert -quality 80 /tmp/screenshot.png $HOME/Pictures/Screenshots/full_$(date +%s).webp"
sh -c "xfce4-screenshooter -r -s /tmp/screenshot.png && convert -quality 80 /tmp/screenshot.png $HOME/Pictures/Screenshots/region_$(date +%s).webp"