Le Sun, 17 Mar 2002 13:19:44 +0100, Quel Qun a �crit :

> On Sun, 2002-03-17 at 02:36, Fr�d�ric Crozat wrote:
>> Le Sun, 17 Mar 2002 10:16:13 +0100, Fr�d�ric Crozat a �crit :
>> 
>> > Le Sun, 17 Mar 2002 03:25:13 +0100, Quel Qun a �crit :
>> > 
>> >> On Sat, 2002-03-16 at 08:37, Fr�d�ric Crozat wrote:
>> >>> Le Sat, 16 Mar 2002 15:55:15 +0100, Quel Qun a �crit :
>> >>> 
>> >>> > On Sat, 2002-03-16 at 06:14, Fr�d�ric Crozat wrote:
>> >>> >> Le Sat, 16 Mar 2002 11:52:06 +0100, Quel Qun a �crit :
>> >>> >> 
>> >>> >> > Hi,
>> >>> >> > 
>> >>> >> > The desktop background is still not loaded automatically after
>> >>> >> > startx using gnome and gmc.
>> >>> >> > 
>> >>> >> > There is surely a way to specify the bg in a config file, but
>> >>> >> > I cannot figure it out.
>> >>> >> 
>> >>> >> Try removing your ~/.gnome/session, bg-applet is probably not
>> >>> >> called by initiating gnome session, therefore not setting
>> >>> >> background..
>> >>> >> 
>> >>> > Ok, I tried a few things here:
>> >>> > 
>> >>> > I added
>> >>> > 
>> >>> > rm -f $HOME/.gnome/session*
>> >>> > 
>> >>> > as the first line of .xinitrc. For the sake of completness, this
>> >>> > is followed by:
>> >>> > 
>> >>> > xmodmap -e 'keycode 116 = Super_R Multi_key' startgnome
>> >>> > 
>> >>> > As long as I log out of gnome after closing everything, the bg is
>> >>> > reloaded when I run startx again.
>> >>> > 
>> >>> > However, if I logout of gnome leaving an app running, the app is
>> >>> > not restarted and the bg is gone.
>> >>> > 
>> >>> > There used to be a decent session management with gnome+gmc...
>> >>> 
>> >>> You didn't undertood what I said to you :
>> >>> 
>> >>> You just need to remove your ~/.gnome/session one time (you
>> >>> probably had a bad saved session)..
>> >>> 
>> >>> If you want to save session, just go to Configuration/Gnome/Save
>> >>> current session and that should do the trick..
>> >>> 
>> >> I am sorry, but I think you don't understand what I have been saying
>> >> for months. The session file may not even be the cause of the
>> >> problem at all.
>> >> 
>> >> Removed the first line of .xinitrc and just tried it again.
>> >> 
>> >> rm -f $HOME/.gnome/session
>> >> startx
>> >> 
>> >> The bg is loaded. Menu Configuration/Gnome/Save current session.
>> >> Wait few seconds. Logout with the menu function.
>> >> 
>> >> Back to console, startx, the bg is gone. An error message in console
>> >> says:
>> >> 
>> >> capplet-common-CRITICAL **: Cannot open configuration database
>> >> archive:user-archive#archiverdb:background-properties
>> > 
>> > I know about this problem.. It appears when multiple GNOME
>> > control-center applets try to launch at the same time... I've hacked
>> > gnome control center to prevent this problem but this was a ugly hack
>> > and it seems it didn't fix all possible case.. Sorry but this won't
>> > be fixed for 8.2 and since we will be switching to GNOME 2 soon, this
>> > won't be fixed for gnome-control-center 1.5.x branch...
>> 
>> I just had a quick look at gnome control center session management
>> (I've not versed at all in session management) and session saving might
>> not do all it should do (I'm not sure, and since I'm writing this from
>> home, I can't do tests).. Anyway, try adding --init-session-settings in
>> your ~/.gnome/session file for all restart command capplets.. I hope
>> this should fix your background problem..
>> 
>> 
> The --init-session-settings was already set for the bkgd in the session
> file, and adding it for the other commands did not improve the
> situation.
> 
> Was seems to improve things is to set a different priority for each of
> the controls. I also put the background control in second (index 1).
> 
> The background now seems to load fine everytime I start X, even if I
> closed gnome leaving an app running. The sound for gtk-events does not
> work, but I never use it. Maybe it never worked, in fact.
> 
> Of course, that means that I cannot leave gnome auto-save the session at
> logout or it would erase my carefully hand crafted session file. I can
> leave with that until the next generation.
> 
> ...except if anyone knows where these priority numbers and the saving
> order are pulled from on the top of her/his head.

use session-properties-capplet to modify that..
--
Fr�d�ric Crozat
MandrakeSoft

Reply via email to