Sponsored Content
Full Discussion: xterm display options
Top Forums UNIX for Dummies Questions & Answers xterm display options Post 302348362 by chipcmc on Friday 28th of August 2009 04:38:20 AM
Old 08-28-2009
To modifique dinamy the title you need to send escape characters:
\033]0; -> refers to title bar

In terminal you can probe:
Code:
PROMPT_COMMAND='echo -ne "\033]0;New Title\007"'

Other example this chage the title every time you change directori
Code:
PROMPT_COMMAND='echo -ne "\033]0;$PWD\007"'

In the profile file of the user put something like this:
Code:
case $TERM in
    xterm*)
        TITLEBAR='\[\033]0;\h:\w\007\]'
        ;;
    *)
        TITLEBAR=''
        ;;
esac
PS1="${TITLEBAR}\u@\[\033[1;34m\]\h\[\033[0m\]:\W> "
export PS1 PS2

Tu put the Ip you only need to modificate this line, for example:
IP=10.10.10.10
TITLEBAR='\[\033]0;\h:\w:$IP\007\]'
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

xterm and display

I go to a different terminal ctrl-alt f2 i want to be able to open up another xterm there. How do i do it? Specificly, I want to be able to log into another computer in term f2. I then want to open a gui term and then execute programs on one computer but have them display on mine? I... (1 Reply)
Discussion started by: macdonto
1 Replies

2. UNIX for Dummies Questions & Answers

xterm -display

I am using this command but when I launch it, the font that comes up on the remote machine is very small. Is there a way to enlarge the font using some switch? xterm -display remotemachine:0.0 & (5 Replies)
Discussion started by: zapper222
5 Replies

3. UNIX for Dummies Questions & Answers

Display output of one xterm on another

Setup: Two users, each likely on Windows PCs, using either putty or SecureCRT to connect to a remote Solaris server. The connection could be either telnet or ssh. Wanted: How can the output of one users xterm be directed to the other user so that you can easily allow someone to see what... (8 Replies)
Discussion started by: Vi-Curious
8 Replies

4. Ubuntu

Kernel boot options removed by fault, no boot options

Hello Everyone, First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you ! I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies

5. UNIX for Dummies Questions & Answers

Display full command (including options) information in running

Suppose I am a Unix user, not a root. I can see all commands in running by ps -elf, or some similar commands. Such commands may be submit by other Unix users. Is there a way that I can display those commands with their full parameters/options. For example, I can see a user is running "ls"... (3 Replies)
Discussion started by: happy_lotus
3 Replies

6. HP-UX

Xterm display immediatly dies in hpux 11.23

After install of the Sept. 2010 patch set on my hpux 11.23 system, my xterm when launched, dies immediately on the client with the xserver, with a core.xterm file in root of the hpux server. This had been working before the patch install. I tried to find xterm patches from ITRC (yes the old... (1 Reply)
Discussion started by: mrmurdock
1 Replies
gnome-default-applications-properties(1)			   User Commands			  gnome-default-applications-properties(1)

NAME
gnome-default-applications-properties - set your default applications SYNOPSIS
gnome-default-applications-properties [gnome-std-options] DESCRIPTION
The Preferred Applications preference tool allows you to specify the applications that you'd like the desktop to use when the desktop starts an application for you. For example, you can specify Xterm as your preferred terminal application. When you open the Desktop Back- ground menu and choose New Terminal, Xterm starts. OPTIONS
The following options are supported: gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5). EXAMPLES
Example 1: Launching the Preferred Applications preference tool example% gnome-default-applications-properties EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-default-aExecutablesforoPreferred Applications preferences tool ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+------------------------------+ |Availability |SUNWgnome-desktop-preferences | +-----------------------------+------------------------------+ |Interface stability |External | +-----------------------------+------------------------------+ SEE ALSO
Preference Tools Manual Latest version of the GNOME Desktop User Guide for your platform. gnome-control-center(1), gnome-std-options(5) NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2003. SunOS 5.10 2 Oct 2003 gnome-default-applications-properties(1)
All times are GMT -4. The time now is 04:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy