Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

copy paste to/from xterm with middle mouse button

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
10B2
n00b
n00b
Posts: 65
Joined: Tue May 28, 2013 9:32 am

copy paste to/from xterm with middle mouse button

  • Quote

Post by 10B2 » Fri Mar 17, 2017 11:59 am

Hi, have fluxbox and xterm. After the system update cannot anymore copy/paste to/from xterm with middle mouse. Which is the way to achieve this again, possibly without restarting x server?
Top
Schnulli
Guru
Guru
Posts: 320
Joined: Fri Jun 25, 2010 11:56 am
Location: Bremen DE

  • Quote

Post by Schnulli » Sat Mar 18, 2017 12:12 am

use another terminal app.. thats it
not all allow to copy/paste
Top
10B2
n00b
n00b
Posts: 65
Joined: Tue May 28, 2013 9:32 am

  • Quote

Post by 10B2 » Mon Mar 20, 2017 9:36 am

it worked perfectly fine before the update...has this to do with xorg.conf? Xresources? What else?
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Mar 21, 2017 1:07 am

Middle-mouse paste still works for me in xterm here. Please qualify "after the system update." What is the output of emerge --info list-of-recently-updated-packages?
Top
10B2
n00b
n00b
Posts: 65
Joined: Tue May 28, 2013 9:32 am

  • Quote

Post by 10B2 » Tue Mar 21, 2017 8:49 am

Code: Select all

emerge --info

Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r3, 4.9.6-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.3
KiB Mem: 8041448 total, 4081012 free
KiB Swap: 8388604 total, 8388604 free
Timestamp of repository gentoo: Fri, 17 Feb 2017 00:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p48-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.22.3_rc4::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake: 3.7.2::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.22.4::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 4.8.3::gentoo, 4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r3::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

dlang
location: /var/lib/layman/dlang
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://www.gentoo.org/proj/en/overlays/repositories.xml ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/ mirror.qubenet/mirror/gentoo http://www.mirrorservice.org/sites/distfiles.gentoo.org/ rsync://mirror.mcs.anl.gov/pub/gentoo/ "
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow X \ a52 aac acl acpi alsa amd64 ao berkdb bindist bluetooth branding bzip2 c++11 cairo calendar cdda cdr cjk cleartype cli corefonts cracklib crypt cups cxx dbus device-mapper djvu dri dts dvd dvdr emacs emboss encode exif fam fbcom ffmpeg firefox flac fontconfig fortran ftp gdbm ghostscript gif gimp git glamor gnuplot gpm gsl gstreamer gtk gtk3 gudev hal hddtemp iconv ipv6 javascript jpeg kerbedos latex lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mpi multilib ncurses net nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pcrereadline pdf png policykit postscript ppds profile pulseaudio python qt3support
qt4 qt5 readline samba scsi sdl seccomp session skype smp spell sse sse2 ssl startup-notification svg systemd tcpd tif tiff truetype type1 udev udisks unicode upower usb v41 v412 vorbis wxwidgets x264 xattr xcb xcomposite xemacs xml xorg xps xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel fbdev virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
+++++++++++++++++++++++++++++++++++++++++++++++++++

Code: Select all


genlop -l --date 2017/03/01
 * packages merged:

     Wed Mar 15 10:36:25 2017 >>> dev-qt/qtcore-5.7.1
     Wed Mar 15 11:30:33 2017 >>> dev-qt/qtcore-4.8.6-r2
     Wed Mar 15 11:36:26 2017 >>> dev-qt/qtcore-5.6.2-r1
     Wed Mar 15 11:36:46 2017 >>> dev-qt/qtxml-5.6.2
     Wed Mar 15 11:37:39 2017 >>> dev-qt/linguist-tools-5.6.2
     Wed Mar 15 11:38:14 2017 >>> kde-frameworks/kconfig-5.29.0
     Wed Mar 15 11:40:23 2017 >>> kde-frameworks/solid-5.29.0
     Wed Mar 15 11:40:56 2017 >>> dev-libs/libattica-0.4.2
     Wed Mar 15 11:46:53 2017 >>> dev-qt/designer-5.6.2
     Wed Mar 15 11:47:01 2017 >>> dev-util/automoc-0.9.88-r1
     Wed Mar 15 12:08:16 2017 >>> dev-python/PyQt5-5.5.1
     Wed Mar 15 12:08:43 2017 >>> kde-frameworks/kunitconversion-5.29.0
     Wed Mar 15 12:09:35 2017 >>> kde-frameworks/kservice-5.29.0
     Wed Mar 15 12:09:55 2017 >>> kde-frameworks/kemoticons-5.29.0
     Wed Mar 15 12:11:19 2017 >>> app-text/poppler-0.45.0
     Wed Mar 15 12:13:30 2017 >>> app-emulation/q4wine-1.3.1
     Fri Mar 17 10:43:39 2017 >>> x11-apps/xmodmap-1.0.9
     Fri Mar 17 10:49:04 2017 >>> x11-misc/parcellite-1.1.9
     Fri Mar 17 10:53:45 2017 >>> x11-terms/xterm-325
     Mon Mar 20 10:06:38 2017 >>> app-text/wgetpaste-2.28
     Mon Mar 20 14:10:42 2017 >>> dev-libs/quazip-0.7.2-r1
     Mon Mar 20 14:18:28 2017 >>> app-office/texstudio-2.11.2-r1
     Mon Mar 20 14:25:24 2017 >>> app-office/texstudio-2.11.2-r1
     Mon Mar 20 15:47:24 2017 >>> dev-util/mdds-1.2.2
A major update occurred before March anyway (in January the list is very long)

[Moderator edit: added

Code: Select all

 tags to preserve output layout. -Hu][/color][/i]
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Thu Mar 23, 2017 9:41 pm

Just as clarification, are you saying you can't select and paste back into the same xterm?

Does the middle button still give events? You can try xev and see if middle button still works, or if it works on other applications?

Also, as you seem to have kde, just want to make sure you're working with specifically xterm and not vte or something like that?

Cutting and pasting into other applications is a different issue, usually having compatible toolkits will allow interchange. Perhaps the other program's toolkit changed if you're having issues copying/pasting into another program. xorg.conf is only read during X11 startup so if you don't want and didn't restart X, this file isn't the problem.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
_Nomad_
Guru
Guru
User avatar
Posts: 571
Joined: Fri Apr 11, 2003 12:22 pm

  • Quote

Post by _Nomad_ » Thu Mar 23, 2017 10:11 pm

Do you have

Code: Select all

XTerm*selectToClipboard: true

in your .Xresources?
Top
10B2
n00b
n00b
Posts: 65
Joined: Tue May 28, 2013 9:32 am

  • Quote

Post by 10B2 » Fri Mar 24, 2017 9:32 am

Hi, added 'Xterm*rightScrollBar: true' to .Xresources. Seems to me that already tried it, but no result. For instance, also have 'Xterm*rightScrollBar: true' but the xterminal does not show off the scrollbar by default...Can I load Xresources without starting the xserver again?
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

  • Quote

Post by khayyam » Fri Mar 24, 2017 10:05 am

10B2 wrote:Hi, added 'Xterm*rightScrollBar: true' to .Xresources. Seems to me that already tried it, but no result. For instance, also have 'Xterm*rightScrollBar: true' but the xterminal does not show off the scrollbar by default...Can I load Xresources without starting the xserver again?
10B2 ... yes:

Code: Select all

$ xrdb -load ~/.Xresources
By the sounds of it you aren't doing the same in ~/.xinitrc

best ... khay
Top
10B2
n00b
n00b
Posts: 65
Joined: Tue May 28, 2013 9:32 am

  • Quote

Post by 10B2 » Fri Mar 24, 2017 10:17 am

sorry for bit of confusion:

This is my .Xresources:

+++++

Xft.dpi: 125
Xterm*scrollBar: true
Xterm*rightScrollBar: true
XTerm*selectToClipboard: true

+++++

Not sure if proceeding correctly:

- opened an xterm in my workspace
- xrdb -load ~/.Xresources
- xterm to open a new terminal
- no scrollbar, no mouse copy-paste

I can copy to clipboard by selecting text in xterm with right mouse, I can copy it e.g. in this window (firefox) or in a text file, but cannot copy it in an xterminal, which would be what I want.
Top
10B2
n00b
n00b
Posts: 65
Joined: Tue May 28, 2013 9:32 am

  • Quote

Post by 10B2 » Fri Mar 24, 2017 10:34 am

... can copy to clipboard by selecting text in xterm with right mouse, I can paste it e.g. in this window (firefox) or in a text file, but cannot paste it in an xterminal, which would be what I want.
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

  • Quote

Post by khayyam » Sat Mar 25, 2017 2:26 am

10B2 wrote:- opened an xterm in my workspace
- xrdb -load ~/.Xresources
- xterm to open a new terminal
- no scrollbar, no mouse copy-paste
10B2 ... and you see the values from .Xresources in 'xrdb -query -all'?
10B2 wrote:... can copy to clipboard by selecting text in xterm with right mouse, I can paste it e.g. in this window (firefox) or in a text file, but cannot paste it in an xterminal, which would be what I want.
When you use the term "xterm", and then "xterminal", I'm lead to think this may not be x11-terms/xterm ... we are talking about 'xterm' and not any number of other x11-terms/*?

best ... khay
Top
10B2
n00b
n00b
Posts: 65
Joined: Tue May 28, 2013 9:32 am

  • Quote

Post by 10B2 » Mon Apr 10, 2017 2:45 pm

It's xterm-325:

equery l xterm
* Searching for xterm ...
[IP-] [ ] x11-terms/xterm-325:0

then, when xrdb -query -all

...
...
...

XTerm*selectToClipboard: true
Xft.dpi: 125
Xterm*rightScrollBar: true
Xterm*scrollBar: true

As for instance, I can select the previous lines from my xterm window and paste them into this box. What I would also like to do is pasting in xterm window with the mouse.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Mon Apr 10, 2017 5:51 pm

So when copying from firefox to xterm doesn't work but the other way around does?
What if you select, Edit->Copy instead of just selecting, and then pasting?

Want to be clear, this is the behavior you're seeing? :

Code: Select all

FROM \ TO--XTERM FIREFOX
Xterm       YES      YES
Firefox     NO       YES
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
Post Reply

14 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic