Middle click paste in XFCE? <>SOLVED>
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Middle click paste in XFCE? <>SOLVED>
I recently installed Mint 17.1 XFCE on an older computer for a friend of mine. This is my first experience with XFCE, and I notice there seems to be one thing missing: using the middle button, or both left and right buttons simultaneously, to paste text. I looked through the Settings, but couldn't find anything to enable this. Will XFCE even do this?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
Re: Middle click paste in XFCE?
It's an X11 feature, with works on all desktop environments. If it's not working, that's either because mouse is kaput or because you've used xmodmap or similar to remap mouse buttons. Perhaps there can be another reason.
You could test if the button is working correctly with xev:
Or a little easier by limiting output:
When I click left, middle, right (button 1, 2, 3) in the test window this is the output of that command:
You could test if the button is working correctly with xev:
Code: Select all
xev
Code: Select all
xev | grep -A 2 ButtonPress
Code: Select all
ButtonPress event, serial 36, synthetic NO, window 0x1a00001,
root 0xa3, subw 0x0, time 1695877, (72,96), root:(112,201),
state 0x0, button 1, same_screen YES
--
ButtonPress event, serial 36, synthetic NO, window 0x1a00001,
root 0xa3, subw 0x0, time 1696538, (72,96), root:(112,201),
state 0x0, button 2, same_screen YES
--
ButtonPress event, serial 36, synthetic NO, window 0x1a00001,
root 0xa3, subw 0x0, time 1696988, (72,96), root:(112,201),
state 0x0, button 3, same_screen YES
--
Re: Middle click paste in XFCE?
Nope, haven't used xmodmap. (Never heard of xmodmap until now.) The mouse works fine for everything else, and it all checks out in xev. It just doesn't work to paste text.
...
Hmmm. Just tried it again, and it worked. Well, middle click worked, but both left and right buttons simultaneously doesn't work. I wonder what is going on?
...
Hmmm. Just tried it again, and it worked. Well, middle click worked, but both left and right buttons simultaneously doesn't work. I wonder what is going on?
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
Re: Middle click paste in XFCE?
Middle click emulation with left+right click is probably configurable somewhere in Xfce settings. I don't think that would be enabled by default if you have a physical middle button/clickwheel.
Re: Middle click paste in XFCE?
I have no solution, but i have tried that in my LM 17.1 Xfce :
Middle click pastes, but left and right click have no effect.
I have'nt changed anything in the configuration.
Middle click pastes, but left and right click have no effect.
I have'nt changed anything in the configuration.
Re: Middle click paste in XFCE?
LM 17 Qiana Xfce here, and I can highlight text with a left mouse drag, and a middle-click pastes the highlighted text to another location as expected.
Re: Middle click paste in XFCE?
You should have a setting called "Emulate middle click by clicking both left and right buttons" in your settings. I have Linux Mint 17.1 Cinnamon, and I can find it under "Mouse and Touchpad".Gerapa wrote:I have no solution, but i have tried that in my LM 17.1 Xfce :
Middle click pastes, but left and right click have no effect.
I have'nt changed anything in the configuration.
I wish I could trade the middle-mouse-paste behavior for just having universal scroll everywhere, lol.
Re: Middle click paste in XFCE?
Thanks for your tip, but Xfce doesn't have that setting.Wiikend wrote:You should have a setting called "Emulate middle click by clicking both left and right buttons" in your settings. I have Linux Mint 17.1 Cinnamon, and I can find it under "Mouse and Touchpad".
-
- Level 6
- Posts: 1491
- Joined: Fri Feb 22, 2013 5:18 pm
- Location: United States
Re: Middle click paste in XFCE?
I've never encountered such a setting, but have always assumed it to be enabled by default (as it appears to have been on the laptops/distros I've used since I found out about it a few years ago).xenopeek wrote:Middle click emulation with left+right click is probably configurable somewhere in Xfce settings. I don't think that would be enabled by default if you have a physical middle button/clickwheel.
Might this be something that depends on the application/situation? If I "middle-click" (tap both buttons at the same time) on my desktop, it opens the workspace switcher(?) menu. If I do the same on a link on a web page (or my bookmarks list) in Firefox, it opens the link in a new tab. OtOH, if I have previously copied some bit of text and "middle-click" in Firefox's address bar, it pastes the text. But when I did so just now in this message entry box, nothing happened. Nothing happens when I do it in gedit, either.
Regards,
MDM
Mint 18 Xfce 4.12.
If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
Re: Middle click paste in XFCE?
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan