User Tools

Site Tools


private:writeups:photobox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
private:writeups:photobox [2020/12/31 12:58]
admin
private:writeups:photobox [2021/01/01 15:32] (current)
admin
Line 51: Line 51:
 which brightens the screen at 7:00 and dims the screen at 21:00.  Note that 255 is max brightness and 0 is minimum (off).   which brightens the screen at 7:00 and dims the screen at 21:00.  Note that 255 is max brightness and 0 is minimum (off).  
  
-    
  
 +**Step 6 - Enable right click as a long click **
 +
 +Modifying the directions from [[https://fmirkes.github.io/articles/20190827.html|here]], run the commands
 +
 +   sudo apt install build-essential libevdev2 libevdev-dev
 +   git clone 'https://github.com/PeterCxy/evdev-right-click-emulation.git'
 +   cd 'evdev-right-click-emulation'
 +   make all
 +   sudo cp 'out/evdev-rce' '/usr/local/bin/'
 +   sudo chmod +x '/usr/local/bin/evdev-rce'
 +   
 +Then navigate to ~/.config/autostart, create the file: evdev-rce.desktop, and fill it with
 +   [Desktop Entry]
 +   Version=1.0
 +   Type=Application
 +   Name=evdev-rce
 +   GenericName=Enable long-press-to-right-click gesture
 +   Exec=sudo /usr/local/bin/evdev-rce
 +   Terminal=true
 +   StartupNotify=false
  
private/writeups/photobox.1609419483.txt.gz ยท Last modified: 2020/12/31 12:58 by admin