「Touchegg」の版間の差分
(→Gnome Shell: 項目変更) |
Kusanaginoturugi (トーク | 投稿記録) (校正(でき・出来)) |
||
| (2人の利用者による、間の3版が非表示) | |||
| 1行目: | 1行目: | ||
| − | [[Category: |
+ | [[Category:入力]] |
[[en:touchegg]] |
[[en:touchegg]] |
||
[https://github.com/JoseExposito/touchegg Touchegg] はウィンドウマネージャーにマルチタッチサポートをバックグランドで提供するマルチタッチジェスチャープログラムです。 |
[https://github.com/JoseExposito/touchegg Touchegg] はウィンドウマネージャーにマルチタッチサポートをバックグランドで提供するマルチタッチジェスチャープログラムです。 |
||
| − | 一般的なタイプのイベントに変換し、それらに応じてカスタムアクションを実行 |
+ | 一般的なタイプのイベントに変換し、それらに応じてカスタムアクションを実行できます。 |
Touchegg は Wayland と互換性がありません。 |
Touchegg は Wayland と互換性がありません。 |
||
| 23行目: | 23行目: | ||
二本指スクロールエミュレーション [https://github.com/JoseExposito/touchegg/issues/438 has been droped] は、ユーザー体験の悪さが原因で、最近 2.0で touchegg を書き直しました。 |
二本指スクロールエミュレーション [https://github.com/JoseExposito/touchegg/issues/438 has been droped] は、ユーザー体験の悪さが原因で、最近 2.0で touchegg を書き直しました。 |
||
| − | リストアするには、 {{Pkg|xdotool}} をインストールし、 |
+ | リストアするには、 {{Pkg|xdotool}} をインストールし、設定ファイルに以下を追加します。 |
<gesture type="SWIPE" fingers="2" direction="DOWN"> |
<gesture type="SWIPE" fingers="2" direction="DOWN"> |
||
| 55行目: | 55行目: | ||
# <code>OK</code> を押下します。 |
# <code>OK</code> を押下します。 |
||
| − | {{note| |
+ | {{note|{{ic|gnome-session-properties}} が {{ic|gnome 3.12}} から削除されました。現在、 {{aur|gnome-session-properties}} を [[AUR]] からインストールできます。詳細については、こちらを参照して下さい [https://bbs.archlinux.org/viewtopic.php?id=180282 BBSスレッド]}} |
| + | |||
| + | または、~/.config/autostart/ にデスクトップエントリを作成することもできます。 |
||
| + | |||
| + | {{hc|~/.config/autostart/touchegg.desktop|<nowiki> |
||
| + | [Desktop Entry] |
||
| + | Name=Touchegg |
||
| + | StartupWMClass=touchegg |
||
| + | Comment=Gestures for touchpad |
||
| + | GenericName=Gesture Deamon |
||
| + | Exec=/usr/bin/touchegg |
||
| + | Icon=touchegg |
||
| + | Type=Application |
||
| + | Path=/usr/bin</nowiki> |
||
| + | }} |
||
==== startx コマンドの場合 ==== |
==== startx コマンドの場合 ==== |
||
2024年7月10日 (水) 20:08時点における最新版
Touchegg はウィンドウマネージャーにマルチタッチサポートをバックグランドで提供するマルチタッチジェスチャープログラムです。 一般的なタイプのイベントに変換し、それらに応じてカスタムアクションを実行できます。
Touchegg は Wayland と互換性がありません。
インストール
基本パッケージは AUR の toucheggAUR です touchegg-gitAUR で入手することもできます。
GUI 設定には AUR の touchegg-gce-gitAUR [1] が利用可能です。
設定
$HOME/.config/touchegg/touchegg.conf が設定ファイルです。
これは多数のジェスチャが定義された単純な XML ファイルです。現段階では TAP_AND_HOLD、PINCH と ROTATE は使えません。
全てのトリガーのリストは 公式サイトの Wiki にあります。
全てのアクションのリストは 公式サイトの Wiki にあります。
デフォルトの設定は/usr/share/touchegg/touchegg.confにあります。
二本指スクロールエミュレーション has been droped は、ユーザー体験の悪さが原因で、最近 2.0で touchegg を書き直しました。 リストアするには、 xdotool をインストールし、設定ファイルに以下を追加します。
<gesture type="SWIPE" fingers="2" direction="DOWN">
<action type="RUN_COMMAND">
<repeat>true</repeat>
<command>xdotool click 4</command>
<decreaseCommand>xdotool click 5</decreaseCommand>
</action>
</gesture>
<gesture type="SWIPE" fingers="2" direction="UP">
<action type="RUN_COMMAND">
<repeat>true</repeat>
<command>xdotool click 5</command>
<decreaseCommand>xdotool click 4</decreaseCommand>
</action>
</gesture>
Kde ではスクロール中にテキストが選択されることに注意してください (参照)
ログイン時に開始
デーモンは systemd : systemctl enable touchegg.service で起動します。
クライアントはwmからロードできます。
Gnome の場合
alt-f2を押下します。gnome-session-propertiesと入力します。addを押下します。- ラベル欄は "Command" タイプは
toucheggです。"Name" と "Label" を適当に選択します。 OKを押下します。
または、~/.config/autostart/ にデスクトップエントリを作成することもできます。
~/.config/autostart/touchegg.desktop
[Desktop Entry] Name=Touchegg StartupWMClass=touchegg Comment=Gestures for touchpad GenericName=Gesture Deamon Exec=/usr/bin/touchegg Icon=touchegg Type=Application Path=/usr/bin
startx コマンドの場合
.xprofile は変更できます。
~/.xprofile
touchegg &