Wiki source for UbuntuUgee-M1000L
======Buttons on Ugee M1000L in Ubuntu======
sudo mkdir /etc/X11/xorg.conf.d
sudo nano /etc/X11/xorg.conf.d/52-tablet.conf
%%Section "InputClass"
Identifier "UC-Logic on wacom"
#!!!! MatchIsTablet "on"
MatchProduct "UC-LOGIC ugee-1000L"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection%%
reboot
xsetwacom --list
& UC-LOGIC ugee-1000L Pen stylus id: 11 type: STYLUS
& UC-LOGIC ugee-1000L Pad pad id: 12 type: PAD
init script(after tablet was attached)
%%#!/bin/bash
MONITOR="HDMI-1"
ID_STYLUS=`xinput | grep "Pen stylus" | cut -f 2 | cut -c 4-5`
if [[ $ID_STYLUS == "" ]]
then
echo "No Tablet Found"
exit
else
#echo $ID_STYLUS
xinput map-to-output $ID_STYLUS $MONITOR
fi
#F1[Button 1]
#F2[Button 2] = stylus 1 button
#F3[Button 3] = stylus 2 button
#F4[Button 8]
#F5[Button 9]
#F6[Button 10]
#F7[Button 11]
#F8[Button 12]
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 1 "key 1"
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 8 "key +ctrl +z -z -ctrl"
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 9 "key +"
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 10 "key -"
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 11 "key +ctrl +s -s -ctrl"
%%
sudo mkdir /etc/X11/xorg.conf.d
sudo nano /etc/X11/xorg.conf.d/52-tablet.conf
%%Section "InputClass"
Identifier "UC-Logic on wacom"
#!!!! MatchIsTablet "on"
MatchProduct "UC-LOGIC ugee-1000L"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection%%
reboot
xsetwacom --list
& UC-LOGIC ugee-1000L Pen stylus id: 11 type: STYLUS
& UC-LOGIC ugee-1000L Pad pad id: 12 type: PAD
init script(after tablet was attached)
%%#!/bin/bash
MONITOR="HDMI-1"
ID_STYLUS=`xinput | grep "Pen stylus" | cut -f 2 | cut -c 4-5`
if [[ $ID_STYLUS == "" ]]
then
echo "No Tablet Found"
exit
else
#echo $ID_STYLUS
xinput map-to-output $ID_STYLUS $MONITOR
fi
#F1[Button 1]
#F2[Button 2] = stylus 1 button
#F3[Button 3] = stylus 2 button
#F4[Button 8]
#F5[Button 9]
#F6[Button 10]
#F7[Button 11]
#F8[Button 12]
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 1 "key 1"
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 8 "key +ctrl +z -z -ctrl"
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 9 "key +"
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 10 "key -"
xsetwacom --set "UC-LOGIC ugee-1000L Pad pad" Button 11 "key +ctrl +s -s -ctrl"
%%