Configure xterm to use ctrl+shift+c/ctrl+shift+v for copy/paste?2019 Community Moderator Electiontmux xclip copy no longer workingXterm Ctrl+Arrow shortcut keysCopy and paste text in Xterm on OpenBSDChange key mappings for xfce4-terminalWhy pressing Ctrl-h in xterm + tmux sends “^?”?Unable to configure font in XTermHow can I copy text from xterm (Awesome, Debian, VirtualBox)?How to use Ctrl-Insert to copy from XTerm?Enable Ctrl+C for copy and Ctrl+Shift+C for interrputxterm: how to copy text with Ctrl+C under FreeBSD?

Rejected in 4th interview round citing insufficient years of experience

Accountant/ lawyer will not return my call

The bar has been raised

Built-In Shelves/Bookcases - IKEA vs Built

Extra alignment tab has been changed to cr. } using table, tabular and resizebox

Could you please stop shuffling the deck and play already?

Why does the negative sign arise in this thermodynamic relation?

Do items de-spawn in Diablo?

How do I deal with a powergamer in a game full of beginners in a school club?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

infinitive telling the purpose

"One can do his homework in the library"

Is it true that real estate prices mainly go up?

Look through the portal of every day

Why is this plane circling around the Lucknow airport every day?

Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?

Regex for certain words causes Spaces

Are the terms "stab" and "staccato" synonyms?

A three room house but a three headED dog

Is there an elementary proof that there are infinitely many primes that are *not* completely split in an abelian extension?

Why does Captain Marvel assume the people on this planet know this?

Offered promotion but I'm leaving. Should I tell?

What are some noteworthy "mic-drop" moments in math?

How did the power source of Mar-Vell's aircraft end up with her?



Configure xterm to use ctrl+shift+c/ctrl+shift+v for copy/paste?



2019 Community Moderator Electiontmux xclip copy no longer workingXterm Ctrl+Arrow shortcut keysCopy and paste text in Xterm on OpenBSDChange key mappings for xfce4-terminalWhy pressing Ctrl-h in xterm + tmux sends “^?”?Unable to configure font in XTermHow can I copy text from xterm (Awesome, Debian, VirtualBox)?How to use Ctrl-Insert to copy from XTerm?Enable Ctrl+C for copy and Ctrl+Shift+C for interrputxterm: how to copy text with Ctrl+C under FreeBSD?










2















I was using terminator for my terminal emulator, but I'm seeing huge performance issues with it. ie, launching a new terminal session takes 20-30 seconds on my netbook. gnome-terminal is better, but still takes 10-15 seconds to launch.



xterm however takes only a second or two. I'm fine using it, but I absolutely loathe the way it handles copy/paste.



How do I configure xterm to not copy something when highlighted via mouse (since I use a clipboard manager and I don't want my recently used entries to get nuked every time I select something) and use shift+ctrl+c/shift+ctrl+v for copy/paste?



OS is Debian 8, window manager is fluxbox.



Thanks!










share|improve this question















This question has an open bounty worth +100
reputation from derobert ending ending at 2019-03-19 18:18:32Z">in 7 days.


One or more of the answers is exemplary and worthy of an additional bounty.


Getting CLIPBOARD easily pasted in an xterm has been a itch for ages. Glad to have a solution!
















  • xterm decides what to do based on the translations resource, which by default allows a choice between copying to the primary selection or to the clipboard. What should it do when you highlight something, if not copying a selection?

    – Thomas Dickey
    Apr 13 '16 at 23:38











  • When you are starting next terminator you can hit ctrl+shift+i which will spawn new window within the same process. That should take at most one second, even on old netbooks. You may also consider to start new tab (instead of new window) with ctrl+shift+t. Splitting terminal is yet another option.

    – jimmij
    Apr 14 '16 at 0:37












  • Would you accept an answer that involves switching to another fast terminal emulator, like st?

    – Alexander
    4 hours ago















2















I was using terminator for my terminal emulator, but I'm seeing huge performance issues with it. ie, launching a new terminal session takes 20-30 seconds on my netbook. gnome-terminal is better, but still takes 10-15 seconds to launch.



xterm however takes only a second or two. I'm fine using it, but I absolutely loathe the way it handles copy/paste.



How do I configure xterm to not copy something when highlighted via mouse (since I use a clipboard manager and I don't want my recently used entries to get nuked every time I select something) and use shift+ctrl+c/shift+ctrl+v for copy/paste?



OS is Debian 8, window manager is fluxbox.



Thanks!










share|improve this question















This question has an open bounty worth +100
reputation from derobert ending ending at 2019-03-19 18:18:32Z">in 7 days.


One or more of the answers is exemplary and worthy of an additional bounty.


Getting CLIPBOARD easily pasted in an xterm has been a itch for ages. Glad to have a solution!
















  • xterm decides what to do based on the translations resource, which by default allows a choice between copying to the primary selection or to the clipboard. What should it do when you highlight something, if not copying a selection?

    – Thomas Dickey
    Apr 13 '16 at 23:38











  • When you are starting next terminator you can hit ctrl+shift+i which will spawn new window within the same process. That should take at most one second, even on old netbooks. You may also consider to start new tab (instead of new window) with ctrl+shift+t. Splitting terminal is yet another option.

    – jimmij
    Apr 14 '16 at 0:37












  • Would you accept an answer that involves switching to another fast terminal emulator, like st?

    – Alexander
    4 hours ago













2












2








2


1






I was using terminator for my terminal emulator, but I'm seeing huge performance issues with it. ie, launching a new terminal session takes 20-30 seconds on my netbook. gnome-terminal is better, but still takes 10-15 seconds to launch.



xterm however takes only a second or two. I'm fine using it, but I absolutely loathe the way it handles copy/paste.



How do I configure xterm to not copy something when highlighted via mouse (since I use a clipboard manager and I don't want my recently used entries to get nuked every time I select something) and use shift+ctrl+c/shift+ctrl+v for copy/paste?



OS is Debian 8, window manager is fluxbox.



Thanks!










share|improve this question














I was using terminator for my terminal emulator, but I'm seeing huge performance issues with it. ie, launching a new terminal session takes 20-30 seconds on my netbook. gnome-terminal is better, but still takes 10-15 seconds to launch.



xterm however takes only a second or two. I'm fine using it, but I absolutely loathe the way it handles copy/paste.



How do I configure xterm to not copy something when highlighted via mouse (since I use a clipboard manager and I don't want my recently used entries to get nuked every time I select something) and use shift+ctrl+c/shift+ctrl+v for copy/paste?



OS is Debian 8, window manager is fluxbox.



Thanks!







performance gnome-terminal xterm gnome-terminator






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 13 '16 at 23:27









cat pantscat pants

1653826




1653826






This question has an open bounty worth +100
reputation from derobert ending ending at 2019-03-19 18:18:32Z">in 7 days.


One or more of the answers is exemplary and worthy of an additional bounty.


Getting CLIPBOARD easily pasted in an xterm has been a itch for ages. Glad to have a solution!








This question has an open bounty worth +100
reputation from derobert ending ending at 2019-03-19 18:18:32Z">in 7 days.


One or more of the answers is exemplary and worthy of an additional bounty.


Getting CLIPBOARD easily pasted in an xterm has been a itch for ages. Glad to have a solution!














  • xterm decides what to do based on the translations resource, which by default allows a choice between copying to the primary selection or to the clipboard. What should it do when you highlight something, if not copying a selection?

    – Thomas Dickey
    Apr 13 '16 at 23:38











  • When you are starting next terminator you can hit ctrl+shift+i which will spawn new window within the same process. That should take at most one second, even on old netbooks. You may also consider to start new tab (instead of new window) with ctrl+shift+t. Splitting terminal is yet another option.

    – jimmij
    Apr 14 '16 at 0:37












  • Would you accept an answer that involves switching to another fast terminal emulator, like st?

    – Alexander
    4 hours ago

















  • xterm decides what to do based on the translations resource, which by default allows a choice between copying to the primary selection or to the clipboard. What should it do when you highlight something, if not copying a selection?

    – Thomas Dickey
    Apr 13 '16 at 23:38











  • When you are starting next terminator you can hit ctrl+shift+i which will spawn new window within the same process. That should take at most one second, even on old netbooks. You may also consider to start new tab (instead of new window) with ctrl+shift+t. Splitting terminal is yet another option.

    – jimmij
    Apr 14 '16 at 0:37












  • Would you accept an answer that involves switching to another fast terminal emulator, like st?

    – Alexander
    4 hours ago
















xterm decides what to do based on the translations resource, which by default allows a choice between copying to the primary selection or to the clipboard. What should it do when you highlight something, if not copying a selection?

– Thomas Dickey
Apr 13 '16 at 23:38





xterm decides what to do based on the translations resource, which by default allows a choice between copying to the primary selection or to the clipboard. What should it do when you highlight something, if not copying a selection?

– Thomas Dickey
Apr 13 '16 at 23:38













When you are starting next terminator you can hit ctrl+shift+i which will spawn new window within the same process. That should take at most one second, even on old netbooks. You may also consider to start new tab (instead of new window) with ctrl+shift+t. Splitting terminal is yet another option.

– jimmij
Apr 14 '16 at 0:37






When you are starting next terminator you can hit ctrl+shift+i which will spawn new window within the same process. That should take at most one second, even on old netbooks. You may also consider to start new tab (instead of new window) with ctrl+shift+t. Splitting terminal is yet another option.

– jimmij
Apr 14 '16 at 0:37














Would you accept an answer that involves switching to another fast terminal emulator, like st?

– Alexander
4 hours ago





Would you accept an answer that involves switching to another fast terminal emulator, like st?

– Alexander
4 hours ago










2 Answers
2






active

oldest

votes


















2














I was able to use CTRLSHIFTC and CTRLSHIFTV for Copy-and-Paste with XTerm by adding



XTerm*vt100.translations: #override 
Shift Ctrl <Key> C: copy-selection(CLIPBOARD) n
Shift Ctrl <Key> V: insert-selection(CLIPBOARD)


to my ~/.Xresources and reloading it with xrdb -merge ~/.Xresources.



Documentation of this feature can be found in xterm(1), “Custom Key Bindings”.






share|improve this answer

























  • The xterm manual page shows a more complete version of this one.

    – Thomas Dickey
    1 hour ago











  • @ThomasDickey Thank you (but really, mostly thank you for xterm), I added your link to the documentation to the answer. I hope finefoot doesn't mind.

    – derobert
    1 hour ago


















0














It does not copy on selection. Well not really, in the same way that nothing is copied with ctrl-c, or right click copy. This is a terrible metaphor, that is used on Microsoft's windows: You right click a file on a USB storage, select copy, eject device, put it in a giffy bag, and hand it the DHL. Then click paste, only to realise that it has not made a copy. The traditional X11 way is to paste previous selection, there is no copy. I miss this working properly, many modern applications use the broken MS ctrl-c, ctrl-v model.



To solve you problem, configure the clipboard manager to ignore selection.






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%2f276326%2fconfigure-xterm-to-use-ctrlshiftc-ctrlshiftv-for-copy-paste%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I was able to use CTRLSHIFTC and CTRLSHIFTV for Copy-and-Paste with XTerm by adding



    XTerm*vt100.translations: #override 
    Shift Ctrl <Key> C: copy-selection(CLIPBOARD) n
    Shift Ctrl <Key> V: insert-selection(CLIPBOARD)


    to my ~/.Xresources and reloading it with xrdb -merge ~/.Xresources.



    Documentation of this feature can be found in xterm(1), “Custom Key Bindings”.






    share|improve this answer

























    • The xterm manual page shows a more complete version of this one.

      – Thomas Dickey
      1 hour ago











    • @ThomasDickey Thank you (but really, mostly thank you for xterm), I added your link to the documentation to the answer. I hope finefoot doesn't mind.

      – derobert
      1 hour ago















    2














    I was able to use CTRLSHIFTC and CTRLSHIFTV for Copy-and-Paste with XTerm by adding



    XTerm*vt100.translations: #override 
    Shift Ctrl <Key> C: copy-selection(CLIPBOARD) n
    Shift Ctrl <Key> V: insert-selection(CLIPBOARD)


    to my ~/.Xresources and reloading it with xrdb -merge ~/.Xresources.



    Documentation of this feature can be found in xterm(1), “Custom Key Bindings”.






    share|improve this answer

























    • The xterm manual page shows a more complete version of this one.

      – Thomas Dickey
      1 hour ago











    • @ThomasDickey Thank you (but really, mostly thank you for xterm), I added your link to the documentation to the answer. I hope finefoot doesn't mind.

      – derobert
      1 hour ago













    2












    2








    2







    I was able to use CTRLSHIFTC and CTRLSHIFTV for Copy-and-Paste with XTerm by adding



    XTerm*vt100.translations: #override 
    Shift Ctrl <Key> C: copy-selection(CLIPBOARD) n
    Shift Ctrl <Key> V: insert-selection(CLIPBOARD)


    to my ~/.Xresources and reloading it with xrdb -merge ~/.Xresources.



    Documentation of this feature can be found in xterm(1), “Custom Key Bindings”.






    share|improve this answer















    I was able to use CTRLSHIFTC and CTRLSHIFTV for Copy-and-Paste with XTerm by adding



    XTerm*vt100.translations: #override 
    Shift Ctrl <Key> C: copy-selection(CLIPBOARD) n
    Shift Ctrl <Key> V: insert-selection(CLIPBOARD)


    to my ~/.Xresources and reloading it with xrdb -merge ~/.Xresources.



    Documentation of this feature can be found in xterm(1), “Custom Key Bindings”.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 1 hour ago









    derobert

    74.5k8162218




    74.5k8162218










    answered Jun 18 '18 at 20:28









    finefootfinefoot

    2659




    2659












    • The xterm manual page shows a more complete version of this one.

      – Thomas Dickey
      1 hour ago











    • @ThomasDickey Thank you (but really, mostly thank you for xterm), I added your link to the documentation to the answer. I hope finefoot doesn't mind.

      – derobert
      1 hour ago

















    • The xterm manual page shows a more complete version of this one.

      – Thomas Dickey
      1 hour ago











    • @ThomasDickey Thank you (but really, mostly thank you for xterm), I added your link to the documentation to the answer. I hope finefoot doesn't mind.

      – derobert
      1 hour ago
















    The xterm manual page shows a more complete version of this one.

    – Thomas Dickey
    1 hour ago





    The xterm manual page shows a more complete version of this one.

    – Thomas Dickey
    1 hour ago













    @ThomasDickey Thank you (but really, mostly thank you for xterm), I added your link to the documentation to the answer. I hope finefoot doesn't mind.

    – derobert
    1 hour ago





    @ThomasDickey Thank you (but really, mostly thank you for xterm), I added your link to the documentation to the answer. I hope finefoot doesn't mind.

    – derobert
    1 hour ago













    0














    It does not copy on selection. Well not really, in the same way that nothing is copied with ctrl-c, or right click copy. This is a terrible metaphor, that is used on Microsoft's windows: You right click a file on a USB storage, select copy, eject device, put it in a giffy bag, and hand it the DHL. Then click paste, only to realise that it has not made a copy. The traditional X11 way is to paste previous selection, there is no copy. I miss this working properly, many modern applications use the broken MS ctrl-c, ctrl-v model.



    To solve you problem, configure the clipboard manager to ignore selection.






    share|improve this answer



























      0














      It does not copy on selection. Well not really, in the same way that nothing is copied with ctrl-c, or right click copy. This is a terrible metaphor, that is used on Microsoft's windows: You right click a file on a USB storage, select copy, eject device, put it in a giffy bag, and hand it the DHL. Then click paste, only to realise that it has not made a copy. The traditional X11 way is to paste previous selection, there is no copy. I miss this working properly, many modern applications use the broken MS ctrl-c, ctrl-v model.



      To solve you problem, configure the clipboard manager to ignore selection.






      share|improve this answer

























        0












        0








        0







        It does not copy on selection. Well not really, in the same way that nothing is copied with ctrl-c, or right click copy. This is a terrible metaphor, that is used on Microsoft's windows: You right click a file on a USB storage, select copy, eject device, put it in a giffy bag, and hand it the DHL. Then click paste, only to realise that it has not made a copy. The traditional X11 way is to paste previous selection, there is no copy. I miss this working properly, many modern applications use the broken MS ctrl-c, ctrl-v model.



        To solve you problem, configure the clipboard manager to ignore selection.






        share|improve this answer













        It does not copy on selection. Well not really, in the same way that nothing is copied with ctrl-c, or right click copy. This is a terrible metaphor, that is used on Microsoft's windows: You right click a file on a USB storage, select copy, eject device, put it in a giffy bag, and hand it the DHL. Then click paste, only to realise that it has not made a copy. The traditional X11 way is to paste previous selection, there is no copy. I miss this working properly, many modern applications use the broken MS ctrl-c, ctrl-v model.



        To solve you problem, configure the clipboard manager to ignore selection.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 3 hours ago









        ctrl-alt-delorctrl-alt-delor

        11.9k42260




        11.9k42260



























            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%2f276326%2fconfigure-xterm-to-use-ctrlshiftc-ctrlshiftv-for-copy-paste%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







            -gnome-terminal, gnome-terminator, performance, xterm

            Popular posts from this blog

            Frič See also Navigation menuinternal link

            Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

            fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox