Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
On Sat, Dec 21, 2013 at 10:13 PM, Brian wrote: > On Sat 21 Dec 2013 at 21:09:56 +, Tom H wrote: >> >> 2) OT: I don't use XFCE but isn't xfce4-terminal its default terminal? > > It is if task-xfce-desktop is installed (and recommends enabled): > > Recommends: xfprint4, xfce4-terminal, > > Installing xfce4: > > Depends: thunar (>= 1.2.0), xfce4-utils (>= 4.8.0), > > xfce4-utils has > > Depends: libxfce4util4 (>= 4.3.99.2), xterm | x-terminal-emulator, Thanks. I hadn't thought of checking this; sorry. So if you install xfce4 rather than task-xfce-desktop as well as xterm, xfce4-terminal isn't pulled in. I guess that there's a demand for these kinds of complications but it seems OTT to me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sxqpot5ycqqz710acogckz+krt8ph+rr3c6hwckxfa...@mail.gmail.com
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
On Sat, Dec 21, 2013 at 9:30 PM, Bob Proulx wrote: > > $ echo "XTerm*SelectToClipboard:true" >> ~/.Xresources > $ xrdb -m ~/.Xresources Much simpler than what I'd posted earlier. Thanks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SydDCPuwp0H-=galtphqwkfxgmyksv1szkm2nlal+t...@mail.gmail.com
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
On 20131221_212840, Sven Joachim wrote: > On 2013-12-21 20:53 +0100, Stephen Powell wrote: > > > I am having trouble copying text from an xterm window into another > > application, > > such as iceweasel, and vice versa. When I was using GNOME, this worked fine > > between gnome-terminal and other applications. > > How exactly did you copy the text? > > > But I'm using XFCE now, and > > xterm seems to be the default terminal emulator application under XFCE. > > Nothing stops you from using gnome-terminal under XFCE, I suppose… I use gnome-terminal with Xfce with no problems. I like it because I know where the configuation parameter values are stored ( in .gconf ) and I have developed a collection of named preference sets which I use for different tasks. One does NOT have to have the whole of Gnome installed to use Gnome terminal. > > > Before you tell me that "Google is my friend", or some other trite brush-off > > saying, let me tell you that I have done my homework on this. I have > > searched > > the internet. I have learned about the difference between the PRIMARY > > buffer > > and the CLIPBOARD buffer, I have learned about settings to put in > > .Xdefaults, > > etc. But none of the techniques I have found work for me. I use a > > traditional > > PS/2 mouse. It has two, and only two, mouse buttons. It has no thumbwheel. > > > > Has anyone succeeded in getting this to work in a Debian XFCE environment? > > I don't use XFCE, but I have set xterm's selectToClipboard resource to > true, meaning that text you select in xterm can be pasted into other > applications with Ctrl-V, and Shift-Ins pastes text from the clipboard > into xterm. > > Cheers, >Sven > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/87lhzene2v@turtle.gmx.de > -- Paul E Condon pecon...@mesanetworks.net -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131222033231.gb2...@big.lan.gnu
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
Paul Cartwright wrote: > Bob Proulx wrote: > > Put XTerm*SelectToClipboard:true in your ~/.Xresources file for > > permanent configuration. > > > > $ echo "XTerm*SelectToClipboard:true" >> ~/.Xresources > > $ xrdb -m ~/.Xresources > > I don't have a .Xresources file.. in all my years of UNIX/Linux, I've > never edited a .xresources file.. > pauls-server:~$ ls -l ~.Xresources > ls: cannot access ~.Xresources: No such file or directory Then I assume you have a .Xdefaults file? Put it there. There are something like a half dozen different locations that X resource data can be stored. An X program will look through each location in turn in priority order. I posted on this topic before so instead of annoying the list with another long posting today I will simply point to the previous. https://lists.debian.org/debian-user/2005/09/msg01385.html https://lists.debian.org/debian-user/2011/02/msg00395.html Bob signature.asc Description: Digital signature
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
On Sat, Dec 21, 2013 at 02:53:20PM -0500, Stephen Powell wrote: > I am having trouble copying text from an xterm window into another > application, > such as iceweasel, and vice versa. When I was using GNOME, this worked fine > between gnome-terminal and other applications. But I'm using XFCE now, and > xterm seems to be the default terminal emulator application under XFCE. > Others have already answered about the copy and pasting, but I figured I'd give you another xterm trick. You can specify the font type and size like this: uxterm -fn a14 I use uxterm instead of xterm (can't remember exactly why). I found the default font size too small. There is a utility called xfontsel which helps you choose the appropriate font type and size. -Rob signature.asc Description: Digital signature
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2013 04:30 PM, Bob Proulx wrote: >> where do you set this?? > Either interactively with control-middle-mouse-drag down to "Select to > Clipboard" and check it _or_ set it in your .Xresources. > > man xterm > >selectToClipboard (class SelectToClipboard) >Tells xterm whether to use the PRIMARY or CLIPBOARD for SELECT >tokens in the selection mechanism. The set-select action can >change this at runtime, allowing the user to work with programs >that handle only one of these mechanisms. The default is >“false”, which tells it to use PRIMARY. > > To set this on the fly for testing (session only, not permanent): > > $ echo "XTerm*SelectToClipboard:true" | xrdb -m > > Put XTerm*SelectToClipboard:true in your ~/.Xresources file for > permanent configuration. > > $ echo "XTerm*SelectToClipboard:true" >> ~/.Xresources > $ xrdb -m ~/.Xresources I don't have a .Xresources file.. in all my years of UNIX/Linux, I've never edited a .xresources file.. pauls-server:~$ ls -l ~.Xresources ls: cannot access ~.Xresources: No such file or directory - -- Paul Cartwright Registered Linux User #367800 and new counter #561587 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSthXQAAoJEFOC6wwM39g1csgH/2/Ja7rZbcU6P9r7CzduF7jL mEH1bjN5EG2VmUxNaeXCTholx+caULAFNdtZUAIXKLZ3H2WoNucdtfkEQMK8VxF4 PYzVdIu/p+94PMX3n+G8x1eu0nxggweVUy11KNjPdSJn2lk3mFoU+p6J0vbCOUA+ BOY7J2s6I1/hep+/bvQkzJ/OKYgV15moTQIzkSEjqtKh31dWw2oL+Is+4O+KSPKv p8VfqJaHYuOOoSV2971pJ0PB6zNAi07nAYaSZ05hWhkh5wgJYaCZ8ILCzO9/ZQJl HCcgkM1FOEZ2jHd1pRkvrw5abbySej4mg/Enlux1XJlVycLO6DL7bxgsS8gzaBI= =a5u9 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52b615d0.4020...@gmail.com
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
On Sat 21 Dec 2013 at 21:09:56 +, Tom H wrote: > 2) OT: I don't use XFCE but isn't xfce4-terminal its default terminal? It is if task-xfce-desktop is installed (and recommends enabled): Recommends: xfprint4, xfce4-terminal, Installing xfce4: Depends: thunar (>= 1.2.0), xfce4-utils (>= 4.8.0), xfce4-utils has Depends: libxfce4util4 (>= 4.3.99.2), xterm | x-terminal-emulator, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/21122013220437.00fdef8ce...@desktop.copernicus.demon.co.uk
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
Paul Cartwright wrote: > On 12/21/2013 03:28 PM, Sven Joachim wrote: > > I don't use XFCE, but I have set xterm's selectToClipboard resource to > > true, meaning that text you select in xterm can be pasted into other > > applications with Ctrl-V, and Shift-Ins pastes text from the clipboard > > into xterm. > > where do you set this?? Either interactively with control-middle-mouse-drag down to "Select to Clipboard" and check it _or_ set it in your .Xresources. man xterm selectToClipboard (class SelectToClipboard) Tells xterm whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the selection mechanism. The set-select action can change this at runtime, allowing the user to work with programs that handle only one of these mechanisms. The default is “false”, which tells it to use PRIMARY. To set this on the fly for testing (session only, not permanent): $ echo "XTerm*SelectToClipboard:true" | xrdb -m Put XTerm*SelectToClipboard:true in your ~/.Xresources file for permanent configuration. $ echo "XTerm*SelectToClipboard:true" >> ~/.Xresources $ xrdb -m ~/.Xresources Bob signature.asc Description: Digital signature
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
On Sat, 2013-12-21 at 14:53 -0500, Stephen Powell wrote: > But I'm using XFCE now, and xterm seems to be the default terminal > emulator application under XFCE. No, it's xfce4-terminal. Using xfce4-terminal shouldn't cause copy and paste issues. -- Windows 8 Pro floppy disk 1 http://lists.freebsd.org/pipermail/freebsd-questions/2013-December/255074.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1387661040.942.0.camel@archlinux
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
On 12/21/2013 03:28 PM, Sven Joachim wrote: > I don't use XFCE, but I have set xterm's selectToClipboard resource to > true, meaning that text you select in xterm can be pasted into other > applications with Ctrl-V, and Shift-Ins pastes text from the clipboard > into xterm. where do you set this?? -- Paul Cartwright Registered Linux User #367800 and new counter #561587 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52b60598.2010...@gmail.com
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
On Sat, Dec 21, 2013 at 7:53 PM, Stephen Powell wrote: > > I am having trouble copying text from an xterm window into another > application, > such as iceweasel, and vice versa. When I was using GNOME, this worked fine > between gnome-terminal and other applications. But I'm using XFCE now, and > xterm seems to be the default terminal emulator application under XFCE. > > Before you tell me that "Google is my friend", or some other trite brush-off > saying, let me tell you that I have done my homework on this. I have searched > the internet. I have learned about the difference between the PRIMARY buffer > and the CLIPBOARD buffer, I have learned about settings to put in .Xdefaults, > etc. But none of the techniques I have found work for me. I use a traditional > PS/2 mouse. It has two, and only two, mouse buttons. It has no thumbwheel. > > Has anyone succeeded in getting this to work in a Debian XFCE environment? 1) What did you try in ".Xresources"? Did you merge the new resource(s) via xrdb after setting it(them)? I use "XTerm*VT100.translations: #override : select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)". 2) OT: I don't use XFCE but isn't xfce4-terminal its default terminal? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sw1qpc5abpyywmh1dyb3zjfzhvmu29xtgf2bl_v+zn...@mail.gmail.com
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
On 2013-12-21 20:53 +0100, Stephen Powell wrote: > I am having trouble copying text from an xterm window into another > application, > such as iceweasel, and vice versa. When I was using GNOME, this worked fine > between gnome-terminal and other applications. How exactly did you copy the text? > But I'm using XFCE now, and > xterm seems to be the default terminal emulator application under XFCE. Nothing stops you from using gnome-terminal under XFCE, I suppose… > Before you tell me that "Google is my friend", or some other trite brush-off > saying, let me tell you that I have done my homework on this. I have searched > the internet. I have learned about the difference between the PRIMARY buffer > and the CLIPBOARD buffer, I have learned about settings to put in .Xdefaults, > etc. But none of the techniques I have found work for me. I use a > traditional > PS/2 mouse. It has two, and only two, mouse buttons. It has no thumbwheel. > > Has anyone succeeded in getting this to work in a Debian XFCE environment? I don't use XFCE, but I have set xterm's selectToClipboard resource to true, meaning that text you select in xterm can be pasted into other applications with Ctrl-V, and Shift-Ins pastes text from the clipboard into xterm. Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87lhzene2v@turtle.gmx.de
Re: Copy and Paste between xterm and other windows in a Debian XFCE environment
Stephen Powell wrote: > I am having trouble copying text from an xterm window into another > application, such as iceweasel, and vice versa. When I was using > GNOME, this worked fine between gnome-terminal and other > applications. But I'm using XFCE now, and xterm seems to be the > default terminal emulator application under XFCE. > ... > Has anyone succeeded in getting this to work in a Debian XFCE > environment? Works perfectly for me. I use left-mouse drag for cut. I use right-mouse for extend. I use middle-mouse for paste. In both XTerm and in Iceweasel and Chromium. Except for extend which doesn't work in the web browsers. Extend only works in traditional X clients like XTerm. In the web browsers if you use C-c, C-x, C-v those operate on the clipboard and not the primary selection and so will be mismatched. But if you use left-mouse, right-mouse, (and middle-mouse in XTerm) in both then both will use the primary selection. > I have learned about the difference between the PRIMARY buffer and > the CLIPBOARD buffer, I have learned about settings to put in > .Xdefaults, etc. But none of the techniques I have found work for > me. But this is configurable. Since you have found this perhaps you have configured it? $ xrdb -q | grep -i -e cut -e paste ...nothing for me...using the defaults... In an XTerm control-middle-drag to see the menu. I do not have Select to Clipboard checked. You said .Xdefaults. Do you want the simple and short answer or the long and detailed answer? The short answer is don't use .Xdefaults but use .Xresources with xrdb instead. They are subtly different. If 'xrdb -q' has any output then your .Xdefaults will be ignored. Almost every desktop session manager sets something in xrdb which will cause the .Xdefaults to be ignored. Ask if you want the longer explanation. To be simple use xrdb to show what you have in memory. What you see there is what is there. If you don't see it then it isn't there. $ xrdb -q | less To make changes: $ $EDITOR .Xresources $ xrdb -m .Xresources # merges your _additions_ with the current Or: $ xrdb -l .Xresources # loads your complete total set overwriting all The choice of -m or -l depends upon if you want to merge or completely overwrite. For example I remember that with KDE it always wanted to have its own settings elsewhere and so it was always -m "merge" when using KDE. But for example with fvwm where the user controls everything then -l "load" and overwrite would be appropriate. > I use a traditional PS/2 mouse. It has two, and only two, mouse > buttons. It has no thumbwheel. You said two mouse buttons. In which case the default is to simulate the middle button by pressing both left and right simultaneously. X emulates the three button mouse through the two button interface. In the old /etc/X11/xorg.conf file this would have had this option in the mouse section. Option "Emulate3Buttons" "on" It is possible that one of the problems is the middle button emulation isn't working correctly. Bob signature.asc Description: Digital signature