You are not logged in.
Hi there,
I could not find any option in /etc/lightdm/lightdm.conf or /etc/lightdm/lightdm-gtk-greeter.conf to hide the hostname which by default is shown in the top left corner.
Do you know of any way to hide it?
Thanks ahead!
Last edited by orschiro (2014-06-24 07:57:08)
Offline
I believe you'll have to set the indicators list. This should be the default:
indicators=~host;~spacer;~clock;~spacer;~session;~language;~a11y;~power
indicators=~spacer;~clock;~spacer;~session;~language;~a11y;~power| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thanks progandy. I assume you mean show-indicators instead of indicators? At least in my config there is no `indicators`.
Thus, I tried to set several variations in /etc/lightdm/lightdm-gtk-greeter.conf:
show-indicators=false
show-indicators=
show-indicators=~spacerBut they all still show the hostname, unfortunately.
Offline
That might have changed in the bzr version.
Edit: Yes, revision 287 has changed that.
Last edited by progandy (2014-06-22 16:56:33)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
In /etc/lightdm-gtk-greeter.conf
# show-indicators = semi-colon ";" separated list of allowed indicator modules. Built-in indicators include "~a11y", "~language", "~session", "~power". Unity indicators can be represented by short name (e.g. "sound", "power"), service file name, or absolute pathSo unless you have Ubuntu's libindicator support and indicators installed, the only options you have in Arch are ~ally, ~language, ~session and ~power.
Cheers.
Offline
the only options you have in Arch are ~ally, ~language, ~session and ~power.
Thus, no option to enable/disable hostname, correct?
The change in the code has not made it into the configuration and documentation examples yet.
Here are some snipptes from the current bzr source code:
...
const gchar *DEFAULT_LAYOUT[] = {"~host", "~spacer", "~clock", "~spacer",
"~session", "~language", "~a11y", "~power", NULL};
...
if (g_key_file_has_key (config, "greeter", "indicators", NULL))
{ /* no option = default list, empty value = empty list */
names = g_key_file_get_string_list (config, "greeter", "indicators", &length, NULL);
}
else if (g_key_file_has_key (config, "greeter", "show-indicators", NULL))
{ /* fallback mode: no option = empty value = default list */
names = g_key_file_get_string_list (config, "greeter", "show-indicators", &length, NULL);
if (length == 0)
fallback = TRUE;
}
... progandy@pamobile ~ % cat /etc/lightdm/lightdm-gtk-greeter.conf
[greeter]
indicators=~spacer;~clock;~spacer;~session;~language;~a11y;~power
progandy@pamobile ~ % lightdm --test-mode| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline