This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to cancle cutting-mode in Dolphin?

Tags: None
(comma "," separated)
philippv
Registered Member
Posts
13
Karma
0
Hello,

does anyone know, how to do that?

If cut a file or folder in Dolphin in order to paste it somewhere else and suddenly realize that I don't want to do that any more, I don't see any way to stop the cutting-mode except copying/cutting something else or pasting it and renaming it.

Thanks in advance,
doublerainbow64
User avatar
google01103
Manager
Posts
6668
Karma
25
this command, a bit extreme, will clear the entire clipboard history and the "paste file" will be grayed out
Code: Select all
qdbus org.kde.klipper /klipper clearClipboardHistory


the following I'm guessing should work for just the current entry in the clipboard but it doesn't in my tests, no error is given but the nothing seems to happen
Code: Select all
qdbus org.kde.klipper /klipper clearClipboardContents


this command sets current to a space but doesn't clear the "paste file" from being enabled in right click just changes the selected file to a space
Code: Select all
 qdbus org.kde.klipper /klipper setClipboardContents  " "


OpenSuse Leap 42.1 x64, Plasma 5.x

philippv
Registered Member
Posts
13
Karma
0
I think, this is a very basic function and it should be made easier to access. Don't you agree?
User avatar
google01103
Manager
Posts
6668
Karma
25
I think it would be an appropriate option in configure klipper -> shortcuts

if you think this is needed you should open a brainstorm thread to demonstrate that there are others who also feel the same

did the clearClipboarContents not work for you also? if you works I would think you could create your own shortcut in systemsettings


OpenSuse Leap 42.1 x64, Plasma 5.x

philippv
Registered Member
Posts
13
Karma
0
I think, I'll do that, open a brainstorm thread.

However, the command google01103 mentioned, does not work for me. In fact, on applying the cmd, in Dolphin the file is unhighlighted for a second and then it's highlighted again and it stays in the clipboard.
User avatar
google01103
Manager
Posts
6668
Karma
25
you can also use xclip to set the current clipboard contents to null, it won't disable the "paste file" option but nothing will happen if you inadvertently click paste
Code: Select all
xclip -i /dev/null


OpenSuse Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]