tmux, urxvt, and copy-and-paste woes…Copy/Paste with keyboard in rxvtCopy / paste text selections between...

Jumping frame contents with beamer and pgfplots

Why is a set not a partition of itself?

Can I say: "When was your train leaving?" if the train leaves in the future?

Why do the lights go out when someone enters the dining room on this ship?

Entering the UK as a British citizen who is a Canadian permanent resident

Anatomically Correct Carnivorous Tree

Extracting sublists that contain similar elements

Why is it harder to turn a motor/generator with shorted terminals?

How to cope with regret and shame about not fully utilizing opportunities during PhD?

Why was Thor doubtful about his worthiness to Mjolnir?

Can someone explain homicide-related death rates?

Help in identifying a mystery wall socket

Smallest Guaranteed hash collision cycle length

Is there any good reason to write "it is easy to see"?

Why did I need to *reboot* to change my group membership

How can dragons propel their breath attacks to a long distance

Could there be a material that inverts the colours seen through it?

Why are solar panels kept tilted?

Why is tomato paste so cheap?

As programers say: Strive to be lazy

Does SQL Server allow (make visible) DDL inside a transaction to the transaction prior to commit?

Tikzpicture in figure problem

using `is` operator with value type tuples gives error

LWC1513: @salesforce/resourceUrl modules only support default imports



tmux, urxvt, and copy-and-paste woes…


Copy/Paste with keyboard in rxvtCopy / paste text selections between tmux and the clipboardCopy-paste between urxvt and abiwordUrxvt and tmux - set window titletmux mouse scrolling without altering copy/paste?How to copy and paste with a mouse with tmuxTmux copy mode Home and End keysCopy and paste with single command/key with tmuxCan I ask Tmux to immediately exit copy mode and paste the content when you yank?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I am running tmux inside urxvt. I would like to select and copy text using the left mouse button and paste it using the middle mouse button -- I am very old school.



I did get tmux-yank almost working but need to hit SHIFT+Mouse 1 Select doing the selection, then hit y… This is a lot of key presses.



Anyone knows how I can get this simple behaviour working better?



Here are some versions:



; tmux -V       
tmux 2.2
; urxvt256c-ml --version
urxvt: "version": unknown or malformed option.
rxvt-unicode (urxvt256c-ml) v9.21 - released: 2014-12-31
options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,pixbuf,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
[…]
; awesome --version
awesome v3.5.9 (Mighty Ravendark)
• Build: Mar 7 2016 18:43:56 for x86_64 by gcc version 6.0.0 (mockbuild@)
• Compiled against Lua 5.3.2 (running with Lua 5.3)
• D-Bus support: ✔









share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Old school is actually: select with left button and paste with middle button (and it works out-of-the-box). Did I understand correctly? You want to copy with middle button, not paste?

    – Martin Sugioarto
    Sep 23 '16 at 11:45











  • @MartinSugioarto: Oops, you are right. Select and copy with left, paste with middle. And that does not work out of the box…

    – Sardathrion
    Sep 23 '16 at 11:51













  • @MartinSugioarto: Well, ${insult}! It does indeed work out of the box. Something is FUBAR with my configuration, somewhere: set -g mouse on seems to be it.

    – Sardathrion
    Sep 23 '16 at 11:53




















1















I am running tmux inside urxvt. I would like to select and copy text using the left mouse button and paste it using the middle mouse button -- I am very old school.



I did get tmux-yank almost working but need to hit SHIFT+Mouse 1 Select doing the selection, then hit y… This is a lot of key presses.



Anyone knows how I can get this simple behaviour working better?



Here are some versions:



; tmux -V       
tmux 2.2
; urxvt256c-ml --version
urxvt: "version": unknown or malformed option.
rxvt-unicode (urxvt256c-ml) v9.21 - released: 2014-12-31
options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,pixbuf,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
[…]
; awesome --version
awesome v3.5.9 (Mighty Ravendark)
• Build: Mar 7 2016 18:43:56 for x86_64 by gcc version 6.0.0 (mockbuild@)
• Compiled against Lua 5.3.2 (running with Lua 5.3)
• D-Bus support: ✔









share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Old school is actually: select with left button and paste with middle button (and it works out-of-the-box). Did I understand correctly? You want to copy with middle button, not paste?

    – Martin Sugioarto
    Sep 23 '16 at 11:45











  • @MartinSugioarto: Oops, you are right. Select and copy with left, paste with middle. And that does not work out of the box…

    – Sardathrion
    Sep 23 '16 at 11:51













  • @MartinSugioarto: Well, ${insult}! It does indeed work out of the box. Something is FUBAR with my configuration, somewhere: set -g mouse on seems to be it.

    – Sardathrion
    Sep 23 '16 at 11:53
















1












1








1


1






I am running tmux inside urxvt. I would like to select and copy text using the left mouse button and paste it using the middle mouse button -- I am very old school.



I did get tmux-yank almost working but need to hit SHIFT+Mouse 1 Select doing the selection, then hit y… This is a lot of key presses.



Anyone knows how I can get this simple behaviour working better?



Here are some versions:



; tmux -V       
tmux 2.2
; urxvt256c-ml --version
urxvt: "version": unknown or malformed option.
rxvt-unicode (urxvt256c-ml) v9.21 - released: 2014-12-31
options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,pixbuf,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
[…]
; awesome --version
awesome v3.5.9 (Mighty Ravendark)
• Build: Mar 7 2016 18:43:56 for x86_64 by gcc version 6.0.0 (mockbuild@)
• Compiled against Lua 5.3.2 (running with Lua 5.3)
• D-Bus support: ✔









share|improve this question
















I am running tmux inside urxvt. I would like to select and copy text using the left mouse button and paste it using the middle mouse button -- I am very old school.



I did get tmux-yank almost working but need to hit SHIFT+Mouse 1 Select doing the selection, then hit y… This is a lot of key presses.



Anyone knows how I can get this simple behaviour working better?



Here are some versions:



; tmux -V       
tmux 2.2
; urxvt256c-ml --version
urxvt: "version": unknown or malformed option.
rxvt-unicode (urxvt256c-ml) v9.21 - released: 2014-12-31
options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,pixbuf,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
[…]
; awesome --version
awesome v3.5.9 (Mighty Ravendark)
• Build: Mar 7 2016 18:43:56 for x86_64 by gcc version 6.0.0 (mockbuild@)
• Compiled against Lua 5.3.2 (running with Lua 5.3)
• D-Bus support: ✔






tmux rxvt






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 23 '16 at 11:50







Sardathrion

















asked Sep 23 '16 at 7:51









SardathrionSardathrion

2,56442449




2,56442449





bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1





    Old school is actually: select with left button and paste with middle button (and it works out-of-the-box). Did I understand correctly? You want to copy with middle button, not paste?

    – Martin Sugioarto
    Sep 23 '16 at 11:45











  • @MartinSugioarto: Oops, you are right. Select and copy with left, paste with middle. And that does not work out of the box…

    – Sardathrion
    Sep 23 '16 at 11:51













  • @MartinSugioarto: Well, ${insult}! It does indeed work out of the box. Something is FUBAR with my configuration, somewhere: set -g mouse on seems to be it.

    – Sardathrion
    Sep 23 '16 at 11:53
















  • 1





    Old school is actually: select with left button and paste with middle button (and it works out-of-the-box). Did I understand correctly? You want to copy with middle button, not paste?

    – Martin Sugioarto
    Sep 23 '16 at 11:45











  • @MartinSugioarto: Oops, you are right. Select and copy with left, paste with middle. And that does not work out of the box…

    – Sardathrion
    Sep 23 '16 at 11:51













  • @MartinSugioarto: Well, ${insult}! It does indeed work out of the box. Something is FUBAR with my configuration, somewhere: set -g mouse on seems to be it.

    – Sardathrion
    Sep 23 '16 at 11:53










1




1





Old school is actually: select with left button and paste with middle button (and it works out-of-the-box). Did I understand correctly? You want to copy with middle button, not paste?

– Martin Sugioarto
Sep 23 '16 at 11:45





Old school is actually: select with left button and paste with middle button (and it works out-of-the-box). Did I understand correctly? You want to copy with middle button, not paste?

– Martin Sugioarto
Sep 23 '16 at 11:45













@MartinSugioarto: Oops, you are right. Select and copy with left, paste with middle. And that does not work out of the box…

– Sardathrion
Sep 23 '16 at 11:51







@MartinSugioarto: Oops, you are right. Select and copy with left, paste with middle. And that does not work out of the box…

– Sardathrion
Sep 23 '16 at 11:51















@MartinSugioarto: Well, ${insult}! It does indeed work out of the box. Something is FUBAR with my configuration, somewhere: set -g mouse on seems to be it.

– Sardathrion
Sep 23 '16 at 11:53







@MartinSugioarto: Well, ${insult}! It does indeed work out of the box. Something is FUBAR with my configuration, somewhere: set -g mouse on seems to be it.

– Sardathrion
Sep 23 '16 at 11:53












1 Answer
1






active

oldest

votes


















0














In case some other poor soul struggles with this, here is my ~/.tmux.conf file. I use the tmux plugin manager so install that first.



# ./tmux.conf

# Powerline…
run-shell "powerline-daemon -q"
source '~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'

# VI-mode…
setw -g mode-keys vi

# C-b is not acceptable -- Vim uses it
set-option -g prefix C-a
bind-key C-a last-window

# Set windows modes styles
set -g mode-style "fg=black,bg=colour69"

# Renumber windows
set -g renumber-windows on

# Automaitcally rename.
setw -g automatic-rename

# Allows for faster key repetition
set -s escape-time 0

# Scroll History
set -g history-limit 30000

# Mouse
set -g mouse on # ← This stops the default correct behaviour…

# List of plugins
set -g @plugin 'tmux-plugins/tpm' # ← The tmux plugin manager.
set -g @plugin 'nhdaly/tmux-scroll-copy-mode' # ← sane scrolling.
set -g @plugin 'tmux-plugins/tmux-yank' # ← Yanking.
set -g @shell_mode 'vi' # tmux-yank option.
set -g @yank_selection 'primary' # tmux-yank option.

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
# EOF


So, you can use the mouse to select whatever text you wish. If you hit y before releasing the left mouse button, the selection is copy into the primary buffer which you can paste via the middle mouse click.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f311791%2ftmux-urxvt-and-copy-and-paste-woes%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    In case some other poor soul struggles with this, here is my ~/.tmux.conf file. I use the tmux plugin manager so install that first.



    # ./tmux.conf

    # Powerline…
    run-shell "powerline-daemon -q"
    source '~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'

    # VI-mode…
    setw -g mode-keys vi

    # C-b is not acceptable -- Vim uses it
    set-option -g prefix C-a
    bind-key C-a last-window

    # Set windows modes styles
    set -g mode-style "fg=black,bg=colour69"

    # Renumber windows
    set -g renumber-windows on

    # Automaitcally rename.
    setw -g automatic-rename

    # Allows for faster key repetition
    set -s escape-time 0

    # Scroll History
    set -g history-limit 30000

    # Mouse
    set -g mouse on # ← This stops the default correct behaviour…

    # List of plugins
    set -g @plugin 'tmux-plugins/tpm' # ← The tmux plugin manager.
    set -g @plugin 'nhdaly/tmux-scroll-copy-mode' # ← sane scrolling.
    set -g @plugin 'tmux-plugins/tmux-yank' # ← Yanking.
    set -g @shell_mode 'vi' # tmux-yank option.
    set -g @yank_selection 'primary' # tmux-yank option.

    # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
    run '~/.tmux/plugins/tpm/tpm'
    # EOF


    So, you can use the mouse to select whatever text you wish. If you hit y before releasing the left mouse button, the selection is copy into the primary buffer which you can paste via the middle mouse click.






    share|improve this answer




























      0














      In case some other poor soul struggles with this, here is my ~/.tmux.conf file. I use the tmux plugin manager so install that first.



      # ./tmux.conf

      # Powerline…
      run-shell "powerline-daemon -q"
      source '~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'

      # VI-mode…
      setw -g mode-keys vi

      # C-b is not acceptable -- Vim uses it
      set-option -g prefix C-a
      bind-key C-a last-window

      # Set windows modes styles
      set -g mode-style "fg=black,bg=colour69"

      # Renumber windows
      set -g renumber-windows on

      # Automaitcally rename.
      setw -g automatic-rename

      # Allows for faster key repetition
      set -s escape-time 0

      # Scroll History
      set -g history-limit 30000

      # Mouse
      set -g mouse on # ← This stops the default correct behaviour…

      # List of plugins
      set -g @plugin 'tmux-plugins/tpm' # ← The tmux plugin manager.
      set -g @plugin 'nhdaly/tmux-scroll-copy-mode' # ← sane scrolling.
      set -g @plugin 'tmux-plugins/tmux-yank' # ← Yanking.
      set -g @shell_mode 'vi' # tmux-yank option.
      set -g @yank_selection 'primary' # tmux-yank option.

      # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
      run '~/.tmux/plugins/tpm/tpm'
      # EOF


      So, you can use the mouse to select whatever text you wish. If you hit y before releasing the left mouse button, the selection is copy into the primary buffer which you can paste via the middle mouse click.






      share|improve this answer


























        0












        0








        0







        In case some other poor soul struggles with this, here is my ~/.tmux.conf file. I use the tmux plugin manager so install that first.



        # ./tmux.conf

        # Powerline…
        run-shell "powerline-daemon -q"
        source '~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'

        # VI-mode…
        setw -g mode-keys vi

        # C-b is not acceptable -- Vim uses it
        set-option -g prefix C-a
        bind-key C-a last-window

        # Set windows modes styles
        set -g mode-style "fg=black,bg=colour69"

        # Renumber windows
        set -g renumber-windows on

        # Automaitcally rename.
        setw -g automatic-rename

        # Allows for faster key repetition
        set -s escape-time 0

        # Scroll History
        set -g history-limit 30000

        # Mouse
        set -g mouse on # ← This stops the default correct behaviour…

        # List of plugins
        set -g @plugin 'tmux-plugins/tpm' # ← The tmux plugin manager.
        set -g @plugin 'nhdaly/tmux-scroll-copy-mode' # ← sane scrolling.
        set -g @plugin 'tmux-plugins/tmux-yank' # ← Yanking.
        set -g @shell_mode 'vi' # tmux-yank option.
        set -g @yank_selection 'primary' # tmux-yank option.

        # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
        run '~/.tmux/plugins/tpm/tpm'
        # EOF


        So, you can use the mouse to select whatever text you wish. If you hit y before releasing the left mouse button, the selection is copy into the primary buffer which you can paste via the middle mouse click.






        share|improve this answer













        In case some other poor soul struggles with this, here is my ~/.tmux.conf file. I use the tmux plugin manager so install that first.



        # ./tmux.conf

        # Powerline…
        run-shell "powerline-daemon -q"
        source '~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'

        # VI-mode…
        setw -g mode-keys vi

        # C-b is not acceptable -- Vim uses it
        set-option -g prefix C-a
        bind-key C-a last-window

        # Set windows modes styles
        set -g mode-style "fg=black,bg=colour69"

        # Renumber windows
        set -g renumber-windows on

        # Automaitcally rename.
        setw -g automatic-rename

        # Allows for faster key repetition
        set -s escape-time 0

        # Scroll History
        set -g history-limit 30000

        # Mouse
        set -g mouse on # ← This stops the default correct behaviour…

        # List of plugins
        set -g @plugin 'tmux-plugins/tpm' # ← The tmux plugin manager.
        set -g @plugin 'nhdaly/tmux-scroll-copy-mode' # ← sane scrolling.
        set -g @plugin 'tmux-plugins/tmux-yank' # ← Yanking.
        set -g @shell_mode 'vi' # tmux-yank option.
        set -g @yank_selection 'primary' # tmux-yank option.

        # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
        run '~/.tmux/plugins/tpm/tpm'
        # EOF


        So, you can use the mouse to select whatever text you wish. If you hit y before releasing the left mouse button, the selection is copy into the primary buffer which you can paste via the middle mouse click.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 23 '16 at 12:43









        SardathrionSardathrion

        2,56442449




        2,56442449






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f311791%2ftmux-urxvt-and-copy-and-paste-woes%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

            The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

            Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...