Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:c1_lcdshield [2016/11/14 10:52] john1117 [Run Xwindow] |
en:c1_lcdshield [2016/11/14 11:04] (current) john1117 [Run Xwindow] |
||
---|---|---|---|
Line 77: | Line 77: | ||
===== Run Xwindow ===== | ===== Run Xwindow ===== | ||
=== 0. Create a new config file === | === 0. Create a new config file === | ||
- | Add following lines in "/etc/X11/xorg.conf" file. | + | sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old |
+ | sudo vi /etc/X11/xorg.conf | ||
+ | === 1. And then, add following lines in "/etc/X11/xorg.conf" file. === | ||
<code> | <code> | ||
Section "Device" | Section "Device" | ||
- | Identifier "C1 fbdev" | + | Identifier "C fbdev" |
Driver "fbdev" | Driver "fbdev" | ||
Option "fbdev" "/dev/fb2" | Option "fbdev" "/dev/fb2" | ||
Line 86: | Line 88: | ||
</code> | </code> | ||
- | === 1. Run === | + | === 2. Run === |
sudo /etc/init.d/lightdm restart | sudo /etc/init.d/lightdm restart | ||
sudo chvt 7 | sudo chvt 7 | ||
- | |||
===== Touch Calibration ===== | ===== Touch Calibration ===== | ||
* [[C1_TFT_TOUCH | How to enable & calibrate your touchscreen]] | * [[C1_TFT_TOUCH | How to enable & calibrate your touchscreen]] |