![]() Registered Member ![]()
|
I am using PCLinuxOS 2012-12 KDE ?
I can't get my monitor config to "save as Default" using the "Configure your Desktop - Hardware - Display and Monitor - Size & Orientation - Save as Default" button. I get it to config ok, but it reverts to clone whenever I log off, or reboot. I have a Toshiba laptop with a 2nd monitor hooked to the VGA port with LVDS1 as Primary. I have just loaded PCLinuxos 2012-12 with KDE. I would be willing to attempt this manually if I had some instruction. ![]() TIA Jimmy |
![]() ![]()
|
Settings are store in ~/.kde/share/config/krandrrc, should be aut-reapplied with "startkde" script (what kdm executes when you log in) by a process called "krandrstartup" (should be executable in /usr/bin)
Settings do *not* apply out of session (ie. on boot or login screen or when you login to lxde or even the failsafe KDE session) |
![]() Registered Member ![]()
|
luebking
I don't understand what you are trying to tell me with: "Settings do *not* apply out of session (ie. on boot or login screen or when you login to lxde or even the failsafe KDE session)" None the less here is the info I have come up with. And The "Configure Your Desktop -Hardware-Display and Monitor-Size &Orientation-Save as Default" does not work altho it says it does. Need more info let me know. TIA Jimmy /usr/bin @localhost bin]$ ls -l krandrstartup -rwxr-xr-x 1 root root 1951 Sep 27 19:14 krandrstartup* #!/bin/sh # # A script that is called from startkde. Does early setup of a configuration # saved by krandr. if test "$krandrrc_display_applyonstartup" = "true"; then if test -n "$krandrrc_display_startupcommands"; then # new way of simply storing the commands eval "$krandrrc_display_startupcommands" else # backwards compatibility # 4 screens is hopefully enough for scrn in 0 1 2 3; do args= width="\$krandrrc_screen${scrn}_width" ; eval "width=$width" height="\$krandrrc_screen${scrn}_height" ; eval "height=$height" if test -n "${width}" -a -n "${height}"; then args="$args -s ${width}x${height}" fi refresh="\$krandrrc_screen${scrn}_refresh" ; eval "refresh=$refresh" if test -n "${refresh}"; then args="$args -r ${refresh}" fi rotation="\$krandrrc_screen${scrn}_rotation" ; eval "rotation=$rotation" if test -n "${rotation}"; then case "${rotation}" in 0) args="$args -o 0" ;; 90) args="$args -o 1" ;; 180) args="$args -o 2" ;; 270) args="$args -o 3" ;; esac fi reflectx="\$krandrrc_screen${scrn}_reflectx" ; eval "reflectx=$reflectx" if test "${refrectx}" = "true"; then args="$args -x" fi reflecty="\$krandrrc_screen${scrn}_reflecty" ; eval "reflecty=$reflecty" if test "${refrecty}" = "true"; then args="$args -y" fi if test -n "$args"; then xrandr $args fi done fi fi @localhost config]$ pwd /home/jimmy/.kde4/share/config localhost config]$ ls -l krandrrc -rw------- 1 jimmy jimmy 477 Jan 28 09:43 krandrrc localhost config]$ less krandrrc [Display] ApplyOnStartup=true StartupCommands=xrandr --output LVDS1 --pos 0x0 --mode 1440x900 --refresh 59.9955\nxrandr --output VGA1 --pos 1440x0 --mode 1440x900 --refresh 59.8874\nxrandr --output LVDS1 --primary [Screen_0] OutputsUnified=false UnifiedRect=0,0,0,0 UnifiedRotation=1 [Screen_0_Output_LVDS1] Active=true Rect=0,0,1440,900 RefreshRate=59.9955139160156 Rotation=1 [Screen_0_Output_VGA1] Active=true Rect=1440,0,1440,900 RefreshRate=59.8874435424805 Rotation=1 |
![]() ![]()
|
I meant that you can not expect those settings to apply before you entered the password at the login screen and clicked "login".
Not during boot and not on the login screen itself. The posted info looks ok, running "krandrstartup" (after the login) should get you the configured output (1440x900 on the left and 1440x900 on the right, combined resolution 2880x900) If not, please post the output of "xrandr -q" If yes, there's pot. and autostart script to set the resolution and/or (nvidia chip and blob, or fglrx ie. catalyst?) the driver brings it's own autosetup mechanism (which you'd have to deactivate to not have it override the krandr one) |
![]() Registered Member ![]()
|
jimmy@localhost ~]$ xrandr -q Screen 0: minimum 320 x 200, current 2880 x 900, maximum 8192 x 8192 LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 367mm x 229mm 1440x900 60.0*+ 60.0* 1440x900_60 60.0 1280x800_60 60.0 1024x768 60.0 800x600 60.3 640x480 59.9 VGA1 connected 1440x900+1440+0 (normal left inverted right x axis y axis) 410mm x 257mm 1440x900 59.9*+ 75.0 1280x1024 75.0 60.0 1280x960 60.0 1152x864 75.0 1024x768 75.1 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 72.8 75.0 66.7 60.0 720x400 70.1 DP1 disconnected (normal left inverted right x axis y axis) TV1 unknown connection (normal left inverted right x axis y axis) 848x480 59.9 + 640x480 59.9 + 1024x768 59.9 800x600 59.9 [jimmy@localhost ~]$
I gotta tell ya we may be getting over my head here ![]() I ran kandrstartup via Konsole via root as well as Jimmy and the only action was to go to another prompt, while the screens stayed in cloned. TIA |
![]() ![]()
|
The xrandr output does not suggest a cloned setup, but what you'd expect when putting two screens next to each other.
The output *including the mousepointer* is indeed cloned when you get this output? The command was supposed to be run as user, but just checked a little close - does nothing itself (since it lacks the required input variables) |
![]() Registered Member ![]()
|
Thank you for your help luebking.
I am going to back to windows, Linux can stay as backup for a while longer. Again thanks. Jimmy |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]