Created
December 30, 2017 17:41
-
-
Save thewisenerd/9af3ae5f68f40ebf039cfda2395d9a65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 988f89e5c78c79c0c0cea74cc866482fd293064a Mon Sep 17 00:00:00 2001 | |
From: thewisenerd <[email protected]> | |
Date: Fri, 17 Mar 2017 07:14:15 +0530 | |
Subject: [PATCH] vfs: filetask: disable dbus on terminator | |
this kills the spawned task immediately causing the extract script in | |
the /tmp dir to be removed. the _new_ task from dbus cant find extract | |
script and file extraction fails. | |
terminator: gnome-terminator/terminator/gtk3 @ 1758 | |
--- | |
src/vfs/vfs-file-task.c | 2 ++ | |
1 file changed, 2 insertions(+) | |
diff --git a/src/vfs/vfs-file-task.c b/src/vfs/vfs-file-task.c | |
index 017d2ae4..aa42bb06 100644 | |
--- a/src/vfs/vfs-file-task.c | |
+++ b/src/vfs/vfs-file-task.c | |
@@ -1754,6 +1754,8 @@ static void vfs_file_task_exec( char* src_file, VFSFileTask* task ) | |
else if ( strstr( terminal, "xfce4-terminal" ) | |
|| g_str_has_suffix( terminal, "/terminal" ) ) | |
argv[a++] = g_strdup_printf( "--disable-server" ); | |
+ else if ( strstr( terminal, "terminator" ) ) | |
+ argv[a++] = g_strdup( "-u" ); | |
// add option to execute command in terminal | |
if ( strstr( terminal, "xfce4-terminal" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment