The problem is lxterminal is not as fully featured as the alternatives most people were probably using when they suggested the command sequences which work for them.
You might want to consider an alternative desktop with a different terminal program, MATE is almost as light weight as Pixel and runs very nicely on Pi4s and Pi5s.
---druck
Didn't find your answer? Ask the community — no account required.
D
druck
Depends whether you want your desktop to be consistent, or have half a dozen different types of menus and window furniture on the apps that you use.
---druck
L
Lawrence D’Oliveiro
Especially if you do this on the day your interior decorator comes to visit ...
J
Jim Diamond
Theo,
Huh. They don't work for me in urxvt.
Of course, the question was about lxterminal. So maybe it didn't work for the OP because of the '3', and maybe for some other reason.
Jim
J
Jim Jackson
just installed rxvt-unicode, fired it up and ran my usual terminal name script which uses these codes and it works! Dunno what makes you setup not work.
J
Jim Jackson
I thought your window manager dealt with window furniture.
So which desktop environments are Firefox, GIMP, libreoffice etc etc meant to work with then? On my debian derived system, no matter what desktop system I'm running there's only one of each to install?
Sorry that argument does not run. But you can try and prove me wrong.
J
Jim Jackson
My interior decorator lives in the same house :-)
J
Jim Diamond
Me neither. I just tried it again, in case I had done something wrong.
Perhaps your urxvt was compiled with different options than mine, and one such option allows more
On my Slackware system: options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,pixbuf,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+NeXT
On one of my Pis: options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,pixbuf,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
The mystery continues... Jim
J
Jim Jackson
I'm on Devuan, so urxvt is the Debian one. The options are the same as the Pi version.
On my Slackware system: options: perl,xft,styles,combining,blink,iso14755,unicode3, encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,pixbuf, XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize, cursorBlink,pointerBlank, scrollbars=plain+NeXT On one of my Pis: options: perl,xft,styles,combining,blink,iso14755,unicode3, encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,pixbuf
What window manager do you use? I'm using openbox. Make sure your shell prompt isn't overwriting any change as explained earlier in this thread.
L
Lawrence D’Oliveiro
You can’t be sure of that. Who knows what the Devuan folks will rip out in their attempts to root out the dreaded systemd-contamination ...
J
Jim Diamond
After I sent my last email, I started to wonder whether it could be a window manager thing.
I am using fvwm3.
By the way, I looked only (only for a few minutes), and didn't find any web page or "cheat sheet" or ... which mentioned using '30' to set the window title. Did you get that off some web site somewhere, deep inside some documentation, or ... ?
Jim
J
Jim Jackson
Sorry don't understand the "30" reference.
Sending control sequences to the terminalemulator can be difficult to understand, as you have to get the control characters "past" the shell interface you are using to type the command. Someone above (sorry I forget the attribution) made the best suggestion of
echo -en "\033]0;Hello World\007"
where every character is from the ascii display character set and there is no confusion as to control keys etc.
\033 tells echo to send the character whose octal value is 033 (or decimal 27) which is the control code, ESC, that starts a command sequence to the terminalemulator software. \007 codes for the control code, BEL (confusingly!) which terminates this command sequence. The command "0;" is used to set the title to the characters that follow upto the BEL.
For the full list of xterm command sequences see
formatting link
and search for "title".
cheers
p.s. apologies if I was teaching you to suck eggs!
J
Jim Diamond
You haven't been following along closely. Here is the entire message which you first (at least first in this sub-thread) replied to:
So now I wonder whether you actually used the "3" when you tried setting the title in urxvt. When you said "these codes" I assumed you were talking about the codes with "30" in them, since that was the escape sequence that had been mentioned earlier.
I also wonder whether the OP got straightened out, but I'm not sure he ever replied in the end.
Jim
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.