-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Option to set -noclipboardprimary #142
Comments
Hmm. I'll look into it. Maybe I'll make it another builtin profile. We'll see what I can do while maintaining simplicity in the backend. |
Also have this issue using GWSL on my Win11. I use IDE installed on WSL, and it is very annoying when I select and copy something in Win, then in my IDE copy what I want to replace and because of this "primary selection" it overrides clipboard with what I first selected in IDE. Need to delete what I want to replace without the selection and paste copied stuff from Win... |
On my todo :) |
Exactly the same reason I came here to post an issue about! Thanks for the work @Pololot64 {
"conf_ver": 6,
"gwsl_ver": "1.4.0",
"general": {
"pulseaudio": true,
"clipboard": true,
"start_menu_mode": false,
"shell_gui": "cmd",
"acrylic_enabled": true
},
"graphics": {
"window_mode": "NoCopyOnSelect",
"hidpi": false
},
"putty": {
"ip": null,
"ssh_key": null
},
"distro_blacklist": [
"docker"
],
"app_blacklist": [
"exampleblock"
],
"xserver_profiles": {
"Plain VcXsrv": [],
"NoCopyOnSelect": [
"-noclipboardprimary"
]
}
} |
Ok, so solution is also mentioned in previous issues: #127 #99 #16 😄 {
"conf_ver": 6,
"gwsl_ver": "1.4.0",
"general": {
"pulseaudio": true,
"clipboard": true,
"start_menu_mode": false,
"shell_gui": "cmd",
"acrylic_enabled": true
},
"graphics": {
"window_mode": "NoCopyOnSelect",
"hidpi": false
},
"putty": {
"ip": null,
"ssh_key": null
},
"distro_blacklist": [
"docker"
],
"app_blacklist": [
"exampleblock"
],
"xserver_profiles": {
"Plain VcXsrv": [],
"NoCopyOnSelect": [
"-wgl",
"-compositewm",
"-multiwindow",
"-clipboard",
"-noprimary",
"-notrayicon",
"-dpi",
"-auto"
]
}
} UPDATE |
Ok, I will do this by adding an unexposed configuration entry called block_primary. That will not get in the way of existing functionality. |
I am still struggling with this, I am using an IDE directly in WSL via GSWL and it is now copying everything I am trying to paste on select. I tried @mitsos1os config above and its not changing any behaviour unfortunately. |
Hello. With gwsl 1.4.5, you have the ability to f
Disable primary using the configuration file. It should work. Let me know if something doesn't work
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Dan Voyce ***@***.***>
Sent: Sunday, March 5, 2023 11:14:06 PM
To: Opticos/GWSL-Source ***@***.***>
Cc: Pololot64 ***@***.***>; Mention ***@***.***>
Subject: Re: [Opticos/GWSL-Source] Option to set -noclipboardprimary (Issue #142)
I am still struggling with this, I am using an IDE directly in WSL via GSWL and it is now copying everything I am trying to paste on select. I tried @mitsos1os<https://github.com/mitsos1os> config above and its not changing any behaviour unfortunately.
—
Reply to this email directly, view it on GitHub<#142 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHPPNR6CKOM6MLOM7CWY3A3W2VQA5ANCNFSM5SIE3MRQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I am on 1.4.5 - but in IntelliJ (Pycharm for example) it still overrides the clipboard when I select something in PyCharm.
|
Make "force_disable_primary" true. That may work. Also use it with the default profile. |
@voycey Did you enable the profile in the right click context menu? I also enabled |
Ive actually moved to Jetbrains Gateway now so this is no longer relevant but good to know - ill try this one too! |
Enabling clipboard sharing seems to not only share the CLIPBOARD clipboard, but also the PRIMARY clipboard. So if you something, it instantly overrides the (shared) clipboard. VcXsrv offers the option
-noclipboardprimary
to disable this and only share the CLIPBOARD. It would be goot do to be able to configure this without a custom profile. I would even argue that it is the better default, especially if you're a Windows user and have never heard of the copy-on-select feature.The text was updated successfully, but these errors were encountered: