--- pgmodeler-1.2.0-alpha1.orig/libs/libutils/src/globalattributes.cpp	2024-10-25 23:08:01.552797000 +0300
+++ pgmodeler-1.2.0-alpha1/libs/libutils/src/globalattributes.cpp	2024-10-25 23:09:19.480263700 +0300
@@ -77,7 +77,7 @@
 const QString GlobalAttributes::ObjMetadataExt {".omf"};
 const QString GlobalAttributes::DirSeparator {"/"};
 const QString GlobalAttributes::ResourcesDir {"res"};
-const QString GlobalAttributes::ConfigurationsDir {"conf"};
+const QString GlobalAttributes::ConfigurationsDir {"../etc/pgmodeler"};
 const QString GlobalAttributes::DefaultConfsDir {"defaults"};
 const QString GlobalAttributes::ConfsBackupsDir {"backups"};
 const QString GlobalAttributes::SchemasDir {"schemas"};
@@ -88,9 +88,9 @@
 const QString GlobalAttributes::DataDictHtmlDir {"html"};
 const QString GlobalAttributes::DataDictMdDir {"md"};
 const QString GlobalAttributes::AlterSchemaDir {"alter"};
-const QString GlobalAttributes::LanguagesDir {"lang"};
-const QString GlobalAttributes::SamplesDir {"samples"};
-const QString GlobalAttributes::PluginsDir {"plugins"};
+const QString GlobalAttributes::LanguagesDir {"../share/pgmodeler/lang"};
+const QString GlobalAttributes::SamplesDir {"../share/pgmodeler/samples"};
+const QString GlobalAttributes::PluginsDir {"../lib/pgmodeler/plugins"};
 const QString GlobalAttributes::SchemaExt {".sch"};
 const QString GlobalAttributes::ObjectDTDDir {"dtd"};
 const QString GlobalAttributes::ObjectDTDExt {".dtd"};
@@ -326,7 +326,7 @@
 	setCustomPaths(search_path);
 	setConfigFilesPaths();
 
-	SchemasRootPath=getPathFromEnv(EnvSchemasPath, SCHEMASDIR, QString("%1/%2").arg(search_path, SchemasDir));
+	SchemasRootPath=getPathFromEnv(EnvSchemasPath, SCHEMASDIR, QString("%1/../share/pgmodeler/%2").arg(search_path, SchemasDir));
 	LanguagesPath=getPathFromEnv(EnvLangPath, LANGDIR, QString("%1/%2").arg(search_path, LanguagesDir));
 	SamplesPath=getPathFromEnv(EnvSamplesPath, SAMPLESDIR, QString("%1/%2").arg(search_path, SamplesDir));
 	TmplConfigurationPath=getPathFromEnv(EnvTmplConfPath, CONFDIR, QString("%1/%2").arg(search_path, ConfigurationsDir));
