
Customizing icons on Virtual Desktops or content-enabled applications in Citrix XenApp and XenDesktop 7.x
I leave you this post that will be useful if we want to change the icon that comes by default in StoreFront 3.x, both of the Virtual Desktops and of the applications with content that we publish to our dear users. When customizing it, We will make it more intuitive and corporate!
The first thing will be to have a file in PNG format that we want to convert into an icon, We will go to https://www.icoconverter.com and we upload the .png file. We mark all sizes and click on “Convert”, We download the .ico file and save it.
To create an icon in our Citrix XenApp or XenDesktop infrastructure 7, 7.1, 7.5, 7.6, 7.7, 7.8, 7.9 or 7.11 we will need to run the following PowerShell command to import it into the farm, first if we do not have the Citrix modules loaded, Well, we carry them! We will look at the Identifier that assigns to each icon and then assign it.
[SourceCode]asnp Citrix*
Get-CtxIcon -filename FICHERO_ICO | New-BrokerIcon[/SourceCode]
To change the icon of an app or website that publishes content (since from the GUI we cannot) Run:
[SourceCode]Get-BrokerApplication -name "NOMBRE APLICACION" | Set-BrokerApplication -IconUid IDENTIFIER[/SourceCode]
To change a user's Virtual Desktop icon, Run:
[SourceCode]Set-BrokerDesktop -name "DELIVERY GROUP NAME" -IconUid IDENTIFIER[/SourceCode]
We must enable the display of icons on Desktops from the StoreFront servers., We necessarily execute:
[SourceCode]cd "C:\Program FilesCitrixReceiver StoreFrontScripts"
.\ImportModules.ps1
Disable-DSStoreSubstituteDesktopImage -SiteId 1 -VirtualPath /Citrix/Store
[/SourceCode]
This would be an example of the modification of the icons in virtual desktops.
And this other example of the difference of publishing an app with default content and its default icon, or another modified 🙂
I hope it has been useful to you, enjoy!