set wallpaper-mode on startup

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
wallpaper
Posts: 3
Joined: Wed Nov 14, 2012 6:52 am

set wallpaper-mode on startup

Post by wallpaper »

It ist not possible to set the wallpaper-mode to stretch at startup. Every time it comes up as "tiled"
I have set up the "stretch"-mode manually every time when I log in.
If I change the profile manually

wallpaper_mode=stretch

after the next statup it contains

wallpaper_mode=1.

But if I change the wallpaper image in the profile - that takes effect and does not get overwritten!

I tried nearly every combination - nothing works. At the command line
"pcmanfm --wallpaper-mode=stretch" works.
"pcmanfm --wallpaper-mode=center" works.
"pcmanfm --wallpaper-mode=fit" works.
"pcmanfm --wallpaper-mode=1" does not.
"pcmanfm --wallpaper-mode=tiled" - does not- but it comes on every startup as tiled!


pcmanfm (Version 1.0rc1) starts with "pcmanfm --desktop --profile LXDE"
The profile ~/.config/pcmanfm/LXDE/pcmanfm.conf looks so:

Code: Select all

[config]
bm_open_method=0
su_cmd=xdg-su -c '%s'

[volume]
mount_on_startup=1
mount_removable=1
autorun=1

[desktop]
wallpaper_mode=1
wallpaper_common=1
wallpaper=/usr/share/lxde/wallpapers/lxde_green.jpg
desktop_bg=#000000
desktop_fg=#ffffff
desktop_shadow=#000000
desktop_font=Sans 12
show_wm_menu=0
sort_type=0
sort_by=7

[ui]
always_show_tabs=0
max_tab_chars=32
win_width=1440
win_height=853
splitter_pos=347
side_pane_mode=2
view_mode=0
show_hidden=0
sort_type=0
sort_by=2


Has anybody the crucial clue for me?
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: set wallpaper-mode on startup

Post by seppalta »

Configuring wallpaper controlled by pcmanfm is normally done with the GUI that comes up when you put the following in the terminal:

Code: Select all

 pcmanfm --desktop-pref
.
Once set it should hold.
wallpaper
Posts: 3
Joined: Wed Nov 14, 2012 6:52 am

Re: set wallpaper-mode on startup

Post by wallpaper »

I set the mode every morning over the gui - again and again.
The gui comes up and shows the correct setting, but the desktop has the false one.
I have to change the mode at the gui first to another one and than back to 'strech'. Then the desktop switches.
Setting the mode over the gui has only effect at the moment. It does not survive until the next day.

But if I change the wallpaper-picture - this takes effect and survives.
renegat
Posts: 6
Joined: Fri Mar 29, 2013 9:06 am

Re: set wallpaper-mode on startup

Post by renegat »

Still no solution found for this issue?
I'am suffering from the same annoying problem:
Background settings are not applied, the wallpaper switches randomly back to tiled on boot. :cry:
The desktop settings dialog always says: background: none - even if a picture is selected and shown.

Any idea how to fix this weird behaviour?
Arch-Linux @ 3x D510MO (Atom D510), 1x D410PT (Atom D410), 1x D525MW (Atom D525), Foxconn nt-535 (Atom D525), Shuttle XS35V2 (Atom D525), D945GCLF (Atom 230), D945GSEJT (Atom N270), Q-Box aka Netbox n270 (Atom N270), SZ901 Netbook (Atom N270)
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: set wallpaper-mode on startup

Post by Rex Bouwense »

What are you using? I have PCManFM 1.0.1 on Lubuntu and it seems to work perfectly using the GUI outlined by seppalta in the second post above.
Rex
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: set wallpaper-mode on startup

Post by seppalta »

What distribution are you using? You can just change the size of your desired wallpaper to the screen resolution and it well come up correct regardless of the setting chosen by the wallpaper controller. Also, try reinstalling pcmanfm.
renegat
Posts: 6
Joined: Fri Mar 29, 2013 9:06 am

Re: set wallpaper-mode on startup

Post by renegat »

Hello @All!
Distro is: 3.8.7-1-ARCH.
pcmanfm 1.1.0-1

The picture is a jpeg resized to fit the 1920*1080 monitor resolution.

I've tried to change settings in every possible way without persisting success.
Some times the wallpaper comes up as it should, next time it is set back to tiled.

Even the picture itself or the location of the picture doesn't seem to play a role ( if in /home or /usr/share/lxde/wallpapers)

The problem appears on different computers (same OS):
One is a D510MO intel board, the other is a nt-535 Nettop (Intel Atom D525 / NM10)

Will now try to reinstall PCmanFM...

edit: ... which does not have had any effect.
Deleted ~/.config/pcmanfm/LXDE/pcmanfm.conf - problem persists
Deleted ~/.config/openbox/lxde-rc.xml - problem persists
The wrong setting of the background picture (it always shows 'none' even if set) shows also in the lxpanel appearance menu.

I think I will pass on a wallpaper till this bug is fixed... :cry:
Arch-Linux @ 3x D510MO (Atom D510), 1x D410PT (Atom D410), 1x D525MW (Atom D525), Foxconn nt-535 (Atom D525), Shuttle XS35V2 (Atom D525), D945GCLF (Atom 230), D945GSEJT (Atom N270), Q-Box aka Netbox n270 (Atom N270), SZ901 Netbook (Atom N270)
renegat
Posts: 6
Joined: Fri Mar 29, 2013 9:06 am

Re: set wallpaper-mode on startup

Post by renegat »

The problem persists but it pointed out that this annoying behaviour of the background picture in LXDE has nothing to do with the settings on wallpaper-mode:
If the resolution of the picture = monitor resolution than setting 'tiled' would be = centered = scaled.

But the wrong display after boot sometimes shows the background picture 'tiled' - like it was first down-scaled to the wrong resolution and then re-put toghether in tiles. This happens in various resolutions, not only @1920*1080.

Any ideas how to fix this?
Last edited by renegat on Tue Apr 30, 2013 6:46 am, edited 1 time in total.
Arch-Linux @ 3x D510MO (Atom D510), 1x D410PT (Atom D410), 1x D525MW (Atom D525), Foxconn nt-535 (Atom D525), Shuttle XS35V2 (Atom D525), D945GCLF (Atom 230), D945GSEJT (Atom N270), Q-Box aka Netbox n270 (Atom N270), SZ901 Netbook (Atom N270)
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: set wallpaper-mode on startup

Post by seppalta »

It is hard to relate to your problem. I have used pcmanfm 0.9.10 with several different Debian-based distributions - Crunchbang, Sparky Linux, Lubuntu, LXLE, Xubuntu, Siduction, the Mints and some others - often hooked to dual monitors with vastly different resolutions and with different wallpapers. Images are always set correctly and stability is the rule. See Numbers 5 and 14 in http://lxlinux.com/.
renegat
Posts: 6
Joined: Fri Mar 29, 2013 9:06 am

[SOLVED] set wallpaper-mode on startup

Post by renegat »

Problem persists; it's like a lottery wether I will get a 'tiled' or a normal background picture. And it's so maximum annoying!
I remember having similar problems with the background picture in LUbuntu 10.04 and I thought such LXDE teething problems were solved meanwhile - but now they are back again!
During the last seconds of boot just before the desktop appears there is a intense back and forth switching in monitor resolutions, the signal is turned on and off several times. I think this could be the reason for the weird behaviour. But how can I stop this?
The similarities between the affected PC's are the graphic-cards (Intel GMA 3100/3150) and that they are both x86_64 Arch Linux with LXDE.
Intel GMA900 on Intel GSE Chipset and 32bit OS do NOT show such behaviour!

Linux 3.8.11-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux
pcmanfm 1.1.0-1
gpicview 0.2.3-1 (lxde)
libfm 1.1.0-4 (lxde)
lxappearance 0.5.2-1 (lxde)
lxappearance-obconf 0.2.0-1 (lxde)
lxde-common 0.5.5-2 (lxde)
lxde-icon-theme 0.5.0-1 (lxde)
lxdm 0.4.1-18 (lxde)
lxinput 0.3.2-2 (lxde)
lxlauncher 0.2.2-2 (lxde)
lxmenu-data 0.1.2-1 (lxde)
lxmusic 0.4.5-1 (lxde)
lxpanel 0.5.12-1 (lxde)
lxrandr 0.1.2-3 (lxde)
lxsession 0.4.6.1-3 (lxde)
lxshortcut 0.1.2-1 (lxde)
lxtask 0.1.4-3 (lxde)
lxterminal 0.1.11-2 (lxde)
menu-cache 0.4.1-1 (lxde)
openbox 3.5.0-7 (lxde)

It happens on different monitors with different resolutions. Tried .bmp, .jpg, .png - it's always the same.
I'm looking for weeks for a solution, STFW every day but: Nothing about this issue!
Please help me to get my wallpaper displayed correct again every time I boot - not only sometimes!

Edit: Solution!

# vi /etc/X11/xorg.conf.d/10-monitor.conf

Code: Select all

Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS" "true"
EndSection

Section "Screen"
   Identifier "Screen0"
   Monitor    "Monitor0"
   SubSection "Display"
      Modes    "1920x1080"
   EndSubSection
EndSection
Put your desired desktop resolution in the 'Modes' line and your wallpaper will never appear tiled again!
Arch-Linux @ 3x D510MO (Atom D510), 1x D410PT (Atom D410), 1x D525MW (Atom D525), Foxconn nt-535 (Atom D525), Shuttle XS35V2 (Atom D525), D945GCLF (Atom 230), D945GSEJT (Atom N270), Q-Box aka Netbox n270 (Atom N270), SZ901 Netbook (Atom N270)
Locked