diff --git a/gajim/common/configpaths.py b/gajim/common/configpaths.py
index 1bb3bbac60774a01532a597204a8ec7cefd2aab6..b55a5918583fb626b2482ad2487a3100758aaa13 100644
--- a/gajim/common/configpaths.py
+++ b/gajim/common/configpaths.py
@@ -69,7 +69,7 @@ def set_profile(profile: str) -> None:
 
 
 def set_config_root(config_root: str) -> None:
-    _paths.custom_config_root = config_root
+    _paths.custom_config_root = str(Path(config_root).resolve())
 
 
 def init() -> None: