Skip to content

Custom cursor themes do not work #153

@davidhedlund

Description

@davidhedlund

Description

When using Flatpak on Ubuntu, custom cursor themes do not apply by default due to sandboxing restrictions. To enable custom cursors in Flathub apps, the following overrides can be used:

flatpak --user override --filesystem=/home/$USER/.icons/:ro
flatpak --user override --filesystem=/usr/share/icons/:ro

These lines grant Flatpak apps read-only access to the cursor theme directories, allowing custom cursors to work.

Issue

  • All Flathub apps respect these overrides and apply the custom cursor theme after restarting the app.
  • The Freetube Flatpak app does not apply the custom cursor theme and continues to use the default cursor despite these overrides.

Steps to reproduce

  1. Set a custom cursor theme on your host system.
  2. Apply the above filesystem overrides.
  3. Restart any Flathub app (e.g., Firefox, Discord) and observe the cursor changes accordingly.
  4. Restart Freetube and observe that the cursor remains the default one.

Expected behavior

Freetube should apply the custom cursor theme and behave consistently with other Flathub apps when these overrides are used.

Environment

  • Cursor theme used: Bibata-Modern-Ice
  • Freetube Flatpak version: v0.23.12 Beta

Additional notes

  • Setting environment variables like XCURSOR_THEME and XCURSOR_SIZE did not resolve the issue for Freetube.
  • Other Flathub apps respond correctly to these environment and filesystem overrides.
  • This may indicate a Freetube-specific sandboxing or packaging issue affecting cursor theme support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions