LoginSignup
8
5

More than 5 years have passed since last update.

UbuntuをMacみたいにトラックパッドを使ってワークスペースを変える

Posted at

はじめに

ノートパソコンにUbuntuを入れたけどトラックパッドでワークスペースが切り替えれなくて少し使いにくいと思ったので4つ指で切り替えれるようにした。

環境

  • XPS 13(9380)
  • Ubuntu 18.04

パッケージのインストール

# ユーザーをinput groupに入れる
sudo gpasswd -a $USER input

# ライブラリをインストール
sudo apt install xdotool wmctrl libinput-tools

# クローンとインストール
git clone http://github.com/bulletmark/libinput-gestures

cd libinput-gestures

sudo ./libinput-gestures-setup install

PCを再起動する

touch ~/.config/libinput-gestures.conf

中身は以下のようにした

~/.config/libinput-gestures.conf
gesture swipe left 4 xdotool key alt+control+Down
gesture swipe right 4 xdotool key alt+control+Up

libinput-gestures-setup restartを実行して再読込する。
これで4つ指でワークスペースを切り替えることができるようになりました。

8
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
5