Some hack you just found and want to tell to others

XTerm dynamic title

Postby jan_vrany » 25. Jan 2009, 18:55

For all of you who are using St/X on Linux and running Smalltalk/X from xterm. Following small script dynamically updates XTerm's title (in fact, it should work with any modern X terminal emulator such as gnome-terminal, xfce-terminal etc). It shows Smalltalk/X version and - if any - snapshot filename.

The script: http://smalltalk.felk.cvut.cz/projects/stx-goodies/browser/src/lib/init.d/001-update-xterm-title.rc
jan_vrany
 
Posts: 28
Joined: 10. Dec 2008, 12:37

Re: XTerm dynamic title - ST/X Window titles

Postby cgittinger » 7. Mar 2009, 10:53

Another helpful goody is the window-title of Smalltalk/X views, which can be changed in the settings-viewstyle dialog (the "Window-Label-Format" field). When I have multiple views from multiple hosts on my screen (using XWindow), I often get confused, which browser is from which machine. By defining a hostname-prefix on each, the window title tells you...
cgittinger
 
Posts: 61
Joined: 12. Nov 2008, 17:05


Return to Tips and Tricks

Users browsing this forum: No registered users and 2 guests

Design by GB