[Geany-Users] Problem with pasting into Linux Geany from Windows clipboard (WSL2)

Lex Trotman elextr at gmail.com
Thu May 19 00:16:10 UTC 2022


On Thu, 19 May 2022 at 00:35, Mario Pariona <mariopariona117 at gmail.com> wrote:
>
> Hi,
>
> I am using the Linux version of Geany in Windows 11 Version 21H2 (OS Build 22000.675) with WSL2 (so I am NOT using a virtual machine). My problem is that I can't paste from the Windows clipboard to Geany (but I can copy/paste from Geany to everywhere). I don't think it's about WSL2 since I can paste to Gedit and GNOME from Windows with no problem.
>
> My Geany and GTK++ version: geany 1.36 (built on 2020-03-22 with GTK 3.24.14, GLib 2.64.1)

There is a Ubuntu PPA which should have a later version, perhaps you
can upgrade and see if it is fixed in 1.38
https://ubuntuhandbook.org/index.php/2021/12/install-geany-ppa-ubuntu/

If that doesn't work can you try building with latest Geany Git?

I am presuming you mean copy/paste to the editing widget?  Try copying
and pasting to one of the GTK entries, for example the find entry on
the toolbar.

Essentially Geany 1.36 on WSL2 on Windows 11 is likely completely
untested by the project and AFAIK by the library that provides the
editing widget, and that library has had many updates since the
version in Geany 1.36 including a major version change in Geany git.

Cheers
Lex

>
> And if you find this useful:
>
> -------------------------------------------------------------
>
> >>> geany -v
> (geany:1162): GLib-DEBUG: 09:30:18.072: posix_spawn avoided (fd close requested)
> (geany:1162): GLib-GIO-DEBUG: 09:30:18.083: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
> (geany:1162): dconf-DEBUG: 09:30:18.083: watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
> (geany:1162): dconf-DEBUG: 09:30:18.084: watch_fast: "/org/gnome/settings-daemon/peripherals/mouse/" (establishing: 0, active: 0)
> (geany:1162): dconf-DEBUG: 09:30:18.084: watch_fast: "/org/gnome/desktop/sound/" (establishing: 0, active: 0)
> (geany:1162): dconf-DEBUG: 09:30:18.084: watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0)
> (geany:1162): dconf-DEBUG: 09:30:18.084: watch_fast: "/org/gnome/desktop/wm/preferences/" (establishing: 0, active: 0)
> (geany:1162): dconf-DEBUG: 09:30:18.084: watch_fast: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 0, active: 0)
> (geany:1162): dconf-DEBUG: 09:30:18.084: watch_fast: "/org/gnome/desktop/a11y/" (establishing: 0, active: 0)
> (geany:1162): dconf-DEBUG: 09:30:18.086: watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
> (geany:1162): dconf-DEBUG: 09:30:18.086: watch_established: "/org/gnome/settings-daemon/peripherals/mouse/" (establishing: 1)
> (geany:1162): dconf-DEBUG: 09:30:18.086: watch_established: "/org/gnome/desktop/sound/" (establishing: 1)
> (geany:1162): dconf-DEBUG: 09:30:18.086: watch_established: "/org/gnome/desktop/privacy/" (establishing: 1)
> (geany:1162): dconf-DEBUG: 09:30:18.086: watch_established: "/org/gnome/desktop/wm/preferences/" (establishing: 1)
> (geany:1162): dconf-DEBUG: 09:30:18.087: watch_established: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 1)
> (geany:1162): dconf-DEBUG: 09:30:18.087: watch_established: "/org/gnome/desktop/a11y/" (establishing: 1)
> (geany:1162): GLib-DEBUG: 09:30:18.090: unsetenv() is not thread-safe and should not be used after threads are created
> (geany:1162): GLib-GIO-DEBUG: 09:30:18.105: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
> Geany-INFO: 09:30:18.129: Geany 1.36, C.UTF-8
> Geany-INFO: 09:30:18.129: GTK 3.24.20, GLib 2.64.6
> Geany-INFO: 09:30:18.129: System data dir: /usr/share/geany
> Geany-INFO: 09:30:18.129: User config dir: /home/mariopariona117/.config/geany
> Geany-INFO: 09:30:18.225: Loaded GTK+ CSS theme '/usr/share/geany/geany.css'
> Geany-INFO: 09:30:18.226: Loaded GTK+ CSS theme '/usr/share/geany/geany-3.20.css'
> Geany-INFO: 09:30:18.227: Loaded GTK+ CSS theme '/home/mariopariona117/.config/geany/geany.css'
> Geany-INFO: 09:30:18.235: System plugin path: /usr/lib/x86_64-linux-gnu/geany
> Geany-INFO: 09:30:18.311: Added filetype CUDA (61).
> Geany-INFO: 09:30:18.311: Added filetype Clojure (62).
> Geany-INFO: 09:30:18.311: Added filetype TypeScript (63).
> Geany-INFO: 09:30:18.311: Added filetype Genie (64).
> Geany-INFO: 09:30:18.311: Added filetype Cython (65).
> Geany-INFO: 09:30:18.311: Added filetype Groovy (66).
> Geany-INFO: 09:30:18.311: Added filetype Swift (67).
> Geany-INFO: 09:30:18.311: Added filetype Arduino (68).
> Geany-INFO: 09:30:18.311: Added filetype JSON (69).
> Geany-INFO: 09:30:18.311: Added filetype Nim (70).
> Geany-INFO: 09:30:18.311: Added filetype Graphviz (71).
> Geany-INFO: 09:30:18.311: Added filetype Scala (72).
> Geany-INFO: 09:30:18.311: Added filetype Kotlin (73).
> Geany-INFO: 09:30:18.323: Loaded libvte from libvte-2.91.so.0
> Geany-INFO: 09:30:18.341: unknown : None (UTF-8)
> -------------------------------------------------------------
>
> Find attached my geany.conf so you have more information to work with.
>
> Hope you can help me,
> Mario
>
>
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users


More information about the Users mailing list