snac.daltux.net is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
Daltux' personal ActivityPub microblog. Microblog pessoal de Daltux, parte da Teia Social global federada com o protocolo ActivityPub.
Admin account
@daltux@snac.daltux.net

Search results for tag #gtk

AodeRelay boosted

[?]Florian [he/him] » 🌐
@zersiax@cupoftea.social

I was helping an open-source app become more yesterday and we ran into the problem that it looks like Orca has a bit of a tendency to crash when exposed to webkitGTK applications. I've not done Desktop for a long time and have no idea what the workarounds for this would be, does anyone know anyone who might know what's happening here? Do we need to set a random environment variable somewhere or update a specific package so this person can do basic screen reader testing on their app?

    [?]Hylke Bons 🥜 » 🌐
    @hbons@mastodon.social

    alright let's get started!

    got a backend that mirrors+archives to SQLite (hence Bobby) space weather data from the NOAA. and you'll be able to self-host a mirror.

    now to write a beautiful aurora dashboard in UI!

    Screenshot of terminal output:

Planetary K-index

  Current:  2− 
  Geomagnetic Activity:  Moderate 
  Timestamp:  2025-12-22 00:00 UTC

  Forecast
    2025-12-20 00:00:  3− 
    2025-12-20 03:00:  3− 
    2025-12-20 06:00:  2+ 
    2025-12-20 09:00:  2− 
    2025-12-20 12:00:  2− 
    2025-12-20 15:00:  1+ 
    2025-12-20 18:00:  2 
    2025-12-20 21:00:  2 
    2025-12-21 00:00:  2− 
    2025-12-21 03:00:  2− 

Solar Wind

  Plasma
    Speed:  488.4 km/h
    Density:  2.34 cm⁻³
    Temperature:  75367 K
    Timestamp:  2025-12-19 21:58 UTC

  Interplanetary Magnetic Field
    Bx:  -0.36 nT
    By:  -0.84 nT
    Bz:  -0.12 nT
    Longitude:  246.80°
    Latitude:  -7.48°
    Bt:  0.92 nT
    Timestamp:  2025-12-19 22:36 UTC

    Alt...Screenshot of terminal output: Planetary K-index Current: 2− Geomagnetic Activity: Moderate Timestamp: 2025-12-22 00:00 UTC Forecast 2025-12-20 00:00: 3− 2025-12-20 03:00: 3− 2025-12-20 06:00: 2+ 2025-12-20 09:00: 2− 2025-12-20 12:00: 2− 2025-12-20 15:00: 1+ 2025-12-20 18:00: 2 2025-12-20 21:00: 2 2025-12-21 00:00: 2− 2025-12-21 03:00: 2− Solar Wind Plasma Speed: 488.4 km/h Density: 2.34 cm⁻³ Temperature: 75367 K Timestamp: 2025-12-19 21:58 UTC Interplanetary Magnetic Field Bx: -0.36 nT By: -0.84 nT Bz: -0.12 nT Longitude: 246.80° Latitude: -7.48° Bt: 0.92 nT Timestamp: 2025-12-19 22:36 UTC

      [?]Hylke Bons 🥜 » 🌐
      @hbons@mastodon.social

      hitting the ground running because of all the code reuse. thanks Bobby. :)

      Auroras standard libadwaita about dialog showing the app icon.

      Alt...Auroras standard libadwaita about dialog showing the app icon.

        [?]Hylke Bons 🥜 » 🌐
        @hbons@mastodon.social

        been a while since I used a Grid (probably GTK2 days). and being able to set relative positions to other items is a lot more intuitive and less clunky than hardcoding edge numbers.

        also <sub> and <sup> texts are working nicely for scientific notations! 📊

        Main Auroras dashboard window showing cards on a 2x3 grid.

        Alt...Main Auroras dashboard window showing cards on a 2x3 grid.

          [?]Hylke Bons 🥜 » 🌐
          @hbons@mastodon.social

          adding ✨.

          almost done with the low hanging fruit. now need to add graphs over time.

          best way to do that?

          Same screenshot as before but with better spacing and text styling. Big bold numbers and dimmed units.

          Alt...Same screenshot as before but with better spacing and text styling. Big bold numbers and dimmed units.

            [?]Hylke Bons 🥜 » 🌐
            @hbons@mastodon.social

            boom. bar charts. 📊

            just using a GtkFrame and styling with CSS.

            the line graph will be trickier, but thinking about generating an SVG and displaying that.

            Screenshot of the main Auroras window with each card now showing hardcoded blue vertical bars.

            Alt...Screenshot of the main Auroras window with each card now showing hardcoded blue vertical bars.

              [?]Hylke Bons 🥜 » 🌐
              @hbons@mastodon.social

              TIL about GtkLevelBar.

              GtkProgressBar's lost brother from an other mother.

              just set the min/max and a value. convenient!

              Screenshot showing a LevelBar: a ProgressBar but with sections. 6/9 sections are coloured blue.

              Alt...Screenshot showing a LevelBar: a ProgressBar but with sections. 6/9 sections are coloured blue.

                [?]Hylke Bons 🥜 » 🌐
                @hbons@mastodon.social

                has a handy .accent CSS class for labels.

                using that (+bold) to highlight when measurements are good or heading in the right direction.

                Two UI cards showing bold and accent-coloured "Weak South" and "Elevated" labels.

                Alt...Two UI cards showing bold and accent-coloured "Weak South" and "Elevated" labels.

                  [?]Hylke Bons 🥜 » 🌐
                  @hbons@mastodon.social

                  adding a main summary card for those not yet familiar interpreting the numbers.

                  I wonder if I can turn this into a widget that goes next to the weather in the shell?

                  11:13
Tuesday, Feb 24
G2 Storm

Chance of seeing aurora from
London, Amsterdam and Berlin

Updated just now
Source: NOAA/SWPC

                  Alt...11:13 Tuesday, Feb 24 G2 Storm Chance of seeing aurora from London, Amsterdam and Berlin Updated just now Source: NOAA/SWPC

                    [?]Hylke Bons 🥜 » 🌐
                    @hbons@mastodon.social

                    adding a small inline ⚠️ icon and suddenly your eyes have a kind of anchor from which to explore the rest of the text.

                    sometimes decorations are good.

                    21:22
Wednesday, Feb 25

(warning icon) G2 Storm
Chance of aurora in
London ~ Amsterdam - Berlin

                    Alt...21:22 Wednesday, Feb 25 (warning icon) G2 Storm Chance of aurora in London ~ Amsterdam - Berlin

                      [?]Hylke Bons 🥜 » 🌐
                      @hbons@mastodon.social

                      got some line graphs going using SVG and with the system accent colour.

                      still blurry and need to iterate on the style, but it's a start. 📉

                      Two UI cards next to each other showing teal graph lines ending in a white circular point.

                      Alt...Two UI cards next to each other showing teal graph lines ending in a white circular point.

                        [?]Hylke Bons 🥜 » 🌐
                        @hbons@mastodon.social

                        using the .warning CSS class to highlight upcoming high Kp values. 🚨

                        the threshold will be configurable in Preferences and/or based on your location.

                        "Kp - Now" card and "Kp - Coming Hours" card with a bar chart. The high value bars are coloured yellow vs. the accent colour normally.

                        Alt..."Kp - Now" card and "Kp - Coming Hours" card with a bar chart. The high value bars are coloured yellow vs. the accent colour normally.

                          [?]Hylke Bons 🥜 » 🌐
                          @hbons@mastodon.social

                          settling on the layout. I think this will be it for the first release.

                          funky colours that match the wallpaper totally by accident... 😉

                          also added a hashtag graph. arguably the best indicator!

                          Screenshot of the full Auroras dashboard. 2 columns of 3 cards are displayed on right, and a full height longer Summary card on the left.

                          Alt...Screenshot of the full Auroras dashboard. 2 columns of 3 cards are displayed on right, and a full height longer Summary card on the left.

                            [?]Hylke Bons 🥜 » 🌐
                            @hbons@mastodon.social

                            ok, light theme! ☀️

                            cards use the same colour as windows. so I'm slightly changing the base window colour to the one used in sidebars (like in Files).

                            GTK doesn't seem to have a .dark or .light CSS selector. so had to manually toggle a class and listen for the dark mode signal. no big deal.

                            Alt...Video of the Auroras main window changing from dark mode to light mode.

                              [?]Hylke Bons 🥜 » 🌐
                              @hbons@mastodon.social

                              had this idea of just showing country flags instead of city names.

                              it's less precise, but I think a lot more engaging. :)

                              Screenshot of the Summary card, instead of 3 city names, 6 flags in a row are displayed instead.

                              Alt...Screenshot of the Summary card, instead of 3 city names, 6 flags in a row are displayed instead.

                                [?]Hylke Bons 🥜 » 🌐
                                @hbons@mastodon.social

                                want to appreciate for a minute that can now baseline align labels regardless of size or style.

                                won't need to change the margins when playing with the font sizes later.

                                Screenshot of a card where a big bold number label is on the same line as the much smaller detail text.

                                Alt...Screenshot of a card where a big bold number label is on the same line as the much smaller detail text.

                                  [?]Hylke Bons 🥜 » 🌐
                                  @hbons@mastodon.social

                                  added the popovers that give you more information about the data you're looking at and what's important. ℹ️

                                  Alt...Screencast of two info buttons being pressed and showing a popover with range information for Kp and IMF respectively.

                                    [?]Hylke Bons 🥜 » 🌐
                                    @hbons@mastodon.social

                                    all data is now hooked up!

                                    just need to finish the SVG line graph drawing, and this will be ready for a preview release. 🧪

                                    Full window screenshot of Auroras in dark mode on a colourful red-purple wallpaper.

                                    Alt...Full window screenshot of Auroras in dark mode on a colourful red-purple wallpaper.

                                      [?]Hylke Bons 🥜 » 🌐
                                      @hbons@mastodon.social

                                      bars 📊 are now more accurate (float instead of rounding to int), and the line 📈 is starting to look like something with real data.

                                      layouting this is tricky. I think I will hardcode the dimensions for now...

                                      next some sense of scale with axis.

                                      Top: a bar chart with bars in various heights forming a kind of wave.
Bottom: A more real looking line graph using real data points compared the mockup before.

                                      Alt...Top: a bar chart with bars in various heights forming a kind of wave. Bottom: A more real looking line graph using real data points compared the mockup before.

                                        [?]Hylke Bons 🥜 » 🌐
                                        @hbons@mastodon.social

                                        stuff like this will be my downfall.

                                        Code snippet and screenshot of Kp card below it with the main value of "1" in a monospace font.

Snippet:

  if let Some(n) = data.value.clone() {
        if n == "1−" || n == "1" || n == "1+" {
            // Proportional "1" is narrow on its own
            number.add_css_class("numeric");
        }
    }

                                        Alt...Code snippet and screenshot of Kp card below it with the main value of "1" in a monospace font. Snippet: if let Some(n) = data.value.clone() { if n == "1−" || n == "1" || n == "1+" { // Proportional "1" is narrow on its own number.add_css_class("numeric"); } }

                                          [?]Hylke Bons 🥜 » 🌐
                                          @hbons@mastodon.social

                                          first actual storm caught! ⚠️

                                          Screenshot of Auroras Summary and Kp Now cards with all highlights in yellow warning colour.

                                          Alt...Screenshot of Auroras Summary and Kp Now cards with all highlights in yellow warning colour.

                                            [?]Hylke Bons 🥜 » 🌐
                                            @hbons@mastodon.social

                                            graphs are accurate now and I can change the y-range based on what's needed for the data.

                                            added the ".card" class for a quick framing but now I'm thinking about keeping it. 🤔

                                            Two data cards, with the line graph inside the card now framed with the same card style, giving a more tidy look.

                                            Alt...Two data cards, with the line graph inside the card now framed with the same card style, giving a more tidy look.

                                              [?]Hylke Bons 🥜 » 🌐
                                              @hbons@mastodon.social

                                              woopsie! Bz literally went off the chart yesterday!

                                              yes, I added a gradient too. 🌈

                                              Screenshot of Bz card line chart. a rainbow-ish gradient is applied to the line. the line dips off the chart and is invisible for a while on the x-axis.

                                              Alt...Screenshot of Bz card line chart. a rainbow-ish gradient is applied to the line. the line dips off the chart and is invisible for a while on the x-axis.

                                                [?]Hylke Bons 🥜 » 🌐
                                                @hbons@mastodon.social

                                                no fancy screenshot today... made automatic background data fetching and updating the dashboard work.

                                                done, but it was a pain. 😅

                                                now I've got some kind of Megazord composed of std::thread, glib::idle_add_local and tokio:mpsc... 🤖

                                                  [?]Hylke Bons 🥜 » 🌐
                                                  @hbons@mastodon.social

                                                  ok! finally preview builds 🧪 for those who want to try out Auroras: github.com/hbons/Auroras/actio

                                                  feedback welcome! feel free to report any issues on .

                                                  still a bunch of stuff to fix like , but if all goes well I'll publish to soon. :)

                                                  The Auroras dashboard in dark mode on top of a colourful red-purple gradient wallpaper.

                                                  Alt...The Auroras dashboard in dark mode on top of a colourful red-purple gradient wallpaper.

                                                    AodeRelay boosted

                                                    [?]GNOME » 🌐
                                                    @gnome@floss.social

                                                    Starting in 50 you will be able to set first day of the week in the Settings app, with all apps and desktop respecting the preference.

                                                    As always, thank you to our contributors for implementing this!

                                                    Enjoy❤️

                                                      AodeRelay boosted

                                                      [?]GTK » 🌐
                                                      @GTK@floss.social

                                                      GTK 4.22.0, the first stable release of GTK 4.22 is now available!

                                                      Lots of changes happened in this development cycle:

                                                      - a new SVG-based format for symbolic icons, including state-based animations
                                                      - GtkSvg, a paintable that renders (animated) SVG efficiently
                                                      - GtkAccessibleHypertext, an interface for accessible object containing links
                                                      - GtkPopoverBin is a new widget that you can use to show a popover menu on a widget

                                                        AodeRelay boosted

                                                        [?]OSNews » 🤖 🌐
                                                        @osnews@mstdn.social

                                                        GTK-NoCSD: an LD_PRELOAD library to disable CSDs

                                                        While Libadwaita applications running in a GNOME desktop environment look great and nicely consistent, they look utterly out of place and jarring when run in Xfce, Pantheon, KDE, and others. The biggest reason for this is GNOME's insistence on using client-side decorations, which feel at home inside a GNOME environment, but out of place in envi

                                                        osnews.com/story/144473/gtk-no

                                                          1 ★ 0 ↺

                                                          [?]Daltux [ele/eles/he/them] » 🌐
                                                          @daltux@snac.daltux.net

                                                          :gnu: 💬 Um exemplo que abre a cabeça para um mundo de possibilidades: 🤯

                                                          spd-say -y 'Portuguese (Brazil)+Storm' "$(date +'%A, %d de %B, %H e %M')"
                                                          Manual: :debian: https://manpages.debian.org/sid/spd-say

                                                          É parte do pacote speech-dispatcher, frequentemente já instalado.

                                                          🕰️ Poderia colocar algo assim no crontab para ser executado a cada hora das 9 às 18 de segunda a sexta-feira, ou pelo menos pra anunciar o fim do expediente.

                                                          💡 Tenho scripts em que já envio notificações à tela (notify-send). Em caso de evento importante, poderia verificar se spd-say está disponível e fazê-lo também falar a notificação. Isso pode me ajudar caso não esteja prestando atenção à tela. 🤔


                                                            2 ★ 2 ↺

                                                            [?]Daltux [ele/eles/he/them] » 🌐
                                                            @daltux@snac.daltux.net

                                                            :fediverse: 🖥️ 💻️ 0.9.2, versão lançada ontem do cliente / para 🦣 e outras plataformas compatíveis da Federação, já está disponível no : https://flathub.org/apps/dev.geopjr.Tuba

                                                            🔄 Confira as alterações: https://github.com/GeopJr/Tuba/releases/tag/v0.9.2

                                                              1 ★ 0 ↺

                                                              [?]Daltux [ele/eles/he/them] » 🌐
                                                              @daltux@snac.daltux.net

                                                              Concordo! Fico até preocupado com #GTK agora, mas não sei ainda como agir. Decisão muito prematura!