Tiny mouse pointer i HiDPI screen (only Snap package)

Reply
Highlighted

Tiny mouse pointer i HiDPI screen (only Snap package)

Regular

Plan Premium

Operating System Ubuntu 20.04

My Question or Issue

 

The mouse pointer looks extremely tiny  when running the Snap version in a HiDPI screen. Notice that the problem is not related to the size of the text, the text can be correctly zoomed in as needed. But the mouse pointer remains tiny, it's not scaled with the text.

 

A cursory web search shows that this is reported many times before. There is an upstream fix (https://github.com/flatpak/flatpak/issues/740) but I'm not sure whether this is supposed to work out-of-the-box or applied by each packager (in this case by Spotify). 

3 Replies
Highlighted

Re: Tiny mouse pointer im HiDPI screen (only Snap package)

Newbie
I am also experiencing this issue. Until this is fixed by Spotify, I'm using a temporary workaround. In Spotify's desktop file (mine was located in `/var/lib/snapd/desktop/applications`), append `XCURSOR_THEME=your_cursor_theme` (where your_cursor_theme is your actual cursor theme, e.g. Adwaita) to the `env` declaration in the `Exec` property. So it should end up looking something like this:

```
Exec=env XCURSOR_THEME=DMZ-White BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/spotify_spotify.desktop /snap/bin/spotify %U
```
Highlighted

Re: Tiny mouse pointer im HiDPI screen (only Snap package)

Regular

This is easy to fix:

 

https://forum.snapcraft.io/t/very-ugly-cursor-for-spotify-and-kde-snaps/17118

 

but requires that Spotify updates its package.

 

Many reports have been made for a couple of years now.

 

I don't think we are asking too much. The technology to easily and properly support Linux is now out there. Come on Spotify!

Highlighted

Re: Tiny mouse pointer im HiDPI screen (only Snap package)

Regular
Doesn't fix the issue, the cursor is still tiny in HiDPI, maybe this changes its theme but not its scale.
SUGGESTED POSTS