Add an "access-options-v1" option to gfxboot.cfg, which overrides the

default "access=v1" kernel options used in High Contrast mode
(LP: #739445).
master
Colin Watson 13 years ago
parent ff36315ffe
commit e1f1f35edb

@ -487,6 +487,9 @@
] def
pop
} { pop } ifelse
"access-options-v1" getgfxconfig dup .undef ne {
/access.options.v1 exch def
} { pop } ifelse
"hidden-timeout" getgfxconfig dup .undef ne {
% If >= 1, display just the main and access logos and wait for a
% keypress; if timeout expires, boot without showing the menu.

8
debian/changelog vendored

@ -1,3 +1,11 @@
gfxboot-theme-ubuntu (0.11.1) UNRELEASED; urgency=low
* Add an "access-options-v1" option to gfxboot.cfg, which overrides the
default "access=v1" kernel options used in High Contrast mode
(LP: #739445).
-- Colin Watson <cjwatson@ubuntu.com> Tue, 22 Mar 2011 14:07:15 +0000
gfxboot-theme-ubuntu (0.11.0) natty; urgency=low
* Update translations from Launchpad (LP: #657984).

@ -23,6 +23,10 @@
/access.optionnames [ access.alloptionnames { } forall ] def
% Custom kernel options. Feel free to extend as needed. Keep this in sync
% with MenuInit.
/access.options.v1 "access=v1" def
/access.alltexts [
/txt_access_none
/txt_access_v1 /txt_access_v2 /txt_access_v3 /txt_access_brltty
@ -96,11 +100,15 @@
} {
dup "brltty" eq {
pop /access.option "braille=ask" def
} {
dup "v1" eq {
pop /access.option access.options.v1 def
} {
dup length 7 add string /access.option exch def
"access=%s" access.option sprintf
} ifelse
} ifelse
} ifelse
/window.action actRedrawPanel def

Loading…
Cancel
Save