覺得Linux還是要稍微熟悉下的,所有配了個VMware的虛拟機裝了Ubuntu16.04,現在準備讓LeapMotion跑起來~
首先當然是需要去下載下傳Linux版的LeapMotion V2驅動 : 位址 (預設新視窗打開,無需擔心XD)
1.安裝
現在完成後解壓,cd到制定目錄(或在指定目錄下打開終端
首先要搞好service 參考
sudo gedit /lib/systemd/system/leapd.service
在gedit裡粘貼如下代碼:
# Found by Kevin Cole 2014.11.22 at
# https://github.com/atejeda/leap-fedora-rpm
#
# Remember to:
#
# ln -s /lib/systemd/system/leapd.service /etc/systemd/system/leapd.service
# systemctl daemon-reload
#
[Unit]
Description=LeapMotion Daemon
After=syslog.target
[Service]
Type=simple
ExecStart=/usr/sbin/leapd
[Install]
WantedBy=multi-user.target
儲存之後:
sudo ln -s /lib/systemd/system/leapd.service /etc/systemd/system/leapd.service
systemctl daemon-reload
接着就可以安裝Deb檔案了(我這裡是X64系統
sudo dpkg -i Leap-2.3.1+31549-x64.deb
2.測試
運作leapd
sudo leapd
建立另一個終端打開controlPanel
LeapControlPanel
可以看到左上角有一個LeapMotion小圖示,右擊打開Visualizer就可以正常運作啦
或者運作
Visualizer
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsISO0AjN0MTNyETMwYDM3EDMy8CX0Vmbu4GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.jpg)
好了,我終于可以把這張圖放上來了