Location of wallpaper file

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

Moderators: XnTriq, helmut, xnview

AHCarter
Posts: 33
Joined: Thu Jan 01, 2004 10:13 pm
Location: South Carolina USA

Location of wallpaper file

Post by AHCarter »

I've noticed that the location of the wallpaper is in the My Documents folder and upon experimentation if you change or delete the file it will effect the wallpaper. Change it and the wallpaper will be changed when you refresh, delete and it will disappear when you refresh. Perhaps it should be placed back into the Windows directory.

Being that the changing of the wallpaper can be had by naming a different file with the name [ xnview wallpaper.bmp ], could it be possible with the use of a batch file, to cycle the wallpapers, either automatically, or sequentially? I know the deluxe can do screensaavers, but I'm not sure about being a wallpaper manager. I was thinking of perhaps using Task Manager (a feature I have never used before) to execute a batch file at a given time, the batch file would create a listing of files that could be used, then input as a variable one line (file path) to be used by Xnview, or to rename as [ xnview wallpaper.bmp ].


The only problem with that is when you rename/SaveAs the file, it does not get displayed at best fit, rather centered. Would it be possible to ad that (best fit) as a commandline option, or how could that be implemented via the SaveAs process?
Sincerely,
A.H. Carter
d(-_-)b

OS:Win 98 SE
Processor:Cyrix 6x86MX (MMX), 250 MHz
Xnview Ver: 1.74
RAM: 380MB
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

I like the wallpaper being in the "My Documents" folder system, it follows the same system IrfanView uses, it's more dynamic for multiple users.

Update: please ignore everything here.
Last edited by ckit on Sun Jan 09, 2005 6:20 am, edited 1 time in total.
AHCarter
Posts: 33
Joined: Thu Jan 01, 2004 10:13 pm
Location: South Carolina USA

Re:Sug/REQ/Observation: The location of the wallpaper

Post by AHCarter »

ckit wrote:I like the wallpaper being in the "My Documents" folder system, it follows the same system IrfanView uses, it's more dynamic for multiple users.
That may be, but how much more likely would it be deleted if in the My Documents directory than in Windows. Chances are you move files around alot in My Documents, delete this, change that etc..., but unless you have a need to get into the Windows directory, chances are it will stay safe and untouched, though still accessible.
Sincerely,
A.H. Carter
d(-_-)b

OS:Win 98 SE
Processor:Cyrix 6x86MX (MMX), 250 MHz
Xnview Ver: 1.74
RAM: 380MB
AHCarter
Posts: 33
Joined: Thu Jan 01, 2004 10:13 pm
Location: South Carolina USA

Re: Location of wallpaper file

Post by AHCarter »

AHCarter wrote:I've noticed that the location of the wallpaper is in the My Documents folder and upon experimentation if you change or delete the file it will effect the wallpaper. Change it and the wallpaper will be changed when you refresh, delete and it will disappear when you refresh. Perhaps it should be placed back into the Windows directory.
A workaround for this personal bug is to set the file as hidden that way it won't get deleted if I happen to do a vast file sweep.
Sincerely,
A.H. Carter
d(-_-)b

OS:Win 98 SE
Processor:Cyrix 6x86MX (MMX), 250 MHz
Xnview Ver: 1.74
RAM: 380MB
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

I would like to bring this thread back to life, as I would like to see XnView store wallpaper here:
\Documents and Settings\<username>\Application Data\XnView
instead of
\Documents and Settings\<username>\My Documents

To me, it just makes more sense.

Also a different more intelligent naming system like "xnview_wp_20041204.bmp" that way you have backups of old wallpaper as well. Actually make it dynamic so you can have "XnView's version number" Data, Time, the letters "WP" Added or Removed from the filename.

More advanced version:
"xnview174_20041204_1501.bmp"
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

ckit wrote:\Documents and Settings\<username>\Application Data\XnView
Yes, also think that "Application Data" is the right location for storing the wallpapers.
ckit wrote:Also a different more intelligent naming system like "xnview_wp_20041204.bmp" that way you have backups of old wallpaper as well. Actually make it dynamic so you can have "XnView's version number" Data, Time, the letters "WP" Added or Removed from the filename.
Shouldn't XnView delete the wallpapers when they are no longer used, rather than piling them up?

What's the XnView version number good for?
User avatar
xnview
Author of XnView
Posts: 44885
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

ckit wrote:I would like to bring this thread back to life, as I would like to see XnView store wallpaper here:
\Documents and Settings\<username>\Application Data\XnView
instead of
\Documents and Settings\<username>\My Documents
Why Application Data\XnView is better than My Documents?
Also a different more intelligent naming system like "xnview_wp_20041204.bmp" that way you have backups of old wallpaper as well. Actually make it dynamic so you can have "XnView's version number" Data, Time, the letters "WP" Added or Removed from the filename.
More advanced version:
"xnview174_20041204_1501.bmp"
Ok
Pierre.
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

xnview wrote:
ckit wrote:I would like to bring this thread back to life, as I would like to see XnView store wallpaper here:
\Documents and Settings\<username>\Application Data\XnView
instead of
\Documents and Settings\<username>\My Documents
Why Application Data\XnView is better than My Documents?
Sigh, so far XnView stores files in 3 different locations:
\Program Files\XnView
\Documents and Settings\<username>\Application Data\XnView
\Documents and Settings\<username>\My Documents

I think it would be better kept to a minimum of 2.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

helmut wrote:
ckit wrote:\Documents and Settings\<username>\Application Data\XnView
Yes, also think that "Application Data" is the right location for storing the wallpapers.
ckit wrote:Also a different more intelligent naming system like "xnview_wp_20041204.bmp" that way you have backups of old wallpaper as well. Actually make it dynamic so you can have "XnView's version number" Data, Time, the letters "WP" Added or Removed from the filename.
Shouldn't XnView delete the wallpapers when they are no longer used, rather than piling them up?

What's the XnView version number good for?
Wallpapers piling up shouldn't be a problem these days with storage being cheap but if it is, maybe XnView can keep 3-5 wallpapers and cycle them on that basis.

The version number is just something I would like, for me it's logical and structured.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
User avatar
xnview
Author of XnView
Posts: 44885
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

ckit wrote:
xnview wrote:
ckit wrote:I would like to bring this thread back to life, as I would like to see XnView store wallpaper here:
\Documents and Settings\<username>\Application Data\XnView
instead of
\Documents and Settings\<username>\My Documents
Why Application Data\XnView is better than My Documents?
Sigh, so far XnView stores files in 3 different locations:
\Program Files\XnView
\Documents and Settings\<username>\Application Data\XnView
\Documents and Settings\<username>\My Documents

I think it would be better kept to a minimum of 2.
Application Data\XnView is for internal data, so i think that it's not a good idea to put wallpaper in this location.
Pierre.
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

Ok, I'm not going to push this.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
User avatar
xnview
Author of XnView
Posts: 44885
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

ckit wrote:Ok, I'm not going to push this.
Perhaps another location is better???? I don't know...
Pierre.
Guest

Post by Guest »

xnview wrote:
ckit wrote:Ok, I'm not going to push this.
Perhaps another location is better???? I don't know...
Wouldn't it be better to let the user decide??? Just give him/her the option, that's it! And I personally agree that storing wallpapers in the My documents folder is a bit "unsafe" and might cause some frustration with unexperienced users. Documents And Settings/Application Data is a more clean and neat way for storing wallpapers (IMHO). Good luck.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

xnview wrote:Application Data\XnView is for internal data, so i think that it's not a good idea to put wallpaper in this location.
a - The wallpaper is user specific.
b - The wallpaper should be settable by any user.
c - The active wallpaper cannot be used by other applications except Windows, since other applications will not be able to use it.

a.) and b.) clearly point to \Documents and Settings\<username> or one of it subdiretories.

I'm not sure whether c.) really applies. If yes, ..\Application Data\XnView is the right place to store. If no, ..\Application Data\XnView is still a good and safe place and should be used until someone has a good reason against it.
AHCarter
Posts: 33
Joined: Thu Jan 01, 2004 10:13 pm
Location: South Carolina USA

Post by AHCarter »

xnview wrote:
ckit wrote:
xnview wrote: Why Application Data\XnView is better than My Documents?
Sigh, so far XnView stores files in 3 different locations:
\Program Files\XnView
\Documents and Settings\<username>\Application Data\XnView
\Documents and Settings\<username>\My Documents

I think it would be better kept to a minimum of 2.
Application Data\XnView is for internal data, so i think that it's not a good idea to put wallpaper in this location.
Or perhaps a better place would be, at least in 98/98SE:

[C:\WINDOWS\WEB\Wallpaper]

Or whichever flavor of OS the user has. Perhaps a choosable path wherein one could have the wallpapers?
Sincerely,
A.H. Carter
d(-_-)b

OS:Win 98 SE
Processor:Cyrix 6x86MX (MMX), 250 MHz
Xnview Ver: 1.74
RAM: 380MB