Compare commits

...

3 Commits

Author SHA1 Message Date
Viacheslav Reutskiy 4049af9f06 gui: remove button setting
The setting should be a separetly application. And User should modify
it only from user sessions, bacause it's a security issue. As first
step of separation the gui and gui settings - remove button from client
window.

If need modify setting run:
HOME=/path/to/entrance/home/folder elementary_config
By default it's '/var/cache/entrance/client/'.
2016-11-21 23:26:07 +02:00
Viacheslav Reutskiy 46f32ed424 daemon: do not delete folder with config
In this folder save the elementary_config, so if it will be delete
on each start user can not save his configs, like scale.
So, do not remove this folder on start
2016-11-09 23:23:52 +02:00
Viacheslav Reutskiy ddacf8db20 data: update pam file for arch
Make pam file without gdm dependencies
2016-11-09 23:12:51 +02:00
3 changed files with 7 additions and 54 deletions

View File

@ -1,7 +1,7 @@
#%PAM-1.0 #%PAM-1.0
auth include system-login
-auth optional pam_gnome_keyring.so auth required pam_securetty.so
account include system-login auth requisite pam_nologin.so
password include system-login auth include system-local-login
session include system-login account include system-local-login
-session optional pam_gnome_keyring.so auto_start session include system-local-login

View File

@ -194,27 +194,7 @@ collections {
visible: 1; visible: 1;
} }
} }
part { name: "entrance.conf"; /* */
type: EXTERNAL;
source: "elm/button";
description { state: "default" 0.0;
fixed: 1 1;
visible: 1;
max: 0 0;
align: 1.0 1.0;
rel2.to_x: "entrance.actions";
rel2.relative: 0.0 1.0;
params {
string: "label" "Settings";
}
}
description { state: "enabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
/*
*/
} }
programs { programs {
program { program {
@ -245,20 +225,6 @@ collections {
action: STATE_SET "default" 0.0; action: STATE_SET "default" 0.0;
target: "entrance.users"; target: "entrance.users";
} }
program {
name: "conf_enabled";
signal: "entrance,custom_conf,enabled";
source: "";
action: STATE_SET "enabled" 0.0;
target: "entrance.conf";
}
program {
name: "conf_disabled";
signal: "entrance,custom_conf,disabled";
source: "";
action: STATE_SET "default" 0.0;
target: "entrance.conf";
}
} }
} }

View File

@ -232,19 +232,6 @@ _entrance_main(const char *dname)
chown(ENTRANCE_CONFIG_HOME_PATH, chown(ENTRANCE_CONFIG_HOME_PATH,
pwd->pw_uid, pwd->pw_gid); pwd->pw_uid, pwd->pw_gid);
} }
else
{
if (!ecore_file_is_dir(ENTRANCE_CONFIG_HOME_PATH))
{
PT("Hum a file already exists here "
ENTRANCE_CONFIG_HOME_PATH" sorry but"
"I remove it, I need it ^^");
ecore_file_remove(ENTRANCE_CONFIG_HOME_PATH);
ecore_file_mkdir(ENTRANCE_CONFIG_HOME_PATH);
chown(ENTRANCE_CONFIG_HOME_PATH,
pwd->pw_uid, pwd->pw_gid);
}
}
} }
else else
{ {