Re: [gdm-list] how to format banner_message_text
- From: Ray Strode <halfline gmail com>
- To: "Michael W. Folsom" <mwfolsom swcp com>
- Cc: gdm-list gnome org
- Subject: Re: [gdm-list] how to format banner_message_text
- Date: Fri, 6 Mar 2009 11:02:15 -0500
On Sun, Mar 1, 2009 at 10:42 PM, Michael W. Folsom <mwfolsom swcp com> wrote:
> Folks:
>
> Subject line just about says it all -
>
> I need to display a rather long formated message on the login screen.
> In previous editions of gdm I was able to set InfoMsgText equal to a
> formated file and all was well but it appears that this option is no
> longer supported in 2.24.0 so I'm left with using using
> banner_message_text. My immediate problem is that I can't figure out
> how to format the text. I tried \n, /\n, and html such as <br> to end a
> line or get a blank line to no avail.
>
> Question - is it possible to format the text or does banner_message_text
> only allow for a continuous string without multiple end of lines and
> blank lines?
I just tried:
# gconftool-2 -s /apps/gdm/simple-greeter/banner_message_enable
--config-source=$(gconftool-2 --get-default-source) --direct --type
boolean true
# gconftool-2 -s /apps/gdm/simple-greeter/banner_message_text
--config-source=$(gconftool-2 --get-default-source) --direct --type
string "Line 1
Line 2"
and it seemed to work okay. You could also do:
# gconftool-2 -s /apps/gdm/simple-greeter/banner_message_text
--config-source=$(gconftool-2 --get-default-source) --direct --type
string "$(cat /root/warning.txt)"
to put a file with new lines in place.
--Ray
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]