forked from AeroNotix/slim-git
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iwamatsu's final release of SLiM (1.3.6) had integrated slimlock into the same codebase. This commit foward-ports the same code from the 1.3.6 release that was on berlios before berlios was discontinued. Note there might be some other code changes that are not directly slimlock-related in this commit; it was difficult to separate them out. The slim-1.3.6 release had a number of inconsistencies related to the slimlock merge that can cause build and runtime errors, so additionally this commit addresses those: - added missing link deps to libslim - ensured slimlock isn't installed when it isn't built - install slimlock SUID, as it was in its predecessor
- Loading branch information
1 parent
30be199
commit c98f1f3
Showing
12 changed files
with
968 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/* SLiM - Simple Login Manager | ||
Copyright (C) 2004-06 Simone Rota <[email protected]> | ||
Copyright (C) 2004-06 Johannes Winkelmann <[email protected]> | ||
Copyright (C) 2012-13 Nobuhiro Iwamatsu <[email protected]> | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
|
@@ -120,6 +121,19 @@ Cfg::Cfg() | |
options.insert(option("session_shadow_yoffset", "0")); | ||
options.insert(option("session_shadow_color","#FFFFFF")); | ||
|
||
// slimlock-specific options | ||
options.insert(option("dpms_standby_timeout", "60")); | ||
options.insert(option("dpms_off_timeout", "600")); | ||
options.insert(option("wrong_passwd_timeout", "2")); | ||
options.insert(option("passwd_feedback_x", "50%")); | ||
options.insert(option("passwd_feedback_y", "10%")); | ||
options.insert(option("passwd_feedback_msg", "Authentication failed")); | ||
options.insert(option("passwd_feedback_capslock", "Authentication failed (CapsLock is on)")); | ||
options.insert(option("show_username", "1")); | ||
options.insert(option("show_welcome_msg", "0")); | ||
options.insert(option("tty_lock", "1")); | ||
options.insert(option("bell", "1")); | ||
|
||
error = ""; | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.