Using paste function from a clipboard manager while renaming a file using a file managerIs there a clipboard...
Why not use SQL instead of GraphQL?
Modeling an IPv4 Address
Dragon forelimb placement
Why Is Death Allowed In the Matrix?
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
Font hinting is lost in Chrome-like browsers (for some languages )
Is it legal for company to use my work email to pretend I still work there?
Languages that we cannot (dis)prove to be Context-Free
What would happen to a modern skyscraper if it rains micro blackholes?
Email Account under attack (really) - anything I can do?
What is the word for reserving something for yourself before others do?
How do I create uniquely male characters?
Arthur Somervell: 1000 Exercises - Meaning of this notation
Can I make popcorn with any corn?
Can divisibility rules for digits be generalized to sum of digits
Watching something be written to a file live with tail
TGV timetables / schedules?
Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?
Why, historically, did Gödel think CH was false?
LaTeX closing $ signs makes cursor jump
I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine
How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?
tikz: show 0 at the axis origin
"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"
Using paste function from a clipboard manager while renaming a file using a file manager
Is there a clipboard manager with Paste All functionality?Reliable clipboard managerClipboard manager for 12.04 UnityClipboard manager with “history paste” support?Clipboard manager with favorites feature?Mouseless Clipboard ManagerUbuntu 14.04 Clipboard Manager?Paste as plain text using a clipboard managerF2 rename shortcut stopped working on KDE 5 Plasma desktopproblem with unwanted Klipper (or other) keyboard shortcut
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am using KDE Plasma 5.12.7 on Kubuntu 18.04 (for details of my system configuration, see below).
I would like a clipboard manager and a file manager that would together allow me to rename files, where I would build a single new filename by combining several items from the clipboard history. I would like to be able to do it within the file manager (while it is in its 'rename' mode) through using global shortcuts that directly paste the individual items from the clipboard history onto the blank filename. (By this last bit, I'm referring to what you get when, in a file manager, you right-click a file and select 'rename'.)
This comes up when I try to rename a downloaded article into something like e.g. 'Smith and Williams A new algorithm for matrix multiplication J Num Math 45 897-903 2004.pdf'. I usually have to copy the last name of each author separately, each line of the title (if it's long) separately, etc., so that all those things become items in the clipboard history.
In other words, I would like the following functionality:
- Copy at least 10 items onto the clipboard history, e.g. item 0 is 'Smith', item 1 is 'Williams', item 2 is 'A new algorithm for matrix multiplication', item 3 is 'J', item 4 is 'Num', item 5 is 'Math', item 6 is '45', etc.
- I should be able to paste these items via global shortcuts. For example, meta+shift+1 pastes 'Smith', meta+shift+2 pastes 'Williams', etc.
- I should be able to use these shortcuts while renaming a filename within the file manager. So e.g. in Dolphin, I would highlight the file I wish to rename, press f2 (which invokes the 'rename' function), delete the old filename, and then rename the file into 'Smith and Williams A new algorithm for matrix multiplication J Num Math 45 897-903 2004.pdf' by pressing meta+shift+1, then typing ' and ', then meta+shift+2, then typing ' ' (i.e. just ordinary space), then meta+shift+3, etc.
I should mention that I was able, for a while, to have this functionality in Windows 7, using the standard Explorer file manager and a clipboard manager called Ditto.
Under kubuntu+KDE Plasma, the only clipboard manager that I've been able to find that in principle allows for something like this functionality is CopyQ. I wrote new commands, with appropriate global shortcuts, that look like this:
the first global shortcut, meta+shift+1, executes
copyq:
select(0)
paste()
the second global shortcut, meta+shift+1, executes
copyq:
select(1)
paste()
and so on.
This works as expected inside text editors, e.g. Kate.
However, it does not work when I try to rename a file within Dolphin. What happens instead is that when the global shortcut is pressed, Dolphin exits the renaming mode and... actually, it's not clear what it does next. Sometimes it leaves the filename as it was, sometimes it prompts me with 'Filename for clipboard content'. Sometimes it apparently simply deletes the file I was trying to rename (without moving it to trash, which is kind of disturbing).
I tried using two other file managers, Krusader and Konqueror, but they also did not support this functionality in combination with CopyQ. The problem is the same as with Dolphin: when I try to use the global shortcut, they just exit the filename renaming mode and leave the old filename intact.
Another clipboard manager that comes close to what I want is Klipper. The main problem is that with Klipper, there don't seem to be global shortcuts that directly access the items on the clipboard history. What I was able to do instead is this: in system settings-> workspace->shortcuts->Global shortcuts->Plasma, I assigned shortcuts to 'Next history item' and 'Previous history item'. I can use those to cycle through the clipboard, and use ctrl+v (or sometimes the middle button) as usual to paste them. This is not exactly what I want, but I could accept it if it worked for the purposes of file renaming. However, once again, while this sort of cycling through the clipboard history plus ctrl+v works fine within text editors, it does not work within file managers: as soon as a global shortcut is pressed, the file manager exits the renaming functionality.
It is true that I could use these two clipboard managers on the command line (in Konsole). I can indeed use the cp command and then build the new filename on the command line using shortcuts, which do work inside Konsole. But I want to be able to do it within a file manager.
Does anyone have any ideas about how I might be able to have the functionality I described? Is there no way to use global shortcuts within the renaming function of a file manager?
I did a lot of googling, but found nothing.
Here are the versions of the various components of my system:
kubuntu 18.04
KDE Plasma Version 5.12.7
KDE Frameworks: 5.44.0
Qt: 5.9.5
kernel version: 4.18.0-17-generic
machine: Dell Precision M4800 (which is a 64 bit machine)
kubuntu shortcut-keys dolphin plasma-5 clipboard-manager
New contributor
add a comment |
I am using KDE Plasma 5.12.7 on Kubuntu 18.04 (for details of my system configuration, see below).
I would like a clipboard manager and a file manager that would together allow me to rename files, where I would build a single new filename by combining several items from the clipboard history. I would like to be able to do it within the file manager (while it is in its 'rename' mode) through using global shortcuts that directly paste the individual items from the clipboard history onto the blank filename. (By this last bit, I'm referring to what you get when, in a file manager, you right-click a file and select 'rename'.)
This comes up when I try to rename a downloaded article into something like e.g. 'Smith and Williams A new algorithm for matrix multiplication J Num Math 45 897-903 2004.pdf'. I usually have to copy the last name of each author separately, each line of the title (if it's long) separately, etc., so that all those things become items in the clipboard history.
In other words, I would like the following functionality:
- Copy at least 10 items onto the clipboard history, e.g. item 0 is 'Smith', item 1 is 'Williams', item 2 is 'A new algorithm for matrix multiplication', item 3 is 'J', item 4 is 'Num', item 5 is 'Math', item 6 is '45', etc.
- I should be able to paste these items via global shortcuts. For example, meta+shift+1 pastes 'Smith', meta+shift+2 pastes 'Williams', etc.
- I should be able to use these shortcuts while renaming a filename within the file manager. So e.g. in Dolphin, I would highlight the file I wish to rename, press f2 (which invokes the 'rename' function), delete the old filename, and then rename the file into 'Smith and Williams A new algorithm for matrix multiplication J Num Math 45 897-903 2004.pdf' by pressing meta+shift+1, then typing ' and ', then meta+shift+2, then typing ' ' (i.e. just ordinary space), then meta+shift+3, etc.
I should mention that I was able, for a while, to have this functionality in Windows 7, using the standard Explorer file manager and a clipboard manager called Ditto.
Under kubuntu+KDE Plasma, the only clipboard manager that I've been able to find that in principle allows for something like this functionality is CopyQ. I wrote new commands, with appropriate global shortcuts, that look like this:
the first global shortcut, meta+shift+1, executes
copyq:
select(0)
paste()
the second global shortcut, meta+shift+1, executes
copyq:
select(1)
paste()
and so on.
This works as expected inside text editors, e.g. Kate.
However, it does not work when I try to rename a file within Dolphin. What happens instead is that when the global shortcut is pressed, Dolphin exits the renaming mode and... actually, it's not clear what it does next. Sometimes it leaves the filename as it was, sometimes it prompts me with 'Filename for clipboard content'. Sometimes it apparently simply deletes the file I was trying to rename (without moving it to trash, which is kind of disturbing).
I tried using two other file managers, Krusader and Konqueror, but they also did not support this functionality in combination with CopyQ. The problem is the same as with Dolphin: when I try to use the global shortcut, they just exit the filename renaming mode and leave the old filename intact.
Another clipboard manager that comes close to what I want is Klipper. The main problem is that with Klipper, there don't seem to be global shortcuts that directly access the items on the clipboard history. What I was able to do instead is this: in system settings-> workspace->shortcuts->Global shortcuts->Plasma, I assigned shortcuts to 'Next history item' and 'Previous history item'. I can use those to cycle through the clipboard, and use ctrl+v (or sometimes the middle button) as usual to paste them. This is not exactly what I want, but I could accept it if it worked for the purposes of file renaming. However, once again, while this sort of cycling through the clipboard history plus ctrl+v works fine within text editors, it does not work within file managers: as soon as a global shortcut is pressed, the file manager exits the renaming functionality.
It is true that I could use these two clipboard managers on the command line (in Konsole). I can indeed use the cp command and then build the new filename on the command line using shortcuts, which do work inside Konsole. But I want to be able to do it within a file manager.
Does anyone have any ideas about how I might be able to have the functionality I described? Is there no way to use global shortcuts within the renaming function of a file manager?
I did a lot of googling, but found nothing.
Here are the versions of the various components of my system:
kubuntu 18.04
KDE Plasma Version 5.12.7
KDE Frameworks: 5.44.0
Qt: 5.9.5
kernel version: 4.18.0-17-generic
machine: Dell Precision M4800 (which is a 64 bit machine)
kubuntu shortcut-keys dolphin plasma-5 clipboard-manager
New contributor
add a comment |
I am using KDE Plasma 5.12.7 on Kubuntu 18.04 (for details of my system configuration, see below).
I would like a clipboard manager and a file manager that would together allow me to rename files, where I would build a single new filename by combining several items from the clipboard history. I would like to be able to do it within the file manager (while it is in its 'rename' mode) through using global shortcuts that directly paste the individual items from the clipboard history onto the blank filename. (By this last bit, I'm referring to what you get when, in a file manager, you right-click a file and select 'rename'.)
This comes up when I try to rename a downloaded article into something like e.g. 'Smith and Williams A new algorithm for matrix multiplication J Num Math 45 897-903 2004.pdf'. I usually have to copy the last name of each author separately, each line of the title (if it's long) separately, etc., so that all those things become items in the clipboard history.
In other words, I would like the following functionality:
- Copy at least 10 items onto the clipboard history, e.g. item 0 is 'Smith', item 1 is 'Williams', item 2 is 'A new algorithm for matrix multiplication', item 3 is 'J', item 4 is 'Num', item 5 is 'Math', item 6 is '45', etc.
- I should be able to paste these items via global shortcuts. For example, meta+shift+1 pastes 'Smith', meta+shift+2 pastes 'Williams', etc.
- I should be able to use these shortcuts while renaming a filename within the file manager. So e.g. in Dolphin, I would highlight the file I wish to rename, press f2 (which invokes the 'rename' function), delete the old filename, and then rename the file into 'Smith and Williams A new algorithm for matrix multiplication J Num Math 45 897-903 2004.pdf' by pressing meta+shift+1, then typing ' and ', then meta+shift+2, then typing ' ' (i.e. just ordinary space), then meta+shift+3, etc.
I should mention that I was able, for a while, to have this functionality in Windows 7, using the standard Explorer file manager and a clipboard manager called Ditto.
Under kubuntu+KDE Plasma, the only clipboard manager that I've been able to find that in principle allows for something like this functionality is CopyQ. I wrote new commands, with appropriate global shortcuts, that look like this:
the first global shortcut, meta+shift+1, executes
copyq:
select(0)
paste()
the second global shortcut, meta+shift+1, executes
copyq:
select(1)
paste()
and so on.
This works as expected inside text editors, e.g. Kate.
However, it does not work when I try to rename a file within Dolphin. What happens instead is that when the global shortcut is pressed, Dolphin exits the renaming mode and... actually, it's not clear what it does next. Sometimes it leaves the filename as it was, sometimes it prompts me with 'Filename for clipboard content'. Sometimes it apparently simply deletes the file I was trying to rename (without moving it to trash, which is kind of disturbing).
I tried using two other file managers, Krusader and Konqueror, but they also did not support this functionality in combination with CopyQ. The problem is the same as with Dolphin: when I try to use the global shortcut, they just exit the filename renaming mode and leave the old filename intact.
Another clipboard manager that comes close to what I want is Klipper. The main problem is that with Klipper, there don't seem to be global shortcuts that directly access the items on the clipboard history. What I was able to do instead is this: in system settings-> workspace->shortcuts->Global shortcuts->Plasma, I assigned shortcuts to 'Next history item' and 'Previous history item'. I can use those to cycle through the clipboard, and use ctrl+v (or sometimes the middle button) as usual to paste them. This is not exactly what I want, but I could accept it if it worked for the purposes of file renaming. However, once again, while this sort of cycling through the clipboard history plus ctrl+v works fine within text editors, it does not work within file managers: as soon as a global shortcut is pressed, the file manager exits the renaming functionality.
It is true that I could use these two clipboard managers on the command line (in Konsole). I can indeed use the cp command and then build the new filename on the command line using shortcuts, which do work inside Konsole. But I want to be able to do it within a file manager.
Does anyone have any ideas about how I might be able to have the functionality I described? Is there no way to use global shortcuts within the renaming function of a file manager?
I did a lot of googling, but found nothing.
Here are the versions of the various components of my system:
kubuntu 18.04
KDE Plasma Version 5.12.7
KDE Frameworks: 5.44.0
Qt: 5.9.5
kernel version: 4.18.0-17-generic
machine: Dell Precision M4800 (which is a 64 bit machine)
kubuntu shortcut-keys dolphin plasma-5 clipboard-manager
New contributor
I am using KDE Plasma 5.12.7 on Kubuntu 18.04 (for details of my system configuration, see below).
I would like a clipboard manager and a file manager that would together allow me to rename files, where I would build a single new filename by combining several items from the clipboard history. I would like to be able to do it within the file manager (while it is in its 'rename' mode) through using global shortcuts that directly paste the individual items from the clipboard history onto the blank filename. (By this last bit, I'm referring to what you get when, in a file manager, you right-click a file and select 'rename'.)
This comes up when I try to rename a downloaded article into something like e.g. 'Smith and Williams A new algorithm for matrix multiplication J Num Math 45 897-903 2004.pdf'. I usually have to copy the last name of each author separately, each line of the title (if it's long) separately, etc., so that all those things become items in the clipboard history.
In other words, I would like the following functionality:
- Copy at least 10 items onto the clipboard history, e.g. item 0 is 'Smith', item 1 is 'Williams', item 2 is 'A new algorithm for matrix multiplication', item 3 is 'J', item 4 is 'Num', item 5 is 'Math', item 6 is '45', etc.
- I should be able to paste these items via global shortcuts. For example, meta+shift+1 pastes 'Smith', meta+shift+2 pastes 'Williams', etc.
- I should be able to use these shortcuts while renaming a filename within the file manager. So e.g. in Dolphin, I would highlight the file I wish to rename, press f2 (which invokes the 'rename' function), delete the old filename, and then rename the file into 'Smith and Williams A new algorithm for matrix multiplication J Num Math 45 897-903 2004.pdf' by pressing meta+shift+1, then typing ' and ', then meta+shift+2, then typing ' ' (i.e. just ordinary space), then meta+shift+3, etc.
I should mention that I was able, for a while, to have this functionality in Windows 7, using the standard Explorer file manager and a clipboard manager called Ditto.
Under kubuntu+KDE Plasma, the only clipboard manager that I've been able to find that in principle allows for something like this functionality is CopyQ. I wrote new commands, with appropriate global shortcuts, that look like this:
the first global shortcut, meta+shift+1, executes
copyq:
select(0)
paste()
the second global shortcut, meta+shift+1, executes
copyq:
select(1)
paste()
and so on.
This works as expected inside text editors, e.g. Kate.
However, it does not work when I try to rename a file within Dolphin. What happens instead is that when the global shortcut is pressed, Dolphin exits the renaming mode and... actually, it's not clear what it does next. Sometimes it leaves the filename as it was, sometimes it prompts me with 'Filename for clipboard content'. Sometimes it apparently simply deletes the file I was trying to rename (without moving it to trash, which is kind of disturbing).
I tried using two other file managers, Krusader and Konqueror, but they also did not support this functionality in combination with CopyQ. The problem is the same as with Dolphin: when I try to use the global shortcut, they just exit the filename renaming mode and leave the old filename intact.
Another clipboard manager that comes close to what I want is Klipper. The main problem is that with Klipper, there don't seem to be global shortcuts that directly access the items on the clipboard history. What I was able to do instead is this: in system settings-> workspace->shortcuts->Global shortcuts->Plasma, I assigned shortcuts to 'Next history item' and 'Previous history item'. I can use those to cycle through the clipboard, and use ctrl+v (or sometimes the middle button) as usual to paste them. This is not exactly what I want, but I could accept it if it worked for the purposes of file renaming. However, once again, while this sort of cycling through the clipboard history plus ctrl+v works fine within text editors, it does not work within file managers: as soon as a global shortcut is pressed, the file manager exits the renaming functionality.
It is true that I could use these two clipboard managers on the command line (in Konsole). I can indeed use the cp command and then build the new filename on the command line using shortcuts, which do work inside Konsole. But I want to be able to do it within a file manager.
Does anyone have any ideas about how I might be able to have the functionality I described? Is there no way to use global shortcuts within the renaming function of a file manager?
I did a lot of googling, but found nothing.
Here are the versions of the various components of my system:
kubuntu 18.04
KDE Plasma Version 5.12.7
KDE Frameworks: 5.44.0
Qt: 5.9.5
kernel version: 4.18.0-17-generic
machine: Dell Precision M4800 (which is a 64 bit machine)
kubuntu shortcut-keys dolphin plasma-5 clipboard-manager
kubuntu shortcut-keys dolphin plasma-5 clipboard-manager
New contributor
New contributor
edited 4 mins ago
linguisticturn
New contributor
asked 10 mins ago
linguisticturnlinguisticturn
1011
1011
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
linguisticturn is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131767%2fusing-paste-function-from-a-clipboard-manager-while-renaming-a-file-using-a-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
linguisticturn is a new contributor. Be nice, and check out our Code of Conduct.
linguisticturn is a new contributor. Be nice, and check out our Code of Conduct.
linguisticturn is a new contributor. Be nice, and check out our Code of Conduct.
linguisticturn is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131767%2fusing-paste-function-from-a-clipboard-manager-while-renaming-a-file-using-a-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown