micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.87k stars 461 forks source link

Freezing screen when the extension is loaded after last update of Ubuntu 22.04 #2051

Closed wellrats closed 1 year ago

wellrats commented 1 year ago

After last update of Ubuntu 22.04 when the extension is enabled, it freezes graphical interface on boot for almost two minutes before something appears on screen. If it is disabled at boot time the graphical interface appears very fast but if we go to extension manager and enable it the screen freezes for almost two minutes and then the extension becomes available.

LSB Version: core-11.1.0ubuntu4-noarch:printing-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy

Linux linwell1 5.19.0-45-generic #46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 15:06:04 UTC 20 x86_64 x86_64 x86_64 GNU/Linux

Gnome Shell 42.5

{ "_generated": "Generated by SweetTooth, do not edit", "description": "A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops. Side and bottom placement options are available.", "gettext-domain": "dashtodock", "name": "Dash to Dock", "original-author": "micxgx@gmail.com", "shell-version": [ "40", "41", "42", "43", "44" ], "url": "https://micheleg.github.io/dash-to-dock/", "uuid": "dash-to-dock@micxgx.gmail.com", "version": 84 }

I didn't find any error logs

wellrats commented 1 year ago

Wayland or X11 have the same problem

vanvugt commented 1 year ago

@wellrats, please attach a system log from immediately after the freeze by running:

journalctl -b0 > journal.txt
wellrats commented 1 year ago

journal.txt

I can send you videos with the extension enabled at boot and disabled at boot for you to see how it works. Thanks.

wellrats commented 1 year ago

journal1.txt

This is the log with the extension disable at boot time The difference is that it do not try to load org.freedesktop.FileManager1

It is the bad guy ... Any tips ?

From the journal with extension enabled at boot time

Jun 22 17:55:33 linwell1 dbus-daemon[1729]: [session uid=1000 pid=1729] Successfully activated service 'org.freedesktop.FileManager1' Jun 22 17:56:56 linwell1 dbus-daemon[1560]: [session uid=1000 pid=1560] Activating service name='org.freedesktop.FileManager1' requested by ':1.46' (uid=1000 pid=2481 comm="/usr/bin/gnome-shell " label="unconfined") Jun 22 17:59:09 linwell1 gnome-shell[3622]: Gio.DBusError: Erro ao chamar StartServiceByName para org.freedesktop.FileManager1: Failed to activate service 'org.freedesktop.FileManager1': timed out (service_start_timeout=120000ms)

This is the problem

wellrats commented 1 year ago

image

Problem solved !!! FlatPak needs d-bus permissions. Installed FlatSeal to change permissions Do not ask me why ...

Tks in advance but is good to know.