zhub.link is one of the many independent Mastodon servers you can use to participate in the fediverse.

Administered by:

Server stats:

28
active users

#gnome

11 posts7 participants0 posts today

I just found out that @kabushawarib has completely rewritten #GNOME-user-share (the program that allows you to easily share files on the network) in #Rust.

I really love seeing more and more GNOME components/apps move from C to Rust.

gitlab.gnome.org/GNOME/gnome-u

GitLabPort to Rust (!29) · Merge requests · GNOME / gnome-user-share · GitLabTo-do: Explore ways to reduce binary size Not possible to be comparable to the old...

Anyone familiar with hacking on GNOME Shell or writing Shell extensions interested in helping with a design experiment? 👀

The GNOME design team is interested in exploring some improvements to window/app switching, but we want to make sure we actually *use* the concepts before making too many assumptions. I may write up a longer blog post or something going into more of the thinking behind the design we’re exploring—but in the meantime: anyone interested in helping out? 😊

I love Dash to Panel. I don't even customize it, I just clone the default GNOME panel so I can pretend to check the time on another display.

It's sad to hear that Charles Gagnon (charlesg99) isn't going to be working on it anymore after people whined and complained about a donation button. I have never once experienced a bug in Dash to Panel and it's a testament that Charles and the other contributors have kept up this quality for years.

The only way open source projects will get better is if they beg for money and make the effort worth the contributors' time. So put that donation button back in. This isn't a charity.

I want to create a space in #GNOME for exchanging information and ideas about organizing workshops and other events, and onboarding new contributors to such activities.
Here are past events that could be scaled up to other regions around the world, and that could serve as a starting point to develop more ideas:
pesader.dev/posts/1st-contribu by @pesader
discourse.gnome.org/t/empoweri
Who would be interested? I would love to have more of these activities, and I think they are really important for the project!

pesader.dev1st Contribution Hackathon, by LKCAMP
Continued thread

It's clear to me that #flathub is the go-to vendor for Flatpak package distribution and as such, it sort of becomes a vendor lock-in situation... but #Flatpak supports third party repos OOB and #snap doesn't.

Flathub has also been held to the fire and it lead to a change in policy, thanks to the likes of @BrodieOnLinux shining a light on certain issues, like flathub enforcing #gnome like requirements and spiting #QT apps, which has since been changed to be more inclusive.

Media playback tablet running GNOME and postmarketOS

A couple of years ago I set up a simple and independent media streaming server for my Bandcamp music collection using a Raspberry Pi 4, Fedora IoT and Jellyfin. It works nicely and I don’t have to play any cloud rent to Spotify to listen to music at home.

But it’s annoying having the music playback controls buried in my phone or laptop. How many times do you go to play a song and get distracted by a WhatsApp message instead?

So I started thinking about a tablet that would just control media playback. A tablet running a non-corporate operating system, because music is too important to allow Google to stick AI and adverts in the middle of it. Last month Pablo told me that postmarketOS had pretty decent support for a specific mainstream tablet and so I couldn’t reset buying one second-hand and trying to set up GNOME there for media playback.

Read on and I will tell you how the setup procedure went, what is working nicely and what we could still improve.

What is the Xiaomi Pad 5 Pro tablet like?

I’ve never owned a tablet so all I can tell you is this: it looks like a shiny black mirror. I couldn’t find the power button at first, but it turns out to be on the top.

The device specs claim that it has an analog headphone output, which is not true. It does come with a USB-C to headphone adapter in the box, though.

It comes with an antagonistic Android-based OS that seems to constantly prompt you to sign in to things and accept various terms and conditions. I guess they really want to get to know you.

I paid 240€ for it second hand. The seller didn’t do a factory reset before posting it to me, but I’m a good citizen so I wiped it for them, before anyone could try to commit online fraud using their digital identity.

How easy is it to install postmarketOS + GNOME on the Xiaomi Pad 5 Pro?

I work on systems software but I prefer to stay away from the hardware side of things. Give me a computer that at least can boot to a shell, please. I am not an expert in this stuff. So how did I do at installing a custom OS on an Android tablet?

Figuring out the display model

The hardest part of the process was actually the first step: getting root access on the device so that I could see what type of display panel it has.

Xiaomi tablets have some sort of “bootloader lock”, but thankfully this device was already unlocked. If you ever look at purchasing a Xiaomi device, be very wary that Xiaomi might have locked the bootloader such that you can’t run custom software on your device. Unlocking a locked bootloader seems to require their permission. This kind of thing is a big red flag when buying computers.

One popular tool to root an Android device is Team Win’s TWRP. However it didn’t have support for the Pad 5 Pro, so instead I used Magisk.

I found rooting process with Magisck complicated. The only instructions I could find were in this video named “Xiaomi Pad 5 Rooting without the Use of TWRP | Magisk Manager” from Simply Tech-Key (Cris Apolinar). This gives you a two step process, which requires a PC with the Android debugging tools ‘adb’ and ‘fastboot’ installed and set up.

Step 1: Download and patch the boot.img file

  1. On the PC, download the boot.img file from the stock firmware. (See below).
  2. Copy it onto the tablet.
  3. On the tablet, download and install the Magisk Manager app from the Magisck Github Releases page.
  4. Open the Magisk app and select “Install” to patch the boot.img file.
  5. Copy the patched boot.img off the tablet back to your PC and rename it to patched_boot.img.

The boot.img linked from the video didn’t work for me. Instead I searched online for “xiaomi pad 5 pro stock firmware rom” and found one that worked that way.

It’s important to remember that downloading and running random binaries off the internet is very dangerous. It’s possible that someone pretends the file is one thing, when it’s actually malware that will help them steal your digital identity. The best defence is to factory reset the tablet before you start, so that there’s nothing on there to steal in the first place.

Step 2: Boot the patched boot.img on the tablet

  1. Ensure developer mode is enabled on the tablet: go to “About this Device” and tap the box that shows the OS version 7 times.
  2. Ensure USB debugging is enabled: find the “Developer settings” dialog in the settings window and enable if needed.
  3. On the PC, run adb reboot fastboot to reboot the tablet and reach the bootloader menu.
  4. Run fastboot flash boot patched_boot.img to boot the patched boot image.

At this point, if the boot.img file was good, you should see the device boot back to Android and it’ll now be “rooted”. So you can follow the instructions in the postmarketOS wiki page to figure out if your device has the BOE or the CSOT display. What a ride!

Install postmarketOS

If we can find a way to figure out the display without needing root access, it’ll make the process substantially easier, because the remaining steps worked like a charm.

Following the wiki page, you first install pmbootstrap and run pmbootstrap init to configure the OS image.

A note for Fedora Silverblue users: the bootstrap process doesn’t work inside a Toolbx container. At some point it tries to create /dev in the rootfs using mknod and fails. You’ll have to install pmbootstrap on the host and run it there.

Next you use pmbootstrap flasher to install the OS image to the correct partition.

I wanted to install to the system_b partition but I seemed to get an ‘out of disk space’ error. The partition is 3.14 GiB in size. So I flashed the OS to the userdata partition.

The build and flashing process worked really well and I was surprised to see the postmarketOS boot screen so quickly.

How well does GNOME work as a tablet interface?

The design side of GNOME have thought carefully about making GNOME work well on touch-screen devices. This doesn’t mean specifically optimising it for touch-screen use, it’s more about avoiding a hard requirement on you having a two-button mouse available.

To my knowledge, nobody is paying to optimise the “GNOME on tablets” experience right now. So it’s certainly lacking in polish. In case it wasn’t clear, this one is for the real headz.

Login to the machine was tricky because there’s no on-screen keyboard on the GDM screen. You can work around that by SSH’ing to the machine directly and creating a GDM config file to automatically log in:

$ cat /etc/gdm/custom.conf # GDM configuration storage[daemon]AutomaticLogin=mediaAutomaticLoginEnable=True

It wasn’t possible to push the “Skip” button in initial setup, for whatever reason. But I just rebooted the system to get round that.

Enough things work that I can already use the tablet for my purposes of playing back music from Jellyfin, from Bandcamp and from elsewhere on the web.

The built-in speakers audio output doesn’t work, and connecting a USB-to-headphone adapter doesn’t work either. What does work is Bluetooth audio, so I can play music that way already. [Update: as of 2025-03-07, built-in audio also works. I haven’t investigated what changed]

I disabled the automatic screen lock, as this device is never leaving my house anyway. The screen seems to stay on and burn power quickly, which isn’t great. I set the screen blank interval to 1 minute, which should save power, but I haven’t found a nice way to “un-blank” the screen again. Touch events don’t seem to do anything. At present I work around by pressing the power button (which suspends the device and stops audio), then pressing it again to resume, at which point the display comes back. [Update: see the comments; it’s possible to reconfigure the power button so that it doesn’t suspend the device].

Apart from this, everything works surprisingly great. Wi-fi and Bluetooth are reliable. The display sometimes glitches when resuming from suspend but mostly works fine. Multitouch gestures work perfectly — this is first time I’ve ever used GNOME with a touch screen and it’s clear that there’s a lot of polish. The system is fast. The Alpine + postmarketOS teams have done a great job packaging GNOME, which is commendable given that they had to literally port systemd.

What’s next?

I’d like to figure out how un-blank the screen without suspending and resuming the device.

It might be nice to fix audio output via the USB-C port. But more likely I might set up a DIY “smart speaker” network around the house, using single-board computers with decent DAC chips connected to real amplifiers. Then the tablet would become more of a remote control.

I already donate to postmarketOS on Opencollective.com, and I might increase the amount as I am really impressed by how well all of this has come together.

Maenwhile I’m finally able to hang out with my cat listening to my favourite Vladimir Chicken songs.

Updates:

  • See the comments for a way to reconfigure the power button so that it unblanks the screen instead of suspending the device.
  • After updating to latest (2025-03-07) postmarketOS edge, the built-in speakers now work and they sound pretty OK. Not sure what changed but that’s very nice to have.

@tech ребят, дайте совет с #Gnome. Иногда я случайно двигаю мышкой после того, как увожу комп в ждущий режим. Это триггерит его пробудиться. Но с экрана блокировки нельзя отправить систему назад в спячку до тех пор, пока не введёшь пароль. Вероятно наследие многопользовательских операционных систем, но "кто мы-то, я здесь один!".

#Linux#DE#Suspend

Achievement unlocked: loaded a GNOME #GitLab link that was pasted in a chatroom and triggered @cadey's "Anubis" anti-LLM-scraper protection catgirl with my genuine Firefox browser, and had to watch my CPU burn for a minute :blobmiou:

I regret to inform you that we have now entered the DEFCON 1 stage of the struggle against the LLMs "AI" #enshittification bubble 🫠

What I don't quite understand is why the GitLab instance would put up this challenge to already logged-in users 🤔

В моём представлении хороший софт должен работать по умолчанию без острой необходимости что-либо настраивать и уж тем более править системные конфиги в консольном текстовом редакторе, это попросту неуважение пользователя и его времени. Возможность заточить инструмент под себя хороша, но не должна быть обязательной.
Вот уже неделю я пользуюсь Manjaro Plasma и склоняюсь к выводу, что это лучшая DE. Только в ней я могу отключить в стандартном меню настроек, а не через конфиг systemd, перевод ноутбука в этот дурацкий режим ожидания в котором всё перестаёт работать после закрытия крышки ноутбука. Возможность забиндить раскладку клавиатуры на CapsLock также присутствует, хоть и не сразу понятно как это сделать, в Gnome для этого пришлось бы ставить специальное приложение. Если бы таких косяков в Gnome не было, то пользовалась бы им, но увы.

Внезапно при решении обновить таки систему на ноуте было решено снести этот весь срач устроенный там и накатить роллинг Debian и посидеть на нем. Раньше он был пожалуй самый стабильный роллинг. Сейчас не знаю будем пощупать зверя. Первые впечятления конечно приятные. Софта еще больше чем в стейбле, при том что стейбл Debian имеет самую большую пакетную базу. Более свежий Gnome, который все хорошеет и хорошеет, хотя казалось бы с таким скаканием и скоростью развития должен был давно глючить и разваливаться хлеще плазмы.

Вобщем будем наблюдать пациента. Пока ему норм даже на древнем ноуте летает аки ракета. Потяхоньку притащу туда все что мне надо и буду пользовать почаще. А то все руки до него не могут нормально дойти раз в пять лет максимум интернет с него ползаю и пишу текст простой разрабатывать с него давно уже не разрабатываю. Может теперь и буду. Когда из кварати вылезать будет лень, чтобы сесть за что-то более дееспособное по железу.

Does anyone in #berlin or #würzburg have a surplus #sandybridge laptop you don't need anymore and would be willing to gift to me?
Something like a #thinkpad x220/x420?
With #gtk dropping their GL 2 renderer I'd use that as the new baseline testing device for performance work on #gnome #multimedia #linux - so far I used a T400 (and will continue for basic functionality testing), but I guess GLES 3.1 is increasingly the baseline for non-deprecated code paths.
Thanks :)