diff -Naur src.original/src/app.cpp src/src/app.cpp --- src.original/src/app.cpp 2005-06-20 20:21:05.000000000 -0500 +++ src/src/app.cpp 2005-06-20 22:04:12.000000000 -0500 @@ -86,7 +86,8 @@ SetAppName(APP_NAME" v"APP_VERSION); ConfigManager::Init(wxConfigBase::Get()); ConfigManager::Get()->Write("app_path", GetAppPath()); - ConfigManager::Get()->Write("data_path", GetAppPath() + "/share/CodeBlocks"); + ConfigManager::Get()->Write("data_path", "/usr/share/codeblocks"); + ConfigManager::Get()->Write("plugin_path", "/usr/lib/codeblocks"); m_HasDebugLog = ConfigManager::Get()->Read("/message_manager/has_debug_log", (long int)0) | m_HasDebugLog; ConfigManager::Get()->Write("/message_manager/has_debug_log", m_HasDebugLog); if (ParseCmdLine(0L) != 0) diff -Naur src.original/src/main.cpp src/src/main.cpp --- src.original/src/main.cpp 2005-06-20 20:21:05.000000000 -0500 +++ src/src/main.cpp 2005-06-20 22:07:14.000000000 -0500 @@ -364,7 +364,7 @@ if (forceShow || showAtStartup) { wxLogNull null; // disable error message if tips file does not exist - wxString tipsFile = ConfigManager::Get()->Read("/app_path") + "/tips.txt"; + wxString tipsFile = ConfigManager::Get()->Read("/data_path") + "/tips.txt"; long tipsIndex = ConfigManager::Get()->Read("/next_tip", (long)0); wxTipProvider* tipProvider = wxCreateFileTipProvider(tipsFile, tipsIndex); showAtStartup = wxShowTip(this, tipProvider, showAtStartup); @@ -573,7 +573,7 @@ PluginManager* m_PluginManager = Manager::Get()->GetPluginManager(); - wxString path = ConfigManager::Get()->Read("data_path") + "/plugins"; + wxString path = ConfigManager::Get()->Read("plugin_path") + "/plugins"; m_pMsgMan->Log(_("Scanning for plugins in %s..."), path.c_str()); int count = m_PluginManager->ScanForPlugins(path); m_pMsgMan->AppendLog(_("Found %d plugins: "), count);