Xdg-desktop-portal-gtk cause freeze on awesomewm. (failed to start problem)

System

Fedora 39 Workstation
awesomewm
Trying to use adwaita-dark, papirus-dark icon and vimix cursor(this works).

What I did for solving?

  1. Tried to mask portal-gtk but it’s still started itself
  2. Tried different display manager.
  3. Tried reinstalling portal*
  4. Tried using xinitrc instead of display manager.
  5. Deleted portal-gtk and portal-gnome
  • sudo rpm -e --nodeps xdg-desktop-portal-gtk
  • Cause problem on portal No skeloton to export and still freeze every 15 min because it’s start and stop itself every 15min.
  1. I add .bashrc export XDG_CURRENT_DESKTOP=awesome because It’s exporting wayland instead of awesome.
  2. I deleted all gtk files from .config in case they were causing the problem
  • When I restart the system after deleting gtk files, gtk-3.0 is created by the system.
.config/gtk-3.0/settings.ini
[Settings]
gtk-theme-name=Adwaita-dark
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Sans 10
gtk-cursor-theme-name=Vimix-white-cursors
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintmedium
  • I see vimix cursor on applications but it’s fallback to adwaita while on awesomewm bar or on wallpaper(like empty workspace).
  • Icon and theme fallbacks to adwaita.

What can be the problem? (I guess?)

  • I find this from xdg-desktop-portal docs:

Desktop environments and OS vendors should provide a default configuration for their chosen portal backends in /usr/share/xdg-desktop-portal/DESKTOP-portals.conf, where DESKTOP is the desktop environment name as it would appear in the XDG_CURRENT_DESKTOP environment variable, after case-folding ASCII upper case to lower case. For example, KDE should provide /usr/share/xdg-desktop-portal/kde-portals.conf.

  • and mine says wayland:
echo $XDG_CURRENT_DESKTOP                                                                                       ─╯
wayland
  • and there is nothing portal.conf ralated with wayland(e.g wayland-portal.conf) instead of gnome,hyprland.
  • I am searching for awesome-portal.conf but didn’t find anything about it for now.

Other infos

  • I didn’t experience that on hyprland and gnome.
    • I get same errors on i3wm but I didn’t encounter any lag or frezees like awesomewm.
  • I use gnome apps like nautilius, disks etc.
  • Sorry for grammer mistakes.

Logs

journalctl -u xdg-desktop-portal-gtk

No entiries

Main problem with portal-gtk

  • awesomewm, freeze(3 seconds) every 15 minutes while giving this error: journalctl
Failed to start file xdg-desktop-portal-gtk.service: Unit file xdg-desktop-portal-gtk.service not found.
  • Systemctl didn’t give any error for portal-gtk. It’s show starting and started and it’s active (running).

After install portal-gtk and portal-gnome again

Jan 14 portal-gtk journalctl
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 14 10:45:02 fedora systemd[51034]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME impl>
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 14 10:45:02 fedora systemd[51034]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME impl>
Jan 14 10:45:02 fedora systemd[51034]: Started pipewire.service - PipeWire Multimedia Service.
Jan 14 10:45:02 fedora systemd[51034]: Started wireplumber.service - Multimedia Service Session Manager.
Jan 14 10:45:02 fedora xdg-desktop-por[51087]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-r>
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 14 10:45:02 fedora systemd[51034]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME impl>
Jan 14 10:45:02 fedora xdg-desktop-por[51087]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-res>
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 14 10:45:02 fedora systemd[51034]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME impl>
Jan 14 10:45:02 fedora abrt-dump-journal-core[1270]: Failed to obtain all required information from journald
Jan 14 10:45:02 fedora xdg-desktop-por[51087]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as >
Jan 14 10:45:02 fedora abrt-dump-journal-core[1270]: Failed to save detect problem data in abrt database
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 14 10:45:02 fedora systemd[51034]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.

After mask portal-gtk

journalctl desktop-por
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: No skeleton to export
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
Jan 13 10:52:52 fedora dbus-broker-launch[1639]: Activation request for 'org.freedesktop.impl.portal.desktop.gtk' failed: The systemd unit 'xdg-desktop-portal-gtk.service' is masked.
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback
Jan 13 10:52:52 fedora xdg-desktop-por[1840]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback

