[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#408113: kdelibs4c2a: Workaraound



Torquil Macdonald Sørensen wrote:
Sune Vuorela wrote:
On Wednesday 24 January 2007, Torquil Macdonald Sørensen wrote:
Package: kdelibs4c2a
Version: 4:3.5.5a.dfsg.1-5
Followup-For: Bug #408113

I was able to get the background working again by deleting all the
Desktop0Screen0, Desktop1Screen0, Desktop1Screen0 ... sections, and
the "Background Common" section, from kdesktoprc. First I deleted all
Desktop#Screen# sections, keeping [Desktop0], but that didn't work.
Then I deleted [Desktop0], that didn't work either. Then it worked
after deleting [Background Common]


Hi!

A quite importaint piece of information - as no one in kde team currently has a dualscreen setup - is there a program to set the DesktopXScreenX sections and stuff or is it something you have handcrafted in your kdesktoprc ?

/Sune




Hello,

No, those sections have appeared when using the dualscreen setup, and choosing wallpapers for the different screens and desktops within each screen in the standard way in KDE. Unfortunately, I did a bit of experimenting with different dualscreen setups, e.g. with/without Xinerama, with/without MergedFB in the Device section in xorg.conf, so I may not be able to reproduce the error. If I manage to reproduce it, I will report back with details.

- Torquil


Hello,

Yes, I could reproduce it easily. Here are the steps, starting from a working configuration:

1) Activate MergedFB mode in xorg.conf (see xorg.conf excerpt below)
2) Restart X server
3) Log into KDE, choose a different background for each screen (but
keeping "Settings for Desktop" on "All Desktops")
4) Deactivate MergedFB
5) Restart X server
6) Log into KDE, try to set wallpaper. Nothing happens.

Looking at the faulty kdesktoprc that remains after these steps, I have
a [Background Common], [Desktop0], and  [DesktopMScreenN] for all
combinations of M=0,1,2,3, N=0,1. I have  attached it below.

I have found that the only change I need to get it working again is to
delete the four lines DrawBackgroundPerScreen_0=true (also for 1,2,3) in
the [Background Common] section in kdesktoprc (changing them to "false" also works). It does not matter that the [Desktop0Screen0]-type sections remain in the config file.


****** The MergedFB configuration in xorg.conf. This my usual
configuration. I have a laptop with an ATI graphics card and an external monitor output. When I say "activate MergedFB" above, I mean that I only
uncomment the lines shown here:

Section "Device"
          Identifier      "Device0"
          Driver          "radeon"
          BusID           "PCI:1:0:0"
#       Option          "MergedFB"      "true"
#       Option          "MonitorLayout" "LVDS, CRT"
#       Option          "CRT2Hsync"     "30-90"
#       Option          "CRT2VRefresh" "50-150"
#       Option          "OverlayOnCRTC2" "true"
#       Option          "CRT2Position" "RightOf"
#       Option          "MetaModes" "1400x1050-1280x960"
#       Option          "MergedXineramaCRT2IsScreen0" "false"
#       Option          "MergedDPI"     "116 116"
EndSection

****** The faulty kdesktoprc after having used MergedFB and gone back to
single screen (I have deleted some unrelated sections):

[Background Common]
CacheSize=2048
CommonDesktop=true
CommonScreen=false
Dock=true
DrawBackgroundPerScreen_0=true
DrawBackgroundPerScreen_1=true
DrawBackgroundPerScreen_2=true
DrawBackgroundPerScreen_3=true
Export=false
LimitCache=false

[Desktop0]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,0,0
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=fish
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=/usr/share/wallpapers/alta-badia.jpg
WallpaperList=
WallpaperMode=Scaled

[Desktop0Screen0]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,48,130
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=/usr/share/wallpapers/soft-green.jpg
WallpaperList=
WallpaperMode=Scaled

[Desktop0Screen1]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,48,130
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=/usr/share/wallpapers/Time-For-Lunch-2.jpg
WallpaperList=
WallpaperMode=Tiled

[Desktop1Screen0]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,48,130
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=
WallpaperList=
WallpaperMode=NoWallpaper

[Desktop1Screen1]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,48,130
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=
WallpaperList=
WallpaperMode=NoWallpaper

[Desktop2Screen0]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,48,130
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=
WallpaperList=
WallpaperMode=NoWallpaper

[Desktop2Screen1]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,48,130
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=
WallpaperList=
WallpaperMode=NoWallpaper

[Desktop3Screen0]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,48,130
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=
WallpaperList=
WallpaperMode=NoWallpaper

[Desktop3Screen1]
BackgroundMode=Flat
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=0,48,130
Color2=192,192,192
CurrentWallpaperName=
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=
WallpaperList=
WallpaperMode=NoWallpaper

[FMSettings]
ItemTextBackground=invalid
NormalTextColor=0,0,0
ShadowEnabled=false
ShowFileTips=false
StandardFont=Sans Serif,8,-1,5,50,0,0,0,0,0
TextHeight=2
TextWidth=0
UnderlineLinks=false

[General]
AutoLineUpIcons=false
Enabled=false
SetVRoot=false

[Version]
KDEVersionMajor=3
KDEVersionMinor=5
KDEVersionRelease=5


- Torquil






Reply to: