You are not logged in.

#1 2013-02-27 21:23:54

mulanee
Member
Registered: 2013-02-08
Posts: 30

How to avoid wallpaper management by LXDE?

Hi there,
Is there any way to avoid lxde to manage wallpaper?
I work with openbox+lxde, and I can't impose my wallpaper with feh for example.
I would like to disable wallpaper capability to lxde .
Thank you.

Last edited by mulanee (2013-02-28 06:38:07)

Offline

#2 2013-02-27 22:02:38

keineeile
Member
Registered: 2012-03-03
Posts: 41

Re: How to avoid wallpaper management by LXDE?

Isn't the wallpaper in LXDE usually managed by pcmanfm?
I'm not using LXDE anymore myself, but if I remember correctly then it is possible to disable the desktop handling of pcmanfm in its settings somewhere. But that was a while ago, it might have changed by now...

[Edit]
Just had a look at the settings of pcmanfm. If you run "pcmanfm --desktop-off", that'll probably disable it.

Last edited by keineeile (2013-02-27 22:04:05)

Offline

#3 2013-02-28 01:18:54

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: How to avoid wallpaper management by LXDE?

I had the same problem when I went to LXDE. If I recall correctly, I removed the command to launch pcmanfm from the file /etc/xdg/lxsession/LXDE/autostart. I removed it completely here as I don't use pcmanfm at all, but instead use Thunar as my file manager.


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#4 2013-02-28 06:39:10

mulanee
Member
Registered: 2013-02-08
Posts: 30

Re: How to avoid wallpaper management by LXDE?

>Just had a look at the settings of pcmanfm. If you run "pcmanfm --desktop-off", that'll probably disable it.

Yes it does the job, thank you!

Offline

#5 2013-03-01 22:15:44

mulanee
Member
Registered: 2013-02-08
Posts: 30

Re: How to avoid wallpaper management by LXDE?

Bad news, it doesn't work again.
I even don't remember where I wrote this  "pcmanfm --desktop-off"
I can launch in a shell "pcmanfm --desktop &", but in lxde autostart or openbox autostart makes nothing after x session launch |-((

Offline

#6 2013-03-02 10:55:36

keineeile
Member
Registered: 2012-03-03
Posts: 41

Re: How to avoid wallpaper management by LXDE?

Well, you need to write it in a terminal...

Which login manager are you using? If you use e.g. Slim, you can try to add the line "pcmanfm --desktop-off &" to the file ~/.xinitrc... Maybe also have a look if there's already something in that file starting pcmanfm at login.

Offline

#7 2013-03-02 12:23:48

mulanee
Member
Registered: 2013-02-08
Posts: 30

Re: How to avoid wallpaper management by LXDE?

No login manager.
After boot, I launch startx in console mode.
Openbox and lxde are installed.
No change by adding "pcmanfm --desktop-off &" to the file ~/.xinitrc

Offline

#8 2013-03-02 13:20:57

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: How to avoid wallpaper management by LXDE?

Did you try removing the command to lauch pcmanfm from '/etc/xdg/lxsession/LXDE/autostart'? Is there anything starting it from your home directory in '.config/lxsession/LXDE/autostart'?


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#9 2013-03-02 13:34:11

mulanee
Member
Registered: 2013-02-08
Posts: 30

Re: How to avoid wallpaper management by LXDE?

/etc/xdg/lxsession/LXDE/autostart:

@lxpanel --profile LXDE
@pcmanfm --desktop-off --profile LXDE
@xscreensaver -no-splash


.config/lxsession/LXDE/autostart:

@conky -d
@numlockx

Offline

#10 2013-03-02 14:36:17

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: How to avoid wallpaper management by LXDE?

What happens if you completely remove the line:

@pcmanfm --desktop-off --profile LXDE

As I mentioned earlier, my autostart file in this location is blank.

I'm currently using Nitrogen to manage my background pictures without any problems.


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#11 2013-03-02 17:54:40

mulanee
Member
Registered: 2013-02-08
Posts: 30

Re: How to avoid wallpaper management by LXDE?

/etc/xdg/lxsession/LXDE/autostart:

nothing inside

~/.config/lxsession/LXDE/autostart:

@nitrogen --restore &
@lxpanel --profile LXDE
@pcmanfm --profile LXDE --desktop-off
@xscreensaver -no-splash
@conky -d
@numlockx

Nothing more when I open the session, no wallpaper, black color.
When I open a tty and launch "nitrogen --restore", I get the result I want, the previously chosen wallpaper

Offline

#12 2013-03-02 18:45:58

Gumper
Member
From: U.S.A.
Registered: 2009-10-26
Posts: 132

Re: How to avoid wallpaper management by LXDE?

Try removing:

@pcmanfm --profile LXDE --desktop-off

from ~/.config/lxsession/LXDE/autostart.


Ready yourselves, ready yourselves
Let us shine the light of Jesus in the darkest night
Ready yourselves, ready yourselves
May the powers of darkness tremble as our praises rise .... Casting Crowns-Until The Whole World Hears.

Offline

#13 2013-03-02 20:24:01

mulanee
Member
Registered: 2013-02-08
Posts: 30

Re: How to avoid wallpaper management by LXDE?

@pcmanfm --profile LXDE --desktop-off 

No effect.



To summarize, I face to 3 differents situations:
after boot, whatever I have inside my autostart>black wallpaper, no wallpaper picture, no desktop icon, it seems not to be pcmanfm desktop, but I dont have nitrogen (even feh) wallpaper active.
after launching "nitrogen --restore", nitrogen remembers last selected  wallpaper
after launching "pcmanfm --desktop", pcmanfm remembers last selected wallpaper from pcmanfm utility, it seems to be pcmanfm desktop.
after launching again "pcmanfm --desktop-off", i find again my previous nitrogen wallpaper

In conclusion
I don't know why pcmanfm is off after launching lxde, and doesnt allow to use nitrogen
I dont' know why nitrogen is not launched after lxde opening but it should be

Offline

#14 2013-03-06 21:33:29

mulanee
Member
Registered: 2013-02-08
Posts: 30

Re: How to avoid wallpaper management by LXDE?

Solved finally.

Solution, content of ~/.config/lxsession/LXDE/autostart:

#without nitrogen
@pcmanfm --desktop

#with nitrogen
#@pcmanfm --desktop-off
#@nitrogen --restore

@lxpanel --profile LXDE
@xscreensaver -no-splash
@conky -d
@numlockx

Should be great to have in the same time pcmanfm (without wallpaper management) AND nitrogen :shock:

Offline

Board footer

Powered by FluxBB