Atom currently stores all the settings and downloaded packages into ~/.atom. Unfortunately the company i’m working for enforces a size limit of this directory to 30 MB. Is there any way for me to change this setting (to be outside the home directory) ?
Regarding making it portable: it could just look in the same folder as the executable first, then if it doesn’t find a .atom folder there, look for ~/.atom instead.
That way, the only thing you need to do to make it portable is copy the .atom folder from your home directory to wherever you put atom.exe.
For now, I’m just using a .atom folder stored on my flash drive that I copy into the home directory of whatever computer I’m using at the time, then delete it (or move it back to the flash drive if I changed any settings) when I’m done.
As for the OP’s problem, if you don’t need it to be portable but need to put the folder elsewhere, you could move the .atom folder wherever you want to keep it, then use a symbolic link to point ~/.atom to the new location.
I think you guys are missing the point. How can i change where the app is installed if i have to install the app first? One of the primary reasons to want to install somewhere else is one cant or wont install to /Program Files…
Like when does not have admin privileges … or room on a drive
I think, this is not the best way to handle it. On Windows, junctions could not link to network shares and a symlink with mklink /d requires admin privileges even if I have full access to the directory.
Ubiquitous Bash FakeHome is specifically designed to address this kind of nuisance - confining the application to run in the same apparent home folder as the script. And when that isn’t enough, full, file parameter translated virtualization can run the whole system through a single command. https://rawgit.com/mirage335/ubiquitous_bash/master/USAGE.html
Expect to see portable Atom support merged directly into Ubiquitous Bash itself. >;)
Launch atom instance contained to “$scriptLib”/app/atom/home . Or a temporary copy thereof. Shells launched from within will see the user “$realHome” directory as home, if the “_setupUbiquitous” hook has been run, adding an entry to “~/.bashrc” .