+++ /dev/null
-keycode 123 = XF86AudioRaiseVolume
-keycode 122 = XF86AudioLowerVolume
-keycode 231 = Cancel
-keycode 177 = XF86Send
-keycode 147 = XF86Phone
-keycode 166 = XF86Stop
-keycode 225 = XF86Search
-keycode 124 = XF86PowerOff
-keycode 179 = XF86WebCam
-keycode 220 = XF86Pictures
-keycode 208 = XF86AudioPlay
-keycode 209 = XF86AudioPause
-keycode 174 = XF86AudioStop
-keycode 171 = XF86AudioNext
-keycode 173 = XF86AudioPrev
-keycode 176 = XF86AudioRewind
-keycode 216 = XF86AudioForward
-keycode 234 = XF86AudioMedia
-keycode 153 =
-keycode 239 =
-keycode 136 =
-keycode 140 =
-keycode 182 =
-keycode 172 =
-keycode 215 =
--- /dev/null
+XF86AudioRaiseVolume 115
+XF86AudioLowerVolume 114
+XF86PowerOff 116
+XF86Menu 169
+XF86Home 139
+XF86Back 158
+XF86Camera 171
+XF86Camera_Full 212
+XF86Search 217
+XF86AudioPlay 200
+XF86AudioPause 201
+XF86AudioStop 166
+XF86AudioNext 163
+XF86AudioPrev 165
+XF86AudioRewind 168
+XF86AudioForward 208
+XF86AudioMedia 226
+XF86AudioPlayPause 164
+XF86AudioMute 113
+XF86AudioRecord 167
+Cancel 223 keyboard
+XF86SoftKBD 148
+XF86QuickPanel 183
+XF86TaskPane 184
+XF86HomePage 172
+XF86WWW 150
+XF86Mail 155
+XF86ScreenSaver 152
+XF86MonBrightnessDown 224
+XF86MonBrightnessUp 225
+XF86Voice 149
+Hangul 122 keyboard
+XF86Apps 204
+XF86Call 218
+XF86Game 220
+XF86VoiceWakeUp_LPSD 202
+XF86VoiceWakeUp 203
--- /dev/null
+XF86Back 1
+1 2 keyboard
+2 3 keyboard
+3 4 keyboard
+4 5 keyboard
+5 6 keyboard
+6 7 keyboard
+7 8 keyboard
+8 9 keyboard
+9 10 keyboard
+0 11 keyboard
+minus 12 keyboard
+Return 28 keyboard
+XF86Red 59
+XF86Green 60
+XF86Yellow 61
+XF86Blue 62
+XF86Home 63
+XF86Display 64
+XF86ChannelList 65
+XF86AudioMute 66
+XF86AudioLowerVolume 67
+XF86AudioRaiseVolume 68
+XF86LowerChannel 87
+XF86RaiseChannel 88
+Up 103 keyboard
+Left 105 keyboard
+Right 106 keyboard
+Down 108 keyboard
+XF86PowerOff 116
+XF86SysMenu 125
+XF86SimpleMenu 127
+XF86MBRRepeat 129
+XF86ChannelGuide 130
+XF86PictureSize 132
+XF86PictureMode 133
+XF86Hdmi 135
+XF86UsbHub 136
+XF86EManual 138
+XF86More 140
+XF86FactoryMode 141
+XF86Sleep 142
+XF86TV 145
+XF86DTV 146
+XF86STBPower 147
+XF86ChannelAddDel 148
+XF86PanelDown 149
+XF86WWW 150
+XF86BTColorMecha 151
+XF86StillPicture 152
+XF86BTPairing 153
+XF86BTHotkey 154
+XF86CinemaMode 155
+XF86BTContentsBar 156
+XF86Game 157
+XF86PIPChannelUp 159
+XF86PIPChannelDown 160
+XF86Antena 161
+XF86ChannelAutoTune 162
+XF86PanelEnter 163
+XF86MBRLink 164
+XF86PanelUp 165
+XF86AudioStop 166
+XF86AudioRecord 167
+XF86AudioRewind 168
+XF86Game3D 169
+XF86WheelLeftKey 170
+XF86WheelRightKey 171
+XF86PanelExit 173
+XF86Exit 174
+XF86MBRTV 175
+XF86MBRSTBGuide 176
+XF86MBRBDPopup 177
+XF86MBRBDDVDPower 178
+XF86MBRSetupFailure 179
+XF86MBRSetup 180
+XF86MBRWatchTV 181
+XF86PreviousChannel 182
+XF86FavoriteChannel 183
+XF86Recommend 184
+XF86NumberPad 185
+XF86AspectRatio169 186
+XF86MTS 187
+XF86Info 188
+XF86SoundMode 189
+XF863XSpeed 190
+XF863D 191
+XF86TTXMIX 192
+XF86SRSSXT 193
+XF86WIFIPairing 194
+XF86AudioPlay 200
+XF86AudioPause 201
+XF86DualView 202
+XF86BTApps 203
+XF86FamilyMode 204
+XF86EnergySaving 205
+XF86MBRClear 206
+XF86Subtitle 207
+XF86AudioNext 208
+XF86TVSNS 209
+XF86DVR 210
+XF86Apps 211
+XF86Camera 212
+XF86Caption 213
+XF86ZoomIn 214
+XF86PanelPlus 215
+XF86BTVoice 216
+XF86Search 217
+XF86PanelMinus 219
+XF86SoccerMode 220
+XF86Amazon 221
+XF86AudioDescription 222
+XF86PreviousChapter 224
+XF86NextChapter 225
+XF86Netflix 226
+XF86PIP 227
+XF86MBRWatchMovie 228
+XF86MBRMenu 229
+XF86MBRConfirm 230
+XF86FamilyHub 231
+XF86HDMICEC 232
+XF86BTDevice 233
+XF86SoftWakeup 236
+XF86Wakeup 238
+XF86LeftPage 241
+XF86RightPage 242
+XF86PanelOn 243
+XF86PlayBack 244
+XF86ExtraApp 245
--- /dev/null
+XF86AudioRaiseVolume 115
+XF86AudioLowerVolume 114
+XF86PowerOff 116
+XF86Menu 169
+XF86Home 139
+XF86Back 158
+XF86Camera_Full 212
+XF86Search 217
+XF86AudioPlay 200
+XF86AudioPause 201
+XF86AudioStop 166
+XF86AudioNext 163
+XF86AudioPrev 165
+XF86AudioRewind 168
+XF86AudioForward 208
+XF86AudioMedia 226
+XF86AudioPlayPause 164
+XF86AudioMute 113
+XF86AudioRecord 167
+Cancel 223 keyboard
+XF86SoftKBD 148
+XF86TaskPane 184
+XF86ScreenSaver 152
+XF86MonBrightnessDown 224
+XF86MonBrightnessUp 225
+XF86Voice 149
+XF86Apps 204
+XF86Call 218
+XF86VoiceWakeUp_LPSD 202
+XF86VoiceWakeUp 203
export HOME=/root
export DISPLAY=:0
+export XDG_RUNTIME_DIR=/tmp
DISPLAY=":0"
LOGDIR="/var/log"
-XORG_CONF=" -config /etc/X11/xorg.conf -configdir /etc/X11/xorg.conf.d "
+XORG_CONF=" -config /etc/X11/xorg.conf -configdir /etc/X11/xorg.conf.d -nolisten tcp "
OTHER_OPTIONS=" -logfile /var/log/Xorg.0.log -ac -noreset +accessx 0 +dpmsphone $XORG_ARCH_OPTS"
# Xorg automatically preserves logs in $LOGDIR/Xorg.DPY.log.(old)
#!/bin/sh
-/usr/bin/scim -d &
-
# Link .e
export HOME=/opt/home/app
else
/usr/bin/xrdb -load -nocpp /etc/X11/Xresources
fi
- touch /tmp/hibernation/xresources_ready
fi
;;
Identifier "evdev touchscreen catchall"
MatchIsTouchScreen "on"
MatchDevicePath "/dev/input/event*"
- Driver "evdevmultitouch"
+ Driver "evdev"
Option "MultiTouch" "10"
EndSection
Identifier "Gesture"
Driver "gesture"
Option "Device" "/dev/null"
+ Option "PassKey1" "121" #Audio Mute Key
+ Option "PassKey2" "122" #Volume Down Key
+ Option "PassKey3" "123" #Volume Up Key
+ Option "PassKey4" "124" #Power Key
+ Option "PassKey5" "171" #Next Song Key
+ Option "PassKey6" "172" #Audio PlayPause Key
+ Option "PassKey7" "173" #Previous Song Key
+ Option "PassKey8" "174" #Audio Stop Key
+ Option "PassKey9" "176" #Audio Rewind Key
+ Option "PassKey10" "208" #Audio Play Key
+ Option "PassKey11" "209" #Audio Pause Key
+ Option "PassKey12" "216" #Audio Forward Key
+ Option "PassKey13" "234" #Audio Media Key
+ Option "PassKey14" "210" #Voice Wakeup LPSD Key
+ Option "PassKey15" "211" #Voice Wakeup Key
EndSection
Identifier "evdev touchscreen catchall"
MatchIsTouchScreen "on"
MatchDevicePath "/dev/input/event*"
- Driver "evdevmultitouch"
+ Driver "evdev"
Option "MultiTouch" "2"
EndSection
Section "ServerLayout"
Identifier "Test Layout"
Screen 0 "Screen0" 0 0
+ InputDevice "Gesture"
EndSection
Section "Screen"
Identifier "emulfb"
Driver "vigs"
Option "fbdev" "/dev/fb0"
+ Option "HWCursor" "false"
EndSection
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
+ Option "AccelerationProfile" "-1"
EndSection
Section "InputClass"
EndSection
Section "InputClass"
- Identifier "evdev touchscreen catchall"
- MatchIsTouchScreen "on"
- MatchDevicePath "/dev/input/event*"
- Driver "evdevmultitouch"
+ Identifier "evdev touchscreen catchall"
+ MatchIsTouchScreen "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
Option "MultiTouch" "6"
EndSection
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
+
+Section "InputDevice"
+ Identifier "Gesture"
+ Driver "gesture"
+ Option "Device" "/dev/null"
+ Option "PassKey1" "121" #Audio Mute Key
+ Option "PassKey2" "122" #Volume Down Key
+ Option "PassKey3" "123" #Volume Up Key
+ Option "PassKey4" "124" #Power Key
+ Option "PassKey5" "171" #Next Song Key
+ Option "PassKey6" "172" #Audio PlayPause Key
+ Option "PassKey7" "173" #Previous Song Key
+ Option "PassKey8" "174" #Audio Stop Key
+ Option "PassKey9" "176" #Audio Rewind Key
+ Option "PassKey10" "208" #Audio Play Key
+ Option "PassKey11" "209" #Audio Pause Key
+ Option "PassKey12" "216" #Audio Forward Key
+ Option "PassKey13" "234" #Audio Media Key
+ Option "PassKey14" "210" #Voice Wakeup LPSD Key
+ Option "PassKey15" "211" #Voice Wakeup Key
+EndSection
\ No newline at end of file
Identifier "evdev touchscreen catchall"
MatchIsTouchScreen "on"
MatchDevicePath "/dev/input/event*"
- Driver "evdevmultitouch"
+ Driver "evdev"
Option "MultiTouch" "2"
EndSection
+++ /dev/null
-Section "InputClass"
- Identifier "evdev pointer catchall"
- MatchIsPointer "on"
- MatchDevicePath "/dev/input/event*"
- Driver "evdev"
-EndSection
-
-Section "InputClass"
- Identifier "evdev pointer catchall"
- MatchIsTablet "on"
- MatchDevicePath "/dev/input/event*"
- Driver "evdev"
-EndSection
-
-Section "InputClass"
- Identifier "evdev touchscreen catchall"
- MatchIsTouchScreen "on"
- MatchDevicePath "/dev/input/event*"
- Driver "evdevmultitouch"
- Option "MultiTouch" "2"
-EndSection
-
-Section "InputClass"
- Identifier "evdev keyboard catchall"
- MatchIsKeyboard "on"
- MatchDevicePath "/dev/input/event*"
- Driver "evdev"
-EndSection
-
-Section "InputDevice"
- Identifier "Gesture"
- Driver "gesture"
- Option "Device" "/dev/null"
- Option "Activate" "1"
- Option "ScreenWidth" "320"
- Option "ScreenHeight" "320"
- Option "FlickDownKeycode" "166"
- Option "FlickUpKeycode" "177"
- Option "FlickPressArea" "45"
- Option "FlickPressArea_LEFT" "80"
- Option "FlickMinimumHeight" "80"
- Option "ShutdownKeycode" "0"
- Option "SingleTapThresHold" "200"
- Option "DoubleTapThresHold" "400"
- Option "HoldAreaThresHold" "1.3"
- Option "HoldMoveThresHold" "20"
- Option "HoldTimeThresHold" "500"
- Option "ActivateFlickDown" "1"
- Option "ActivateFlickUp" "0"
- Option "ActivateFlickRight" "0"
-EndSection
+++ /dev/null
-keycode 123 = XF86AudioRaiseVolume
-keycode 122 = XF86AudioLowerVolume
-keycode 231 = Cancel
-keycode 177 = XF86Send
-keycode 147 = XF86Phone
-keycode 166 = XF86Stop
-keycode 225 = XF86Search
-keycode 124 = XF86PowerOff
-keycode 179 = XF86WebCam
-keycode 220 = XF86Pictures
-keycode 208 = XF86AudioPlay
-keycode 209 = XF86AudioPause
-keycode 174 = XF86AudioStop
-keycode 171 = XF86AudioNext
-keycode 173 = XF86AudioPrev
-keycode 176 = XF86AudioRewind
-keycode 216 = XF86AudioForward
-keycode 234 = XF86AudioMedia
-keycode 153 =
-keycode 239 =
-keycode 136 =
-keycode 140 =
-keycode 182 =
-keycode 172 =
-keycode 215 =
DISPLAY=":0"
LOGDIR="/var/log"
-XORG_CONF=" -config /etc/X11/xorg.conf -configdir /etc/X11/xorg.conf.d "
+XORG_CONF=" -config /etc/X11/xorg.conf -configdir /etc/X11/xorg.conf.d -nolisten tcp "
OTHER_OPTIONS=" -logfile /var/log/Xorg.0.log -ac -noreset +accessx 0 +dpmsphone $XORG_ARCH_OPTS"
# Xorg automatically preserves logs in $LOGDIR/Xorg.DPY.log.(old)
#!/bin/sh
-/usr/bin/scim -d &
-/usr/bin/xmodmap /etc/X11/Xmodmap
-
# set dpi
if [ -x /usr/bin/xrdb ]; then
if [ -e ~/.Xresources ]; then
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/startx
-EnvironmentFile=-/run/tizen-mobile-env
+EnvironmentFile=/run/tizen-mobile-env
[Install]
WantedBy=basic.target
else
/usr/bin/xrdb -load -nocpp /etc/X11/Xresources
fi
- mkdir -p /tmp/hibernation
- touch /tmp/hibernation/xresources_ready
fi
;;
Type=oneshot
EnvironmentFile=/run/tizen-mobile-env
ExecStart=/usr/bin/xrdb -load -nocpp /etc/X11/Xresources
-ExecStartPost=/bin/mkdir -p /tmp/hibernation
-ExecStartPost=/bin/touch /tmp/hibernation/xresources_ready
[Install]
WantedBy=multi-user.target
Name: xorg-x11-misc
Summary: X.Org X11 X server misc packages
-Version: 0.0.12
+Version: 0.0.22
Release: 1
Group: System/X11
License: MIT
Summary: architecture independent set of X11 X server configuration files
Group: System/X11
Requires: xserver-xorg-core
-Requires: xorg-x11-drv-evdev-multitouch
%description common
Set of architecture independent files and scripts for X server
%setup -q
%install
+
mkdir -p %{buildroot}/usr/share/license
cp -af COPYING %{buildroot}/usr/share/license/%{name}-emulfb
install -m 755 common/Xorg.sh %{buildroot}/etc/profile.d/Xorg.sh
install -m 755 common/xserver %{buildroot}/etc/rc.d/init.d/xserver
-install -m 644 %{ARCH}-common/Xmodmap %{buildroot}/etc/X11/Xmodmap
install -m 644 %{ARCH}-common/Xresources %{buildroot}/etc/X11/Xresources
install -m 644 %{ARCH}-common/Xorg.arch-options %{buildroot}/etc/X11/Xorg.arch-options
install -m 755 %{ARCH}-common/xsetrc %{buildroot}/etc/X11/xsetrc
ln -s /etc/rc.d/init.d/xresources %{buildroot}/etc/rc.d/rc4.d/S80xresources
%if "%{?tizen_profile_name}" == "wearable"
cp -Rd conf-%{ARCH}-emulfb-wearable %{buildroot}/etc/X11/conf-%{ARCH}-emulfb
- %if "%{ARCH}" == "i386"
- %if "%{?_repository}" == "emulator-circle"
- mv %{buildroot}/etc/X11/conf-%{ARCH}-emulfb/input.conf.wc1 %{buildroot}/etc/X11/conf-%{ARCH}-emulfb/input.conf
- %else
- rm %{buildroot}/etc/X11/conf-%{ARCH}-emulfb/input.conf.wc1
- %endif
- %endif
%else
cp -Rd conf-%{ARCH}-emulfb-mobile %{buildroot}/etc/X11/conf-%{ARCH}-emulfb
%endif
ln -s ../xresources.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/xresources.service
%endif
+mkdir -p %{buildroot}/opt/var/xkb
+%if "%{?tizen_profile_name}" == "mobile"
+ cp -rf arm-common/tizen_layout_mobile.txt %{buildroot}/opt/var/xkb/tizen_key_layout_temp.txt
+%else
+ %if "%{?tizen_profile_name}" == "wearable"
+ cp -rf arm-common/tizen_layout_wearable.txt %{buildroot}/opt/var/xkb/tizen_key_layout_temp.txt
+ %else
+ %if "%{?tizen_profile_name}" == "tv"
+ cp -rf arm-common/tizen_layout_tv.txt %{buildroot}/opt/var/xkb/tizen_key_layout_temp.txt
+ %endif
+ %endif
+%endif
+
# arm/i386 emulfb
%post emulfb
done
%files common
+%manifest xorg-x11-misc-common.manifest
/usr/bin/startx
/usr/bin/setcpu
/usr/bin/setpoll
/etc/rc.d/rc3.d/*
/etc/rc.d/rc4.d/*
/etc/X11/xorg.conf
-
+/opt/var/xkb/tizen_key_layout_temp.txt
%files %{ARCH}-common
-/etc/X11/Xmodmap
+%manifest xorg-x11-misc-%{ARCH}-common.manifest
/etc/X11/Xresources
%attr(755,root,root) /etc/X11/xsetrc
/etc/X11/Xorg.arch-options
<filesystem path="/etc/rc.d/rc4.d/S02xserver" label="_" exec_label="none" />
<filesystem path="/etc/rc.d/rc3.d/S80xresources" label="_" exec_label="none" />
<filesystem path="/etc/rc.d/rc4.d/S80xresources" label="_" exec_label="none" />
+ <filesystem path="/etc/profile.d/Xorg.sh" label="_" exec_label="none" />
</assign>
</manifest>
--- /dev/null
+<manifest>
+ <request>
+ <domain name="xorg"/>
+ </request>
+ <assign>
+ <filesystem path="/etc/rc.d/init.d/xserver" label="_" exec_label="none" />
+ <filesystem path="/etc/rc.d/init.d/xresources" label="_" exec_label="none" />
+ <filesystem path="/etc/rc.d/rc3.d/S20xserver" label="_" exec_label="none" />
+ <filesystem path="/etc/rc.d/rc4.d/S20xserver" label="_" exec_label="none" />
+ <filesystem path="/etc/rc.d/rc3.d/S80xresources" label="_" exec_label="none" />
+ <filesystem path="/etc/rc.d/rc4.d/S80xresources" label="_" exec_label="none" />
+ <filesystem path="/etc/profile.d/Xorg.sh" label="_" exec_label="none" />
+ <filesystem path="/etc/X11/xorg.conf" label="_" exec_label="none" />
+ </assign>
+</manifest>
<request>
<domain name="xorg"/>
</request>
+ <assign>
+ <filesystem path="/etc/X11/conf-i386-emulfb/display.conf" label="_" exec_label="none" />
+ <filesystem path="/etc/X11/conf-i386-emulfb/input.conf" label="_" exec_label="none" />
+ <filesystem path="/etc/X11/conf-i386-emulfb/module.conf" label="_" exec_label="none" />
+
+ <filesystem path="/etc/X11/conf-arm-emulfb/display.conf" label="_" exec_label="none" />
+ <filesystem path="/etc/X11/conf-arm-emulfb/input.conf" label="_" exec_label="none" />
+ <filesystem path="/etc/X11/conf-arm-emulfb/module.conf" label="_" exec_label="none" />
+ </assign>
</manifest>
<filesystem path="/etc/rc.d/rc4.d/S20xserver" label="_" exec_label="none" />
<filesystem path="/etc/rc.d/rc3.d/S80xresources" label="_" exec_label="none" />
<filesystem path="/etc/rc.d/rc4.d/S80xresources" label="_" exec_label="none" />
+ <filesystem path="/etc/profile.d/Xorg.sh" label="_" exec_label="none" />
</assign>
</manifest>