Can you elaborate whether you're an EEA national? The EEA consists of the European Union plus Liechtenstein, Norway and Iceland.
If you are an EEA national, you should have the right to live in Slovenia (or any other EEA jurisdiction) without a residence permit. This concept is called “Freedom...