Skip to content

Conversation

@NachtsternBuild
Copy link

Hello everyone,

here is my attempt to also provide Linux Assistant as a Snap.
Not everything is working yet. But at least LA starts up and the UI works correctly. Access should also work. I will test what works over the next few days.

A few ideas for further integration would be great, if anyone is interested.

first setup to building the linux-assistant as snap
fix error with starting the snap
set snap to classic, add depends for classic snap and some configs
use cairo render to shorten the startup time of LA
@NachtsternBuild
Copy link
Author

NachtsternBuild commented Sep 25, 2025

Brief test overview

If you want to test it yourself but don't want to build the snap:
https://github.com/NachtsternBuild/linux-assistant/releases

What works:

  • installing apps
  • security check
  • linux health
  • updates
  • setting up flatpak
  • memory cleanup
  • Running APT/flatpak commands
  • add user to sudo
  • setup after installing LA
  • switching power mode
  • exit LA
  • showing system informations at the start screen of LA
  • change grub configs
  • shutdown the system from the LA
  • detection of installed apps
  • searching URL in the webbrowser
  • bookmarks
  • recently opened folders/folders
  • system information
  • change password
  • searching for apps over LA

Bugs:

  • LA crashes when it attempts to launch external apps or initiate actions via external apps sometimes (no idea why)
  • LA shortcut crashes:
** (linux-assistant:88888): WARNING **: 12:32:44.035: Binding '<Meta>q' failed!

Warnings:

  • apt does not have a stable CLI interface. Use with caution in scripts. → this may cause problems with the app search or other

Flutter Bugs:
It is possible that these errors also occur at runtime as deb, rpm, or flatpak.

  • When ending the LA:
embedder.cc (2519): 'FlutterEngineRemoveView' returned 'kInvalidArguments'. Remove view info was invalid. The implicit view cannot be removed.
  • After searching with the LA:
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: Null check operator used on a null value
#0      State.setState (package:flutter/src/widgets/framework.dart:1227)
#1      _SystemStatusState.initState.<anonymous closure> (package:linux_assistant/widgets/memory_status.dart:32)
#2      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:410)
#3      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:441)
#4      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:194)

disable some vars for better system access; add fallback for dataDirs (get_applications.py), needed if snap has a empty XDG_DATA_DIR env; add workaround if snap get a empty icon path/name (get_icon_path_for_file.py)
add plugins for gsettings, unity7, usb, hopefully that improve help against random crashs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant