diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix
index 524914d427c85a2128a1fdcfb91113e0c6f415c4..3992238d09d5659035351722f4211c8a4fdc8464 100755
--- a/src/freedombone-app-matrix
+++ b/src/freedombone-app-matrix
@@ -37,6 +37,7 @@ VARIANTS='full full-vim chat'
 IN_DEFAULT_INSTALL=0
 SHOW_ON_ABOUT=1
 NOT_ON_ONION=1
+MINIMUM_RAM_MB=1500
 
 MATRIX_DOMAIN_NAME=
 MATRIX_CODE=
diff --git a/src/freedombone-utils-selector b/src/freedombone-utils-selector
index ec17f563bc62c1cd9dce31188595a0b1f9db8e67..25ed118e83fb1d0aeab21a8c963e2b87987fa8c6 100755
--- a/src/freedombone-utils-selector
+++ b/src/freedombone-utils-selector
@@ -318,7 +318,7 @@ function detect_apps {
     for filename in $FILES
     do
         app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
-        if [[ $(enough_ram_for_app "$app_name") != "0" ]]; then
+        if [[ $(enough_ram_for_app "$app_name") == "0" ]]; then
             if [[ $(app_not_on_onion_only "$app_name") != "0" ]]; then
                 # shellcheck disable=SC2068
                 if ! item_in_array "${app_name}" ${APPS_AVAILABLE[@]}; then
@@ -354,7 +354,7 @@ function detect_installable_apps {
     do
         app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
 
-        if [[ $(enough_ram_for_app "$app_name") != "0" ]]; then
+        if [[ $(enough_ram_for_app "$app_name") == "0" ]]; then
             if [[ $(app_not_on_onion_only "$app_name") != "0" ]]; then
                 # shellcheck disable=SC2068
                 if ! item_in_array "${app_name}" ${APPS_AVAILABLE[@]}; then
@@ -390,7 +390,7 @@ function detect_installed_apps {
     do
         app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
 
-        if [[ $(enough_ram_for_app "$app_name") != "0" ]]; then
+        if [[ $(enough_ram_for_app "$app_name") == "0" ]]; then
             if [[ $(app_not_on_onion_only "$app_name") != "0" ]]; then
                 if [[ $(app_is_installed "$app_name") == "1" ]]; then
                     # shellcheck disable=SC2068
@@ -429,7 +429,7 @@ function choose_apps_for_variant {
     for filename in $FILES
     do
         app_name=$(echo "${filename}" | awk -F '-app-' '{print $2}')
-        if [[ $(enough_ram_for_app "$app_name") != "0" ]]; then
+        if [[ $(enough_ram_for_app "$app_name") == "0" ]]; then
             if [[ $(app_not_on_onion_only "$app_name") != "0" ]]; then
                 # shellcheck disable=SC2068
                 if item_in_array "${app_name}" ${APPS_AVAILABLE[@]}; then