-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Work in gnome-terminal or programs where paste shorcut isn't ctrl + v #201
Comments
I made the following patch for me and it works ok:
I close the ticket. |
I used finally this patch to detect if the currently active window is gnome-terminal:
|
Why did you close it? Please reopen. It would be useful to be able to select the paste command per application within clipit. |
(and not only for people who know how to program, but for everyone!) |
Yes, I don't had to close it. I reopen. |
One question, did you found a manner to paste without xdotool? |
Thank you! No, I've currently deactivated the option to paste when clicking on an entry in the list, so I can choose the way how I paste. |
What list? >.< |
Do you want that I put a PR with the bash solution? |
I haven't tested it - how does it detect whether the target program is a terminal? I'm using Konsole, or sometimes Xfce-Terminal and others. Optimally, I think it would offer a way to select programs that require a different pasting mechanism. If those can be autodetected, that would be cool, but I'm not sure that is possible? |
The solution I proposed only detects when is gnome-terminal via bash, which is my case. Ideally it should use the X mechanism to paste, in this way it doesn't matter if is Ctrl + V or Ctrl + Shift + V or any other. |
I didn't know there was another way, that already provides the 'auto-detection'! Can this 'X mechanism' (probably provided by the xserver) be included somehow? |
I've a patch, that checks via BASH scriptting (inside the command) if the process of the current window is the gnome-terminal and uses Control + Shift + V in that case. If you want I open a PR to give you that changes. It is not too elegant... but it works. |
Hello Moini. Let me accces to publish a PR and I've you the code patched. With this gnome-terminal is supported. |
I'm using konsole :-( |
Hello Moini. Please, think about it. If you accept my patch you can do work ClipIt in gnome also in kde, doing it more universal and more unified. It not hurts!!! :) |
I'm just a user, just like you @danielgiljara . |
Ah, ok, in this case we can add the konsole command also if is different to ctrl-c like in gnome terminal. In this way we have ClipIt for all programs, and advice the author of Clipit to include these changes through a Pull Request. |
Clipit doesn't work on terminal, where the paste shorcut is Ctrl + Shift + V.
The text was updated successfully, but these errors were encountered: