Skip to content

feat: add Nautilus availability check and corresponding UI banner#387

Open
egalvis27 wants to merge 4 commits into
feat/add-share-link-to-drive-filesfrom
feat/add-nutilus-banner-missing
Open

feat: add Nautilus availability check and corresponding UI banner#387
egalvis27 wants to merge 4 commits into
feat/add-share-link-to-drive-filesfrom
feat/add-nutilus-banner-missing

Conversation

@egalvis27

Copy link
Copy Markdown

Summary

This PR adds Nautilus compatibility detection and surfaces a clear warning in the widget when the current file explorer is not supported.

The goal is to avoid trying to install/use Nautilus-specific integration on distributions that use other file managers (for example, Nemo on Linux Mint), while informing users that some features may be limited.

What Changed

  • Added a dedicated Nautilus availability checker:
    • Validates the default directory handler via xdg-mime query default inode/directory
    • Validates that the Nautilus binary exists via command -v nautilus
  • Updated the Nautilus extension installation flow to skip installation when Nautilus is not available.
  • Added a new widget warning banner shown when Nautilus is unavailable.

Why

Without this check, systems where Nautilus is installed but not used as the default file explorer could still trigger Nautilus extension installation attempts. This change prevents unnecessary integration attempts and gives users immediate feedback when file-explorer-dependent features may not work as expected.

@egalvis27 egalvis27 force-pushed the feat/add-nutilus-banner-missing branch from f8d4a68 to 583b3b3 Compare June 11, 2026 04:04
@sonarqubecloud

Copy link
Copy Markdown

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