Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Windows Info - DesktopOK ► «««« 06 / 28 »»»»

Save Icon Layout at Program Start and exit!


Save Icon Layout at Program Start and Exit is also a way that we can have the program run at login so as to restore the icons the way it runs at startup / shutdown!



Contents:

1.) ... Save symbol layout at program start and end!
2.) ... Further solutions to implement it for the advanced!



Please activate this layout save option:
Save at program exit
Restore at program start
and 
Start DesktopOK with Windows

Please read the full description: ►  Do you want to restore the icons on Windows start?

Please use ... always the latest version of DesktopOK!   

Find some useful info in  ... DesktopOK FAQ. 


(Image-1) Save Icon Layout at Program Exit and Start!
Save Icon Layout at Program Exit and Start!

-
▲ Back to the top ▲


 

Looking for free tools to save the desktop icon, positions on Windows 10 and also restore them!



Free tools to save and restore desktop icon positions, not just for Windows 10. All PC users have their own way of arranging icons on the desktop. While some users prefer to let Windows arrange desktop icons automatically, most users want to arrange desktop icons in their own way. As you may have noticed, Windows 10 automatically changes the position of desktop icons when you change the screen resolution. Desktop icons can change position while playing or after disconnecting from an external display.

 
-
▲ Back to the top ▲


2.) Further solutions to realize it for the advanced!


Saving the icon layout to your desktop when the program starts and then exiting the program can be done through scripting or programming, depending on the platform you are using. Below I provide a general overview of how you can approach this task in both Windows and Linux environments.



Windows (Batch Script)

You can create a batch script to save the icon layout and then exit the program. Here is an example:


@echo off
:: Save the current icon layout to a file
reg export "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop" "C:\Path\To\Your\IconLayout.reg" /y

:: Exit the program
exit



Make sure to replace “C:\Path\To\Your\IconLayout.reg” with the actual path and filename where you want to save the icon layout. When you run this batch script, it exports the current icon layout to a .reg file and then exits.

Linux (Bash script)

In Linux, you can use a bash script to save the icon layout. The layout of the desktop icons is usually managed by your desktop environment, e.g. B. GNOME or KDE. Below is an example for GNOME:


#!/bin/bash

# Save the current GNOME desktop icon layout to a file
gsettings get org.gnome.nautilus.desktop > ~/icon_layout_backup.txt

# Exit the program
exit



This script uses the gsettings command to save the current GNOME desktop icon layout to a text file named icon_layout_backup.txt in your home directory.

Remember to customize the script according to your desktop environment if you don't use GNOME.

Info:

After you create these scripts, you can run them when your program starts to save the icon layout and then exit. Depending on your programming language and platform, you can use system commands or libraries to run these scripts.



Updated on: 7 October 2023 15:09 Windows
Keywords: desktopok, info, save, icon, layout, program, start, exit, also, that, have, login, restore, icons, runs, startup


Similar information on the page

Windows

... Save icon layout and restore it.


Imagine having your desktop designed exactly how you like it - icons are neatly arranged, files and programs are easy to find. But suddenly, out of the blue,
Windows

... Where does the program DesktopOK save the file/data when you do a Save?


Find the DesktopOK save the file/data location when you do a Save in standard ICON LAYOUT save List View 1. From 5.2xx open the ini storage location
Windows

... Save the icon layout with date and time format via the command line


If requested by the user, the icon layout with date and time format can be saved on all MS Desktop and Server OS   If you want to save your icon layout
Windows

... Use specific icon layout for windows startup


A Example to Use specific icon layout to use for restore the desktop icon position at windows startup If dont want use this solution
Windows

... Can I save the desktop icon layout in the company without Admin rights?


Yes, you can also save the icon positions without Admin rights, on all Windows  Desktop and Win 11, 10, and MS Server OS Content: 1. Save the icon
Windows

... Can I also save the desktop icons on Windows 11


Of course you can also save the desktop icons on Windows 11, why not, its also a Microsoft Windows Desktop OS 1. For Windows 11, also save the desktop
Windows

... Problem with new symbols that were created after the Save Icon Layout


Yes, there was a problem with new symbols that were created after saving the icon layout on MS Windows 11, 10, Desktop and Server OS With version 8.55



▲ Back to the top ▲



See also : ... DesktopOK FAQ
Back to : ... DesktopOK Homeage

... DesktopOK Tip



AutoHideDesktopIcons # AutoHideMouseCursor # AutoPowerOptionsOK # BlankAndSecure # ClassicDesktopClock # ColorConsole # Desktop.Calendar.Tray.OK # DesktopDigitalClock # DesktopOK # DesktopSnowOK # DirPrintOK # DontSleep # Find.Same.Images.OK # FontViewOK # GetWindowText # IsMyLcdOK # IsMyTouchScreenOK # KeepMouseSpeedOK # MatriX.CoronaKO # MeinPlatz # NewFileTime # Office.Files.Images # OnlyStopWatch # OpenCloseDriveEject # PhotoResizerOK # ProcessKO # Q-Dir # QuickMemoryTestOK # QuickTextPaste # Run-Command # ShortDoorNote # StressTheGPU # TheAeroClock # ThisIsMyFile # WinBin2Iso # WinScan2PDF #


Questions for this:
  1. At Windows 10 start, desktop Icons And Folder View are resetting?
  2. The easiest method for creating a customized Icon Start layout to set up the Start screen and export / save the layout.?
  3. This step no use required the problem remains unresolved although able to write to the Desktop registry key?
  4. Help, desktop icons rearrange and move after exit and reboot in Windows 10?
  5. Can i to force Windows to save desktop icon positions at exit?
  6. How to Revert and Undo Desktop Icons Auto Arranging in Windows 10 at exit?
  7. Can I stop Windows from rearranging my desktop icons for ever, how to?
  8. Customize the desktop icons layout no require to restart Windows and check if the icon positions are retained, how to!?
  9. Customize the Start screen layout on your computer no Export the Start layout?
  10. Save and Restore Desktop Icon Layout, Position on Windows all at Login and shutdown!?
  11. Backup and Restore Your Desktop Items in Windows 7/8/10, solutions?
  12. Save Icon Layout at Program Start and exit!?


  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + Q-Dir
  + PaintOkay
  + DirPrintOK
  + FontViewOK
  + MeinPlatz
  + DesktopOK
  + IsMyMemoryOK
  + StressTheGPU
  + Brightness.Manager.OK
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg ERR2: softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► Windows 10 1803 Spring Creators update hangs! ◄
► Who benefits most from the Alternate Run dialog? ◄
► Create a new Favorite Run-Dialog Command, how to? ◄
► Difference delete, delete plus, overwrite X times? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....