Pamac gui doesn't launch

I’m just having this problem (Pamac worked a few days ago), and I found this topic

I tried the solutions suggested with:

sudo pacman -S pamac-gtk
or
sudo pacman -S pamac-gtk3

I tried both and found the gtk4 version doesn’t work but the gtk3 works.

gtk4 version launched from menu never works now, but run pamac-manager from a terminal sometimes works. But sometimes I got:

(pamac-manager:8054): Adwaita-WARNING **: 10:28:11.721: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
[1]    8054 segmentation fault (core dumped)  pamac-manager

The gtk3 version works from the menu, and run from a terminal, it works but gives me an error:

(pamac-manager:8128): Gdk-CRITICAL **: 10:28:38.064: gdk_window_set_cursor: assertion 'GDK_IS_WINDOW (window)' failed

What does it mean? And how to get gtk4 to work?

Launching the GUI from commandline is a hit or miss.

I don’t know why - it could be dbus not answering in a timely manner when queried for pamac-daemon.

To use pamac commandline use

pamac <command>
1 Like

If it’s any consolation, it works perfectly for me :wink:

To be frank, though, I prefer using a web browser to search for software - then I find the terminal is just so much more noob friendly that I just do that.

So try this:

sudo pacman-mirrors --continent && sudo pacman -Syu

Feel free to follow it up with AUR/flatpak

pamac update && flatpak update

Then have another go at launching the GUI.

I get a similar error on Xfce with pamac-gtk3, but it works normally

$ pamac-manager
(pamac-manager:540049): Gdk-CRITICAL **: 12:49:25.131: gdk_window_set_cursor: assertion 'GDK_IS_WINDOW (window)' failed

If I redirect standard terminal messages (stdout) to /dev/null/ I still see this message

$  pamac-manager 1>/dev/null

(pamac-manager:543951): Gdk-CRITICAL **: 13:11:33.115: gdk_window_set_cursor: assertion 'GDK_IS_WINDOW (window)' failed

But if I redirect error message (stderr) message is not displayed

pamac-manager 2>/dev/null

IMO this is a non-critical error since pamac-gtk3 works normally

Thanks for the replies.

But what’s the deal with gtk4? Should I better gtk4 working?

pamac-gtk (Gtk4) is developed for Manjaro Gnome.
pamac-gtk3 was created in 2023 for GTK Desktops that did not have Gtk4 support (Xfce, Cinnamon, Mate etc)

For KDE, opinions are divided about which version is best
Best suggestion for pamac is to try both versions and see which works best on your system
Or use Octopi GUI package manager

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.