Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

missing panels on second screen #87

Closed
brianjmurrell opened this Issue · 23 comments

4 participants

@brianjmurrell

With MATE 1.4 (and GNOME 2) when mate panel started it put panels on both screens of a multi-screen (not Xinerama, not twinview, separate X screens as in :0.0 and :0.1) configuration. After upgrading (sadly, I use that term loosely) to MATE 1.6, I only get panels on one of the screens. If I restart mate-panel the panels move to the alternate screen and if I restart it again, the move back. That is, they flap between the two screens on each restart of mate-panel.

There are other bugs with mate-panel in 1.6 but I will file them separately.

@stefano-k
Owner

Can you provide:

  • your X configuration
  • the output of the following command:
dconf list /org/mate/panel/toplevels/
  • for each toplevel, the output of:
gsettings list-recursively org.mate.panel.toplevel:/org/mate/panel/toplevels/{$toplevel}/

(like gsettings list-recursively org.mate.panel.toplevel:/org/mate/panel/toplevels/top/ )

Thank you!

@JcTux23

Below my X configuration:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    HorizSync       15.0 - 90.0
    VertRefresh     48.0 - 62.0
    ModeLine       "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
    Option         "DPMS" "false"
    Option         "DPI" "96 x 96"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DENON, Ltd. DENON-AVAMP"
    HorizSync       15.0 - 70.0
    VertRefresh     48.0 - 62.0
    Option         "DPMS" "false"
    Option         "DPI" "96 x 96"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8300"
    BusID          "PCI:2:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8300"
    BusID          "PCI:2:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "ModeValidation" "NoMaxPClkCheck, NoEdidMaxPClkCheck"
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT: 1920x1080_60.00 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
@JcTux23
$ dconf list /org/mate/panel/toplevels/
bottom/
top/
@JcTux23
$ gsettings list-recursively org.mate.panel.toplevel:/org/mate/panel/toplevels/top/
org.mate.panel.toplevel animation-speed 'fast'
org.mate.panel.toplevel auto-hide false
org.mate.panel.toplevel auto-hide-size 1
org.mate.panel.toplevel enable-animations true
org.mate.panel.toplevel enable-arrows true
org.mate.panel.toplevel enable-buttons false
org.mate.panel.toplevel expand true
org.mate.panel.toplevel hide-delay 300
org.mate.panel.toplevel monitor 0
org.mate.panel.toplevel name ''
org.mate.panel.toplevel orientation 'top'
org.mate.panel.toplevel screen 0
org.mate.panel.toplevel size 24
org.mate.panel.toplevel unhide-delay 100
org.mate.panel.toplevel x 0
org.mate.panel.toplevel x-centered false
org.mate.panel.toplevel x-right -1
org.mate.panel.toplevel y 0
org.mate.panel.toplevel y-bottom -1
org.mate.panel.toplevel y-centered false
org.mate.panel.toplevel.background color '#ffffff'
org.mate.panel.toplevel.background fit false
org.mate.panel.toplevel.background image ''
org.mate.panel.toplevel.background opacity 6000
org.mate.panel.toplevel.background rotate false
org.mate.panel.toplevel.background stretch false
org.mate.panel.toplevel.background type 'none'
@JcTux23
$ gsettings list-recursively org.mate.panel.toplevel:/org/mate/panel/toplevels/bottom/
org.mate.panel.toplevel animation-speed 'fast'
org.mate.panel.toplevel auto-hide false
org.mate.panel.toplevel auto-hide-size 1
org.mate.panel.toplevel enable-animations true
org.mate.panel.toplevel enable-arrows true
org.mate.panel.toplevel enable-buttons false
org.mate.panel.toplevel expand true
org.mate.panel.toplevel hide-delay 300
org.mate.panel.toplevel monitor 0
org.mate.panel.toplevel name ''
org.mate.panel.toplevel orientation 'bottom'
org.mate.panel.toplevel screen 0
org.mate.panel.toplevel size 24
org.mate.panel.toplevel unhide-delay 100
org.mate.panel.toplevel x 0
org.mate.panel.toplevel x-centered false
org.mate.panel.toplevel x-right -1
org.mate.panel.toplevel y 0
org.mate.panel.toplevel y-bottom -1
org.mate.panel.toplevel y-centered false
org.mate.panel.toplevel.background color '#ffffff'
org.mate.panel.toplevel.background fit false
org.mate.panel.toplevel.background image ''
org.mate.panel.toplevel.background opacity 6000
org.mate.panel.toplevel.background rotate false
org.mate.panel.toplevel.background stretch false
org.mate.panel.toplevel.background type 'none'
@stefano-k
Owner

@JcTux23 Thank you!

@szesch
Owner

@JcTux23 For future reference, please utilize paste.mate-desktop.org instead of making multiple comments.

Thanks.

@brianjmurrell

I wonder why I didn't get a copy of @stefano-k's request a couple of days ago.

In any case:

Section "ServerLayout"
    Identifier     "Default Layout"
    Option         "Clone" "off"
    Screen         0 "Screen0"
    Screen         1 "Screen1" LeftOf "Screen0"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "keyboard"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "sk2500"
    Option         "XkbLayout" "us"
    #Option         "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "DVI-I-1"
    Option         "Rotate" "right"
EndSection

