LXDE - 共通事項 - 画面キャプチャ - EndeavourOS


クラウディア 


1. 概要
2. インストール
3. 起動設定
4. キーボードショートカット

1. 概要

 以下、「EndeavourOS 22.12 LXDE」での操作です。

2. インストール

 「root」ユーザ権限で。

yes | pacman -S xfce4-screenshooter xfce4-clipman-plugin

3. 起動設定

 「xfce4-clipman」の自動起動を設定します。  ログインユーザで。

mkdir -pv ~/.config/autostart
cp /usr/share/applications/xfce4-clipman.desktop ~/.config/autostart/.
 これで、いったん、ログインしなおします。  「スタート」→「設定」→「LXSession のデフォルトのアプリケーション」で「LXSession の設定」を開いて  「コアアプリケーション」「クリップボードマネージャ」の欄を空白にします。

 「設定」→「デスクトップセッションの設定」で
 「クリップボードマネージャ」へチェックをいれます。


 ログインしなおせば、「xfce4-clipman」がバックグラウンドで動作しているはずです。

4. キーボードショートカット

 ログインユーザで。

mkdir -pv ~/.config/openbox
cp /etc/xdg/openbox/LXDE/rc.xml ~/.config/openbox/lxde-rc.xml
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 アクティブウインドウキャプチャして、クリップボードへコピー  が機能します。

earthcar(アースカー)