i3wm - 共通事項 - 画面キャプチャ - Alpine Linux


 クラウディア


1. 概要
2. インストール
3. 設定

1. 概要

 以下、「Alpine Linux 3.23.3 i3wm」での操作です。

2. インストール

 「root」ユーザ権限で。

apk add xfce4-clipman-plugin xfce4-screenshooter xfce4-screenshooter-lang

3. 設定

 ログインユーザで。

vi ~/.config/i3/config

# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
 の後ろあたりへ下記へ追加します。

bindsym Print      exec --no-startup-id xfce4-screenshooter -c -f
bindsym Ctrl+Print exec --no-startup-id xfce4-screenshooter -c -w
 さらに末尾に1行追加します。

exec --no-startup-id xfce4-clipman &
 ログインしなおせば、下記で動作します。 ・Print 全画面をキャプチャしてクリップボードへコピー ・Ctrl+Print アクティブウィンドウをキャプチャしてクリップボードへコピー