portal-gtk error before delete

journalctl
Jan 13 11:45:02 fedora systemd[26153]: Starting xdg-desktop-portal.service - Portal service...
Jan 13 11:45:02 fedora systemd[26153]: Starting xdg-document-portal.service - flatpak document portal service...
Jan 13 11:45:02 fedora systemd[26153]: Starting xdg-permission-store.service - sandboxed app permission store...
Jan 13 11:45:02 fedora systemd[26153]: Started xdg-permission-store.service - sandboxed app permission store.
Jan 13 11:45:02 fedora systemd[26153]: Started xdg-document-portal.service - flatpak document portal service.
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: No skeleton to export
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
Jan 13 11:45:02 fedora systemd[26153]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 13 11:45:02 fedora xdg-desktop-por[26232]: cannot open display: 
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 13 11:45:02 fedora systemd[26153]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Jan 13 11:45:02 fedora systemd[26153]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 13 11:45:02 fedora xdg-desktop-por[26239]: cannot open display: 
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 13 11:45:02 fedora systemd[26153]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
Jan 13 11:45:02 fedora systemd[26153]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 13 11:45:02 fedora xdg-desktop-por[26241]: cannot open display: 
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 13 11:45:02 fedora systemd[26153]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
Jan 13 11:45:02 fedora systemd[26153]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 13 11:45:02 fedora xdg-desktop-por[26243]: cannot open display: 
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 13 11:45:02 fedora systemd[26153]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Jan 13 11:45:02 fedora systemd[26153]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 13 11:45:02 fedora xdg-desktop-por[26245]: cannot open display: 
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 13 11:45:02 fedora systemd[26153]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 13 11:45:02 fedora systemd[26153]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 13 11:45:02 fedora systemd[26153]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 13 11:45:02 fedora systemd[26153]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 13 11:45:02 fedora systemd[26153]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 13 11:45:02 fedora xdg-desktop-por[26207]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback

After delete portal-gtk and portal-gnome

systemctl status
systemctl -l --no-pager --user status xdg-desktop-portal                                                       ─╯
● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Sat 2024-01-13 11:57:43 +03; 33min ago
   Main PID: 1761 (xdg-desktop-por)
      Tasks: 5 (limit: 19041)
     Memory: 3.5M
        CPU: 82ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal.service
             └─1761 /usr/libexec/xdg-desktop-portal

Jan 13 11:57:43 fedora systemd[1512]: Starting xdg-desktop-portal.service - Portal service...
Jan 13 11:57:43 fedora xdg-desktop-por[1761]: No skeleton to export
Jan 13 11:57:43 fedora systemd[1512]: Started xdg-desktop-portal.service - Portal service.

journalctl for xdg-desktop-portal
Jan 13 11:57:06 fedora systemd[1511]: Stopping xdg-desktop-portal.service - Portal service...
Jan 13 11:57:06 fedora systemd[1511]: Stopping xdg-document-portal.service - flatpak document portal service...
Jan 13 11:57:06 fedora systemd[1511]: Stopping xdg-permission-store.service - sandboxed app permission store...
Jan 13 11:57:06 fedora systemd[1511]: Stopped xdg-desktop-portal.service - Portal service.
Jan 13 11:57:06 fedora systemd[1511]: Stopped xdg-permission-store.service - sandboxed app permission store.
Jan 13 11:57:06 fedora systemd[1511]: Stopped xdg-document-portal.service - flatpak document portal service.
Jan 13 11:57:43 fedora systemd[1512]: Starting xdg-desktop-portal.service - Portal service...
Jan 13 11:57:43 fedora systemd[1512]: Starting xdg-document-portal.service - flatpak document portal service...
Jan 13 11:57:43 fedora systemd[1512]: Starting xdg-permission-store.service - sandboxed app permission store...
Jan 13 11:57:43 fedora systemd[1512]: Started xdg-permission-store.service - sandboxed app permission store.
Jan 13 11:57:43 fedora systemd[1512]: Started xdg-document-portal.service - flatpak document portal service.
Jan 13 11:57:43 fedora xdg-desktop-por[1761]: No skeleton to export
Jan 13 11:57:43 fedora systemd[1512]: Started xdg-desktop-portal.service - Portal service.
Jan 13 12:00:01 fedora systemd[6351]: Starting xdg-desktop-portal.service - Portal service...
Jan 13 12:00:01 fedora systemd[6351]: Starting xdg-document-portal.service - flatpak document portal service...
Jan 13 12:00:01 fedora systemd[6351]: Starting xdg-permission-store.service - sandboxed app permission store...
Jan 13 12:00:01 fedora systemd[6351]: Started xdg-permission-store.service - sandboxed app permission store.
Jan 13 12:00:01 fedora systemd[6351]: Started xdg-document-portal.service - flatpak document portal service.
Jan 13 12:00:01 fedora xdg-desktop-por[6404]: No skeleton to export
Jan 13 12:00:01 fedora systemd[6351]: Started xdg-desktop-portal.service - Portal service.
Jan 13 12:00:13 fedora systemd[6351]: Stopping xdg-desktop-portal.service - Portal service...
Jan 13 12:00:13 fedora systemd[6351]: Stopping xdg-document-portal.service - flatpak document portal service...
Jan 13 12:00:13 fedora systemd[6351]: Stopping xdg-permission-store.service - sandboxed app permission store...
Jan 13 12:00:13 fedora xdg-document-portal[6661]: fusermount3: /run/user/0/doc not mounted
Jan 13 12:00:13 fedora systemd[6351]: Stopped xdg-desktop-portal.service - Portal service.
Jan 13 12:00:13 fedora systemd[6351]: Stopped xdg-document-portal.service - flatpak document portal service.
Jan 13 12:00:13 fedora systemd[6351]: Stopped xdg-permission-store.service - sandboxed app permission store.
Jan 13 12:15:02 fedora systemd[24101]: Starting xdg-desktop-portal.service - Portal service...
Jan 13 12:15:02 fedora systemd[24101]: Starting xdg-document-portal.service - flatpak document portal service...
Jan 13 12:15:02 fedora systemd[24101]: Starting xdg-permission-store.service - sandboxed app permission store...
Jan 13 12:15:02 fedora systemd[24101]: Started xdg-permission-store.service - sandboxed app permission store.
Jan 13 12:15:02 fedora systemd[24101]: Started xdg-document-portal.service - flatpak document portal service.
Jan 13 12:15:02 fedora xdg-desktop-por[24136]: No skeleton to export
Jan 13 12:15:02 fedora systemd[24101]: Started xdg-desktop-portal.service - Portal service.
Jan 13 12:15:14 fedora systemd[24101]: Stopping xdg-desktop-portal.service - Portal service...
Jan 13 12:15:14 fedora systemd[24101]: Stopping xdg-document-portal.service - flatpak document portal service...
Jan 13 12:15:14 fedora systemd[24101]: Stopping xdg-permission-store.service - sandboxed app permission store...
Jan 13 12:15:14 fedora systemd[24101]: Stopped xdg-desktop-portal.service - Portal service.
Jan 13 12:15:14 fedora xdg-document-portal[24418]: fusermount3: /run/user/0/doc not mounted
Jan 13 12:15:14 fedora systemd[24101]: Stopped xdg-permission-store.service - sandboxed app permission store.
Jan 13 12:15:14 fedora systemd[24101]: Stopped xdg-document-portal.service - flatpak document portal service.

Starting manually

/usr/libexec/xdg-desktop-portal -vr & /usr/libexec/xdg-desktop-portal-gtk 2>&1 | tee xdpw.log
/usr/libexec/xdg-desktop-portal -vr & /usr/libexec/xdg-desktop-portal-gtk 2>&1 | tee xdpw.log                   ─╯

[2] 127432
XDP: Looking for portals configuration in '/home/fedora/.config/xdg-desktop-portal/awesome-portals.conf'
XDP: Looking for portals configuration in '/home/fedora/.config/xdg-desktop-portal/portals.conf'
XDP: Looking for portals configuration in '/etc/xdg/xdg-desktop-portal/awesome-portals.conf'
XDP: Looking for portals configuration in '/etc/xdg/xdg-desktop-portal/portals.conf'
XDP: Looking for portals configuration in '/etc/xdg-desktop-portal/awesome-portals.conf'
XDP: Looking for portals configuration in '/etc/xdg-desktop-portal/portals.conf'
XDP: Looking for portals configuration in '/home/fedora/.local/share/xdg-desktop-portal/awesome-portals.conf'
XDP: Looking for portals configuration in '/home/fedora/.local/share/xdg-desktop-portal/portals.conf'
XDP: Looking for portals configuration in '/home/fedora/.local/share/flatpak/exports/share/xdg-desktop-portal/awesome-portals.conf'
XDP: Looking for portals configuration in '/home/fedora/.local/share/flatpak/exports/share/xdg-desktop-portal/portals.conf'
XDP: Looking for portals configuration in '/var/lib/flatpak/exports/share/xdg-desktop-portal/awesome-portals.conf'
XDP: Looking for portals configuration in '/var/lib/flatpak/exports/share/xdg-desktop-portal/portals.conf'
XDP: Looking for portals configuration in '/usr/local/share/xdg-desktop-portal/awesome-portals.conf'
XDP: Looking for portals configuration in '/usr/local/share/xdg-desktop-portal/portals.conf'
XDP: Looking for portals configuration in '/usr/share/xdg-desktop-portal/awesome-portals.conf'
XDP: Looking for portals configuration in '/usr/share/xdg-desktop-portal/portals.conf'
XDP: Looking for portals configuration in '/usr/share/xdg-desktop-portal/awesome-portals.conf'
XDP: Looking for portals configuration in '/usr/share/xdg-desktop-portal/portals.conf'
XDP: load portals from /usr/share/xdg-desktop-portal/portals
XDP: loading /usr/share/xdg-desktop-portal/portals/gnome-keyring.portal
XDP: portal implementation supports org.freedesktop.impl.portal.Secret
XDP: loading /usr/share/xdg-desktop-portal/portals/hyprland.portal
XDP: portal implementation supports org.freedesktop.impl.portal.Screenshot
XDP: portal implementation supports org.freedesktop.impl.portal.ScreenCast
XDP: portal implementation supports org.freedesktop.impl.portal.GlobalShortcuts
XDP: loading /usr/share/xdg-desktop-portal/portals/gnome-shell.portal
XDP: portal implementation supports org.freedesktop.impl.portal.Access
XDP: loading /usr/share/xdg-desktop-portal/portals/gtk.portal
XDP: portal implementation supports org.freedesktop.impl.portal.FileChooser
XDP: portal implementation supports org.freedesktop.impl.portal.AppChooser
XDP: portal implementation supports org.freedesktop.impl.portal.Print
XDP: portal implementation supports org.freedesktop.impl.portal.Notification
XDP: portal implementation supports org.freedesktop.impl.portal.Inhibit
XDP: portal implementation supports org.freedesktop.impl.portal.Access
XDP: portal implementation supports org.freedesktop.impl.portal.Account
XDP: portal implementation supports org.freedesktop.impl.portal.Email
XDP: portal implementation supports org.freedesktop.impl.portal.DynamicLauncher
XDP: portal implementation supports org.freedesktop.impl.portal.Settings
XDP: loading /usr/share/xdg-desktop-portal/portals/gnome.portal
XDP: portal implementation supports org.freedesktop.impl.portal.Account
XDP: portal implementation supports org.freedesktop.impl.portal.AppChooser
XDP: portal implementation supports org.freedesktop.impl.portal.Background
XDP: portal implementation supports org.freedesktop.impl.portal.Clipboard
XDP: portal implementation supports org.freedesktop.impl.portal.DynamicLauncher
XDP: portal implementation supports org.freedesktop.impl.portal.FileChooser
XDP: portal implementation supports org.freedesktop.impl.portal.InputCapture
XDP: portal implementation supports org.freedesktop.impl.portal.Lockdown
XDP: portal implementation supports org.freedesktop.impl.portal.Print
XDP: portal implementation supports org.freedesktop.impl.portal.RemoteDesktop
XDP: portal implementation supports org.freedesktop.impl.portal.ScreenCast
XDP: portal implementation supports org.freedesktop.impl.portal.Screenshot
XDP: portal implementation supports org.freedesktop.impl.portal.Settings
XDP: portal implementation supports org.freedesktop.impl.portal.Wallpaper
XDP: providing portal org.freedesktop.portal.MemoryMonitor
XDP: providing portal org.freedesktop.portal.PowerProfileMonitor
XDP: providing portal org.freedesktop.portal.NetworkMonitor
XDP: providing portal org.freedesktop.portal.ProxyResolver
XDP: providing portal org.freedesktop.portal.Trash
XDP: providing portal org.freedesktop.portal.GameMode
XDP: providing portal org.freedesktop.portal.Realtime

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.410: No skeleton to export

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.410: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.410: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
XDP: providing portal org.freedesktop.portal.FileChooser

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.411: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
XDP: providing portal org.freedesktop.portal.OpenURI

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.412: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
XDP: providing portal org.freedesktop.portal.Print

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.413: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
XDP: providing portal org.freedesktop.portal.Notification

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.413: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
XDP: providing portal org.freedesktop.portal.Inhibit

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.414: Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback
XDP: providing portal org.freedesktop.portal.Device
XDP: providing portal org.freedesktop.portal.Location
XDP: providing portal org.freedesktop.portal.Camera

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.419: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
XDP: using org.freedesktop.impl.portal.Account at org.freedesktop.impl.portal.desktop.gtk

