Tiny Core Linux
Tiny Core Extensions => TCE Corepure64 => Topic started by: andyj on November 13, 2016, 03:20:56 PM
-
I finally got around to running tce-update and now I get this trying to run lxterminal:
(lxterminal:9307): Gtk-WARNING **: GtkWindow 0x2190270 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkVBox 0x21c4180 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkVScrollbar 0x242a290 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkMenuBar 0x21c51d0 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkImageMenuItem 0x23841a0 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkAccelLabel 0x23833e0 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkImageMenuItem 0x2384ab0 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkAccelLabel 0x2383f80 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkImageMenuItem 0x2417650 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkAccelLabel 0x2416b70 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkImageMenuItem 0x241a240 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-WARNING **: GtkAccelLabel 0x24199a0 is drawn without a current allocation. This should not happen.
(lxterminal:9307): Gtk-CRITICAL **: gtk_border_copy: assertion 'border_ != NULL' failed
Segmentation fault
What would have broken this? Do we need a gtk3 and/or lxterminal rebuild?
-
lxterminal-0.20 is old (2014) and both vte and gtk3 have been updated many times since then - I'll take a look.
-
I tried recompiling lxterminal and using a more recent version of vte-2.90, but the error remains.
I see debian uses lxterminal and vte compiled against gtk2 rather than gtk3 - perhaps this is a solution until lxterminal releases an update or perhaps the github version of lxterminal will work?
Otherwise, there's gnome-terminal...
-
got it - the github version of lxterminal will compile against the latest vte (as opposed to vte-2.90), which fixes the segfault.
The warnings remain, but don't seem to be a problem.
posted
-
Now it opens, but I get this with alsa:
tc@box:~$ alsamixer
Error opening terminal: xterm-256color.
Do I need a link somewhere? Which xterm returns nothing.
Also, lxterminal now has a "feature". When I resize the window to make it taller OR shorter, it gets narrower. At least I can widen it afterwards.
-
Now it opens, but I get this with alsa:
$ alsamixer
Error opening terminal: xterm-256color.
loading ncurses-terminfo fixes this - comment added to info file
Do I need a link somewhere? Which xterm returns nothing.
Oops - forgot the wrapper script, extension re-posted
Also, lxterminal now has a "feature". When I resize the window to make it taller OR shorter, it gets narrower. At least I can widen it afterwards.
I see the same with flwm - a bug in flwm, lxterminal or vte?
-
Some circumstances you could setting another terminal to support the program.
I do it this like these two ways:
export TERM=xterm
export TERM=linux
-
The apps browser needs the wrapper script. We've been down that road already. The resizing thing doesn't affect aterm. Lilyterm segfaults, so I can't say about that. I am using flwm_topside in a VMware VM, using open-vm-tools (trying to get 10.1 ready for submission which is how all this started) on a Slackware 14.2 host using the open source radeon driver. Everything is 64 bit. It "could" be a video driver quirk somewhere in the stack, but right now I don't know of anything else having issues.
Is ncurses-terminfo a dependency or a "nice to have?". Dejavu-fonts-ttf deserves a mention in the info file as well. Without it whatever fonts lxterminal uses by default look kinda rough.
-
Is ncurses-terminfo a dependency or a "nice to have?".
It only seems to be needed for lxterminal to display alsamixer, but there may be others - note that only xterm-256color is used for this
Dejavu-fonts-ttf deserves a mention in the info file as well. Without it whatever fonts lxterminal uses by default look kinda rough.
The info file already says "Optional deps: More font TCZs, load fontconfig then load lxterminal"
-
Sorry I haven't looked at the info file in a while ::) I did notice though that while in an lxterminal window I loaded dejavu-fonts-ttf and started another lxterminal from the first and the fonts improved immediately, so it seems to "prefer" different fonts.