Skip to content

Is there support for sendcode and RKWard? #162

Open

Description

@RJDan

Hello

I am trying to find a replacement for Rstudio as I am now on sway (wayland) on Ubuntu 22.04 and Rstudio does not support wayland.

RKWard seems to work well so far but I cannot send R code from sublime text to RKWard.
I get an error message "rkward is not supported for current syntax'.

Is there something I can do to get this up and running?

I have added the following to my settings, in the hope that it would that simple:
"R": { "bracketed_paste_mode": false, "prog": "rkward", }, "rmd" : { "prog": "rkward", "bracketed_paste_mode": false },

Sublime text 4126
Linux 5.15.0-14-generic #14-Ubuntu SMP Tue Dec 14 10:08:09 UTC 2021 x86_64 GNU/Linux
RKWard v0.7.2

Activity

  1. JurajLieskovsky commented on Feb 2, 2022

    @JurajLieskovsky

    Don't have any experience with RKWard but as you are on linux, adding something like

    "prog": "linux-terminal"
    "linux_terminal": "rkward"
    

    might do the trick.

    On linux sendcode uses xdotool to focus a window based on its class and paste the code (responsible file). to find the rkward class try running wmctrl -l -x in the terminal.

    If that works and you still want to maintain standard functionality, writing a separate sender shouldn't be too much of a hassle.

    edit: As you are on wayland xdotool won't work...

  2. RJDan commented on Feb 7, 2022

    @RJDan
    Author

    I opted to use the terminal directly for the moment instead of working with RKWard.
    Thank you for the response, though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions