Your message dated Fri, 18 Nov 2022 21:08:09 +0000
with message-id <[email protected]>
and subject line Bug#1021095: fixed in ueberzug 18.1.9-4
has caused the Debian Bug report #1021095,
regarding ueberzug doesn't work with terminals inside tabbed
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1021095: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021095
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ueberzug
Version: 18.1.9-3
Severity: normal
Tags: patch
Just as the subject says, ueberzug doesn't work when a terminal is ran inside
of
suckless tabbed, a patch has existed since 2019 but it was never merged to
upstream, now that seebye locked the repo for pull requests that is even less
likely, anyway here is the most recent version of the patch confirmed to work
with the current release of ueberzug.
this patch was taken from https://github.com/gokberkgunes/ueberzug-tabbed
>From 6aafc5e2d12d23996e4c20f7f45ef12ce784c087 Mon Sep 17 00:00:00 2001
From: Gokberk Gunes <[email protected]>
Date: Wed, 2 Mar 2022 22:28:47 +0300
Subject: [PATCH] ueberzug now looks for window's pid and ID directly
---
ueberzug/xutil.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ueberzug/xutil.py b/ueberzug/xutil.py
index 19dc7c0..cd96e8e 100644
--- a/ueberzug/xutil.py
+++ b/ueberzug/xutil.py
@@ -1,6 +1,7 @@
"""This module contains x11 utils"""
import functools
import asyncio
+import os
import ueberzug.tmux_util as tmux_util
import ueberzug.terminal as terminal
@@ -126,6 +127,10 @@ def get_parent_window_infos():
if client_pids:
pid_window_id_map = get_pid_window_id_map()
+ # Insert current window's PID & WID to the end of map to support
tabbed.
+ # NOTE: Terminal (current window) must have WINDOWID as env. variable.
+ if (os.environ.get('WINDOWID') != None):
+ pid_window_id_map[os.getpid()] = int(os.environ.get('WINDOWID'))
for pid in client_pids:
ppids = get_parent_pids(pid)
-- System Information:
Debian Release: bookworm/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.18.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages ueberzug depends on:
ii libc6 2.34-3
ii libx11-6 2:1.8.1-2
ii libxext6 2:1.3.4-1
ii python3 3.10.5-3
ii python3-attr 21.2.0-1
ii python3-docopt 0.6.2-4
ii python3-pil 9.2.0-1+b1
ii python3-xlib 0.29-1
ueberzug recommends no packages.
ueberzug suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: ueberzug
Source-Version: 18.1.9-4
Done: Ileana Dumitrescu <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ueberzug, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ileana Dumitrescu <[email protected]> (supplier of updated ueberzug
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 18 Nov 2022 20:07:49 +0000
Source: ueberzug
Architecture: source
Version: 18.1.9-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Ileana Dumitrescu <[email protected]>
Closes: 1021095
Changes:
ueberzug (18.1.9-4) unstable; urgency=medium
.
* Team upload
* Add patch ueberzug-now-looks-for-windows-pid-and-ID-directly.patch
(Closes: #1021095)
Thanks to Edgar Yllescas and Gokberk Gunes for this patch
* d/upstream/metadata: Add Bug-Database line
Checksums-Sha1:
5330091e8846dbd5f3fcc4e845cd2962d59a6a37 2075 ueberzug_18.1.9-4.dsc
f21f912716011c94ac1f8b0d9f5f0ebb2a3a0619 16928 ueberzug_18.1.9-4.debian.tar.xz
e6a863d206907d7359c7bdb06d0183a482711eb5 8645
ueberzug_18.1.9-4_source.buildinfo
Checksums-Sha256:
77a3e2fdd17585c57af1cbae1596e7ded09dbfc0a9f04cb89cca5397f4af54ab 2075
ueberzug_18.1.9-4.dsc
01c8a81fc11543bd29dc73dad5c6d49002f9cd9ebc8dd49cce48cf5f0fd7da6c 16928
ueberzug_18.1.9-4.debian.tar.xz
5a6e15f13cdeae4b166a4c4f1b49c41ad8b923ed57051422e15527ed5a09a0fc 8645
ueberzug_18.1.9-4_source.buildinfo
Files:
1a7a915287d86777be1908f98dc5df4d 2075 graphics optional ueberzug_18.1.9-4.dsc
9c486e9da09eee0290eb0bf476a0599b 16928 graphics optional
ueberzug_18.1.9-4.debian.tar.xz
b88b174b4b74a4b9464e6e9753eff1e0 8645 graphics optional
ueberzug_18.1.9-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmN35kYACgkQQoMEoXSN
zHpvaQ//dznR1Uk/4p+y+kQ6y3Y9W9bIOYzSS7l4y8uJH2DWeCcrgPAR+P7d/4Do
4kQtSgs/h9EjM61ZGkMm4kOL4hXfDrXSBU4lWxhbNYmFiHouo+X9NQwwTdNH6cBr
9W0x4SkueoTXRH22OUlvlgLo2fAAJ3sEN3OKO+FRqj/s93TQkXio4SUp/YpCldDq
JLO2IoeuO4tf+L4kta5I6UTYlNMWmVeJbqISLlXe6VipJkL2dgx9EzYkW9kFo6bh
dSlbC0sOb2UIpA084maQ5MRrREbkuUHRN4aDjke5uOgVsl4tX33ZqlEDUy9yRhat
3BjCIlygMojRtIxJ0szjwFDWl9lr7cGT8maT+rCy7Lx+2w2y8nWB2mocVl/mC4sc
YNIW4WJQwtaBL6gkJIZYrWegujyWt06vfKh/n/a+fLbBKzgfoAFMp1klDPWw9N8d
EhqmahxsMQo3P5TTugN0IItq6J+IUUEC7zG5696d5MEXCDnjTzAGiGQAVjD4xxuO
brELNCQWqP/HNPL8V6zu4Y/SbBfHCEPcGhwf5bzRO1dZnJFqVNvdP/BaWxev+exT
x7auhtfx2wn7IS4Jgk+FO/ifBXT0cDEvuI+8ZOlA7HNpDwLfNZ4RCK1+H/g7cinv
7E+Y+KCaUIoxbA3fpmm6oUHadZ7vfnyAl6V11dJjT0XWv6e4q1g=
=RFbC
-----END PGP SIGNATURE-----
--- End Message ---