GNOME Sushi gets a GTK4 revamp, new features

GNOME Sushi gets a GTK4 revamp, new features

There is a specific kind of digital magic that happens when you hover over an unknown file in your file manager and press the spacebar. It is an instant, silent conversation with the machine, a way to peek inside a mystery without committing to opening the application. For years, GNOME users have relied on this utility, known as Sushi, to provide functionality akin to Quick Look on macOS. However, like many beloved Linux tools, it was built on an older foundation that began to chafe as the GNOME ecosystem evolved. The arrival of GTK4 in GNOME 51 has finally allowed this previewer to shed its outdated skin, resulting in a visual overhaul that is as much about modern aesthetics as it is about technical compatibility.

The shift to GTK4 is not merely a cosmetic exercise; it represents a fundamental change in how GNOME handles windowing and rendering. The new version sports a flatter headerbar, a design language that aligns perfectly with the system-wide trends seen in GNOME 46 and beyond. This isn't just about looking "nicer"; it is about consistency. When the preview overlay blends seamlessly with the rest of the desktop environment, the interruption feels less like a separate application launching and more like a native feature of the OS. The visual language has been updated to ensure that whether you are on a high-DPI laptop or a 4K monitor, the preview remains crisp and legible.

One of the most significant improvements lies in the handling of media files. In the past, media previews often felt disjointed, with controls floating awkwardly above the content. The GTK4 revamp introduces overlay controls that allow the media content to bleed through from underneath. Imagine hovering over a high-definition video file and seeing the actual frames play out, with playback controls floating elegantly on top rather than blocking the view. This transparency creates a much more immersive experience, turning the spacebar preview from a static snapshot into a dynamic window into the file's contents. It is a subtle change, but one that significantly enhances the utility of the tool for power users who deal with large media archives daily.

The port also brings robust support for light and dark modes, a feature that has become non-negotiable for desktop environments. Earlier versions of Sushi struggled with theming, often appearing jarringly bright on dark backgrounds or losing contrast in light themes. With the new GTK4 bindings, the preview now respects the system settings perfectly. This means the tool adapts to your workflow, whether you are coding late at night in a dark environment or browsing documentation during the day. It is a small detail that speaks volumes about the maturity of the software, ensuring that the tool feels like a native part of the GNOME experience rather than a relic from a previous era.

Ultimately, this update is a testament to the ongoing effort within the Linux community to keep core utilities current. Tools like Sushi serve as the glue that holds the usability of a file manager together, allowing users to interact with their data intuitively. By investing the effort to port this utility to the latest toolkit, developers are ensuring that the magic of instant previewing remains available for the foreseeable future. It is a reminder that even in the world of open source, where code is free, the labor of updating and maintaining those tools is what keeps the experience seamless and enjoyable for everyone.

Read the original article →

Comments