Wallpaper section of xnview.ini

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
andrea.ippo
Posts: 100
Joined: Sat Jan 05, 2008 2:05 pm

Wallpaper section of xnview.ini

Post by andrea.ippo »

<-- Moderator's note: This topic has been split off from “Announcement: XnView 1.93 beta (1)”. -->

Thank you Pierre!
I've downloaded and tried it immediately, but I can't get the wallpaper section in the .ini file to work properly.
I've added these lines at the end of the file:

Code: Select all

[Wallpaper]
Format=jpeg
and the wallpaper image file stored in my user's folder is finally a jpeg file as it should be, but the wallpaper isn't displayed, the desktop is filled with the chosen color (the one you choose for example to fill spaces left by wallpapers that don't fit perfectly to your monitor Aspect ratio).

Can you reproduce this or do you think it's bound to something on my pc? (running win xp pro+sp2)

As always, many thanks in advance
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

andrea.ippo wrote:Thank you Pierre!
I've downloaded and tried it immediately, but I can't get the wallpaper section in the .ini file to work properly.
I've added these lines at the end of the file:

Code: Select all

[Wallpaper]
Format=jpeg
and the wallpaper image file stored in my user's folder is finally a jpeg file as it should be, but the wallpaper isn't displayed, the desktop is filled with the chosen color (the one you choose for example to fill spaces left by wallpapers that don't fit perfectly to your monitor Aspect ratio).

Can you reproduce this or do you think it's bound to something on my pc? (running win xp pro+sp2)

As always, many thanks in advance
No search Wallpaper section in the ini, and add only Format=jpeg
Pierre.
andrea.ippo
Posts: 100
Joined: Sat Jan 05, 2008 2:05 pm

Post by andrea.ippo »

There isn't a Wallpaper section in my xnview.ini (not in the one I use for 1.92.1 nor in the new one created by the beta of 1.93)
That's why I've added it at the and of the file
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

andrea.ippo wrote:There isn't a Wallpaper section in my xnview.ini (not in the one I use for 1.92.1 nor in the new one created by the beta of 1.93)
That's why I've added it at the and of the file
Ok, the file is not writed in .../application data/xnview?
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Ho ! 0 !

Post by Clo »

:arrow: Pierre

:) Good evening,
Ok, the file is not writed in…
:shock:

:D

:mrgreen: KR
Claude
Clo
written
Old user ON SELECTIVE STRIKE till further notice
andrea.ippo
Posts: 100
Joined: Sat Jan 05, 2008 2:05 pm

Post by andrea.ippo »

xnview wrote:
andrea.ippo wrote:There isn't a Wallpaper section in my xnview.ini (not in the one I use for 1.92.1 nor in the new one created by the beta of 1.93)
That's why I've added it at the and of the file
Ok, the file is not writed in .../application data/xnview?
If you mean the .ini file, I've chosen to store it in the same folder as the xnview's executable, but also changing this setting and storing the ini in the user folder (%appdata%/xnview) doesn't change anything, the Wallpaper section still isn't there, and if I add it manually as written in the post before, I get the same problem (empty desktop background)

If you mean the image file then yes, it is created in %appdata%/xnview in the format I've chosen (jpeg), but it isn't used as wallpaper.

Hope you can help me, I appreciate your work very much
Let me know if I can give you more information to understand where the problem is
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ho ! 0 !

Post by xnview »

Clo wrote::arrow: Pierre

:) Good evening,
Ok, the file is not writed in…
:shock:

:D

:mrgreen: KR
Oupppssssss :?
If you mean the image file then yes, it is created in %appdata%/xnview in the format I've chosen (jpeg), but it isn't used as wallpaper.
right, but there is a problem.
If in 'display properties' you put a jpg as wallpaper, windows convert it always in \Documents and Settings\...\Local Settings\Application Data\Microsoft\Wallpaper1.bmp
So it seems that wallpaper can only be in bmp format!!!
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

With Vista ?

Post by Clo »

:arrow: Pierre

:) Again…

• Maybe the wallpapers are supporterd as PNG or else under Vista ? I don't use it…
- I asked to my son who has Vista, but he sent me packing… :(

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
andrea.ippo
Posts: 100
Joined: Sat Jan 05, 2008 2:05 pm

Re: Ho ! 0 !

Post by andrea.ippo »

xnview wrote:
Clo wrote::arrow: Pierre

:) Good evening,
Ok, the file is not writed in…
:shock:

:D

:mrgreen: KR
Oupppssssss :?
If you mean the image file then yes, it is created in %appdata%/xnview in the format I've chosen (jpeg), but it isn't used as wallpaper.
right, but there is a problem.
If in 'display properties' you put a jpg as wallpaper, windows convert it always in \Documents and Settings\...\Local Settings\Application Data\Microsoft\Wallpaper1.bmp
So it seems that wallpaper can only be in bmp format!!!
You're right, I've just tried.

Thank you :D
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

Ok here's mine people...

[Wallpaper]
Filename=xnv_desktop_1680x1050.bmp

Inserted between [View] and [Watermark]
in C:\Documents and Settings\<username>\Application Data\XnView\xnview.ini

I must confess I'm over having an archive of wallpapers too and I'm the one who originally asked for an archive feature too LOL :)
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
Post Reply