사용자 도구

사이트 도구


linux:fusuma

문서의 이전 판입니다!


Fusuma

Gnome 에서 사용시

gsettings set org.gnome.desktop.peripherals.touchpad send-events enabled
  • 만약 키보드 추가설정(gnome-tweaks 등에서 xkb 설정) 에서 Alt/Win 키 동작 → Hyper 를 윈도우 키로 매핑 이 설정돼 있으면 xdotool key super+<다른키>가 자동하지 않는다.
  • 각종 명령을 xdotool을 통하지 않고 직접 실행한다.
  • Gnome 용으로 만든 ~/.config/fusuma/config.yml
swipe:
  3: 
    left: 
      command: 'xdotool key alt+Right' # Browser back
    right: 
      command: 'xdotool key alt+Left' # Browser forward
    up: # Gnome Overview
      command: "dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.toggle();'"
    down: # Gnome Menu
      command: "dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.shellDBusService.ShowApplications();'"
  4:
    left: 
      command: 'wmctrl -s 0' # to the first workspace
    right: 
      command: 'wmctrl -s 3' # to the last workspace 
    up: 
      command: '/home/kwon37xi/.local/bin/gnome-workspace-switcher.sh Down' # 작업공간 아래로
    down: 
      command: '/home/kwon37xi/.local/bin/gnome-workspace-switcher.sh Up' # 작업공간 위로
pinch:
  in:
    command: '/home/kwon37xi/.local/bin/show-desktop.sh' # 데스크탑 보기 toggle
  out:
    command: "wmctrl -r ':ACTIVE:' -b toggle,fullscreen" # 현재 창 FullScreen toggle
threshold:
  swipe: 1
  pinch: 1
interval:
  swipe: 1
  pinch: 1

참조

linux/fusuma.1595819678.txt.gz · 마지막으로 수정됨: 2020/07/27 12:14 저자 kwon37xi