video-info y otros a GTK3 y veo mal botones del foro

Post Reply
ArtEze
Posts: 42
Joined: Thu Oct 22, 2020 5:58 am

video-info y otros a GTK3 y veo mal botones del foro

Post by ArtEze »

Ahora estoy con GTK3 y todo lo hecho con GTK2 no funciona, por ejemplo el capturador de pantalla tas.

Code: Select all

tas

(gtkdialog4:25598): Gtk-ERROR **: 22:31:04.208: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

El video-info necesita pasarse a GTK-3. Lo bueno es que al menos muestra la info por consola.

Code: Select all

video-info 
VBE: Error in VbeSignature
grep: warning: stray \ before -
grep: warning: stray \ before -
Video-Info 1.5.1 - jue 28 mar 2024 on LxPupSc64 20.06 - Linux 5.7.2-lxpup64 x86_64
 
Chip description:
  0.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)  

 
X Server: Xorg  Driver used: nouveau

X.Org version: 1.20.9
  dimensions:    1280x1024 pixels (338x270 millimeters)
  depth of root window:    24 planes 

   ...the above also recorded in /tmp/root/ as video-info,
and archived with xorg.conf and Xorg.0.log as video-info-full.gz
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -

(gtkdialog4:25325): Gtk-ERROR **: 22:28:21.185: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

Por cierto, tengo Chrome 122 y veo mal los botones del foro, se ven rectángulos verticales.

ArtEze
Posts: 42
Joined: Thu Oct 22, 2020 5:58 am

Re: video-info y otros a GTK3 y veo mal botones del foro

Post by ArtEze »

Encontré la solución.

Mover el gtkdialog que es ejecutable correspondiente a GTK2 con el nombre gtkdialog2:

Code: Select all

/usr/bin/gtkdialog2

Editar con ghex el gtkdialog2.

Code: Select all

ghex /usr/bin/gtkdialog2

Para que gtkdialog2 enlace a libvte de GTK2, reemplazar el string libvte.so.9 y reemplazarlo por gtk2vte.so, el 9 del final, que es 39 en hexadecimal, reemplazarlo por 00, esto porque sobran caracteres. La longitud del string limita poner nombres más largos.

Enlazar el archivo libvterm.so.0.0.0 a gtk2vte.so

Code: Select all

ln -svr /usr/lib/libvterm.so.0.0.0 /usr/lib/gtk2vte.so

Entonces desde ahora gtkdialog2 va a poder cargar bien las librerías de GTK2.

Post Reply

Return to “Usuarios de habla Hispana”