Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [window-title]

The tag has no usage guidance.

0
votes
1answer
229 views

Linux how to get window title with just shell script?

I cannot install any tools like screen or xproc on the box. I dont need to modify the title, I only need to find the window title name. echo -e "\033]0;[title]\07"; modifies the title I know. But I ...
0
votes
1answer
81 views

automate the title of gnu screen windows

(got one possible solution on stack overflow : https://stackoverflow.com/a/51769020/9497573) edited to be more accurate I try to make the title of my windows in screen automatically equal to the ...
3
votes
1answer
73 views

Why are there pipe characters '|' and square bracket characters '[' ']' in my Cinnamon window names? How to disable them?

I was puzzled why there were pipe and square bracket characters in my Cinnamon window titles in the panel. Eg. Firefox window title showing as "| Firefox" or "[ Firefox ]" Why are they there, and ...
2
votes
1answer
3k views

How to hide title bar for a specific window?

I am running Linux Mint 18.3 with Gnome 3.18 as my desktop. I have been building a loading screen for an application I have installed (Mycroft AI). I have the animation, I have it pop up on loading, i ...
1
vote
0answers
86 views

Run script when X window title changes

This script changes Firefox window titles from this pattern [PageName] - Mozilla Firefox to just [pageName]: pids=$(xdotool search --class "Firefox") for pid in $pids; do name=$(xdotool ...
2
votes
1answer
279 views

Weird output on multiline command in Kitty?

I'm running non-GUI ArchLinux on VMWare 14.0. I installed a ssh server on it (by openssh) and connected to my virtual machine by using Kitty 0.70 on Windows 10 [Version 10.0.15063]. My problem is: ...
0
votes
1answer
372 views

Ranger file manager custom window title

I'm using the Ranger file manager on a daily basis but there is one thing that I wish I could modify. Namely, having multiple ranger windows open, this is what the window titles look like (I'm using ...
1
vote
0answers
343 views

Change tmux window title dynamically to last line of command output

I would like that every stdout in a specific tmux window is dynamically redirected to any command | tmux window-rename That is, the last line of output always becomes the title of the window. I ...
3
votes
1answer
275 views

How can I set what i3 returns as the window manager name?

I'm trying to run the Quartus Prime Lite software, however no GUI shows when I try to run it after installing. I read that its possibly because my window manager (i3) is returning a non-standard ...
5
votes
1answer
1k views

Disallowing window renaming in tmux

I'm using tmux in OpenBSD (tmux in the base system of OpenBSD 6.1-beta), and I do some development on Linux hosts. Whenever I log into a Linux host, it renames the current tmux window. This is what'...
1
vote
2answers
1k views

How to change terminal title without changing the prompt string?

I have customized my command prompt to display current directory with some color and full path. Now I want to set title of my window to only directory name (not full path). Can you please advise how ...
0
votes
1answer
153 views

How to have a longer xterm title in zsh

I am using zsh 5.3 . I saw https://wiki.archlinux.org/index.php/Zsh#xterm_title and decided to use it - ~/.zshrc autoload -Uz add-zsh-hook function xterm_title_precmd () { print -Pn '\e]2;%n@%m ...
1
vote
1answer
178 views

How to move window if its titlebar is out of screen? [closed]

In my environment (X server on Windows with 2 monitors) sometimes new Windows appear out of screen so that I can't drag them by mouse and titlebar. Is there any other (easy) way to move windows in ...
1
vote
1answer
674 views

How to change the title of active terminal after SSH

I can change the title of terminal using the following command: echo -en '\033]0;20.11\a' But if I use it after ssh command it won't work: ssh user@192.168.20.11;echo -en '\033]0;20.11\a' In this ...
1
vote
1answer
703 views

Display shell directory in xterm title bar

I created a custom prompt generated from http://bashrcgenerator.com/ export PS1="\[$(tput bold)\]\[\033[38;5;14m\]\u\[$(tput sgr0)\]\[\033[38;5;13m\]@\[$(tput sgr0)\]\[\033[38;5;14m\]\h\[$(tput sgr0)\...
4
votes
2answers
854 views

What is the text command for naming a window in gnu-screen?

I have created a long running screen session with many windows and the C-a A command to rename a window is not working. What is the text command for renaming a window? I have tried :caption string ...
1
vote
1answer
100 views

Screen window title reverts after running a command on my new machine

I use screen with a configuration that allows me to see the name of the tabs on the bottom of the screen. I've used this configuration for many years, on many different hosts. I installed screen on ...
6
votes
1answer
1k views

Display current TTY/PTY in Terminal title

I was trying to figure out how to make the current TTY session appear in the current Terminal window title bar by customising my .bashrc file, but I seem to be having a little trouble getting this to ...
0
votes
1answer
470 views

How to display window titles on non-maximized windows in Unity 7.4?

I recently moved from 14.04 LTS to 16.04 LTS with all the resulting software upgrades. There have been a number of UI changes, but this one is most annoying. Windows that are not maximized do not ...
1
vote
0answers
487 views

Xfce4 + Xfwm middle click Title bar closes window - how to remove action?

I just need to remove ANY middle click action on every window Title bar in my Xfce4 environment. Just need to make a middle click do nothing when clicking on the title bar. p.s. I'n using Xfwm
1
vote
1answer
573 views

Load terminal configuration with my titles

I used instruction to customize my terminal profile. Renamed terminal titles. I saved terminals with: gnome-terminal --save-config=/tmp/term-cfg I restored terminals with: gnome-terminal --load-...
6
votes
1answer
3k views

Change tmux pane title to current folder name

By default, tmux sets the current pane title as the active command (ex:vim), even if allow-rename is off. I want to change it to current folder name (basename $PWD). Note that I do not want to ...
4
votes
1answer
643 views

GNU screen tab gets renamed whenever I type a command

When I use gnu screen, in other tabs, I ssh into other machines, rename the tab accordingly, and do work normally. The tab name sticks. In a fresh tab, which is just a terminal on the original ...
3
votes
1answer
2k 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
92 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), ...
1
vote
1answer
2k 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
631 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 ...
2
votes
1answer
364 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
552 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 ...
16
votes
4answers
35k 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
49 views

adding text to titlebar in all root windows [closed]

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
538 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 "...
3
votes
1answer
896 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 ...
4
votes
2answers
391 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
435 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) console ...
4
votes
1answer
2k 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
45 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. ...
9
votes
1answer
10k 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 ...
2
votes
1answer
3k views

How to change Konsole title in bash?

I would like to have the Konsole title changed 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 done&...
1
vote
1answer
236 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
2k 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
512 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... ...
23
votes
1answer
33k 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
2k 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 ...
2
votes
2answers
4k 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
1k 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 ...
1
vote
2answers
314 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 ...
17
votes
7answers
27k 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
932 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 ...