From 34a4d72c2025d012dad2d3d6ec7150ecf1699342 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 27 Jan 2009 14:27:07 -0500 Subject: [PATCH] append -light to the default ubuntu profile --- screen-profiles-helper | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/screen-profiles-helper b/screen-profiles-helper index 1b245a99..b7670e00 100755 --- a/screen-profiles-helper +++ b/screen-profiles-helper @@ -150,7 +150,10 @@ def profile(screen, size): li = Listbox(height = 6, width = 60, returnExit = 1) for choice in commands.getoutput('select-screen-profile -l').splitlines(): - li.append(choice, choice) + if choice == "ubuntu": + li.append(choice+("-light"), choice) + else: + li.append(choice, choice) bb = ButtonBar(screen, ((_("Apply"), "apply"), (_("Cancel"), "cancel")), compact = 1)