Section "Monitor"
    Identifier     "VGA-1"
    Option         "LeftOf" "DVI-I-1"
    Option         "PreferredMode" "1600x1200"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nouveau"
    BusID          "PCI:2:0:0"
    Option         "ZaphodHeads" "DVI-I-1"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nouveau"
    BusID          "PCI:2:0:0"
    Option         "ZaphodHeads" "VGA-1"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "DVI-I-1"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "VGA-1"
EndSection
$ dconf list /org/mate/panel/toplevels/
bottom/
top/
$ dconf list /org/mate/panel/toplevels/ | while read toplevel; do 
> echo "$toplevel:"
> gsettings list-recursively org.mate.panel.toplevel:/org/mate/panel/toplevels/$toplevel
> done
bottom/:
org.mate.panel.toplevel animation-speed 'fast'
org.mate.panel.toplevel auto-hide false
org.mate.panel.toplevel auto-hide-size 1
org.mate.panel.toplevel enable-animations true
org.mate.panel.toplevel enable-arrows true
org.mate.panel.toplevel enable-buttons false
org.mate.panel.toplevel expand false
org.mate.panel.toplevel hide-delay 300
org.mate.panel.toplevel monitor 0
org.mate.panel.toplevel name ''
org.mate.panel.toplevel orientation 'bottom'
org.mate.panel.toplevel screen 0
org.mate.panel.toplevel size 24
org.mate.panel.toplevel unhide-delay 100
org.mate.panel.toplevel x 587
org.mate.panel.toplevel x-centered true
org.mate.panel.toplevel x-right 0
org.mate.panel.toplevel y 1538
org.mate.panel.toplevel y-bottom -38
org.mate.panel.toplevel y-centered false
org.mate.panel.toplevel.background color '#ffffff'
org.mate.panel.toplevel.background fit false
org.mate.panel.toplevel.background image ''
org.mate.panel.toplevel.background opacity 6000
org.mate.panel.toplevel.background rotate false
org.mate.panel.toplevel.background stretch false
org.mate.panel.toplevel.background type 'none'
top/:
org.mate.panel.toplevel animation-speed 'fast'
org.mate.panel.toplevel auto-hide false
org.mate.panel.toplevel auto-hide-size 1
org.mate.panel.toplevel enable-animations true
org.mate.panel.toplevel enable-arrows true
org.mate.panel.toplevel enable-buttons false
org.mate.panel.toplevel expand false
org.mate.panel.toplevel hide-delay 300
org.mate.panel.toplevel monitor 0
org.mate.panel.toplevel name ''
org.mate.panel.toplevel orientation 'top'
org.mate.panel.toplevel screen 0
org.mate.panel.toplevel size 24
org.mate.panel.toplevel unhide-delay 100
org.mate.panel.toplevel x 0
org.mate.panel.toplevel x-centered true
org.mate.panel.toplevel x-right -1
org.mate.panel.toplevel y 0
org.mate.panel.toplevel y-bottom -1
org.mate.panel.toplevel y-centered false
org.mate.panel.toplevel.background color '#ffffff'
org.mate.panel.toplevel.background fit false
org.mate.panel.toplevel.background image ''
org.mate.panel.toplevel.background opacity 6000
org.mate.panel.toplevel.background rotate false
org.mate.panel.toplevel.background stretch false
org.mate.panel.toplevel.background type 'none'

FWIW, I did look at this information once before and wondered if I could add more toplevels for monitor/screen 1, but I've not really kept up with dconf/gsettings and how to do that. Happy to experiment for you if you wish though.

@stefano-k stefano-k was assigned
@stefano-k
Owner

@brianjmurrell if I send you a patch, are you able to build mate-panel and test it?

@brianjmurrell
@stefano-k
Owner

@brianjmurrell
http://paste.mate-desktop.org/view/f1cd2143
I want to know if it works before commit it. Thank you!

@brianjmurrell
@stefano-k
Owner

@brianjmurrell After you run mate-panel with this patch, try "mate-panel --reset". Thank you

@brianjmurrell
@brianjmurrell

probably this is why:

$ dconf list /org/mate/panel/toplevels/
$ 
@stefano-k
Owner
@brianjmurrell

OK. With the patch, I do get panels on both screens now. I am still seeing the duplicate applets (#89) on a single problem still though.

@brianjmurrell

The panels on the second screen are (not entirely surprisingly) empty though. Any chance of getting my pre-gsettings panel objects back on them? And the missing ones from my screen 0 panels too I guess.

Ultimately, I guess I just want to re-convert my gconf panel settings to dconf, however that was done during the 1.4->1.6 upgrade.

@stefano-k
Owner

@brianjmurrell did you try mate-panel --reset?

@brianjmurrell
@stefano-k
Owner

Here mate-panel --reset starts the new panel layout withous issues, but it needs some time.

So, can we close this issue? Can I commit the patch?

About 1.4 mateconf configuration, you could try the script we are writing (still in beta stage):
http://git.mate-desktop.org/mate-desktop/plain/mate-conf/mate-conf-import

@brianjmurrell
@stefano-k
Owner

Was the 1.4->1.6 upgrade not
This is a "bug" of 1.6 release. We are fixing this.

Closing this issue. Can you open another issue about the segfault when mate-panel --reset?

@stefano-k stefano-k closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.