SendCode icon indicating copy to clipboard operation
SendCode copied to clipboard

Struggling to get SendCode to work with Konsole on Linux

Open hydeta opened this issue 2 years ago • 0 comments

{
    "prog": "tmux",
    "auto_expand_line": true,
    "auto_advance" : true,
    "auto_advance_non_empty": false,
    "bracketed_paste_mode": false,
    "block_start_pattern": "# ?%%|# ?\\+|# In \\[",
    "block_end_pattern": "# ?%%|# ?\\+|#'|# In \\[",

    "r" : {
        "prog": "tmux",
        // turn bracketed_paste_mode on if radian or readline 7.0 is in use
        "bracketed_paste_mode": false
    },

    "rmd" : {
        "prog": "tmux",
        // turn bracketed_paste_mode on if radian or readline 7.0 is in use
        "bracketed_paste_mode": false
    },

    "python" : {
        "prog": "tmux",
        "bracketed_paste_mode": true
        
    },

    "julia" : {
        "prog": "tmux",
        "bracketed_paste_mode": true
    },

    // the window class of linux terminal
    // e.g., "gnome-terminal", "gnome-terminal-server", "pantheon-terminal",
    //       "mate-terminal", "konsole" and "tilix".
    //       other terminals may work as well.
    //
    // run `xprop | grep WM_CLASS` and click the active terminal to identify the terminal class
    //
    "linux_terminal": "konsole"

    // path related settings

    // path to tmux
    // "tmux": "tmux",

    // path to screen
    // "screen": "screen"
}

This is my Linux settings.

The other settings file is:

{
	"prog": "linux-terminal",
	"python":
	{
		"bracketed_paste_mode": true,
		"prog": "linux-terminal",
	},
}

Sendcode works fine when using the gnome-terminal but does not work when using konsole instead for the window class. Thanks in advance for any help!

hydeta avatar Dec 25 '21 23:12 hydeta