r/Draftling • • 1d ago

Draftling on Linux!

I ported the project to Linux, so you can have the same experience with an old laptop or a Raspberry Pi device.

Demo video

Debian packages for amd64, arm64 and armhf are available from the flasher.

A minimum setup requires Weston and Network Manager.

EDIT: you don't necessarily need a new computer. The application runs on any graphical desktop, be it x11 or Wayland. But the primary use case is when it's nothing but Draftling :)

7 Upvotes

28 comments sorted by

1

u/rcentros 1d ago edited 1d ago

I'll definitely try this Linux version out and report back. Probably both on an old Intel laptop and a Raspberry Pi 3 A+. Unfortunately I've purposely chosen X11 instead of Wayland, so it will have to be a new install (or maybe a live USB install on the Intel computer). It only requires a different flash drive for the Raspberry Pi, so that shouldn't take long.

I've finally been able to complete my Freenove 4" WriterDeck. I'll post some pictures (if wanted). I like the black case. I had to buy a package of 380 M3 screws and nuts and a package 50 M3 12mm spacers for the 12 screws and spacers I actually needed. ("Had to" if I wanted to get them in within a reasonable time.) For some reason the library printed two back covers, so I would just have to have them print another front cover if someone in the U.S. needs one.

Amazon (in the U.S.) currently has the Freenove 2.8" board on sale for $20.35 (they normally sell for $24.95) so, if someone in the U.S. is interested, it's a little cheaper currently. (They call this a Black Friday sale.) They also have the 4" one on sale, but only slightly (about $1.60 off, I think). They also have a couple 3.5" versions (one with a touch screen, one without).

As for BlueTooth keyboards, it looks like the one I tested first is the only one that works. My Arteck and full sized Keychron keyboards aren't seen. I think the K3 was the only one that was a version 2, so I guess I lucked out. It was the K3 I wanted to use anyhow -- the others will be sold (for various reasons, mostly because I didn't know what I was doing and thought I could hot swap out non-red switches for red switches on keyboards that didn't support that, or one with a defunct Optical Switch choice -- live and learn).

Sorry for rambling. Thanks again for Draftling. I'm looking forward to using it -- and trying it out on Linux computers.

2

u/clackups 1d ago edited 1d ago

It works under x11 too. I forgot to mention, you can launch Draftling within your graphical desktop as well.

1

u/rcentros 1d ago edited 1d ago

Thanks. It works well on this computer -- (my main computer (same computer, different partition) is still using Linux Mint 21.3) so the C library isn't new enough. I guess it's time to upgrade anyhow (EOL is June 2027.)

Draftling on Linux Mint 22.2.

2

u/clackups 1d ago

It should be able to compile it for older systems from source. I just published what I had by 2am yesterday ;)

1

u/rcentros 1d ago

My main computer is based on Ubuntu 22.04, so it's getting pretty long in the tooth. But I may try compiling Draftling on it.

2

u/clackups 1d ago

Hold on, I'll make a package for older Ubuntu/Debian

1

u/rcentros 1d ago edited 1d ago

You don't have to do that. It seems like all I do is make more work for you. The reason I have the second partition (with the newer version of Linux Mint) is mostly to run applications that won't run on Linux Mint 21.3.

2

u/clackups 1d ago

There are many Raspbian hosts out there that require Ubuntu 22.04 compatibility. So I launched the clanker to resolve this

1

u/rcentros 1d ago

Okay. That makes sense. At least I don't feel like it's all my fault.

2

u/clackups 1d ago

I updated the flasher, the packages are now compatible with Ubuntu 22.04

1

u/rcentros 20h ago

Thanks. I'll install it on my main partition.

2

u/clackups 1d ago

Pity that there's no readymade LCD device with esp32s3. But the Sticky with ePaper is very much usable, and it's ready to go straight out of the box.

1

u/rcentros 1d ago

I guess the price wouldn't have been much different, but the Sticky seems to always be on back order (in the United States, at least) and I don't think there is a front light with it. Now that I found I can have the case 3D printed at the local library for $2.05 for Freenove 4", and already have the screws and spacers needed I think I would still go that route again (if I ever needed another one for someone in my family). I like the green font on black.

2

u/clackups 1d ago

Yeah, you can produce quite a few of them now :)

1

u/rcentros 1d ago edited 1d ago

I'll probably never need those screws again. But I have 26 more of the M3*8 and M3*12 ones. It looks like the 2.8" version uses the same spacers and screws.

2

u/clackups 1d ago

Yes, the 2.8" enclosure is identical, just adjusted to the screen size

1

u/rcentros 1d ago

I saw that. I'm guessing the 3.5" version would also be same if it was ever made (but it's probably the "odd man out").

2

u/clackups 1d ago

Yeah, I was too lazy to make another one for 3.5", as there's not much point in it: if you want the cheapest one, you go for the smallest screen, if you want comfort, you go for the biggest one

1

u/rcentros 20h ago

That's kind of what I thought. The 3.5" inch one is pretty close to 4" one and the price is almost the same. So, I'm guessing, given the choice, most people would go for the 4" version or (if they wanted smaller) the 2.8" version (which would be too small for my eyes).

2

u/clackups 1d ago

I'm thinking of making a different body for the 4" board, placing the battery on the side and making the body thinner. But the current one is pretty neat too.

1

u/rcentros 20h ago

I should add that the thinner and wider version of the case would also be interesting.

2

u/clackups 20h ago

Something like this should definitely work

2

u/clackups 20h ago

Actually, if we target its use with a full size keyboard, there's plenty of space for a bigger battery

→ More replies

1

u/rcentros 20h ago

The current design worked out pretty well for me. I just double-sided taped the battery to the back, then added another piece of tape across it and then taped the packing material strip to the battery -- so it wouldn't move around. I thought of adding another layer of packing material, but that would have put stress on the board I discovered as I started to place the back on. As it is, it seems really solid. The battery you put in the 2.8" version looks almost exactly like what I've got in the 4" Freenove.