Skip to content

双显卡配置时,会出现两条panel #30

Description

@eleveni386

dde-top-panel 版本是0.5.5
操作系统 deepin v20.1 社区版(1010)
问题重现:
在xorg.conf中如下配置:
`Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "screen_intel"
Screen 1 "screen_nvidia"
Inactive "card_intel"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/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/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Device"
Identifier "card_nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "card_intel"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "screen_nvidia"
Device "card_nvidia"
EndSection

Section "Screen"
Identifier "screen_intel"
Device "card_intel"
EndSection
`
将会出现两条panel, 但是我却只有一个显示器, 就是当前屏幕,
如果我注释掉ServerLayout中的screen_nvidia这一行, 则只会出现一条panel.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions