Closed antoine-gallix closed 3 years ago
Same here, on 19.10:
andrew@exagol:~$ parcellite
Looking in '/etc/xdg/xdg-ubuntu/parcellite/parcelliterc'
Looking in '/etc/xdg/parcellite/parcelliterc'
Failed to load module "canberra-gtk-module"
I've definitely got it:
andrew@exagol:~$ sudo apt-get install libcanberra-gtk-module
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcanberra-gtk-module is already the newest version (0.30-7ubuntu1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
I even tried installing the 32 bit version in case that was the problem, but nope.
Can you do this? which parcellite ldd /path/to/parcellite and post the output? Thanks.
❯ ldd (which parcellite)
linux-vdso.so.1 (0x00007ffce005f000)
libgtk-x11-2.0.so.0 => /lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007f256ea56000)
libgdk-x11-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 (0x00007f256e99f000)
libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f256e7d6000)
libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f256e78b000)
libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f256e72f000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f256e60e000)
libappindicator.so.1 => /lib/x86_64-linux-gnu/libappindicator.so.1 (0x00007f256e5fa000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f256e4c0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f256e2d5000)
libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f256e2cf000)
libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f256e2bf000)
libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f256e0b9000)
libatk-1.0.so.0 => /lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007f256e08e000)
libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f256df6e000)
libgdk_pixbuf-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f256df48000)
libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f256df2f000)
libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f256dee9000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f256dd9b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f256dd78000)
libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f256db6e000)
libXinerama.so.1 => /lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f256db69000)
libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f256d959000)
libXrandr.so.2 => /lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f256d74e000)
libXcursor.so.1 => /lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f256d743000)
libXcomposite.so.1 => /lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f256d53e000)
libXdamage.so.1 => /lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f256d33b000)
libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f256d129000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f256d10d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f256d107000)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f256d0ab000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f256d07f000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f256d064000)
libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007f256d059000)
libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f256d03c000)
libffi.so.6 => /lib/x86_64-linux-gnu/libffi.so.6 (0x00007f256d032000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f256cfbe000)
libdbusmenu-gtk.so.4 => /lib/x86_64-linux-gnu/libdbusmenu-gtk.so.4 (0x00007f256cfa6000)
libdbusmenu-glib.so.4 => /lib/x86_64-linux-gnu/libdbusmenu-glib.so.4 (0x00007f256cf87000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f256cf5e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f256eedf000)
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f256cea3000)
libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f256cdfd000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f256cdc4000)
libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f256cdbf000)
libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f256cdb0000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f256cda5000)
libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f256ccac000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f256cc6d000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f256cc64000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f256cc0f000)
libdatrie.so.1 => /lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f256cc06000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f256ca02000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f256c7fa000)
libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f256c7cd000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f256c7b3000)
Thank you. Something strange is going on, especially since libcanberra is not used by Parcellite, and there are other people who are running into this same problem. Is parcellite running anyway? Does ps aux|grep parc show anything?
I created a docker container based on Ubuntu 19.10, and parcellite runs without unexpected errors. I wonder what is happening with your systems. This is the docker file I used to create the the container: FROM ubuntu:19.10 WORKDIR / RUN apt-get update && apt-get -y install sudo bash RUN sudo apt-get -y update && sudo apt-get install -y parcellite
ENTRYPOINT /bin/bash I then run the container: docker run --rm -it --entrypoint /bin/bash -u $(id -u):$(id -g) -e HOME -e DISPLAY -e DISPLAY=unix$DISPLAY --volume="/etc/group:/etc/group:ro" --volume="/etc/passwd:/etc/passwd:ro" --volume="/etc/shadow:/etc/shadow:ro" --volume="/etc/sudoers.d:/etc/sudoers.d:ro" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" ubuntu19.10/parcellite
user@eb68296fcbe9:/$ parcellite -v
Looking in '/etc/xdg/parcellite/parcelliterc'
Parcellite svn, GTK 2.24.32
user@eb68296fcbe9:/$ parcellite &
[1] 16
user@eb68296fcbe9:/$ Looking in '/etc/xdg/parcellite/parcelliterc'
Looking in '/etc/xdg/parcellite/parcelliterc'
lFlag 0x0001, status 256, EXIT 1 STAT 1
(parcellite:16): WARNING : 22:05:46.143: Binding '
Try this: sudo apt install libcanberra-gtk0 libcanberra-gtk-module
After installing the above packages, parcellite seems to work as CLI. But it still does not appear in the system tray. No access to preferences, I can't tell if it's active or not.
Please see if the 'on_unity' option fixes the issue available in the latest commit.
On a quite fresh Ubuntu 19.04 install. Parcellite doesn't launch with launcher, and from a shell I get the following error message: