-1

I've used Plank before installing 21.04 Hirsuite Hippo. But now it is not working. And after uninstallation, I've reinstalled Plank. But I get this output in terminal:

$ plank
(plank:12385): Gtk-WARNING **: 14:04:43.852: Theme parsing error: gtk.css:9287:102: The :focused pseudo-class is deprecated. Use :focus instead.
(plank:12385): Gtk-WARNING **: 14:04:43.852: Theme parsing error: gtk.css:9292:114: The :focused pseudo-class is deprecated. Use :focus instead.
[CRITICAL 14:04:43.926827] [AbstractMain:255] Only X11 environments are supported.

I don't understand what this means:

Theme parsing error: gtk.css:9292:114: The :focused pseudo-class is deprecated. Use :focus instead.

What should I do to fix this problem?

uyivzola
  • 355

2 Answers2

3

Ubuntu 21.04 chooses Wayland by default and this can happen after an upgrade. Plank runs on X11.

To solve this, please log out your session and change to X11:

How do you switch from Wayland back to Xorg in Ubuntu 17.10?

Raffa
  • 34,963
0

Gtk applications like to spit nonsensical messages on stdout. Usually that's due to programming errors; sometimes it's leftover debugging messages. One way or the other, there is usually nothing you as a user can do about it (other than redirecting them to /dev/null).

I consider that a major flaw of Gtk.

HuHa
  • 3,525