[mate-terminal] improve better_default patch

Wolfgang Ulbrich raveit65 at fedoraproject.org
Fri Jun 28 23:09:14 UTC 2013


commit 8854a5a882ec1f698ed48787c7ef0bf694c34a64
Author: raveit <chat-to-me at raveit.de>
Date:   Sat Jun 29 01:08:40 2013 +0200

    improve better_default patch

 mate-terminal_better_defaults.patch |  104 +++++++++++++++++++++++++++++++++++
 1 files changed, 104 insertions(+), 0 deletions(-)
---
diff --git a/mate-terminal_better_defaults.patch b/mate-terminal_better_defaults.patch
new file mode 100644
index 0000000..ba020ec
--- /dev/null
+++ b/mate-terminal_better_defaults.patch
@@ -0,0 +1,104 @@
+diff -uNrp a/src/org.mate.terminal.gschema.xml.in b/src/org.mate.terminal.gschema.xml.in
+--- a/src/org.mate.terminal.gschema.xml.in	2013-04-09 06:54:21.000000000 -0700
++++ b/src/org.mate.terminal.gschema.xml.in	2013-06-17 18:54:06.173522514 -0700
+@@ -89,22 +89,22 @@
+       <description>True if the menubar should be shown in new windows,  for windows/tabs with this profile.</description>
+     </key>
+     <key name="foreground-color" type="s">
+-      <default>'#000000'</default>
++      <default>'#E6E6E6'</default>
+       <summary>Default color of text in the terminal</summary>
+       <description>Default color of text in the terminal, as a color specification (can be HTML-style hex digits, or a color name such as "red").</description>
+     </key>
+     <key name="background-color" type="s">
+-      <default>'#FFFFDD'</default>
++      <default>'#000000'</default>
+       <summary>Default color of terminal background</summary>
+       <description>Default color of terminal background, as a color specification (can be HTML-style hex digits, or a color name such as "red").</description>
+     </key>
+     <key name="bold-color" type="s">
+-      <default>'#000000'</default>
++      <default>'#FFFFFF'</default>
+       <summary>Default color of bold text in the terminal</summary>
+       <description>Default color of bold text in the terminal, as a color specification (can be HTML-style hex digits, or a color name such as "red"). This is ignored if bold_color_same_as_fg is true.</description>
+     </key>
+     <key name="bold-color-same-as-fg" type="b">
+-      <default>true</default>
++      <default>false</default>
+       <summary>Whether bold text should use the same color as normal text</summary>
+       <description>If true, boldface text will be rendered using the same color as normal text.</description>
+     </key>
+@@ -159,7 +159,7 @@
+       <description>Number of scrollback lines to keep around. You can scroll back in the terminal by this number of lines; lines that don't fit in the scrollback are discarded. If scrollback_unlimited is true, this value is ignored.</description>
+     </key>
+     <key name="scrollback-unlimited" type="b">
+-      <default>false</default>
++      <default>true</default>
+       <summary>Whether an unlimited number of lines should be kept in scrollback</summary>
+       <description>If true, scrollback lines will never be discarded.  The scrollback history is stored on disk temporarily, so this may cause the system to run out of disk space if there is a lot of output to the terminal.</description>
+     </key>
+diff -uNrp a/src/profile-editor.c b/src/profile-editor.c
+--- a/src/profile-editor.c	2013-04-09 15:54:21.000000000 +0200
++++ b/src/profile-editor.c	2013-06-20 13:57:07.752952019 +0200
+@@ -41,6 +41,10 @@ struct _TerminalColorScheme
+ static const TerminalColorScheme color_schemes[] =
+ {
+ 	{
++		N_("White on black"),
++		{ 0, 0xE6E6, 0xE6E6, 0xE6E6 }, { 0, 0x0000, 0x0000, 0x0000 }
++	},
++	{
+ 		N_("Black on light yellow"),
+ 		{ 0, 0x0000, 0x0000, 0x0000 }, { 0, 0xFFFF, 0xFFFF, 0xDDDD }
+ 	},
+@@ -55,10 +59,6 @@ static const TerminalColorScheme color_s
+ 	{
+ 		N_("Green on black"),
+ 		{ 0, 0x0000, 0xFFFF, 0x0000 }, { 0, 0x0000, 0x0000, 0x0000 }
+-	},
+-	{
+-		N_("White on black"),
+-		{ 0, 0xFFFF, 0xFFFF, 0xFFFF }, { 0, 0x0000, 0x0000, 0x0000 }
+ 	}
+ };
+ 
+diff -uNrp a/src/terminal-profile.c b/src/terminal-profile.c
+--- a/src/terminal-profile.c	2013-04-09 06:54:21.000000000 -0700
++++ b/src/terminal-profile.c	2013-06-17 18:48:58.788015410 -0700
+@@ -127,8 +127,9 @@ enum
+ 
+ /* Keep these in sync with the GSettings schema! */
+ #define DEFAULT_ALLOW_BOLD            (TRUE)
+-#define DEFAULT_BACKGROUND_COLOR      ("#FFFFDD")
+-#define DEFAULT_BOLD_COLOR_SAME_AS_FG (TRUE)
++#define DEFAULT_BACKGROUND_COLOR      ("#000000")
++#define DEFAULT_BOLD_COLOR            ("#FFFFFF")
++#define DEFAULT_BOLD_COLOR_SAME_AS_FG (FALSE)
+ #define DEFAULT_BACKGROUND_DARKNESS   (0.5)
+ #define DEFAULT_BACKGROUND_IMAGE_FILE ("")
+ #define DEFAULT_BACKGROUND_IMAGE      (NULL)
+@@ -143,13 +143,13 @@ enum
+ #define DEFAULT_DELETE_BINDING        (VTE_ERASE_DELETE_SEQUENCE)
+ #define DEFAULT_EXIT_ACTION           (TERMINAL_EXIT_CLOSE)
+ #define DEFAULT_FONT                  ("Monospace 12")
+-#define DEFAULT_FOREGROUND_COLOR      ("#000000")
++#define DEFAULT_FOREGROUND_COLOR      ("#E6E6E6")
+ #define DEFAULT_LOGIN_SHELL           (FALSE)
+ #define DEFAULT_NAME                  (NULL)
+ #define DEFAULT_PALETTE               (terminal_palettes[TERMINAL_PALETTE_TANGO])
+ #define DEFAULT_SCROLL_BACKGROUND     (TRUE)
+ #define DEFAULT_SCROLLBACK_LINES      (512)
+-#define DEFAULT_SCROLLBACK_UNLIMITED  (FALSE)
++#define DEFAULT_SCROLLBACK_UNLIMITED  (TRUE)
+ #define DEFAULT_SCROLLBAR_POSITION    (TERMINAL_SCROLLBAR_RIGHT)
+ #define DEFAULT_SCROLL_ON_KEYSTROKE   (TRUE)
+ #define DEFAULT_SCROLL_ON_OUTPUT      (FALSE)
+@@ -161,7 +161,7 @@ enum
+ #define DEFAULT_USE_CUSTOM_DEFAULT_SIZE (FALSE)
+ #define DEFAULT_USE_SKEY              (TRUE)
+ #define DEFAULT_USE_SYSTEM_FONT       (TRUE)
+-#define DEFAULT_USE_THEME_COLORS      (TRUE)
++#define DEFAULT_USE_THEME_COLORS      (FALSE)
+ #define DEFAULT_VISIBLE_NAME          (N_("Unnamed"))
+ #define DEFAULT_WORD_CHARS            ("-A-Za-z0-9,./?%&#:_=+@~")
+ 


More information about the scm-commits mailing list