
Copy File Name
Source (link to git-repo or to original if based on someone elses unmodified work):
Description:
A helper tool to easily copy a file or directory name. No matter how long or complicated it is. No more typing by hand. Last changelog:
v0.2
* Updated copy logic as per simonbcn comment (thanks for the suggestion)
* Updated the description.
Ratings & Comments
5 Comments
9 So simple, but usefull improovement. Not sure, if it is qdbus6 on many systems. KDE neon e.g. has qdbus only. Some have qdbus-qtX instead. dbus-send might be an alternative.
A better way would be: .... Exec=qdbus6 org.kde.klipper /klipper setClipboardContents "$(basename %f)";
6 A better way would be to copy directly to the KDE clipboard (Klipper): ``` Exec=qdbus6 org.kde.klipper /klipper setClipboardContents "$(basename %f)"; ```
10 Just what I needed. Thank you very much!
10 10 the best