[EndeavourOS/Arch] Enable Chrome Touchpad Gestures (Fix Missing Ozone/Flags)

노트북에 EndeavourOS 설치 후 세팅 중.
크롬에서 터치패드 두 손가락 ‘뒤로 가기/앞으로 가기’ 스와이프가 안 먹힘.
libinput-gestures 설치해서 xdotool로 맵핑하려 했으나, KDE Plasma가 Wayland 세션이라 xdotool 명령어가 안 먹힘.
Wayland에서 쓸 수 있는 ydotool을 쓰면 가능한 것 같은데 두손가락 제스쳐를 쓰면 스크롤이랑 겹쳐서 잘 안될거라고 제미니가 chrome flags로 해결하라고 한다.
chrome://flags 들어가서 Overscroll history navigation 켜면 된다는데, 최신 버전 크롬(google-chrome-stable)에서는 이 플래그 자체가 검색이 안 되고. Ozone 도 안 나온다.
아치 계열(EndeavourOS, CachyOS, Manjaro)은 ~/.config 경로의 플래그 파일을 읽어오니 강제로 옵션을 넣어주면 됨.

아래 두 줄을 넣고 저장.

크롬이 열려 있었으면 닫고 다시 실행한다.

이하, 영어 번역.

Setting up EndeavourOS on my laptop.
The two-finger swipe gesture (back/forward) wasn’t working in Chrome.

I tried mapping it using libinput-gestures and xdotool, but xdotool doesn’t work on KDE Plasma’s Wayland session.
While ydotool is an alternative for Wayland, Gemini advised against it due to potential conflicts with scrolling and suggested using Chrome flags instead.

Usually, enabling Overscroll history navigation in chrome://flags fixes this, but that flag (and “Ozone”) is completely missing in the latest google-chrome-stable.

Since Arch-based distros (EndeavourOS, CachyOS, Manjaro) read a flag config file from ~/.config, I can force the options there.

Add the following two lines and save.

Close and relaunch Chrome if it was running.

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다