XDP: providing portal org.freedesktop.portal.Account

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.420: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback
XDP: providing portal org.freedesktop.portal.Email

(/usr/libexec/xdg-desktop-portal:127432): xdg-desktop-portal-WARNING **: 11:49:32.421: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
XDP: providing portal org.freedesktop.portal.DynamicLauncher
XDP: org.freedesktop.portal.Desktop acquired
[1]  - done       /usr/libexec/xdg-desktop-portal -vr

Is this Fedora 39 Workstation or the Fedora 39 Everything, most people install WM with the Fedora Everything and get better results. xdg-desktop-portal is kind of important on GNOME.

https://fedoraproject.org/everything/download

What does systemctl --user show-environment | grep DISPLAY output?

It’s possible that your environment is not importing variables like DISPLAY into the systemd user manager. I believe GDM would do that automatically for any session, but I’m not sure about that.

I use workstation but use gnome for fallback when wm breaks. I read that xdg-desktop-portal is used for sandbox applications.

I’m using Flatpak and it seems that applications get slightly corrupted when I turn off portal-gtk.

The xdg-desktop-portal is a standardized framework for securely accessing resources from outside an application sandbox. It provides a range of common features to applications, such as determining network status, opening a file with a file chooser, opening URIs, taking screenshots, and screencasts

It shows DISPLAY=:0' but sometimes it can also be :1`. This may be because I use X11 in awesomewm, Wayland in gnome and hyprland, so I guess it is not a problem with awesomewm at the moment…

Yup, it’s supposed to be the way flatpaks communicate with the system & other apps, but it’s still being worked on. . . One can only dream when this works on all apps, seamless workflow. . .

Have you tried Fedora Sway? Fedora Sericea?

Is that in an awesomewm session? If you’re going to use flatpak, you absolutely need a portal implementation, and xdg-desktop-portal-gtk is the only one that will function in that environment by default (as a fallback).

I would suggest reinstalling it and reporting back if you have that issue again.

No, I didn’t try them but I am always heading back to gnome if anythings break on window managers. It’s like a fallback for me when I have important task to do. Also they use sway and I want to keep on X11 for now because nvidia cause some lags.

Yes, it is. I already write that, I remove with rpm -e… command and reinstall them but didn’t solve anything. dnf remove is not work because gnome-shell don’t allow me to do that even with sudo.

  • However, I added gtk portal.conf and the adwaita-dark theme started appearing in natilius (previously it was reverting back to adwaita) but for icons it reverts back again.

