- cross-posted to:
- surface@lemmy.ca
- cross-posted to:
- surface@lemmy.ca
I have an OG Surface Pro. The first one. It’s running Windows 10 at the moment and it’s doing fine except for the occasional wifi/Bluetooth bugs. I’m using it exclusively in tablet mode with the pen. No keyboard.
When Windows 10 is going to reach its end of life, I’d like to install Linux on it. But I need it to have a tablet style interface with gestures if possible.
Do I need any special distro or drivers on that hardware? And what would you recommend as the desktop environment?
You’ll definitely need this: https://github.com/linux-surface/linux-surface
Gnome is probably the best with touchscreens. I had issues with Ubuntu though so you probably want something more up to date, like fedora or arch.
Also, highly recommend checking out Universal Blue’s Surface images! It’s pretty much everything you need out of the box! https://universal-blue.org/images/surface/?h=surface
That’s even better! Thank you!
To add another comment to your reply, have you tried it personally?
I’d like to back up my system before doing the switch. What do you recommend I use? Clonezilla with an external USB drive all plugged in using a USB hub?
I haven’t tried the Surface images due to not having one, but I am using their Silverblue images to make the whole NVIDIA drivers thing a bit easier on my system.
Also I haven’t needed to backup my system in over a year now (I stopped hopping with Silverblue) so I don’t remember the solution I used, but this seems good.
From your live stick, bevor install, do
cp /dev/your-disk /your/image.img
or to save space:
gzip < /dev/your-disk > /your/image.img.gz
or faster but might need to install it first:
lz4 /dev/your-disk /your/image.img.lz4
To get a list of your disks, there’s
lsblk
.I recommend partition-wise backup, it’s always a bother to extract/shrink individual partitions in images of whole disks. That would be
/dev/your-disk
1 etc
Yeah, Fedora runs with wayland by default, which is really nice for touchscreens.
Don’t want to be the guy shitting on Ubuntu, but Fedora is the way to go in my experience and afaik.
Because of Wayland?
Fedora uses Wayland by default at least and it’s really smooth, and it has gotten much better in the last two years or so. It also is a rolling release, which means always the newest software and latest kernel, which further improves wayland performance.
Canonical has made some questionable choices for Ubuntu in the last years like pushing the users to use snaps (which are shot) or advertisements in the terminal. But then again you can always use Debian in the first place i guess.
Very cool. Thank you for this.
Went to Fedora on Pro gen 1, works great. Pen input in Krita works great. Really miss the form factor of that first gen. I feel like they’re too big now.
I had one of those too! Sturdy little guy, reminds me a bit of the first eeepc 701 :-) But I was worried about the replacement of the charger once it would die. Besides, I have had a bad experience of Surface-line longevity, they always seem to die suddenly after a while, so I sold it.
Hey, you wanna know something about the EeePC?
I was the build engineer that automated the process that put together the Linux OS for those things back in the day.
That is so awesome. Do you still have one lying around? Those things have an awesome form factor, but the I/O ports are a little bit dated by todays standard 😅
Nah. The hardware wasn’t very good and it was very slow. I had a 7" and a 9" one. I replaced them with the surface pro.
The company was going to make custom Linux based OSes for other smart devices like TVs and monitors but Android came out and was backed by Google, so of course it became wildly popular. Our company went bankrupt pretty quickly after that because it had no the contracts coming in. Asus was the only client keeping them afloat and the contract was ending.
(Copypasting an answer to another comment on this post, slightly modified, here, so it reaches more people.)
I had a MS Surface too a while back.
After installing Linux, it felt like a totally different device. Just like you, I thought “That is how it was supposed to be!”.I strongly recommend you to try the
silverblue-main-surface
-image from universal-blue.org.Why?
- Because you need the
linux-surface
-kernel for it to work properly. Otherwise, most functions, like touchscreen, webcam, adaptive brightness, auto-rotate and more won’t work at all. - You can install the kernel on other distros too, but it might break. I had that already happening. On uBlue, it’s baked in and won’t break. And if it does, you can just roll back.
- It comes with Gnome by default and provides you a great touchscreen experience
- And you can install Waydroid easily, which gives you access to Android apps. Distrobox is already pre-installed and gives you access to the software of every distro available, including Arch.
I don’t recommend using another DE than Gnome for that. Especially those “light weight” ones like XFCE are horrible for touchscreens, and if you use a browser, those few hundred MBs RAM less used by them is negotiable.
Gnome is, like it or not, king for devices like that. The gestures on touchscreen, big icons, and more, is only surpassed by Android.
silverblue-main-surface
Do you know where I can find simple clear explanation on how to do a fresh install of this? I’m kind of a noob… I’ve installed standard Fedora on a Surface and it works well but I have a few bugs.
Go to https://universal-blue.org/installation/ and download the image. It’s a net-installer, so you can use a small USB stick too. Then just install it the way you would any other distro, e.g. Fedora Workstation. Done.
For me, that didn’t work at the time due to internet problems. If you encounter issues, do the following:
- Go to https://fedoraproject.org/silverblue/ and download the normal Silverblue version there and install it the same way you did the Workstation.
- Go to https://universal-blue.org/images/, open your terminal and rebase. Do that by pasting
rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/silverblue-surface
(I think that’s the correct image) and wait for it to download and apply. - Reboot
- Open the terminal again and paste
rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/silverblue-surface:latest
. Wait and reboot again.
It isn’t as elegant as the first option, but if it doesn’t work, then consider the alternative steps.
You are a champion! Thank you for this info! I’ve been wanting to install something else on my Surface pro 7 since I started using W11 on it and immediately disliked it. Your comment just turned that into a much easier process for my weekend!
You’re welcome! Glad to help.
Just remember that Silverblue/ the immutable desktops are still relatively new. For more information, read my newest post about image based desktops. It’s hopefully written in a way everyone can understand it, no matter the prior experience :)
I appreciate it! I’ll take a look at that post as well.
Thank you so much!!
Just to comment here. I installed KDE Neon on my SP7+. It took a bit of messing with the UEFI secure boot, but after that trouble…it’s been mostly problem free for a couple of years, since I did it. I reckon it’s just easier to have it all baked in, in my case I kinda preferred KDE neon as my choice first.
- Because you need the
Taskbar can even be moved!
Too difficult for a multi-billion dollar company.
I bought my wife an HP Stream 13 some years back. It came with Windows 8 installed. Which worked just fine until updates bloated it so much it literally took up the entire (paltry) SSD. Windows 10 came out and it offered a free upgrade, which would have been smaller. Unfortunately, every time I tried to do that, it just complained it didn’t have the space to make the switch. I rolled it back to an older Windows 8 and disabled updates to try and keep using it. It complained constantly. I finally deleted the shit out of Windows and installed Lubuntu. It’s worked since then without issue.
Is KDE good for touch? I always though gnome would be the way to go for touch.
With Wayland it’s pretty good
Is there a tablet mode?
Yup. I think I needed to manually install the touch keyboard. But once installed, it works as expected. Touch the screen or remove the physical keyboard, and touch mode gets activated. Whenever touching a text field, the soft keyboard pops out. It’s massive, though (well, about the same size as the one for Windows).
Nice!
Which one did you choose? The ones I found feeled pretty clunky to use…
Seems the one I use is Maliit. It’s on the chunky side, but for the few times I type without the real keyboard, it does the job just fine I guess.
I hope you mean touchpad by touch, it has nothing to do with desktops, it relates xinput libinput synaptics sw common for X and wayland, window managers. If it works it does so before desktop layer is drawn, in some cases it can work on console as well with the right sw.
I have a Surface Laptop 5 as my work laptop. I hate it with passion, it’s one of the worst laptops I ever used.
Beyond the lack of IO (not even a fucking hdmi port) and the piss poor cooling, the USB C display isn’t connected to the integrated GPU, it uses a different display adapter that is so bad the mouse stutters on high res displays.
The built-in display has a 3:2 aspect ratio. I wanted to use a lower resolution so I could disable scaling (having different scaled monitors is annoying to use), none of the “supported” lower resolutions are 3:2 and they all have ugly black bars.
It has a touch screen, but the lid only opens about 120 degrees, making it completely useless.
And it uses “special” locked down hardware that is very hostile to other operating systems like Linux.
I don’t think surface would make for a good work laptop, but I have amazing experience so far with using it for the ocassional traveling, or just as a carry-on.
I just Parsec into my desktop at home, and can comfortably work without having to deal with performance, and Surface is amazing for that.
I also really like the pen support, so I can make notes or draw bascially anywhere.
And I also use it for DJing, where it works pretty well and is compact enough to not be a bother carrying it around.
Gnome is going to be a better experience for most people.
ooh, I just snagged an old Pro X. Tempted to see how it runs with Linux on ARM before even messing with Win11 that’s installed.
I’ve got a Surface Pro 5 with the dogshit m3 processor and 4GB of Ram, anyone have any concept of how it’d run under linux? It basically folds at any real task in Windows
Incidentally, I had the exact same device. It actually worked pretty good to be honest!
Of course it will not magically be a top tier device. Programs will need some time to load the first time, and then be thrown out of RAM again.
BUT, compared to Windows, it will be a difference between night and day!I strongly recommend you the
silverblue-main-surface
-image from universal-blue.org.Why?
- Because you need the
linux-surface
-kernel for it to work. Otherwise, most functions, like touchscreen, webcam, adaptive brightness, auto-rotate and more won’t work at all. - You can install the kernel on other distros too, but it might break. I had that already happening. On uBlue, it’s baked in and won’t break. And if it does, you can just roll back.
- It comes with Gnome by default and provides you a great touchscreen experience
- And you can install Waydroid easily, which gives you access to Android apps.
I don’t recommend using another DE than Gnome for that. Especially those “light weight” ones like XFCE are horrible for touchscreens, and if you use a browser, those few hundred MBs RAM less used by them is negotiable.
Thanks for the advice, I’d not heard of that particular distro. I’m quite comfortable with Fedora so I think I’ll give it a shot
- Because you need the
It would be smooth as butter with a lightweight desktop (probably not KDE). I suggest Linux Mint XFCE edition
“KDE is heavy” is so 2000s. It’s been quite a while since KDE is very tight on resources usage. Unless you’re running a raspberry or similar, there’s no point on constraining yourself with one of those desktops for an everyday use device.
Once the drivers got into the mainline kernel, running Linux on surface has been a dream. Except for using the pen, IR-cameras, booting from USB…
I think there’s enough of us to have a SurfaceLinux community here :-)
Except for using the pen, IR-cameras, booting from USB…
Reminds me of android ROMs about a decade ago.
"My new L33tM@st3r ROM has just been released! Now with kernel tweaks for buttery-smooth performance and major improvement to stock battery life! Comes with it’s own tuning app so you can adjust it the way YOU want!
(Not presently working: bluetooth/wifi/camera/NFC/dialler/headphones but everything else is awesome!!)"
Yes and no. Back then, you got the ROMs from a group / individual / forum and it wasn’t very much vetted like a distro coming directly from the linux community / canonical / etc.
Also, I can live without using surface pen (-: If you compare to Asahi and its maturity (a lot running, but not sound yet), LinuxSurface kernel have made a LOT of progress in making these devices even more usable compared to they handle Win11.
Getting a surface pro 8 soon, looking forward to getting Linux on it!
Edit: installed Pop OS on my SP8, had to switch to Wayland and also needed to do some tweaks to get the keyboard to work to decrypt but it’s running well so far. I believe you can get the camera working with the proprietary camera stack but it’s not a priority for me right now
Beware of camera support. I’d bet it won’t work on yours.
https://github.com/linux-surface/linux-surface/wiki/Supported-Devices-and-Features#feature-matrix
https://github.com/linux-surface/linux-surface/wiki/Camera-Support
Yup, I was aware of that when I bought it. Annoying but I got a good deal on the 8, and want to upgrade the storage
I’m looking forward to doing this on my 4, Windows is chugging hard lately
deleted by creator