StevenDJaques
Posts: 11
Joined: Thu Oct 17, 2019 1:58 pm

SOLVED: How do I get multiple backgrounds back?

Mon Oct 28, 2019 3:15 am

On my pi 3 B+, I booted into what appears now to have been a full LXDE environment. I had a lot of options, including being able to set different backgrounds for each desktop. As I'm a compiz user from way back, it's just the easiest way for me to keep track of stuff. Something is clearly different here, like for example the logoff shows shutdown restart, logoff and nothing else while the one I used to have gave me the LXDE logo, the above three, and other options that probably don't actually work with the pi.
TL;DR, I'd like to be able to set different backgrounds for the different desktops again. How do I go about it with the tick box missing? Are LXDE and LXDE pi different? What do I need to install or comment out?
Last edited by StevenDJaques on Sun Nov 10, 2019 5:11 pm, edited 1 time in total.

RossDv8
Posts: 148
Joined: Thu Jan 21, 2016 12:35 pm

Re: How do I get multiple backgrounds back?

Mon Oct 28, 2019 4:27 am

I'm only guessing here, but I wonder if you were previously using lxdm as your display manager for lxde. As far as I know Pixel uses lightdm.
I'm sure one of the Pi People will correct me if I am wrong.

lxdm will be in the repository ( sudo apt-get install lxdm ) and to use it you will probably have to use the main menu editor and edit the 'Preferences' Menu and put a tick in the box next to 'Desktop Session Settings' so you can change window managers.

I would consider installing Raspbian on a 'spare' microSD card and trying it there first, so you can see if it stuffs anything up, and of course, whether you get access to your individual desktop wallpapers again - before doing it on the microSD that you have all your stuff on, but that's just me...

It might not be 'the answer', but it might be something to look at until someone who actually knows this stuff replies :D
Pi 4B 4GB - system on WD 240G SSD ( but /boot on Sandisk microSD)

Shadow_7
Posts: 52
Joined: Sat Jul 12, 2014 5:50 am

Re: How do I get multiple backgrounds back?

Tue Oct 29, 2019 9:58 am

I tend towards more wm/de agnostic ways. And otherwise use xsetbg to set the background image. Or I use xsetroot to set the background to a solid color.

$ xsetbg -brighten 122 -gamma 1.8 image.png

$ xsetroot -solid rgb:00/22/00
$ xsetroot -solid Blue4

Although I'm not sure what you're referencing. One image per screen? One image per workspace? One image per user login?

RossDv8
Posts: 148
Joined: Thu Jan 21, 2016 12:35 pm

Re: How do I get multiple backgrounds back?

Tue Oct 29, 2019 9:21 pm

Although I'm not sure what you're referencing. One image per screen? One image per workspace? One image per user login?
The 'multiple backgrounds' thing is about the ability to set a different 'Desktop Wallpaper' on each Workspace. Not only because it looks cutesy, but because sometime it is a quick way to know you are on the 'Web Browsing' desktop/workspace, or the 'Editing' desktop/workspace.

Some of us 'Old Folks' need visual cues :D

Some window managers allow it and some don;t. There was a big fuss about it when it was dropped from KDE in the transition from KDE4 to Plasma 5.
Pi 4B 4GB - system on WD 240G SSD ( but /boot on Sandisk microSD)

StevenDJaques
Posts: 11
Joined: Thu Oct 17, 2019 1:58 pm

Re: How do I get multiple backgrounds back?

Sun Nov 10, 2019 3:36 pm

I'm definitely one the 'Old Folks' referenced. :) One different wallpaper for each workspace is the goal here. Thanks for the advice, will try and get back. Sorry this is taking so long, life happening.

StevenDJaques
Posts: 11
Joined: Thu Oct 17, 2019 1:58 pm

Re: How do I get multiple backgrounds back?

Sun Nov 10, 2019 5:09 pm

Ok, got it fixed.

First, good call on the backup! Installing lxdm borked the backup's bootup and I had to do some hasty backpedaling. Turns out it wasn't necessary.

The problem was in ~/,config/lxsession.
I replaced the LXDE and LXDE-pi directories with the ones from my Pi3.

ORIGINAL, no working multiple backgrounds
LXDE:

autostart

Code: Select all

@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
desktop.conf

Code: Select all

[Session]
window_manager=openbox-lxde
disable_autostart=no
polkit/command=lxpolkit
clipboard/command=lxclipboard
xsettings_manager/command=build-in
proxy_manager/command=build-in
keyring/command=ssh-agent
quit_manager/command=lxsession-logout
lock_manager/command=lxlock
terminal_manager/command=lxterminal

[GTK]
sNet/ThemeName=Clearlooks
sNet/IconThemeName=nuoveXT2
sGtk/FontName=Sans 10
iGtk/ToolbarStyle=3
iGtk/ButtonImages=1
iGtk/MenuImages=1
iGtk/CursorThemeSize=18
iXft/Antialias=1
iXft/Hinting=1
sXft/HintStyle=hintslight
sXft/RGBA=rgb
iNet/EnableEventSounds=1
iNet/EnableInputFeedbackSounds=1
sGtk/ColorScheme=
iGtk/ToolbarIconSize=3
sGtk/CursorThemeName=DMZ-White

[Mouse]
AccFactor=20
AccThreshold=10
LeftHanded=0

[Keyboard]
Delay=500
Interval=30
Beep=1

[State]
guess_default=true

[Dbus]
lxde=true

[Environment]
menu_prefix=lxde
LXDE-Pi

desktop.conf:

Code: Select all

[Session]
window_manager=openbox-lxde-pi
disable_autostart=no
polkit/command=lxpolkit
clipboard/command=lxclipboard
xsettings_manager/command=build-in
proxy_manager/command=build-in
keyring/command=ssh-agent
quit_manager/command=lxsession-logout
quit_manager/image=/usr/share/lxde/images/logout-banner.png
quit_manager/layout=top
lock_manager/command=lxlock
terminal_manager/command=lxterminal
launcher_manager/command=lxpanelctl

[GTK]
sNet/ThemeName=DarkDragon-1.5
sNet/IconThemeName=KDE4CrystalDiamondIcons_1.1
sGtk/FontName=PibotoLt 12
iGtk/ToolbarStyle=3
iGtk/ButtonImages=0
iGtk/MenuImages=0
iGtk/CursorThemeSize=24
iXft/Antialias=1
iGtk/AutoMnemonics=1
iGtk/EnableMnemonics=1
sGtk/ColorScheme=selected_bg_color:#878791919b9b\nselected_fg_color:#f0f0f0f0f0f0\nbar_bg_color:#ededececebeb\nbar_fg_color:#000000000000\n
sGtk/CursorThemeName=Adwaita
iGtk/ToolbarIconSize=3
sGtk/IconSizes=gtk-large-toolbar=24,24
iNet/EnableEventSounds=1
iNet/EnableInputFeedbackSounds=1
iXft/Hinting=1
sXft/HintStyle=hintfull
sXft/RGBA=rgb

[Mouse]
AccFactor=20
AccThreshold=10
LeftHanded=0

[Keyboard]
Delay=500
Interval=30
Beep=1

[State]
guess_default=true

[Dbus]
lxde=true

[Environment]
menu_prefix=lxde-pi-
NEW WORKING FILES:

LXDE

autostart

Code: Select all

@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
desktop.conf

Code: Select all

[Session]
window_manager=openbox-lxde
disable_autostart=no
polkit/command=lxpolkit
clipboard/command=lxclipboard
xsettings_manager/command=build-in
proxy_manager/command=build-in
keyring/command=ssh-agent
quit_manager/command=lxsession-logout
lock_manager/command=lxlock
terminal_manager/command=lxterminal
quit_manager/image=/usr/share/lxde/images/logout-banner.png
quit_manager/layout=top

[GTK]
sNet/ThemeName=DarkDragon-1.5
sNet/IconThemeName=KDECrystal
sGtk/FontName=Sans 10
iGtk/ToolbarStyle=3
iGtk/ButtonImages=1
iGtk/MenuImages=1
iGtk/CursorThemeSize=24
iXft/Antialias=1
iXft/Hinting=1
sXft/HintStyle=hintslight
sXft/RGBA=rgb
iNet/EnableEventSounds=1
iNet/EnableInputFeedbackSounds=1
sGtk/ColorScheme=
iGtk/ToolbarIconSize=3
sGtk/CursorThemeName=DMZ-White

sGtk/IconSizes=gtk-large-toolbar=24,24

iNet/DoubleClickTime=250

[Mouse]
AccFactor=20
AccThreshold=10
LeftHanded=0

[Keyboard]
Delay=500
Interval=30
Beep=1

[State]
guess_default=true

[Dbus]
lxde=true

[Environment]
menu_prefix=lxde-
LXDE-Pi

autostart

Code: Select all

@startlxde
desktop.conf

Code: Select all

[GTK]
sGtk/ColorScheme=selected_bg_color:#4d4d9898f5f5\nselected_fg_color:#ffffffffffff\nbar_bg_color:#000000000000\nbar_fg_color:#cccccccccccc\n
sGtk/FontName=PibotoLt 12
iGtk/ToolbarIconSize=3
sGtk/IconSizes=gtk-large-toolbar=24,24
iGtk/CursorThemeSize=24
Now what I don't know is exactly what I should have changed if I knew what I was doing. I'm sure one line someplace might have done it. Any thoughts on that, please let me know.

RossDv8
Posts: 148
Joined: Thu Jan 21, 2016 12:35 pm

Re: SOLVED: How do I get multiple backgrounds back?

Mon Nov 11, 2019 2:02 am

Hmmm, interesting. Because I like different wallpapers on my desktops I might take my own advice and do a backup, then try your suggestion of comparing those file then trying one line at a time on any differences :-).

In the mean time, congrats for giving us 'old folks' something exciting to do...
Pi 4B 4GB - system on WD 240G SSD ( but /boot on Sandisk microSD)

Return to “Raspbian”