From a07782b7a814a85eea093cab939b5848b44abcc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20B=C3=A1lint=20Hunor?= Date: Thu, 8 Oct 2026 19:59:33 +0300 Subject: [PATCH 1/5] Prepare 0.1.0-alpha2 release Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq --- CHANGELOG.md | 36 +++++++++ docs/linux-port/release-notes/0.1.0-alpha2.md | 77 +++++++++++++++++++ ....github.memergamer.LinuxFiles.metainfo.xml | 6 ++ src/Files.App/Files.App.csproj | 2 +- 4 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 docs/linux-port/release-notes/0.1.0-alpha2.md diff --git a/CHANGELOG.md b/CHANGELOG.md index c10e16acf0f6..69cf371862b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,42 @@ LinuxFiles is an unofficial native Linux port of [Files](https://github.com/files-community/Files) by the Files Community. This changelog covers the fork only. +## 0.1.0-alpha2 - 2026-10-08 + +Second alpha, driven by feedback on the first. Expect rough edges and keep backups. Report issues at +https://github.com/MemerGamer/LinuxFiles/issues. + +### Features + +- Optional Adwaita-style appearance (Settings > Appearance): libadwaita light and dark palettes, rounded controls + and more spacing, applied by overriding existing resources. Off by default. +- Window opacity setting (Linux, needs a compositing window manager). The Backdrop material card is hidden on + Linux because it did nothing. +- Nix flake (`nix run github:MemerGamer/LinuxFiles`) wrapping the release tarball. Root actions are off in the + Nix package. +- `FILES_RENDERER=software|opengl|gles|vulkan` to override the rendering backend. + +### Fixes + +- The app background image setting now shows the image (the path was never decoded and the light file area + covered it). Images are loaded with size and pixel limits, special files are rejected and animations use their + first frame. +- The glitching icon at the top left of the tab bar: two buttons were drawn on top of each other, and the hidden + one swallowed the clicks meant for the tab actions menu. +- Systems without GPU acceleration use the software renderer, which roughly halves startup CPU use and + navigation cost. +- Fractional `Xft.dpi` values such as `144.0` are honoured instead of falling back to 100 percent scale. +- Holding Page Down in a large folder no longer freezes repainting (repeats are coalesced), and the Details column + header stays visible when the list is scrolled. +- The root helper installer refuses to overwrite files owned by a distro package, and the AppImage and Flatpak + builds only strip the root-mode desktop action instead of everything after it. + +### Known limitations + +- Text can look soft at 100 percent scale: Uno's font hinting settings are not configurable. With fractional + scaling under XWayland, set `Xft.dpi` (KDE: apply scaling themselves) to avoid compositor upscaling. +- Window opacity fades the whole window, and compositors that ignore the property show no change. + ## 0.1.0-alpha1 - 2026-10-06 First public alpha. Expect rough edges and do not rely on it for data you cannot afford to lose. Please report diff --git a/docs/linux-port/release-notes/0.1.0-alpha2.md b/docs/linux-port/release-notes/0.1.0-alpha2.md new file mode 100644 index 000000000000..3eae6349d203 --- /dev/null +++ b/docs/linux-port/release-notes/0.1.0-alpha2.md @@ -0,0 +1,77 @@ +# LinuxFiles 0.1.0-alpha2 + +First public alpha of LinuxFiles, an unofficial native Linux port of [Files](https://github.com/files-community/Files) by the Files Community. Expect rough edges and keep backups of anything you care about. + +## Highlights + +- Optional Adwaita-style appearance, a working app background image and a window opacity setting. +- The glitching tab bar icon is fixed, and systems without GPU acceleration render with about half the CPU. +- A Nix flake for NixOS (`nix run github:MemerGamer/LinuxFiles`). +- Holding Page Down in big folders no longer freezes the window, and the Details header stays visible. +- Safer root helper installation and packaging filters. +- Everything from alpha1: native Linux (X11 / XWayland), fast grouped views, KDE service menus, optional polkit root actions, native file pickers, archives, tabs in a client-side title bar. + +Full notes: [CHANGELOG.md](https://github.com/MemerGamer/LinuxFiles/blob/main/CHANGELOG.md). + +## Install + +Requires x86_64 Linux with X11 or XWayland. Packages are self-contained. + +**Arch (AUR)**, which also installs the optional polkit root helper: + +```sh +yay -S linuxfiles-bin # or paru -S linuxfiles-bin +``` + +**AppImage**: + +```sh +chmod +x Files-x86_64.AppImage && ./Files-x86_64.AppImage +``` + +**Flatpak bundle** (root actions are off in the sandbox): + +```sh +flatpak install --user Files-x86_64.flatpak +flatpak run io.github.memergamer.LinuxFiles +``` + +**Nix** (flake, no root actions): + +```sh +nix run github:MemerGamer/LinuxFiles +``` + +**Tarball**: + +```sh +tar xzf files-linux-x64.tar.gz && ./linux-x64/Files +``` + +To install the tarball for your user, run `scripts/linux/install-local.sh --from ` from a clone of the repository. `files-packaging.tar.gz` is for packagers. + +## Checksums + +Download `SHA256SUMS` into the same folder as your download and run: + +```sh +sha256sum -c --ignore-missing SHA256SUMS +``` + +## Known issues + +- Text can look soft at 100 percent scale (Uno font hinting); with fractional scaling under XWayland set `Xft.dpi`. +- Window opacity needs a compositing window manager and fades the whole window. +- Light-theme toolbar buttons can fade when focused. +- The Grid context-menu acrylic can show an olive smear. +- The Properties dialog has no backdrop. +- Long file names wrap in Details. +- Wayland runs through XWayland. +- The Nix package has no root actions, and was built but not run on a real NixOS machine. +- The Windows build is not restored yet (phase 8). + +Report problems at https://github.com/MemerGamer/LinuxFiles/issues. + +## Credits + +LinuxFiles is built on [Files](https://github.com/files-community/Files) by the [Files Community](https://github.com/files-community) and its contributors, used under the MIT licence. This port is not affiliated with or endorsed by the Files Community; the supported Files for Windows is at [files.community](https://files.community/). Thanks also to the Uno Platform and SkiaSharp projects that make the Linux port possible. See [NOTICE.md](https://github.com/MemerGamer/LinuxFiles/blob/main/NOTICE.md). diff --git a/packaging/linux/io.github.memergamer.LinuxFiles.metainfo.xml b/packaging/linux/io.github.memergamer.LinuxFiles.metainfo.xml index 237717174258..8bb3dc03fdf2 100644 --- a/packaging/linux/io.github.memergamer.LinuxFiles.metainfo.xml +++ b/packaging/linux/io.github.memergamer.LinuxFiles.metainfo.xml @@ -28,6 +28,12 @@ + + https://github.com/MemerGamer/LinuxFiles/releases/tag/linux-v0.1.0-alpha2 + +

Optional Adwaita-style appearance, a working app background image and window opacity, a fix for the glitching tab bar icon, faster rendering on systems without GPU acceleration, a Nix flake and safer root helper installation.

+
+
https://github.com/MemerGamer/LinuxFiles/releases/tag/linux-v0.1.0-alpha1 diff --git a/src/Files.App/Files.App.csproj b/src/Files.App/Files.App.csproj index 67675b73ba27..ae3f180c0962 100644 --- a/src/Files.App/Files.App.csproj +++ b/src/Files.App/Files.App.csproj @@ -54,7 +54,7 @@ - 0.1.0-alpha1 + 0.1.0-alpha2 0.1.0.0 0.1.0.0 false From c923fa885052a1c7504230be8170f2e91cf0ce9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20B=C3=A1lint=20Hunor?= Date: Thu, 8 Oct 2026 21:24:34 +0300 Subject: [PATCH 2/5] Fix the background image being hidden by the Adwaita appearance Make the large-surface Adwaita brushes alpha colours that blend to the same opaque look, drop the shell theme shadow under Adwaita so it does not darken the translucent file area, and always log the rendering backend choice. Co-Authored-By: Claude Sonnet 5.5 --- src/Files.App/Platforms/Desktop/Program.cs | 3 +-- src/Files.App/Styles/AdwaitaResources.xaml | 26 ++++++++++--------- .../Views/Shells/ModernShellPage.xaml.cs | 21 +++++++++++++++ 3 files changed, 36 insertions(+), 14 deletions(-) diff --git a/src/Files.App/Platforms/Desktop/Program.cs b/src/Files.App/Platforms/Desktop/Program.cs index 9dda90c11063..782c513c7a98 100644 --- a/src/Files.App/Platforms/Desktop/Program.cs +++ b/src/Files.App/Platforms/Desktop/Program.cs @@ -95,8 +95,7 @@ public static int Main(string[] args) // Software GL (llvmpipe) is slower than Uno's software renderer; FILES_RENDERER=software|opengl|gles|vulkan overrides var (renderingBackend, reason) = RenderingBackendSelector.Resolve(Environment.GetEnvironmentVariable, RenderingBackendSelector.HasGpuDevice); - if (reason is not null) - Console.Error.WriteLine($"[Files] Rendering backend: {renderingBackend} ({reason})"); + Console.Error.WriteLine($"[Files] Rendering backend: {renderingBackend} ({reason ?? "default"})"); var host = UnoPlatformHostBuilder.Create() .App(() => new App()) diff --git a/src/Files.App/Styles/AdwaitaResources.xaml b/src/Files.App/Styles/AdwaitaResources.xaml index 160ebcd2d74b..81accb6a36ad 100644 --- a/src/Files.App/Styles/AdwaitaResources.xaml +++ b/src/Files.App/Styles/AdwaitaResources.xaml @@ -1,5 +1,7 @@ + + @@ -24,12 +26,12 @@ 38 - - - - - - + + + + + + @@ -181,12 +183,12 @@ 38 - - - - - - + + + + + + diff --git a/src/Files.App/Views/Shells/ModernShellPage.xaml.cs b/src/Files.App/Views/Shells/ModernShellPage.xaml.cs index 5f6ef4ea45cc..1d87a4e694de 100644 --- a/src/Files.App/Views/Shells/ModernShellPage.xaml.cs +++ b/src/Files.App/Views/Shells/ModernShellPage.xaml.cs @@ -60,10 +60,31 @@ public ModernShellPage() : base(new CurrentInstanceViewModel()) ItemDisplayFrame.NavigationFailed += (s, e) => Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(App.Logger, e.Exception, "Navigation to {T} failed", e.SourcePageType?.Name); BackIcon.Visibility = Visibility.Collapsed; ForwardIcon.Visibility = Visibility.Collapsed; + + // The theme shadow shows through the translucent Adwaita file area and darkens it + Loaded += (_, _) => + { + UpdateShellShadow(); + userSettingsService.AppearanceSettingsService.PropertyChanged += AppearanceSettingsService_PropertyChanged; + }; + Unloaded += (_, _) => userSettingsService.AppearanceSettingsService.PropertyChanged -= AppearanceSettingsService_PropertyChanged; #endif // LINUX-TODO(overscroll): touchpad overscroll navigation needs InteractionTracker, which Uno does not implement } +#if !WINDOWS + private void AppearanceSettingsService_PropertyChanged(object? sender, System.ComponentModel.PropertyChangedEventArgs e) + { + if (e.PropertyName == nameof(IAppearanceSettingsService.UseAdwaitaTheme)) + UpdateShellShadow(); + } + + private void UpdateShellShadow() + { + RootGrid.Shadow = userSettingsService.AppearanceSettingsService.UseAdwaitaTheme ? null : ShellContentThemeShadow; + } +#endif + private async void ShellViewModel_FocusFilterHeader(object? sender, EventArgs e) { // Delay to ensure the UI is ready for focus From 95e7aaf8a8c7628d6c721b7db6ad301b39691005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20B=C3=A1lint=20Hunor?= Date: Thu, 8 Oct 2026 22:32:17 +0300 Subject: [PATCH 3/5] Preserve opaque Adwaita colours without a background image Co-Authored-By: Claude Sonnet 5.5 --- .../Services/App/AppResourcesService.cs | 21 +++++++++++- .../Styles/AdwaitaBackgroundResources.xaml | 22 ++++++++++++ src/Files.App/Styles/AdwaitaResources.xaml | 26 +++++++------- .../Views/Shells/ModernShellPage.xaml.cs | 34 ++++++++++++++----- 4 files changed, 79 insertions(+), 24 deletions(-) create mode 100644 src/Files.App/Styles/AdwaitaBackgroundResources.xaml diff --git a/src/Files.App/Services/App/AppResourcesService.cs b/src/Files.App/Services/App/AppResourcesService.cs index 9b5c2e106a76..4cc8de3acb54 100644 --- a/src/Files.App/Services/App/AppResourcesService.cs +++ b/src/Files.App/Services/App/AppResourcesService.cs @@ -13,6 +13,7 @@ public sealed class ResourcesService : IResourcesService private IUserSettingsService UserSettingsService { get; } = Ioc.Default.GetRequiredService(); private ResourceDictionary? adwaitaResources; + private ResourceDictionary? adwaitaBackgroundResources; public ResourcesService() { @@ -44,11 +45,29 @@ private void UpdateAppearanceResources() { dictionaries.Remove(adwaitaResources); } + + var appearance = UserSettingsService.AppearanceSettingsService; + if (appearance.UseAdwaitaTheme && !string.IsNullOrWhiteSpace(appearance.AppThemeBackgroundImageSource) && appearance.AppThemeBackgroundImageOpacity > 0) + { + adwaitaBackgroundResources ??= new ResourceDictionary + { + Source = new Uri("ms-appx:///Styles/AdwaitaBackgroundResources.xaml"), + }; + + if (!dictionaries.Contains(adwaitaBackgroundResources)) + dictionaries.Add(adwaitaBackgroundResources); + } + else if (adwaitaBackgroundResources is not null) + { + dictionaries.Remove(adwaitaBackgroundResources); + } } private void AppearanceSettingsService_PropertyChanged(object? sender, PropertyChangedEventArgs e) { - if (e.PropertyName == nameof(IAppearanceSettingsService.UseAdwaitaTheme)) + if (e.PropertyName is nameof(IAppearanceSettingsService.UseAdwaitaTheme) or + nameof(IAppearanceSettingsService.AppThemeBackgroundImageSource) or + nameof(IAppearanceSettingsService.AppThemeBackgroundImageOpacity)) { UpdateAppearanceResources(); ApplyResources(); diff --git a/src/Files.App/Styles/AdwaitaBackgroundResources.xaml b/src/Files.App/Styles/AdwaitaBackgroundResources.xaml new file mode 100644 index 000000000000..9ab4b0046e76 --- /dev/null +++ b/src/Files.App/Styles/AdwaitaBackgroundResources.xaml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Files.App/Styles/AdwaitaResources.xaml b/src/Files.App/Styles/AdwaitaResources.xaml index 81accb6a36ad..160ebcd2d74b 100644 --- a/src/Files.App/Styles/AdwaitaResources.xaml +++ b/src/Files.App/Styles/AdwaitaResources.xaml @@ -1,7 +1,5 @@ - - @@ -26,12 +24,12 @@ 38 - - - - - - + + + + + + @@ -183,12 +181,12 @@ 38 - - - - - - + + + + + + diff --git a/src/Files.App/Views/Shells/ModernShellPage.xaml.cs b/src/Files.App/Views/Shells/ModernShellPage.xaml.cs index 1d87a4e694de..721d26683dcd 100644 --- a/src/Files.App/Views/Shells/ModernShellPage.xaml.cs +++ b/src/Files.App/Views/Shells/ModernShellPage.xaml.cs @@ -61,27 +61,38 @@ public ModernShellPage() : base(new CurrentInstanceViewModel()) BackIcon.Visibility = Visibility.Collapsed; ForwardIcon.Visibility = Visibility.Collapsed; - // The theme shadow shows through the translucent Adwaita file area and darkens it - Loaded += (_, _) => - { - UpdateShellShadow(); - userSettingsService.AppearanceSettingsService.PropertyChanged += AppearanceSettingsService_PropertyChanged; - }; - Unloaded += (_, _) => userSettingsService.AppearanceSettingsService.PropertyChanged -= AppearanceSettingsService_PropertyChanged; + Loaded += ModernShellPage_Loaded; + Unloaded += ModernShellPage_Unloaded; #endif // LINUX-TODO(overscroll): touchpad overscroll navigation needs InteractionTracker, which Uno does not implement } #if !WINDOWS + private void ModernShellPage_Loaded(object sender, RoutedEventArgs e) + { + UpdateShellShadow(); + userSettingsService.AppearanceSettingsService.PropertyChanged -= AppearanceSettingsService_PropertyChanged; + userSettingsService.AppearanceSettingsService.PropertyChanged += AppearanceSettingsService_PropertyChanged; + } + + private void ModernShellPage_Unloaded(object sender, RoutedEventArgs e) + { + userSettingsService.AppearanceSettingsService.PropertyChanged -= AppearanceSettingsService_PropertyChanged; + } + private void AppearanceSettingsService_PropertyChanged(object? sender, System.ComponentModel.PropertyChangedEventArgs e) { - if (e.PropertyName == nameof(IAppearanceSettingsService.UseAdwaitaTheme)) + if (e.PropertyName is nameof(IAppearanceSettingsService.UseAdwaitaTheme) or + nameof(IAppearanceSettingsService.AppThemeBackgroundImageSource) or + nameof(IAppearanceSettingsService.AppThemeBackgroundImageOpacity)) UpdateShellShadow(); } private void UpdateShellShadow() { - RootGrid.Shadow = userSettingsService.AppearanceSettingsService.UseAdwaitaTheme ? null : ShellContentThemeShadow; + var appearance = userSettingsService.AppearanceSettingsService; + var hasBackground = !string.IsNullOrWhiteSpace(appearance.AppThemeBackgroundImageSource) && appearance.AppThemeBackgroundImageOpacity > 0; + RootGrid.Shadow = appearance.UseAdwaitaTheme && hasBackground ? null : ShellContentThemeShadow; } #endif @@ -298,6 +309,11 @@ public override void Up_Click() public override void Dispose() { +#if !WINDOWS + Loaded -= ModernShellPage_Loaded; + Unloaded -= ModernShellPage_Unloaded; + userSettingsService.AppearanceSettingsService.PropertyChanged -= AppearanceSettingsService_PropertyChanged; +#endif Bindings.StopTracking(); ContentChanged -= ModernShellPage_ContentChanged; ToolbarViewModel.RefreshWidgetsRequested -= ModernShellPage_RefreshWidgetsRequested; From cb730b454a46861d63837fa9f1b19e266b28e4f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20B=C3=A1lint=20Hunor?= Date: Thu, 8 Oct 2026 22:32:39 +0300 Subject: [PATCH 4/5] Clarify alpha2 release notes and Adwaita background behaviour Co-Authored-By: Claude Sonnet 5.5 --- CHANGELOG.md | 3 ++- docs/linux-port/release-notes/0.1.0-alpha2.md | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69cf371862b5..392516169e61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,8 @@ https://github.com/MemerGamer/LinuxFiles/issues. - The app background image setting now shows the image (the path was never decoded and the light file area covered it). Images are loaded with size and pixel limits, special files are rejected and animations use their - first frame. + first frame. Adwaita surfaces become translucent only while a background image is configured with nonzero opacity, + preserving the original opaque colours when no image is set. - The glitching icon at the top left of the tab bar: two buttons were drawn on top of each other, and the hidden one swallowed the clicks meant for the tab actions menu. - Systems without GPU acceleration use the software renderer, which roughly halves startup CPU use and diff --git a/docs/linux-port/release-notes/0.1.0-alpha2.md b/docs/linux-port/release-notes/0.1.0-alpha2.md index 3eae6349d203..0991d90676b9 100644 --- a/docs/linux-port/release-notes/0.1.0-alpha2.md +++ b/docs/linux-port/release-notes/0.1.0-alpha2.md @@ -1,10 +1,10 @@ # LinuxFiles 0.1.0-alpha2 -First public alpha of LinuxFiles, an unofficial native Linux port of [Files](https://github.com/files-community/Files) by the Files Community. Expect rough edges and keep backups of anything you care about. +Second public alpha of LinuxFiles, an unofficial native Linux port of [Files](https://github.com/files-community/Files) by the Files Community. Expect rough edges and keep backups of anything you care about. ## Highlights -- Optional Adwaita-style appearance, a working app background image and a window opacity setting. +- Optional Adwaita-style appearance, background images that also show through Adwaita surfaces, and a window opacity setting. - The glitching tab bar icon is fixed, and systems without GPU acceleration render with about half the CPU. - A Nix flake for NixOS (`nix run github:MemerGamer/LinuxFiles`). - Holding Page Down in big folders no longer freezes the window, and the Details header stays visible. From 909bfef54807a271a31d76412d6b3ab1694e1f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20B=C3=A1lint=20Hunor?= Date: Thu, 8 Oct 2026 22:36:07 +0300 Subject: [PATCH 5/5] Refresh Adwaita resources only when surface mode changes Co-Authored-By: Claude Sonnet 5.5 --- .../Services/App/AppResourcesService.cs | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/Files.App/Services/App/AppResourcesService.cs b/src/Files.App/Services/App/AppResourcesService.cs index 4cc8de3acb54..2f8658f01a88 100644 --- a/src/Files.App/Services/App/AppResourcesService.cs +++ b/src/Files.App/Services/App/AppResourcesService.cs @@ -25,12 +25,13 @@ public ResourcesService() UserSettingsService.GeneralSettingsService.PropertyChanged += GeneralSettingsService_PropertyChanged; } - private void UpdateAppearanceResources() + private bool UpdateAppearanceResources() { if (!OperatingSystem.IsLinux()) - return; + return false; var dictionaries = Application.Current.Resources.MergedDictionaries; + var changed = false; if (UserSettingsService.AppearanceSettingsService.UseAdwaitaTheme) { adwaitaResources ??= new ResourceDictionary @@ -39,11 +40,14 @@ private void UpdateAppearanceResources() }; if (!dictionaries.Contains(adwaitaResources)) + { dictionaries.Add(adwaitaResources); + changed = true; + } } else if (adwaitaResources is not null) { - dictionaries.Remove(adwaitaResources); + changed |= dictionaries.Remove(adwaitaResources); } var appearance = UserSettingsService.AppearanceSettingsService; @@ -55,12 +59,17 @@ private void UpdateAppearanceResources() }; if (!dictionaries.Contains(adwaitaBackgroundResources)) + { dictionaries.Add(adwaitaBackgroundResources); + changed = true; + } } else if (adwaitaBackgroundResources is not null) { - dictionaries.Remove(adwaitaBackgroundResources); + changed |= dictionaries.Remove(adwaitaBackgroundResources); } + + return changed; } private void AppearanceSettingsService_PropertyChanged(object? sender, PropertyChangedEventArgs e) @@ -69,8 +78,8 @@ private void AppearanceSettingsService_PropertyChanged(object? sender, PropertyC nameof(IAppearanceSettingsService.AppThemeBackgroundImageSource) or nameof(IAppearanceSettingsService.AppThemeBackgroundImageOpacity)) { - UpdateAppearanceResources(); - ApplyResources(); + if (UpdateAppearanceResources()) + ApplyResources(); } }