ArchLabs Linux

Can't Add Places After Changes to Clipboard

In xfce, i installed, used, then uninstalled ClipIt.

Something caused Places to be removed from my panel.

Now i get error whenever i try to re-add Places to panel.
“Places unexpectedly left the panel.”

How to fix?

Here’s the trace output from xfce when trying to add Places:

% xfce4-panel -q

% PANEL_DEBUG=1 xfce4-panel
xfce4-panel(main): version 4.14.0 on gtk+ 3.24.10 (3.24.10), glib 2.60.6 (2.60.6)
xfce4-panel(module-factory): reading /usr/share/xfce4/panel/plugins
xfce4-panel(module-factory): reading /usr/share/xfce4/panel-plugins
xfce4-panel(application): found window manager after 1 tries
xfce4-panel(base-window): 0x559561b5d280: rgba visual=0x559561925050, compositing=false
xfce4-panel(base-window): 0x559561b5d280: rgba visual=0x559561925050, compositing=false
xfce4-panel(display-layout): 0x559561b5d280: display=:0.0{comp=true}, screen-0[0x55956191e020]=[1440,900] (LVDS1=[0,0;1440,900])
xfce4-panel(positioning): 0x559561b5d280: screen=0x55956191e020, monitors=1, output-name=(null), span-monitors=false, base=720,884
xfce4-panel(positioning): 0x559561b5d280: working-area: screen=0x55956191e020, x=0, y=0, w=1440, h=900
xfce4-panel(struts): 0x559561b5d280: bottom=36, start_x=0, end_x=1439
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/1
xfce4-panel(module): new item (type=external-wrapper, name=whiskermenu, id=1)
xfce4-panel(external): whiskermenu-1: child spawned; pid=1160, argc=8
xfce4-panel(module): new item (type=object-type, name=separator, id=18)
xfce4-panel(module): new item (type=object-type, name=launcher, id=9)
xfce4-panel(module): new item (type=object-type, name=launcher, id=16)
xfce4-panel(module): new item (type=object-type, name=separator, id=28)
xfce4-panel(module): new item (type=object-type, name=directorymenu, id=11)
xfce4-panel(module): new item (type=object-type, name=launcher, id=24)
xfce4-panel(module): new item (type=object-type, name=launcher, id=31)
xfce4-panel(module): new item (type=object-type, name=separator, id=29)
xfce4-panel(module): new item (type=object-type, name=launcher, id=4)
xfce4-panel(module): new item (type=object-type, name=launcher, id=23)
xfce4-panel(module): new item (type=object-type, name=launcher, id=33)
xfce4-panel(module): new item (type=object-type, name=launcher, id=32)
xfce4-panel(module): new item (type=object-type, name=launcher, id=2)
xfce4-panel(module): new item (type=object-type, name=launcher, id=13)
xfce4-panel(module): new item (type=object-type, name=separator, id=30)
xfce4-panel(module): new item (type=object-type, name=launcher, id=27)
xfce4-panel(module): new item (type=object-type, name=launcher, id=7)
xfce4-panel(module): new item (type=object-type, name=launcher, id=22)
xfce4-panel(module): new item (type=object-type, name=separator, id=15)
xfce4-panel(module): new item (type=object-type, name=tasklist, id=3)
xfce4-panel(module): new item (type=object-type, name=separator, id=25)
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/19
xfce4-panel(module): new item (type=external-wrapper, name=pulseaudio, id=19)
xfce4-panel(external): pulseaudio-19: child spawned; pid=1163, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/26
xfce4-panel(module): new item (type=external-wrapper, name=fsguard, id=26)
xfce4-panel(external): fsguard-26: child spawned; pid=1164, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/12
xfce4-panel(module): new item (type=external-wrapper, name=fsguard, id=12)
xfce4-panel(external): fsguard-12: child spawned; pid=1165, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/10
xfce4-panel(module): new item (type=external-wrapper, name=cpugraph, id=10)
xfce4-panel(external): cpugraph-10: child spawned; pid=1166, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/21
xfce4-panel(module): new item (type=external-wrapper, name=systemload, id=21)
xfce4-panel(external): systemload-21: child spawned; pid=1167, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/14
xfce4-panel(module): new item (type=external-wrapper, name=xfce4-sensors-plugin, id=14)
xfce4-panel(external): xfce4-sensors-plugin-14: child spawned; pid=1168, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/17
xfce4-panel(module): new item (type=external-wrapper, name=netload, id=17)
xfce4-panel(external): netload-17: child spawned; pid=1169, argc=8
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/6
xfce4-panel(module): new item (type=external-wrapper, name=systray, id=6)
xfce4-panel(external): systray-6: child spawned; pid=1170, argc=8
xfce4-panel(module): new item (type=object-type, name=clock, id=5)
xfce4-panel(module): new item (type=object-type, name=showdesktop, id=8)
xfce4-panel(external): whiskermenu-1: child is embedded; 6 properties in queue

(wrapper-2.0:1160): Gtk-WARNING **: 16:31:35.319: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)
xfce4-panel(external): systemload-21: child is embedded; 6 properties in queue
xfce4-panel(external): fsguard-26: child is embedded; 6 properties in queue
xfce4-panel(external): cpugraph-10: child is embedded; 6 properties in queue
xfce4-panel(external): fsguard-12: child is embedded; 6 properties in queue
xfce4-panel(external): pulseaudio-19: child is embedded; 6 properties in queue
xfce4-panel(external): systray-6: child is embedded; 6 properties in queue
xfce4-panel(systray): registered manager on screen 0
xfce4-panel(external): xfce4-sensors-plugin-14: child is embedded; 6 properties in queue
xfce4-panel(external): netload-17: child is embedded; 6 properties in queue

(wrapper-2.0:1166): Gtk-WARNING **: 16:31:35.750: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 31

(wrapper-2.0:1169): Gtk-WARNING **: 16:31:35.784: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 31

(wrapper-2.0:1167): Gtk-WARNING **: 16:31:35.945: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 31

(wrapper-2.0:1163): Gtk-WARNING **: 16:31:35.991: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)


TRIED TO ADD PLACES HERE


(xfce4-panel:1156): Gtk-CRITICAL **: 16:31:42.574: gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed
xfce4-panel(module-factory): reading /usr/share/xfce4/panel/plugins
xfce4-panel(module-factory): reading /usr/share/xfce4/panel-plugins
xfce4-panel(struts): 0x559561b5d280: bottom=37, start_x=0, end_x=1439
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/20
xfce4-panel(module): new item (type=external-wrapper, name=places, id=20)
xfce4-panel(external): places-20: child spawned; pid=1188, argc=8
xfce4-panel(application): saving /panels/panel-1: ids=true, providers=false

(process:1188): GLib-WARNING **: 16:31:48.513: (../glib/glib/gerror.c:409):g_error_new_valist: runtime check failed: (domain != 0)

(process:1188): xfce4-panel-wrapper-CRITICAL **: 16:31:48.519: Wrapper places-20: Failed to open plugin module "/usr/lib/xfce4/panel/plugins/libplaces.so": libxfconf-0.so.2: cannot open shared object file: No such file or directory.
xfce4-panel(external): places-20: child exited with status 256
xfce4-panel-Message: 16:31:48.521: Plugin places-20 has been automatically restarted after crash.
xfce4-panel(external): places-20: scheduled a respawn of the child
xfce4-panel(external): places-20: child spawned; pid=1189, argc=8

(process:1189): GLib-WARNING **: 16:31:48.674: (../glib/glib/gerror.c:409):g_error_new_valist: runtime check failed: (domain != 0)

(process:1189): xfce4-panel-wrapper-CRITICAL **: 16:31:48.679: Wrapper places-20: Failed to open plugin module "/usr/lib/xfce4/panel/plugins/libplaces.so": libxfconf-0.so.2: cannot open shared object file: No such file or directory.
xfce4-panel(external): places-20: child exited with status 256
xfce4-panel(external): places-20: scheduled a respawn of the child

(xfce4-panel:1156): Gtk-CRITICAL **: 16:31:51.289: gtk_icon_theme_load_icon: assertion 'icon_name != NULL' failed
xfce4-panel(external): places-20: child spawned; pid=1190, argc=8

(process:1190): GLib-WARNING **: 16:31:51.402: (../glib/glib/gerror.c:409):g_error_new_valist: runtime check failed: (domain != 0)

(process:1190): xfce4-panel-wrapper-CRITICAL **: 16:31:51.407: Wrapper places-20: Failed to open plugin module "/usr/lib/xfce4/panel/plugins/libplaces.so": libxfconf-0.so.2: cannot open shared object file: No such file or directory.
xfce4-panel(external): places-20: child exited with status 256

(xfce4-panel:1156): GLib-CRITICAL **: 16:31:52.476: g_child_watch_add_full: assertion 'pid > 0' failed
xfce4-panel(external): places-20: plugin unrealized; quitting child
xfce4-panel(application): saving /panels/panel-1: ids=true, providers=false

(xfce4-panel:1156): Gtk-CRITICAL **: 16:31:52.532: gtk_icon_theme_load_icon: assertion 'icon_name != NULL' failed
xfce4-panel(struts): 0x559561b5d280: bottom=36, start_x=0, end_x=1439
^Cxfce4-panel(main): received signal Interrupt <2>, quitting panel
xfce4-panel(application): saving /panels/panel-1: ids=false, providers=true
xfce4-panel(external): whiskermenu-1: plugin unrealized; quitting child
xfce4-panel(external): pulseaudio-19: plugin unrealized; quitting child
xfce4-panel(external): fsguard-26: plugin unrealized; quitting child
xfce4-panel(external): fsguard-12: plugin unrealized; quitting child
xfce4-panel(external): cpugraph-10: plugin unrealized; quitting child
xfce4-panel(external): systemload-21: plugin unrealized; quitting child
xfce4-panel(external): xfce4-sensors-plugin-14: plugin unrealized; quitting child
xfce4-panel(external): netload-17: plugin unrealized; quitting child
xfce4-panel(external): systray-6: plugin unrealized; quitting child
xfce4-panel(application): finalized

I have never used XFCE panel, is there any way to restore it to default in the options?

https://forum.xfce.org/viewtopic.php?id=13228
It might be enough to reinstall the xfce4 panel,or downgrade xconf and copy libxfconf-0.so.2 to / usr / lib after updating xconf again.
but I believe that the first is the most correct thing

https://forum.xfce.org/viewtopic.php?id=13233

This didn’t help:
sudo pacman -S xfce4-panel

How to downgrade xconf?

thx

yaourt -S downgrade
or
yay -S downgrade
downgrade xconf
and select number
Cheers

Don’t, it will likely cause issues unless you know what you’re doing. Messing with object files in /usr/lib is more of a last resort.

I can’t recreate this using your steps on a fresh install. Installed clipit and xfce4-places-plugin from the AUR, added places to the panel and started clipit. I copied some text then uninstalled clipit and places still worked after.

To fix your panel I’d suggest either:

  • Use the panel’s built-in directory browser by right clicking it -> panel -> add new items, it’s included with the xfce4-goodies package and won’t have issues like this.

  • Update/reinstall xfce4-places-plugin from the AUR, this will rebuild it against whatever your system currently contains and should fix it. See this line of your error output

    libxfconf-0.so.2: cannot open shared object file: No such file or directory.
    

    that file changed versions or was renamed in a recent update, the latest is

    libxfconf-0.so.3
    

AUR packages require upkeep on the user end, sometimes things will fail like this and you are expected to rebuild (even if the package hasn’t been updated), because library files will get updated but the non-official packages might not be updated to reflect the new versions and even when they are it still requires you to update both the AUR and official packages at the same time.


@ector Don’t recommend downgrading core packages for issues with AUR packages, rebuilding the ones with problems is better and almost always fixes the problem.

Cheers All

1 Like

I agree, it was just the last resort to downgrade the package.
I would also recompile this package:
xfce4-panel-wrapper
Cheers

1 Like

Totally

1 Like