You are not logged in.

#1 2023-09-14 12:07:21

trujillo-gc
Member
Registered: 2022-02-20
Posts: 30

Tint2 disappeared after updating

Hello again,

I used to use the tint2 panel and it disappeared after updating.
I have read that tint2 is deprecated and incompatible with some updates.
Now I use lxpanel, but I would like to know if there is a solution to return to tint2.

Thank you

Offline

#2 2023-09-14 12:36:24

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 991
Website

Re: Tint2 disappeared after updating

Can you try a `ldd /usr/bin/tint2`? Most likely a library dependency is broken..

Offline

#3 2023-09-14 17:08:22

trujillo-gc
Member
Registered: 2022-02-20
Posts: 30

Re: Tint2 disappeared after updating

Hello again abaumann,

This is what the command you tell me returns,

[at@arch ~]$ ldd /usr/bin/tint2
	linux-gate.so.1 (0xb7ed5000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb7e3c000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7e37000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7e32000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb7e1c000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7e0e000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7cbe000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7caf000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7c9f000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7c32000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7bca000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7a60000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7915000)
	libImlib2.so.1 => /usr/lib/libImlib2.so.1 (0xb78a9000)
	librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0xb7018000)
	libm.so.6 => /usr/lib/libm.so.6 (0xb6f40000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6ef3000)
	libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0xb6ee7000)
	libc.so.6 => /usr/lib/libc.so.6 (0xb6cc8000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6c9b000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6c7f000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xb6b76000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6b24000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb6906000)
	libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0xb68e7000)
	libthai.so.0 => /usr/lib/libthai.so.0 (0xb68dc000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb68b7000)
	libffi.so.8 => /usr/lib/libffi.so.8 (0xb68ad000)
	libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0xb680d000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb67f4000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb67b5000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb66e8000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb66d8000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0xb66d3000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb661f000)
	libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb661a000)
	libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0xb6611000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb649a000)
	/lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xb7ed7000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6494000)
	libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb63da000)
	libtiff.so.6 => /usr/lib/libtiff.so.6 (0xb633b000)
	libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0xb6333000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb632e000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6327000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0xb6305000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb62db000)
	libmount.so.1 => /usr/lib/libmount.so.1 (0xb628d000)
	libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0xb6284000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xb6272000)
	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0xb6264000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0xb6229000)
	libicuuc.so.73 => /usr/lib/libicuuc.so.73 (0xb6024000)
	libzstd.so.1 => /usr/lib/libzstd.so.1 (0xb5f58000)
	libblkid.so.1 => /usr/lib/libblkid.so.1 (0xb5f1c000)
	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0xb5ef9000)
	libicudata.so.73 => /usr/lib/libicudata.so.73 (0xb406b000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb3e34000)

Offline

#4 2023-09-14 19:52:59

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 991
Website

Re: Tint2 disappeared after updating

Thanks, so no library issue, it just doesn't work?

Offline

#5 2023-09-14 22:24:29

trujillo-gc
Member
Registered: 2022-02-20
Posts: 30

Re: Tint2 disappeared after updating

I have archlinux with tint2 on two different disks and both disappeared after updating.
tint2 do not start when I login into openbox, and if I run tint2 from the terminal it does not start either.
I have another computer with 64-bit archlinux and tint2 and that doesn't happen.

This is what happens when I run it from the terminal.

[at@arch ~]$ tint2
tint2: Using glib slice allocator (default). Run tint2 with environment variable G_SLICE=always-malloc in case of strange behavior or crashes
tint2: xRandr: Found crtc's: 2
tint2: xRandr: Linking output LVDS-1 with crtc 0, resolution 1400x1050, DPI 96
tint2: xRandr: crtc 1 seems disabled
tint2: No XSETTINGS manager, tint2 uses config option 'launcher_icon_theme'.
tint2: Loading config file: /home/at/.config/tint2/tint2rc
tint2: real transparency off.... depth: 24
tint2: panel items: LTSC
tint2: Systray composited rendering off
tint2: systray_asb forced to 100 0 0
tint2: nb monitors 1, nb monitors used 1, nb desktops 4
tint2: panel 1 uses scale 1 
tint2: Could not open file /home/at/.local/share/applications/tint2conf.desktop
tint2: Could not open file /usr/local/share/applications/tint2conf.desktop
tint2: Loading icon theme cache...
Icon path not found in cache: theme = hicolor, icon = tint2conf, size = 24
tint2: Loading icon theme hicolor:
tint2:  'hicolor',tint2: 
Adding icon path to cache: theme = hicolor, icon = tint2conf, size = 24, path = /usr/share/icons/hicolor/scalable/apps/tint2conf.svg
Segmentation fault (core dumped)
[at@arch ~]$ 

Offline

#6 2023-09-15 08:05:43

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 991
Website

Re: Tint2 disappeared after updating

segfault. ah. This can be absolutely anything: from a bug in the code to ABI mismatches in a library.
This needs debugging..

Offline

#7 2023-09-15 08:17:43

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 991
Website

Re: Tint2 disappeared after updating

There are two reasons I cannot debug that:

gdb: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file or directory

A milder second reason is that we don't have a debuginfo server as upstream (so we have to build all of tint2 with
dependencies with debug info enabled).

Offline

#8 2023-09-15 08:20:08

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 991
Website

Re: Tint2 disappeared after updating

strace gives a hint that it could be around librsvg (which is its own can of worms):

close(6)                                = 0
openat(AT_FDCWD, "/usr/share/icons/hicolor/scalable/apps/tint2conf.svg", O_RDONL
statx(6, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_ST
mmap2(NULL, 18151, PROT_READ, MAP_SHARED, 6, 0) = 0xb7edd000
brk(0x1518000)                          = 0x1518000
munmap(0xb7edd000, 18151)               = 0
close(6)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault

Opening the SVG is just the last operation, assuming librsvg is reading it afterwards.
But it could also by just a co-occurence..

Offline

Board footer

Powered by FluxBB