- 1. 概要
- 2. インストール
- 3. 起動設定
- 4. キーボードショートカット
1. 概要
以下、「deepin 20.9」での操作です。
「deepin」上に、「Synaptic」をインストールして、「Synaptic」で「LXDE」をインストールしています。
2. インストール
「xfce4-screenshooter」は、インストール済のようですが、念のため、あらためて。
「root」ユーザ権限で。
apt install -y xfce4-screenshooter xfce4-clipman
3. 起動設定
「xfce4-clipman」の自動起動を設定します。
ログインユーザで。
mkdir -pv ~/.config/autostart
cp /usr/share/applications/xfce4-clipman.desktop ~/.config/autostart/.
これで、いったん、ログインしなおします。
「スタート」→「設定」→「LXSession のデフォルトのアプリケーション」で「LXSession の設定」を開いて
「コアアプリケーション」「クリップボードマネージャ」の欄を空白にします。
「設定」→「デスクトップセッションの設定」で
「Clipman」へチェックをいれます。
ログインしなおせば、「xfce4-clipman」がバックグラウンドで動作しているはずです。
4. キーボードショートカット
ログインユーザで。
vi ~/.config/openbox/lxde-rc.xml
<!-- Launch gnome-screenshot when PrintScreen is pressed -->
<keybind key="Print">
<action name="Execute"><command>gnome-screenshot -i</command></action>
</keybind>
を下記へ書き換えます。
<!-- Launch gnome-screenshot when PrintScreen is pressed -->
<keybind key="Print">
<action name="Execute"><command>xfce4-screenshooter -c -f</command></action>
</keybind>
<keybind key="C-Print">
<action name="Execute"><command>xfce4-screenshooter -c -w</command></action>
</keybind>
これで、ログインしなおせば
・Print 全画面をキャプチャして、クリップボードへコピー
・Ctrl+Print アクティブウインドウキャプチャして、クリップボードへコピー
が機能します。
|
|