Skip to content

Gnome to Mimic ChromeOS a little & Extras

the-quantum-nargle edited this page Sep 24, 2020 · 2 revisions

2 Finger in/out: Zoom In/Out

3 finder left/right: ChromeOS like tab navigation
3 finger up/down: ChromeOS like overview gesture
4 finger left/right: Next/Prev song
4 finger up/down: Pause|Play Song

3 finger rotate: Volume Up/Down
4 finger rotate: Brightness Up/Down

swipe:
  3:
    left: #ChromeOS Tab changing gesture 
      command: "xdotool key ctrl+Shift+Tab" #Needs Chromium like browser
      threshold: 0.1
      interval: 0.3
    right: #ChromeOS Tab changing gesture
      command: "xdotool key ctrl+Tab" #Needs Chromium like browser
      threshold: 0.1
      interval: 0.3
 
    up:  # ChromeOS like Overview
      command: "xdotool key super+s" # ChromeOS like Overview
    down:``
      command: "xdotool key super+d" # ChromeOS like Overview
 
  4: #QUICK MEDIA CONTROL
    left: #Next Song
      command: "xdotool key XF86AudioNext" 
     
    right: #Prev Sonh
      command: "xdotool key XF86AudioPrev" 
     
    up: #Pause
      command: "xdotool key XF86AudioPlay" 
      
    down: #Pause  
      command: "xdotool key XF86AudioPlay" 

pinch:
    2:
        in:
            command: "xdotool keydown ctrl click 4 keyup ctrl" # Zoom In
            threshold: 0.3
            interval: 0.3
        out:
            command: "xdotool keydown ctrl click 5 keyup ctrl" # Zoom out
            threshold: 0.3
            interval: 0.3
    
   
rotate:
  4:
    clockwise:
      command: 'xdotool key XF86MonBrightnessUp' # brightness up
    counterclockwise:
      command: 'xdotool key XF86MonBrightnessDown' # brightness down
   
  3:
    clockwise:
      command: 'xdotool key XF86AudioRaiseVolume' # Volume up
    counterclockwise:
      command: 'xdotool key XF86AudioLowerVolume' # Volume down
    
            
threshold:
  swipe: 0.45

interval:
  swipe: 0.45
  
plugin: 
  inputs:
    libinput_command_input:
      show-keycodes: true
      enable-tap: true # click to tap
      enable-dwt: true # disable tap while typing
      verbose: true#