Citrix .ini file with variables or password file

Hello Folks,

so basically i have ten citrix .ini (dot ini) files that are placed on my desktop. they are used for launching citrix applications. now in these .ini files you have a field asking for “Username=” & “ClearPassword=”.

now as you can image. if my user name changes or my password changes all ten of these files have to be manually updated. now times this by about 500 lol NOT FUN even with scripts still not fun. so what im thinking is either linking these .ini files to a password file . meaning where it asks for “Username=” & “ClearPassword=” they would point to a single file that contains this username and password. one issue is i cant get it to link to the file. i dont know how the .ini file reads it. iv tried putting just the location of the file. nothing . iv tried doing something like $(cat /locaton of passworf file) and still nothing. can anybody shed some light on this password file for an .ini file ???. i have pasted my ini file below (with edited info obviously). i used this post to install citrix: https://forums.opensuse.org/showthread.php/498885-HowTo-Install-Citrix-Receiver-for-Linux-64bit-on-openSUSE-13-1
and this link herr for downloading the 64bit .rpm for citrix 13.0: http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-130.html

[Encoding]InputEncoding=ISO8859_1


[WFClient]
Version=2
HotKey11Shift=(none)
HotKey12Shift=(none)
HotKey13Shift=(none)
HotKey9Shift=(none)
Hotkey10Char=(none)
Hotkey10Shift=(none)
Hotkey11Char=(none)
Hotkey12Char=(none)
Hotkey13Char=(none)
Hotkey1Char=(none)
Hotkey1Shift=(none)
Hotkey2Char=(none)
Hotkey2Shift=(none)
Hotkey3Char=(none)
Hotkey3Shift=(none)
Hotkey4Char=(none)
Hotkey4Shift=(none)
Hotkey5Char=(none)
Hotkey5Shift=(none)
Hotkey6Char=(none)
Hotkey6Shift=(none)
Hotkey7Char=(none)
Hotkey7Shift=(none)
Hotkey8Char=(none)
Hotkey8Shift=(none)
Hotkey9Char=(none)
HttpBrowserAddress=blahblah_server
UseLocalUserAndPassword=On
SSOnUserSetting=On
EnableSSOnThruICAFile=On


[ApplicationServers]
Monkey=


[Monkey]
Address=Monkey
InitialProgram=#Monkey
ClientAudio=On
AudioBandwidthLimit=2
TWIMode=On
DesiredColor=8
UseLocalUserAndPassword=On
DesiredHRes=1024
DesiredVRes=768
Compress=On
TransportDriver=TCP/IP
WinStationDriver=ICA 3.0
BrowserProtocol=HTTPonTCP
Domain=mydomain
Username=myusername
ClearPassword=mypassword



Attention all that are interested. this is now solved.

I found a file called “All_Regions.ini” in my /ICAClient/config directory, apparently this file is read as global parameters prior to the .ini files its initiating. In here you can define the username and password to use globally… so now in all the individual .ini files I can just delete the username and password field as it now authenticates with this.

enjoy.