74

Cool KDE Plasma trick: [Meta] + [v]

You know how you can use [Ctrl] + [v] to paste in place the last thing you copied to the clipboard, right?

A cool and productive-enhancing variant of that available in #KDE 's #Plasma desktop is that, when copying and pasting a lot of different things, you can hold down the [Meta] ("Windows") key and hit [v], and a list of all the elements available on the clipboard will pop up so you can choose what to paste next.

@kde

all 32 comments
sorted by: hot top controversial new old
[-] tun@lemm.ee 7 points 1 year ago

Cool! No need for separate clipboard manager (unless you need more advanced features).

[-] Bro666@social.tchncs.de 5 points 1 year ago

@tun

Well... the clipboard manager is still necessary 😬 , except you don't have to go looking for it in the system tray or wherever you put it*.

And you can do everything without lifting your fingers off the keyboard!

---
* You can hide it and unclutter the tray!

[-] tun@lemm.ee 1 points 1 year ago

I use clipman in Xfce and bind a keyboard shortcut to popup the menu (my case Ctrl+alt+k).

Recently I add CB (the clipboard project) to my tools to management clipboard.

[-] kunalagrawal@mastodon.social -2 points 1 year ago

@tun @Bro666 i hate the fact that we can't dlt items while in this mode and can't preview images.

CopyQ allows so much more.

[-] tun@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

I tried many and settled for Xfce clipman (fit my need, low RAM usage).

And I use KDE clipboard applet in KDE.

Edit: Added KDE counterpart.

[-] Nuuskis@fosstodon.org 5 points 1 year ago

@Bro666 @kde Is there a logical explanation why the clipboard history doesn't automatically paste the text into the last cursor position?

[-] Bro666@social.tchncs.de 5 points 1 year ago

@Nuuskis @kde

I don't know. So you don't accidentally paste something you didn't intend to? No idea. Sounds like a good wishlist thing to post to

https://bugs.kde.org

I agree that pasting the selected item right away would make the feature even more useful.

[-] tubbadu@lemmy.kde.social 2 points 1 year ago

On wayland this would be pretty difficult to implement (CopyQ for example does this only on X11). I'm currently working on an enhanced version of the klipboard widget, that should trigger a "fake" paste shortcut after the selection

[-] Nuuskis@fosstodon.org 2 points 1 year ago

@tubbadu Thanks for the explanation! I had no clue it'd be related to compositor at all.

[-] riskable@programming.dev 1 points 1 year ago* (last edited 1 year ago)

It's a configurable option in Klipper (which is the process that's handling the clipboard in this video). You can access klipper in your system tray and if you right click on it one of the options lets you open up the settings (it's also somewhere in system settings I think but I always just get there via the system tray icon).

You can also configure how many entries it'll remember, whether it should pop up at the mouse cursor position, and set up regular expressions to recognize certain types of text (e.g. URLs) to perform specific actions.

[-] DevlightOfficial@mastodon.ml 5 points 1 year ago
[-] honze_net@infosec.exchange 3 points 1 year ago
[-] pacjo@lemmy.dbzer0.com 1 points 1 year ago

Try this and change shortcut to Meta+V. Doesn't have the same look and feel as the KDE one (it also pastes on select, but I think this can be turned off)

[-] CdnCurmudgeon@mastodon.social 2 points 1 year ago

@Bro666 @kde
Yes, but as I recall, you need to turn the history feature on first using Win-v, otherwise only the last item remains in memory.

[-] Sina@beehaw.org 2 points 1 year ago

While this is very cool, I would never turn on clipboard history.

[-] sozialwelten@ifwo.eu 2 points 1 year ago

@Bro666 Thank you. I am actually using this feature right now. I had no idea that this exists :)

@kde

[-] ticktok@fosstodon.org 2 points 1 year ago

@Bro666 @kde oh sweet. thanks for sharing. That is super useful!

[-] Strit@lemmy.linuxuserspace.show 2 points 1 year ago

Today I Learned. Thank you.

[-] hirad@m.hirad.it 2 points 1 year ago

@Bro666
One of my favorite features. I use it all the time.
@kde

[-] rgarcia@mstdn.mx 1 points 1 year ago

@Bro666 @kde I love emacs' kill ring.

[-] ArneBab@rollenspiel.social 1 points 1 year ago

@Bro666 that’s like Meta-y in Emacs with the right mode (browse the kill ring) — very cool! @kde

[-] mamus@fosstodon.org 1 points 1 year ago

@Bro666 @kde daamn, that's cool

[-] Jae@lemmy.kde.social 1 points 1 year ago

Thank you! Nice to know. I'm all about making my workflow quick / efficient, and KDE is so great for doing so!

[-] bart@mastodon.fam-ribbers.com 0 points 1 year ago

@Bro666 @kde Eh, that shortcut does nothing for me and I don't see any relevant (unassigned) shortcut in system settings. With Plasma 5.27.8, what am I missing?

[-] Bro666@social.tchncs.de 1 points 1 year ago

@bart @kde

Maybe check the clipboard's settings?

Right click on the clipboard icon in your system tray, select "Configure Clipboard..." and check the "Shortcuts" tab (see screenshot).

[-] bart@mastodon.fam-ribbers.com 1 points 1 year ago

@Bro666 @kde Ah there you go, it was unassigned. I've set it to the default now and it works great, that makes the clipboard so much more useful! Previously I was manually moving my mouse to click on the tray icon, it was quite inefficient.

Thanks!

[-] Bro666@social.tchncs.de 1 points 1 year ago

@bart @kde

It is one of those Plasma things, isn't it? So much stuff can be configured and tweaked that it is often hard to find where it is you can do the configuring.

[-] bart@mastodon.fam-ribbers.com 1 points 1 year ago

@Bro666 @kde Definitely. In this case I expected it in the shortcuts KCM in system settings but it's just not there. It probably should be though.

[-] Bro666@social.tchncs.de 1 points 1 year ago* (last edited 1 year ago)

@bart @kde

It's a bit of a tough call. The "standard" clipboard is a widget, it does seem to be an integral part of Plasma, but the limits between what is Plasma and what is not are a bit hazy.

My guess is that, back in the day, the clipboard was an "independent" widget and this is a leftover from that.

But, you are right: the configure option for the notifications widget opens Plasma Settings, as does the network widget. It does not make much sense that the clipboard be different.

[-] Bro666@social.tchncs.de 1 points 1 year ago

@bart @kde

Either way, a well-placed merge request here:

https://invent.kde.org/plasma/plasma-workspace/-/tree/master/applets/clipboard

will probably solve that.

this post was submitted on 08 Oct 2023
74 points (98.7% liked)

KDE

5120 readers
95 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS