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

KDE

5313 readers
140 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
 

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
[–] [email protected] 7 points 1 year ago (2 children)

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

[–] [email protected] 5 points 1 year ago (1 children)

@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!

[–] [email protected] 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.

[–] [email protected] -2 points 1 year ago (1 children)

@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.

[–] [email protected] 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.

[–] [email protected] 5 points 1 year ago
[–] [email protected] 5 points 1 year ago (3 children)

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

[–] [email protected] 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.

[–] riskable 3 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.

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago

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

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 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)

[–] [email protected] 2 points 1 year ago

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

[–] [email protected] 2 points 1 year ago

Today I Learned. Thank you.

[–] [email protected] 2 points 1 year ago

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

[–] [email protected] 2 points 1 year ago

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

[–] [email protected] 2 points 1 year ago (1 children)

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

@kde

[–] [email protected] 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.

[–] [email protected] 1 points 1 year ago

@Bro666 @kde I love emacs' kill ring.

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 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!

[–] [email protected] 1 points 1 year ago

@Bro666 @kde daamn, that's cool

[–] [email protected] 0 points 1 year ago (1 children)

@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?

[–] [email protected] 1 points 1 year ago (1 children)

@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).

[–] [email protected] 1 points 1 year ago (1 children)

@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!

[–] [email protected] 1 points 1 year ago (1 children)

@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.

[–] [email protected] 1 points 1 year ago (1 children)

@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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

@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.

[–] [email protected] 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.