Page 1 of 1

Pasting Longer Blueprints does not work

Posted: Wed Dec 04, 2024 9:48 pm
by Tobedetered
I am trying to paste a blueprint like this one: https://github.com/Opinionated-Blueprin ... l-of-Rails,

however the import-string field does not seem to accept more characters than ~50,000 at once. I am running factorio on linux.

Is this a common issue?

Re: Pasting Longer Blueprints does not work

Posted: Thu Apr 09, 2026 6:49 pm
by Lonami
Sorry for the necropost but I ran into this again and figured it might help someone.

It seems to be an issue on systems that run Wayland while Factorio is set to prefer X11, since the interop with the clipboard is fairly cursed. If using the X11 bridge under Wayland, you can work around it by copying 32KiB chunks at a time.

Otherwise in Factorio's Settings, Graphics, you can change the Preferred video driver to Wayland. After saving the setting, you need to restart the game fully, but then pasting blueprint strings of any size should work. Hope that helps.

Re: Pasting Longer Blueprints does not work

Posted: Thu Apr 09, 2026 7:29 pm
by defaultsamson
Lonami wrote: Thu Apr 09, 2026 6:49 pm Sorry for the necropost but I ran into this again and figured it might help someone.

It seems to be an issue on systems that run Wayland while Factorio is set to prefer X11, since the interop with the clipboard is fairly cursed. If using the X11 bridge under Wayland, you can work around it by copying 32KiB chunks at a time.

Otherwise in Factorio's Settings, Graphics, you can change the Preferred video driver to Wayland. After saving the setting, you need to restart the game fully, but then pasting blueprint strings of any size should work. Hope that helps.
Thank you! I am using Wayland's X11 bridge, on KDE Plasma, and was dumbfounded why I couldn't import this obscure balancer book] I found on Github: https://github.com/dogmaisea/factorio-balancers

But all that I needed to do was copy it in 17 stages :shock: :shock: :shock:

Re: Pasting Longer Blueprints does not work

Posted: Sat Apr 11, 2026 11:56 am
by defaultsamson
I have since come across a solution and will share it here in case any future people have this issue.

If you are running Wayland, then you can add this line to Factorio's Steam Launch Options

SDL_VIDEODRIVER=wayland %command%

This will force Factorio to run with its native Wayland support, thus permitting direct clipboard access, rather than using the X11 bridge.