- 1. 概要
- 2. インストール
- 3. 起動設定
- 4. キー定義
1. 概要
「xfce4-screenshooter」をインストールして、以下のキーを定義します。
・Print 全画面をキャプチャしてクリップボードへコピー
・Ctrl+Print アクティブウィンドウをキャプチャしてクリップボードへコピー
以下、「Alpine Linux 3.23.3 JWM」での操作です。
2. インストール
「root」ユーザ権限で。
apk add polkit-gnome xfce4-clipman-plugin xfce4-screenshooter xfce4-screenshooter-lang
3. 起動設定
「~/.jwmrc」は、作成済として。
ログインユーザで。
vi ~/.jwmrc
末尾の。
</JWM>
の前に、下記の行を追加します。
<StartupCommand>xfce4-clipman</StartupCommand>
<StartupCommand>/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1</StartupCommand>
4. キー定義
ログインユーザで。
vi ~/.jwmrc
<Key mask="A" key="Down">ddesktop</Key>
の後ろに、下記の行を追加します。
<Key key="Print">exec:xfce4-screenshooter -c -f</Key>
<Key mask="C" key="Print">exec:xfce4-screenshooter -c -w</Key>
ログインしなおせば、定義が有効になります。
|
|