You are not logged in.

#1 2012-11-16 17:14:49

Registered: 2011-07-07
Posts: 39

T420 on docking + extl Monitor shows on vc not the right resolution


i have an T420 ThinkPad which is connectet at home with a docking station per displayport. The display from the laptop is closed all the time all works well only when i not start X server the resolution is not set right here is what i mean. When starting X the resolution is ok.

und hier ncmpcpp

this is my .xinitrc

# ~/.xinitrc
# Executed by startx (run your window manager from here)

#virtual desktop:
#xrandr --output LVDS1 --auto --output DP2 --auto --right-of LVDS1

#when not docked:
#xrandr --output LVDS1 --auto --output DP2 --off

#docked with NEC:
xrandr --output DP2 --auto --output LVDS1 --off

#when not docked:
#xrandr --output LVDS1 --auto --DP2 --off

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  unset f

sh ~/.fehbg &
conky &

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec openbox-session

The reason is i will when i not start X start ncmpcpp on vc1 but as you can see on the pictures they take the resolution from my laptop

How can i fix this is it possible?

ps;on my .xinitrc i have this 2 times what of them is the right? or are both the same?

#when not docked:
#xrandr --output LVDS1 --auto --output DP2 --off

#when not docked:
#xrandr --output LVDS1 --auto --DP2 --off


Board footer

Powered by FluxBB