# Be Gone, Stupid Aptana Studio 3 Folders in My Home Folder

What’s the deal with these automatically, and persistently, created Aptana directories – the ~/Aptana Studio 3 folder, and the other one, the ~/Documents/Aptana Rubles? I mean, hey, fair ’nuff to use some defaults for the first run, we’re used to that from Eclipse, but contrary to Eclipse, we can’t just change this. You’ll find that changing the default workspace and asking to use it and never ask again will do nothing of the sorts. On next startup, same shit, different day

Anyway, fear not: It’s simply a matter of changing a couple of lines in a couple of files.

#1: “AptanaStudio3.ini” in the Aptana program folder. Here we get to define the rubles folder. At the end, add a line like this:

-Daptana.ruble.user.location=/home/daniel/.aptana-rubles

Windows users would write something like C:\Path\to\My\Shizzles” instead. I prefer to keep this folder hidden, and most definitely not in my Documents folder. These ain’t exactly documents, ya know

#2: “config.ini” in the configuration subfolder of the Aptana program folder. This one sets the workspace folder. Change the line that resembles this to a location to you liking:

osgi.instance.area.default=@user.home/.aptana-workspace

Again, I like to keep this folder hidden, though my projects go into ~/Projects. You don’t have to put your projects in the workspace folder, you know

That’s it! Get rid of the old annoying cruddy folders, restart Aptana, and watch as the folders are not recreated. Yay, freedom FTW!

EDIT: Removed quotes around path to rubles location (Thanks, Andrey)

EDIT 2: Changing these files does not actually change the current workspace – it just makes Aptana stop insisting on using the ini files’ suggestion by default. So to make sure everything goes according to plan, do:

1) File > Switch Workspace > Other, and select the workspace folder that you chose as your new one in the ini file (you can also copy the contents beforehand if you have settings you wish to keep)

2) Preferences > General > Startup and Shutdown > Workspaces, and remove the old reference.

Restart, and if all is well, just delete the old dir.

## 14 thoughts on “Be Gone, Stupid Aptana Studio 3 Folders in My Home Folder”

1. Craig says:

Why not just set your workspace folder to “~/Projects”? All the annoying clutter files go into a subdirectory called “.metadata” anyway, which is hidden.

If you do it this way it has the nice advantage of making “~/Projects” the default project location.

2. Because you can’t. Aptana would still create its folders regardless and start in the default workspace. That’s what this post is about

3. Oh, sorry, I misunderstood. You mean why I keep my workspace metadata separate from the projects folder?

Well, a couple of reasons: I use both Aptana and Eclipse, for one. They both need their metadata and history files, so I have to keep them separate.

Another reason is that almost all file activity done by Eclipse takes place in these folders, and when your source files are on a Samba share, you’ll find that keeping the metadata local will make for a much more snappy programming experience

4. Andrey says:

You must not use quotes in

-Daptana.ruble.user.location=/home/daniel/.aptana-rubles

5. Sami says:

Thanks for the tip! I installed Aptana under Eclipse so AptanaStudio3.ini doesn’t exist for me but I found that editing eclipse.ini in the Eclipse main folder has the same effect.

6. Good to hear!

7. lgv says:

works for rubles, does not work for workspace with 3.0.0.201104201358. tried everything

8. Which operating system are you on, lgv? I just updated my install to the version you mention, and everything still works fine…

You sure you followed the instructions correctly? Please paste your .ini files

9. lgv says:

ubuntu 10.04.2 64bit, configuration/config.ini:

# The default workspace location
# osgi.instance.area.default=@user.home/Aptana Studio 3 Workspace
osgi.instance.area.default=@user.home/.aptana-workspace

also tried with non-hidden folders, existing and non-existing folders. Aptana Studio 3 Workspace gets created on every startup.

10. Looks alright… Just to make sure it’s not just remembering the old one and defaulting to it, have you

1) File > Switch Workspace > Other – and switched to the new workspace?
2) Preferences > General > Startup and Shutdown > Workspaces and removed the old one?

11. lgv says:

silly me, i did not remove the old one. thanks a lot, everything works fine!

12. Not silly at all, should’ve mentioned that in the post. Will update immediately. Thanks for pointing it out