The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
39 views

Get windows' titles using command line

Is it possible to get the titles of all the running GUI application windows via CLI? The titles which are also shown on the task bar buttons. For example: Firefox: cPanel X - Main Nautilus: File ...
3
votes
1answer
53 views

What configuration exists in CentOS but not in Ubuntu, which shows user@hostname for remote terminal sessions?

We have a standard "basic server" install of CentOS 6.7 for our servers, and Ubuntu 14.04 for our desktops. From my Ubuntu desktop, when I ssh into a remote server (ie: ssh into a CentOS instance), ...
0
votes
1answer
123 views

How to have Terminator display remote hostname in title bar? [duplicate]

When I am SSH'ed into any one of my Linux devices, the title bar on Terminator displays user@hostname, where hostname is the computer I am SSHing from, rather than the computer I am SSH'ed into (i.e. ...
4
votes
2answers
64 views

What does it mean to set a terminal's “icon title”?

I generally see the syntax for setting the terminal title as (something like): echo -e '\e]0;Some Title\a' But I noticed this answer used 2 instead of 0, which prompted me to do a little more ...
1
vote
1answer
44 views

Setting Terminal tab names in OS X and using vim

I regularly ssh into a Linux cluster from an OS X (El Capitan) Terminal, sometimes with multiple Terminal tabs. I use bash and vim. I'd like to do the following: while ssh'd, set the Terminal tab ...
0
votes
1answer
22 views

dynamic window title from command input (TCSH)

I am looking for a way to dynamically set the window title based on the command input. For instance, if I run elinks I want the window title to be set to elinks. I did search a lot, but all the ...
2
votes
1answer
1k views

Reduce title bar height in gnome 3 / gtk+ 3

I'm running gnome 3.18 and I would like to reduce the title bar height. Any ideas ?
2
votes
0answers
17 views

adding text to titlebar in all root windows

When a window is opended with root priveleges, I want to display some text in the titlebar to inform the user that he/she is root in that particular instance. I'm currently using the MATE desktop ...
1
vote
0answers
42 views

How to change title of active window using wmctrl

I'm using fluxbox window manager and recently I've added "always on top" shortcut to my "keys" file. Mod1 a :ExecCommand wmctrl -r :ACTIVE: -b toggle,above But I'd like to know if window state is ...
1
vote
1answer
69 views

No window title bar when X Toolkit “-title” argument ends in “lock”

I'm seeing an odd X behavior, and am trying to determine whether it's originating in the X Toolkit or in my window manager (fvwm). I also can't tell whether it's a bug, or inexplicably intended ...
5
votes
2answers
181 views

How to print xterm's dimensions in title bar?

Is it possible to print xterm's dimensions in title bar? I'd like something simple like WxH, which updates whenever the terminal is resized.
2
votes
1answer
179 views

PS1 prompt showing different on local and remote console

This is my PS1 prompt: export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;35m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ " That shows perfect in remote (SSH) ...
2
votes
1answer
514 views

How to disallow GNU screen from making change to my putty window title

Currently whenever I open a screen session from within PuTTY, the window title of the PuTTY window changes to "screen". I would like to prevent this from happening. Please let me know what is the ...
1
vote
0answers
36 views

Strange titles (and bookmarks) in chromium in xubuntu

Chromium browser in xubuntu doesn't show Persian titles. For example this site: www.farsnews.com Screenshot (just title): How can I fix that? Edit: I noticed it happens in bookmarks too. ...
7
votes
1answer
4k views

Why am I having ghosting and tearing with the i3 window manager paired with xcompgmr when tiling terminals vertically?

I'm using the i3 tiling window manager. As it doesn't do compositing, I've enabled the xcompmgr compositor in my ~/.i3/config file as well as feh to display a wallpaper: exec --no-startup-id xcompmgr ...
1
vote
1answer
801 views

Command to change Konsole title

I would like to have the Konsole's title to change every time I run a loop, like this: while read line; do echo $line $i/$numline echo -ne "\033]0;$line $i/$numline\007" commands let i=i+1 ...
1
vote
1answer
196 views

Window title in X shows wrong application name

I am using LXDE environment in Debian, but I think my question is general. When I have a window opened (i.e. terminal emulator running bash) the window has a window title with the text /bin/bash. When ...
1
vote
1answer
946 views

FVWM 's Windows buttons (Maximize Minimize …), Themes

I'm using the F Virtual Window Manager (FVWM). I'm wondering how to customize the window appearance (the theme) to Add a minimize, maximize, and close button, so I have four buttons, arranged like ...
1
vote
2answers
271 views

switch to an existing Terminal Emulator using command (wmctrl) or shortcut key

It's rather hard to do it. wmctrl needs to know the window title in order to operate on it, but it is damn hard to know the title of any terminal emulator, be it gnome-terminal, rxvt, xterm... ...
7
votes
1answer
8k views

Set dynamic window title based on command input [duplicate]

I am looking for a way to dynamically set the urxvt window title based on the command input. Let's take an example. If I run mplayer http://66.197.229.245:8082 in an urxvt window, I would like the ...
4
votes
2answers
1k views

How do I make the Xterm window title switch between the current running command and the current path?

I want to set the Xterm window title to switch between two states: When a command is running, show the command name (e.g. "less") When no command is running, show the current path (e.g. "src") I ...
0
votes
1answer
2k views

Changing title without changing prompt on Cygwin

I have the following shell script function from this site that allows me to change the title in both Putty and Cygwin. In Putty connected to a Linux host it changes the title and leaves the prompt as ...
7
votes
1answer
759 views

Why ssh does not turn terminal title back?

As you might know, when you ssh to a server from an X terminal (rxvt, gnome-terminal...), ssh changes the window title to reflect user@host, but it does not change it back. There are many tips how to ...
2
votes
2answers
218 views

How can a bash script detect support for window titling escape characters?

I have a debug trap that runs every time I enter a command in bash that sets the window title to indicate what command is running. I'm leaving out all the configuration details and boil it down to: ...
4
votes
1answer
1k views

SSH within SSH displays the wrong machine name in the xterm title bar

I am working on a distributed system connecting to several servers at once. Nothing is started manually in the program I am working on, but this is how to recreate the error manually. I start a xterm ...
7
votes
5answers
11k views

Fix terminal title after SSH remote logging to another machine

right now I am using an one-line perl code to change titles of my terminal bars, print("\e]0;@ARGV\7"); but every time after I ssh to another remote machine, the title will be modified by the host ...
1
vote
1answer
668 views

How does “Remote tab title format” in Konsole work?

Some terminal programs, in particular Konsole supports "Remote title format" which allows you to specify title for remote tabs which includes placeholders like remote host. How does this work? Where ...
4
votes
2answers
538 views

Is there a way to lock terminal's title?

Sometimes there're lots of different sessions opened in own terminal's tabs and it's rather desirable to have theirs initial titles (named by session name) locked since local title tweaks make those ...
2
votes
0answers
903 views

How to make titlebars in XFCE bigger?

No matter how big font I set for titlebar, the height of the titlebar is not changed at all. I don't see any editbox where I could enter the desired height of titlebar. So far, I only found ...
8
votes
4answers
1k views

Override the window title for an arbitrary window in KDE and set a custom window title

Using KDE here, but there might be a solution that works with other desktops environments too. I often am dealing with many many windows. Most windows contain many tabs (e.g. a Dolphin window with ...
19
votes
4answers
21k views

Is it possible to set Gnome Terminal's title to “user@host” for whatever host I'm connected to?

I'd like to set the terminal title to user@host so I can easily tell which machine I'm connected to from the window title. Is there a way to do this from SSH or from GNOME Terminal?
1
vote
1answer
198 views

Different Title formats for different Terminal apps?

I use a script which either activates an already running window of a program, or starts that program if it is not running.  It uses different shortcut-keys; one for each of my most used apps — it ...
17
votes
3answers
3k views

Display command in xterm titlebar

My Bash Prompt is currently setting the xterm titlebar using the following sequence: PS1='\033]0;\u@\h>\w\007' Is there an easy way to display the current command in the titlebar. For example, ...
8
votes
2answers
3k views

Force title on GNU screen

By default, the title of a screen session is the name of the last command entered, which is fine for me, but in some cases I'd like to change it. I know the command Ctrl-A A, but it only changes the ...
17
votes
2answers
7k views

GNU Screen: new window name change

I can change the name of a window with Ctrl-a Shift-a. Instead of editing several window names by hand, is there a way to have them automatically named after the current directory?