diff --git a/src/org.mate.terminal.gschema.xml.in b/src/org.mate.terminal.gschema.xml.in
index 4eb877d..22ef2f3 100644
--- a/src/org.mate.terminal.gschema.xml.in
+++ b/src/org.mate.terminal.gschema.xml.in
@@ -128,6 +128,11 @@
Whether to silence terminal bell
If true, don't make a noise when applications send the escape sequence for the terminal bell.
+
+ false
+ Copy selection to clipboard
+ If true, selection is automatically copied to cliboard buffer.
+
'-A-Za-z0-9,./?%&#:_=+@~'
Characters that are considered "part of a word"
diff --git a/src/profile-editor.c b/src/profile-editor.c
index 8076827..d66b5da 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -242,6 +242,10 @@ profile_notify_sensitivity_cb (TerminalProfile *profile,
SET_SENSITIVE ("bell-checkbutton",
!terminal_profile_property_locked (profile, TERMINAL_PROFILE_SILENT_BELL));
+ if (!prop_name || prop_name == I_(TERMINAL_PROFILE_COPY_SELECTION))
+ SET_SENSITIVE ("copy-checkbutton",
+ !terminal_profile_property_locked (profile, TERMINAL_PROFILE_COPY_SELECTION));
+
if (!prop_name || prop_name == I_(TERMINAL_PROFILE_WORD_CHARS))
SET_SENSITIVE ("word-chars-entry",
!terminal_profile_property_locked (profile, TERMINAL_PROFILE_WORD_CHARS));
@@ -941,6 +945,8 @@ terminal_profile_edit (TerminalProfile *profile,
CONNECT ("use-theme-colors-checkbutton", TERMINAL_PROFILE_USE_THEME_COLORS);
CONNECT ("word-chars-entry", TERMINAL_PROFILE_WORD_CHARS);
CONNECT_WITH_FLAGS ("bell-checkbutton", TERMINAL_PROFILE_SILENT_BELL, FLAG_INVERT_BOOL);
+ /* CONNECT_WITH_FLAGS ("copy-checkbutton", TERMINAL_PROFILE_COPY_SELECTION, FLAG_INVERT_BOOL); */
+ CONNECT ("copy-checkbutton", TERMINAL_PROFILE_COPY_SELECTION);
#undef CONNECT
#undef CONNECT_WITH_FLAGS
diff --git a/src/profile-preferences.ui b/src/profile-preferences.ui
index 31a85c2..f278299 100644
--- a/src/profile-preferences.ui
+++ b/src/profile-preferences.ui
@@ -457,6 +457,24 @@
False
+
+
+
+ 0
+ False
+ False
+
+