.config/xdg-desktop-portal/portal.conf [preferred] default=gtk

  • Also added this to /etc/environment
XDG_CURRENT_DESKTOP=Unity
QT_QPA_PLATFORMTHEME=gtk2

New Logs

Jan 14 22:30:02 fedora xdg-desktop-por[32804]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
Jan 14 22:30:02 fedora systemd[32768]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 14 22:30:02 fedora systemd[32768]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 14 22:30:02 fedora systemd[32768]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).

According to your suggestion, I try fedora39 everything on virt-manager and same error happening on that too.

I get the same error on i3wm too but it doesn’t cause any freezes or lags. The logs are similar to awesomewm but when I first entered natilius did not start at all. I’m trying to install adwaita-dark, papirus-dark, vimix-cursor via lxappearance and after reboot they worked on natilius.

I am still getting fallbacks error from xdg-desktop-portal-gtk:

Logs

journalctl
n 15 20:00:02 fedora systemd[11327]: Starting xdg-desktop-portal.service - Portal service...
Jan 15 20:00:02 fedora systemd[11327]: Starting xdg-document-portal.service - flatpak document portal service...
Jan 15 20:00:02 fedora systemd[11327]: Starting xdg-permission-store.service - sandboxed app permission store...
Jan 15 20:00:02 fedora systemd[11327]: Started xdg-permission-store.service - sandboxed app permission store.
Jan 15 20:00:02 fedora systemd[11327]: Started xdg-document-portal.service - flatpak document portal service.
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: No skeleton to export
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
Jan 15 20:00:02 fedora systemd[11327]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:00:02 fedora xdg-desktop-por[11397]: cannot open display: 
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Jan 15 20:00:02 fedora systemd[11327]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:00:02 fedora xdg-desktop-por[11403]: cannot open display: 
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
Jan 15 20:00:02 fedora systemd[11327]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:00:02 fedora xdg-desktop-por[11409]: cannot open display: 
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
Jan 15 20:00:02 fedora systemd[11327]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:00:02 fedora xdg-desktop-por[11411]: cannot open display: 
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Jan 15 20:00:02 fedora systemd[11327]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:00:02 fedora xdg-desktop-por[11414]: cannot open display: 
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora xdg-desktop-por[11369]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:00:02 fedora systemd[11327]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:00:02 fedora systemd[11327]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:00:02 fedora systemd[11327]: Started xdg-desktop-portal.service - Portal service.
Jan 15 20:00:14 fedora systemd[11327]: Stopping xdg-desktop-portal.service - Portal service...
Jan 15 20:00:14 fedora systemd[11327]: Stopping xdg-document-portal.service - flatpak document portal service...
Jan 15 20:00:14 fedora systemd[11327]: Stopping xdg-permission-store.service - sandboxed app permission store...
Jan 15 20:00:14 fedora xdg-document-portal[11592]: fusermount3: /run/user/0/doc not mounted
Jan 15 20:00:14 fedora systemd[11327]: Stopped xdg-desktop-portal.service - Portal service.
Jan 15 20:00:14 fedora systemd[11327]: Stopped xdg-document-portal.service - flatpak document portal service.
Jan 15 20:00:14 fedora systemd[11327]: Stopped xdg-permission-store.service - sandboxed app permission store.
Jan 15 20:15:02 fedora systemd[29219]: Starting xdg-desktop-portal.service - Portal service...
Jan 15 20:15:02 fedora systemd[29219]: Starting xdg-document-portal.service - flatpak document portal service...
Jan 15 20:15:02 fedora systemd[29219]: Starting xdg-permission-store.service - sandboxed app permission store...
Jan 15 20:15:02 fedora systemd[29219]: Started xdg-permission-store.service - sandboxed app permission store.
Jan 15 20:15:02 fedora systemd[29219]: Started xdg-document-portal.service - flatpak document portal service.
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: No skeleton to export
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
Jan 15 20:15:02 fedora systemd[29219]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:15:02 fedora xdg-desktop-por[29283]: cannot open display: 
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Jan 15 20:15:02 fedora systemd[29219]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:15:02 fedora xdg-desktop-por[29288]: cannot open display: 
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
Jan 15 20:15:02 fedora systemd[29219]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:15:02 fedora xdg-desktop-por[29295]: cannot open display: 
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
Jan 15 20:15:02 fedora systemd[29219]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:15:02 fedora xdg-desktop-por[29301]: cannot open display: 
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Jan 15 20:15:02 fedora systemd[29219]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Jan 15 20:15:02 fedora xdg-desktop-por[29304]: cannot open display: 
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora xdg-desktop-por[29261]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Jan 15 20:15:02 fedora systemd[29219]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jan 15 20:15:02 fedora systemd[29219]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Jan 15 20:15:02 fedora systemd[29219]: Started xdg-desktop-portal.service - Portal service.
Jan 15 20:15:14 fedora systemd[29219]: Stopping xdg-desktop-portal.service - Portal service...
Jan 15 20:15:14 fedora systemd[29219]: Stopping xdg-document-portal.service - flatpak document portal service...
Jan 15 20:15:14 fedora systemd[29219]: Stopping xdg-permission-store.service - sandboxed app permission store...
Jan 15 20:15:14 fedora xdg-document-portal[29494]: fusermount3: /run/user/0/doc not mounted
Jan 15 20:15:14 fedora systemd[29219]: Stopped xdg-desktop-portal.service - Portal service.
Jan 15 20:15:14 fedora systemd[29219]: Stopped xdg-permission-store.service - sandboxed app permission store.
Jan 15 20:15:14 fedora systemd[29219]: Stopped xdg-document-portal.service - flatpak document portal service.

  • Creating portals.conf adwaita-dark worked for natilius after added that but didn’t worked for folder icons on awesomewm.
  • I also added this to my .bashrc too:
