initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

13
lxdm/set-path.patch Normal file
View File

@@ -0,0 +1,13 @@
--- a/src/lxdm.c 2015-11-23 12:15:52.000000000 +0100
+++ b/src/lxdm.c 2025-03-26 01:20:33.915624039 +0100
@@ -1398,8 +1398,8 @@
path = g_key_file_get_string(config, "base", "path", 0);
if( G_UNLIKELY(path) && path[0] ) /* if PATH is specified in config file */
env=g_environ_setenv(env, "PATH", path, TRUE); /* override current $PATH with config value */
- else /* don't use the global env, they are bad for user */
- env=g_environ_setenv(env, "PATH", "/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin", TRUE); /* set proper default */
+ else if(!getenv("PATH")) /* if PATH is not set */
+ env=g_environ_setenv(env, "PATH", "/usr/local/bin:/bin:/usr/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/sbin", TRUE); /* set proper default */
g_free(path);
/* optionally override $LANG, $LC_MESSAGES, and $LANGUAGE */
if( lang && lang[0] )