Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Shift insert Firefox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
isilia
Apprentice
Apprentice


Joined: 25 Feb 2008
Posts: 177

PostPosted: Wed Dec 31, 2008 4:57 am    Post subject: Shift insert Firefox Reply with quote

Hello, I've been trying to get shift insert to work in Firefox, to my knowledge this is not possible from within firefox. Is this is indeed true? Does anyone know some sort of workaround for this problem? Like binding shift insert to a middle mouse click (okey that sounds a little silly)?
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Wed Dec 31, 2008 5:58 am    Post subject: Reply with quote

You can actually paste within firefox with shift+insert, however it pastes from the gtk+ clipboard rather than X11's.

I'd imagibe there's some way to work around it, but I have no idea how, and it may be a gtk+ thing rather than a firefox one...
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
jmz2
Guru
Guru


Joined: 13 Jan 2004
Posts: 421
Location: Finland

PostPosted: Wed Dec 31, 2008 9:08 am    Post subject: Reply with quote

Hopeless wrote:
You can actually paste within firefox with shift+insert, however it pastes from the gtk+ clipboard rather than X11's.

I'd imagibe there's some way to work around it, but I have no idea how, and it may be a gtk+ thing rather than a firefox one...


All GNOME/GTK apps paste from GTK clipboard on shift+insert, with the exception of the terminal.
Back to top
View user's profile Send private message
pdw_hu
Apprentice
Apprentice


Joined: 02 Jun 2008
Posts: 200
Location: Budapest, Hungary

PostPosted: Wed Dec 31, 2008 10:17 am    Post subject: Reply with quote

And you can just paste into FF with the middle mouse button :)
Back to top
View user's profile Send private message
isilia
Apprentice
Apprentice


Joined: 25 Feb 2008
Posts: 177

PostPosted: Wed Dec 31, 2008 5:05 pm    Post subject: Reply with quote

pdw_hu wrote:
And you can just paste into FF with the middle mouse button :)


Yes, but as I use my keyboard most of the time I would have to reach out to my mouse in order to paste, which is rather annoying.

Hopeless wrote:
You can actually paste within firefox with shift+insert, however it pastes from the gtk+ clipboard rather than X11's.

I'd imagibe there's some way to work around it, but I have no idea how, and it may be a gtk+ thing rather than a firefox one...


I'll google some to see if I can bind the gtk+ clipboard to the X11 one somehow.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Wed Dec 31, 2008 5:09 pm    Post subject: Reply with quote

isilia wrote:
pdw_hu wrote:
And you can just paste into FF with the middle mouse button :)


Yes, but as I use my keyboard most of the time I would have to reach out to my mouse in order to paste, which is rather annoying.

Hopeless wrote:
You can actually paste within firefox with shift+insert, however it pastes from the gtk+ clipboard rather than X11's.

I'd imagibe there's some way to work around it, but I have no idea how, and it may be a gtk+ thing rather than a firefox one...


I'll google some to see if I can bind the gtk+ clipboard to the X11 one somehow.
Please post here if you have any luck, I mostly use console apps so would much prefer to have use of the X11 clipboard over gtk+'s.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
isilia
Apprentice
Apprentice


Joined: 25 Feb 2008
Posts: 177

PostPosted: Wed Dec 31, 2008 5:25 pm    Post subject: Reply with quote

Parcellite (which is in portage) does half the job. You can select a bit of text and it will save it to the clipboard's history, but you first have to select what you want to paste before you can actually paste it with shift insert. So if it would automatically have you paste the last bit of text you selected it would work like I want it to.

The only other packages that seem to have the same functionality are klipper and glipper, but they depend on kde and gnome respectively.
Back to top
View user's profile Send private message
Azrathud
n00b
n00b


Joined: 16 Jul 2012
Posts: 1

PostPosted: Mon Jul 16, 2012 6:09 am    Post subject: Reply with quote

I know this is a old post, but for googlers(me), parcellite is awesome for synchronizing clipboards if you select some options.
First, you may need trayer to access parcellite because a lot of tiling WMs don't have a desktop 'tray' by default.
Code:
emerge parcellite trayer


Start trayer and parcellite by typing their respective names
Code:
trayer &; parcellite &

Right click The clipboard icon it creates, and check (1)Use Primary (selection)
and (2) syncronize clipboards.
Then
Code:
killall trayer

You don't need trayer anymore.

To make parcellite start when you start X, add it to your ~/.xinitrc as
Code:
parcellite &
and fork that bad boy to the background, and forget about him. Remember to add the line before you start your WM/DE, or it won't be run.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Fri Jul 20, 2012 3:42 pm    Post subject: Reply with quote

Quote:
And you can just paste into FF with the middle mouse button :)


Not any more you can't , someone has screwed X11 cut and paste in GTK+

GTK+ becomes GTK- and anything based on it gets worse and worse.

Between those trying to make linux like windoze and those trying to make it into a Mac clone, we are loosing all that was good and special in Linux.
:twisted:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Jul 20, 2012 5:34 pm    Post subject: Reply with quote

Gentree,

I have Firefox-14 currently and the middle button works. Copying from Firefox and pasting to Firefox. Considering your other threads there is something seriously wrong with your box, Firefox is fine.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Fri Jul 20, 2012 5:50 pm    Post subject: Reply with quote

Gentree wrote:
Not any more you can't , someone has screwed X11 cut and paste in GTK+

I had this problem when I had compiled firefox with graphite. Without graphite it worked. However, I do not have installed gtk+:3.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Fri Jul 20, 2012 6:00 pm    Post subject: Reply with quote

Jaglover wrote:
Gentree,

I have Firefox-14 currently and the middle button works. Copying from Firefox and pasting to Firefox. Considering your other threads there is something seriously wrong with your box, Firefox is fine.


I'd agree there are several things wrong with this installation, that is why I am trying to fix it, so far without much concrete advice here.

@mv
thanks, I'll look into that. I was running firefux 3.6 from before when they added a couple of digits to their release numbers. I think this comes from that update.

What does graphite refer to , I don't see it:

[ebuild U ] www-client/firefox-14.0.1 [13.0] USE="alsa bindist dbus ipc jit libnotify minimal startup-notification webm -custom-cflags -custom-optimization -debug -gstreamer% -pgo (-selinux) -system-sqlite -wifi (-crashreporter%)" LINGUAS="en_GB fr -af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km% -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu" 0 kB

thanks for the tip.
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Jul 20, 2012 6:13 pm    Post subject: Reply with quote

You are not using graphite then, unless you blindly copied somebody's CFLAGS. Can you post your emerge --info, please?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Fri Jul 20, 2012 6:17 pm    Post subject: Reply with quote

No, nothing blindly, just emerge.

here's into:


Code:
bash-4.2#emerge --info
Portage 2.1.11.4 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.15-r2, 2.6.32-hh1 i686)
=================================================================
System uname: Linux-2.6.32-hh1-i686-Unknown_CPU_Typ-with-gentoo-2.1
Timestamp of tree: Fri, 20 Jul 2012 11:15:01 +0000
ccache version 3.1.3 [disabled]
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.7-r2, 2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.3
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.3.4, 4.5.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.81-r2
sys-kernel/linux-headers: 2.6.32::x-overlay (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64 -fgnu89-inline"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /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=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64"
DISTDIR="/usr/portage/new/distfiles"DISTDIR="/usr/portage/new/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="  http://gentoo.oregonstate.edu  ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1  -Wl,--as-needed"
LINGUAS="en fr en_GB fr_FR"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/back/tmp"
PORTDIR="/usr/portage/new"
PORTDIR_OVERLAY="/usr/portage/overlay"
SYNC="rsync://rsync.gentoo.stealer.net/gentoo-portage"
USE="3dnow X a52 aac acl acpi acpi4linux aiglx alsa apache2 bindist branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus directfb dri dts dvd dvdr dvdread emboss encode exif fam fbcon fbdev ffmpeg fftw firefox flac fontconfig foomaticdb fortran g3dvl gallium gdbm gif gimp gpm gtk gtk2 iconv imlib joystick jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap mysql nas ncurses network nls nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf perl php png policykit ppds pppd python qt3support qt4 readline rtc samba sdl session slang sms spell sse ssl startup-notification svg svga tcltk tcpd threads tiff truetype udev udisks unicode upower usb userlocales vesa vorbis wxwidgets x264 x86 xcb xml xorg xv xvid xvmc zlib" ALSA_CARDS="ens1371 cmipci es1938" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2 fuji panasonic canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr en_GB fr_FR" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia 3dfx nv vesa vesafb" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



thx
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum