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

            Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

            Nikolai Prilezhaev Bibliography References External links Navigation menuEarly Russian Organic Chemists and Their Legacy092774english translationRussian Biography

            How to link a C library to an Assembly library on Mac with clangHow do you set, clear, and toggle a single bit?Find (and kill) process locking port 3000 on MacWho is listening on a given TCP port on Mac OS X?How to start PostgreSQL server on Mac OS X?Compile assembler in nasm on mac osHow do I install pip on macOS or OS X?AFNetworking 2.0 “_NSURLSessionTransferSizeUnknown” linking error on Mac OS X 10.8C++ code for testing the Collatz conjecture faster than hand-written assembly - why?How to link a NASM code and GCC in Mac OS X?How to run x86 .asm on macOS Sierra