export GTK_THEME=Adwaita-dark
# Vimix-white-cursors
export XCURSOR_PATH=${XCURSOR_PATH}:~/.local/share/icons

So what does systemctl --user show-environment | grep DISPLAY say in your i3 session?

And how did you start it? GDM?

Same as awesomewm. I tried sddm, gdm even xinitrc but nothing changed.

After can’t find solution for these 3 sec freeze I fallback to using gnome but these 2 day I wanted to give it a try awesomewm and these 3 sec lags gone. I have no clue how that’s gone but I even played games.

Anyway, Of course I am still taking errors:

Errors
Feb 09 06:13:59 fedora systemd[2142]: Starting xdg-desktop-portal.service - Portal service...
Feb 09 06:13:59 fedora systemd[2142]: Starting xdg-document-portal.service - flatpak document portal service...
Feb 09 06:13:59 fedora systemd[2142]: Starting xdg-permission-store.service - sandboxed app permission store...
Feb 09 06:13:59 fedora systemd[2142]: Started xdg-permission-store.service - sandboxed app permission store.
Feb 09 06:13:59 fedora systemd[2142]: Started xdg-document-portal.service - flatpak document portal service.
Feb 09 06:13:59 fedora systemd[2142]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 06:13:59 fedora systemd[2142]: Started xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 06:13:59 fedora systemd[2142]: Started xdg-desktop-portal.service - Portal service.
Feb 09 09:15:18 fedora systemd[4503]: Starting xdg-desktop-portal.service - Portal service...
Feb 09 09:15:18 fedora systemd[4503]: Starting xdg-document-portal.service - flatpak document portal service...
Feb 09 09:15:18 fedora systemd[4503]: Starting xdg-permission-store.service - sandboxed app permission store...
Feb 09 09:15:18 fedora systemd[4503]: Started xdg-permission-store.service - sandboxed app permission store.
Feb 09 09:15:18 fedora systemd[4503]: Started xdg-document-portal.service - flatpak document portal service.
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: No skeleton to export
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
Feb 09 09:15:18 fedora systemd[4503]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:15:18 fedora xdg-desktop-por[4564]: cannot open display: 
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Feb 09 09:15:18 fedora systemd[4503]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:15:18 fedora xdg-desktop-por[4567]: cannot open display: 
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
Feb 09 09:15:18 fedora systemd[4503]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:15:18 fedora xdg-desktop-por[4593]: cannot open display: 
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
Feb 09 09:15:18 fedora systemd[4503]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:15:18 fedora xdg-desktop-por[4601]: cannot open display: 
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Feb 09 09:15:18 fedora systemd[4503]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:15:18 fedora xdg-desktop-por[4603]: cannot open display: 
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora xdg-desktop-por[4542]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:15:18 fedora systemd[4503]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:15:18 fedora systemd[4503]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:15:18 fedora systemd[4503]: Started xdg-desktop-portal.service - Portal service.
Feb 09 09:17:49 fedora systemd[4503]: Stopping xdg-desktop-portal.service - Portal service...
Feb 09 09:17:49 fedora systemd[4503]: Stopping xdg-document-portal.service - flatpak document portal service...
Feb 09 09:17:49 fedora systemd[4503]: Stopping xdg-permission-store.service - sandboxed app permission store...
Feb 09 09:17:49 fedora xdg-document-portal[7657]: fusermount3: /run/user/0/doc not mounted
Feb 09 09:17:49 fedora systemd[4503]: Stopped xdg-desktop-portal.service - Portal service.
Feb 09 09:17:49 fedora systemd[4503]: Stopped xdg-document-portal.service - flatpak document portal service.
Feb 09 09:17:49 fedora systemd[4503]: Stopped xdg-permission-store.service - sandboxed app permission store.
Feb 09 09:30:02 fedora systemd[57380]: Starting xdg-desktop-portal.service - Portal service...
Feb 09 09:30:02 fedora systemd[57380]: Starting xdg-document-portal.service - flatpak document portal service...
Feb 09 09:30:02 fedora systemd[57380]: Starting xdg-permission-store.service - sandboxed app permission store...
Feb 09 09:30:02 fedora systemd[57380]: Started xdg-permission-store.service - sandboxed app permission store.
Feb 09 09:30:02 fedora systemd[57380]: Started xdg-document-portal.service - flatpak document portal service.
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: No skeleton to export
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
Feb 09 09:30:02 fedora systemd[57380]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:30:02 fedora xdg-desktop-por[57437]: cannot open display: 
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Feb 09 09:30:02 fedora systemd[57380]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:30:02 fedora xdg-desktop-por[57443]: cannot open display: 
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
Feb 09 09:30:02 fedora systemd[57380]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:30:02 fedora xdg-desktop-por[57448]: cannot open display: 
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
Feb 09 09:30:02 fedora systemd[57380]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:30:02 fedora xdg-desktop-por[57450]: cannot open display: 
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Feb 09 09:30:02 fedora systemd[57380]: Starting xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)...
Feb 09 09:30:02 fedora xdg-desktop-por[57452]: cannot open display: 
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora xdg-desktop-por[57416]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Start request repeated too quickly.
Feb 09 09:30:02 fedora systemd[57380]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 09:30:02 fedora systemd[57380]: Failed to start xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation).
Feb 09 09:30:02 fedora systemd[57380]: Started xdg-desktop-portal.service - Portal service.
Feb 09 09:30:14 fedora systemd[57380]: Stopping xdg-desktop-portal.service - Portal service...
Feb 09 09:30:14 fedora systemd[57380]: Stopping xdg-document-portal.service - flatpak document portal service...
Feb 09 09:30:14 fedora systemd[57380]: Stopping xdg-permission-store.service - sandboxed app permission store...
Feb 09 09:30:14 fedora xdg-document-portal[57740]: fusermount3: /run/user/0/doc not mounted
Feb 09 09:30:14 fedora systemd[57380]: Stopped xdg-desktop-portal.service - Portal service.
Feb 09 09:30:14 fedora systemd[57380]: Stopped xdg-document-portal.service - flatpak document portal service.
Feb 09 09:30:14 fedora systemd[57380]: Stopped xdg-permission-store.service - sandboxed app permission store.

Lag came back again… I have no clue what causing that problem. I am still getting this 3 sec lag.