Newbie Question

Dan B. Phung phung at cs.columbia.edu
Wed Apr 23 21:38:05 PDT 2008


First you should try messing with how much you need to shift using 
xrandr...if that's available on the device.  do something like:

xrandr -s 800x600+50+50

if you don't have xrandr, then try adding the "+50+50" to your 
xorg.conf, and messing with the settings till you align your screen. 

-dan

Schumi Imor wrote:
> Hello,
>   I have an embedded x86 device with a 800x600 LCD monitor (this is 
> the maximum hw resolution). I was able to install and run debian with 
> xserver-xorg-core and xorg packages on it.
> But when I run X, the screen/window is shifted by 1 inch to the left.  
> The same when I run 640x480. But when I run at higher resolutions, 
> although I can see the whole screen and  will have to move the mouse 
> to see all corners, the window edge look fine.
> What setting in the xorg.conf or somewhere else can I change to move 
> the windows/screen right by 1 inch? Thanks in advance.
>
> xorg.conf file:
>
> Section "ServerLayout"
>         Identifier     "X.org Configured"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
>         RgbPath      "/etc/X11/rgb"
>         ModulePath   "/usr/lib/xorg/modules"
>         FontPath     "/usr/share/fonts/X11/misc"
>         FontPath     "/usr/X11R6/lib/X11/fonts/misc"
>         FontPath     "/usr/share/fonts/X11/cyrillic"
>         FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
>         FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
>         FontPath     "/usr/share/fonts/X11/Type1"
>         FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
>         FontPath     "/usr/share/fonts/X11/100dpi"
>         FontPath     "/usr/share/fonts/X11/75dpi"
>         FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
>
> Section "Module"
>         Load  "extmod"
>         Load  "record"
>         Load  "dbe"
>         Load  "glx"
>         Load  "xtrap"
>         Load  "dri"
>         Load  "type1"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "kbd"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "auto"
>         Option      "Device" "/dev/mouse"
>         Option      "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Monitor"
>         #DisplaySize      360   270     # mm
>         Identifier   "Monitor0"
>         VendorName   "LCD"
>         ModelName    " TFT LCD"
>  ### Comment all HorizSync and VertSync values to use DDC:
>         HorizSync    20.0 - 92.0
>         VertRefresh  50.0 - 75.0
>         Option      "DPMS"
> EndSection
>
> Section "Device"
>         ### Available Driver options are:-
>         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
>         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>         ### [arg]: arg optional
>         #Option     "NoAccel"                   # [<bool>]
>         #Option     "SWcursor"                  # [<bool>]
>         #Option     "ColorKey"                  # <i>
>         #Option     "CacheLines"                # <i>
>         #Option     "Dac6Bit"                   # [<bool>]
>         #Option     "DRI"                       # [<bool>]
>         #Option     "NoDDC"                     # [<bool>]
>         #Option     "ShowCache"                 # [<bool>]
>         #Option     "XvMCSurfaces"              # <i>
>         #Option     "PageFlip"                  # [<bool>]
>         Identifier  "Card0"
>         Driver      "i810"
>         VendorName  "Intel Corporation"
>         BoardName   "82852/855GM Integrated Graphics Device"
>         BusID       "PCI:0:2:0"
> EndSection
>
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Card0"
>         Monitor    "Monitor0"
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     16
>             Modes "800x600"   
>         EndSubSection
> EndSection
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg



More information about the xorg mailing list