If Flameshot's screenshot selector on Linux keeps popping up on the wrong monitor — even one that's turned off — check your primary display setting before anything else.
On my Gentoo + XFCE4 + X11 setup, Flameshot (Flatpak) kept opening its capture overlay on my second monitor, no matter what I did. Compositor tweaks, permissions, config resets — nothing worked.
The actual cause: my main monitor wasn't set as primary in XFCE's display settings. Flameshot just follows whatever XRandR reports as primary, regardless of which screen is actually active.
One change in Settings → Display, and it's been working perfectly since.
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
Showing posts with label flatpak. Show all posts
Showing posts with label flatpak. Show all posts
Friday, August 28, 2026
Sunday, May 03, 2026
gnome-boxes from flatpak: file selection window does not show
I had that issue on gentoo running systemd with xfce4. Even though xdg-desktop-portal and xdg-desktop-portal-gtk portals were installed and running, gnome-boxes file selection window was not working. The solution was to set gtk portal by default:
create ~/.config/xdg-desktop-portal/portals.conf:
create ~/.config/xdg-desktop-portal/portals.conf:
[preferred]
default=gtk
org.freedesktop.impl.portal.FileChooser=gtk
Labels:
flatpak,
gentoo,
gnome-boxes,
xfce4
Sunday, April 12, 2026
gentoo with systemd: simplescan from flatpak does not open Export save file window
Have to make sure that xdg-desktop-portal-gtk portal on gentoo is installed and running (run a regular user, not root):
systemctl --user status xdg-desktop-portal-gtk.service
If it is not running enable it:
systemctl --user enable --now xdg-desktop-portal-gtk.service
Labels:
flatpak,
gentoo,
simplescan
Friday, March 06, 2026
flatpak: Kdenlive error: Could not initialize GLX
Could not initialize GLX
Have to **update flatpak** as probably nvidia drivers in flatpaks are much different than on the host.
Tuesday, December 16, 2025
gentoo: distrobox-host-exec on gentoo host does not do notthing
Have to install flatpak on gentoo host:
https://github.com/89luca89/distrobox/issues/1198#issuecomment-1951056599
sudo emerve -av flatpak
https://github.com/89luca89/distrobox/issues/1198#issuecomment-1951056599
Sunday, September 08, 2024
Firefox open/save window does not show in flatpak
Make sure `xdg-desktop-portal-gtk` service is working and `xdg-desktop-portal-gtk` is disabled:
https://reddit.com/r/flatpak/comments/z5nwhz/how_do_i_get_firefox_to_save_downloaded_files/ldwmadz/
Subscribe to:
Posts (Atom)