mirror of
https://github.com/apognu/tuigreet.git
synced 2024-10-26 08:34:57 +03:00
Compare commits
4 Commits
4311c42f74
...
c4b4119cd2
Author | SHA1 | Date | |
---|---|---|---|
|
c4b4119cd2 | ||
|
4ca29169e5 | ||
|
004ff91e0b | ||
|
dd86eca1dc |
@ -69,7 +69,7 @@ The default configuration tends to be as minimal as possible, visually speaking,
|
|||||||
|
|
||||||
The initial prompt container will be 80 column wide. You may change this with `--width` in case you need more space (for example, to account for large PAM challenge messages). Please refer to usage information (`--help`) for more customization options. Various padding settings are available through the `*-padding` options.
|
The initial prompt container will be 80 column wide. You may change this with `--width` in case you need more space (for example, to account for large PAM challenge messages). Please refer to usage information (`--help`) for more customization options. Various padding settings are available through the `*-padding` options.
|
||||||
|
|
||||||
You can instruct `tuigreet` to remember the last username that successfully opened a session with the `--remember` option (that way, the username field will be pre-filled). Similarly, the command and session configuration can be retained between runs with the `--remember-session` option (when using this, the `--cmd` value is overridden by manual selections). You can also remember the selected session per user with the `--remember-user-session` flag. In this case, the selected session will only be saved on successful authentication.
|
You can instruct `tuigreet` to remember the last username that successfully opened a session with the `--remember` option (that way, the username field will be pre-filled). Similarly, the command and session configuration can be retained between runs with the `--remember-session` option (when using this, the `--cmd` value is overridden by manual selections). You can also remember the selected session per user with the `--remember-user-session` flag. In this case, the selected session will only be saved on successful authentication. Check the [cache instructions](#cache-instructions) if `/var/cache/tuigreet` doesn't exist after installing tuigreet.
|
||||||
|
|
||||||
You may change the command that will be executed after opening a session by hitting `F2` and amending the command. Alternatively, you can list the system-declared sessions (or custom ones) by hitting `F3`. Power options are available through `F12`.
|
You may change the command that will be executed after opening a session by hitting `F2` and amending the command. Alternatively, you can list the system-declared sessions (or custom ones) by hitting `F3`. Power options are available through `F12`.
|
||||||
|
|
||||||
@ -85,6 +85,7 @@ $ cargo build --release
|
|||||||
# mv target/release/tuigreet /usr/local/bin/tuigreet
|
# mv target/release/tuigreet /usr/local/bin/tuigreet
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<a id="cache-instructions"></a>
|
||||||
Cache directory must be created for `--remember*` features to work. The directory must be owned by the user running the greeter.
|
Cache directory must be created for `--remember*` features to work. The directory must be owned by the user running the greeter.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
29
contrib/locales/zh-CN/tuigreet.ftl
Normal file
29
contrib/locales/zh-CN/tuigreet.ftl
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
title_authenticate = 认证到主机 {$hostname}
|
||||||
|
title_command = 更改会话命令
|
||||||
|
title_power = 电源选项
|
||||||
|
title_session = 更改会话
|
||||||
|
title_users = 选择用户
|
||||||
|
|
||||||
|
action_reset = 重置
|
||||||
|
action_command = 命令
|
||||||
|
action_session = 会话
|
||||||
|
action_power = 电源
|
||||||
|
|
||||||
|
date = %x, %A - %H:%M
|
||||||
|
|
||||||
|
select_user = 回车键以选择用户或直接输入用户名...
|
||||||
|
username = 用户名:
|
||||||
|
password = 密码:
|
||||||
|
wait = 请稍候...
|
||||||
|
failed = 认证失败,请重试
|
||||||
|
|
||||||
|
new_command = 新命令:
|
||||||
|
|
||||||
|
shutdown = 关机
|
||||||
|
reboot = 重启
|
||||||
|
|
||||||
|
command_exited = 退出代码
|
||||||
|
command_failed = 命令执行失败
|
||||||
|
|
||||||
|
status_command = CMD
|
||||||
|
status_caps = 大小写锁定
|
Loading…
Reference in New Issue
Block a user