Как отобразить три пальца вверх, чтобы просмотреть все открытые окна
Я использую Ubuntu 18 с Gnome, и я настроил три пальца, чтобы показать Обзор Windows с моей предыдущей версией с Unity, но я не могу сделать это здесь.
Я установил easyStroke, но, похоже, такой функции нет. Что еще я могу сделать, чтобы достичь этого.
2 ответа
/questions/500632/zhestyi-tachpada-v-ubuntu-1804-lts/500654#500654
Решение с использованием fusuma работает хорошо (ответ выше).
Сначала добавьте себя в группу "вход" и выйдите из системы / войдите снова:
sudo gpasswd -a $USER input
Установите все необходимые пакеты:
sudo apt install libinput-tools xdotool ruby
Установите fusuma gem:
sudo gem install fusuma
Создайте файл конфигурации как ваш пользователь:
mkdir -p ~/.config/fusuma
gedit ~/.config/fusuma/config.yml
Вставьте следующее в качестве примера конфигурации:
swipe:
3:
left:
command: 'xdotool key alt+Left'
right:
command: 'xdotool key alt+Right'
up:
command: 'xdotool key super+s'
down:
command: 'xdotool key super+l'
4:
left:
command: 'xdotool key super+Left'
right:
command: 'xdotool key super+Right'
up:
command: 'xdotool key super+a'
down:
command: 'xdotool key super+s'
pinch:
in:
command: 'xdotool key ctrl+plus'
out:
command: 'xdotool key ctrl+minus'
threshold:
swipe: 1
pinch: 1
interval:
swipe: 1
pinch: 1
Включите fusuma для автоматического запуска:
Больше на странице fusuma github
Две проблемы: я работал с sudo, поэтому думаю, что файл конфигурации пользователя не читался. Запуск без sudo со следующей конфигурацией делает то, что я хочу:
swipe:
3:
left:
command: 'xdotool key alt+Left'
right:
command: 'xdotool key alt+Right'
up:
command: 'xdotool key super+s'
down:
command: 'xdotool key super+s'
4:
left:
command: 'xdotool key super+Left'
right:
command: 'xdotool key super+Right'
up:
command: 'xdotool key super+s'
down:
command: 'xdotool key super+l'
pinch:
in:
command: 'xdotool key ctrl+plus'
out:
command: 'xdotool key ctrl+minus'
threshold:
swipe: 1
pinch: 1
interval:
swipe: 1
pinch: 1