As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [window-title]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Add another button in the title bar in OpenBox

I'm using Openbox as a Window Manager in Kubuntu. I know I can reorder the buttons/label of the title bar through ObConf or by modifying the rc.xml, and editing the "NLDIMC" string. But I ...
Cqoicebordel's user avatar
0 votes
0 answers
153 views

mpv show filename as title if media-title is n/a

I want mpv to show the media-title as mpv's window's title which it does by default but some files have n/a as media-title in which case i want it to show the filename as mpv's window's title I am ...
stacking and exchanging woohoo's user avatar
1 vote
0 answers
142 views

Hide Window Title Text (Gnome 43)

How can I change the text color on window title bars, in Gnome? The text usually indicates the application's name and I need to hide it. Giving it the titlebar's background color should be enough, but ...
Domingo's user avatar
  • 33
1 vote
1 answer
383 views

Why doesn't the terminal window title change when logging into OpenBSD from Linux Mint?

From a Linux Mint terminal window, when I ssh into OpenBSD, the terminal window title remains the same as just the terminal username@localhostname:~, whereas logging into Ubuntu the terminal window ...
Paul's user avatar
  • 477
0 votes
1 answer
692 views

Full path in terminal prompt and title-bar with modified PS1 in .bashrc

I am on several machines running Linux Mint 20.1 "Ulyssa" - Cinnamon (64-bit), link to web, with Bash 5.0.17 as my default shell. Today, I decided I customize my prompt and window title of ...
Vlastimil Burián's user avatar
0 votes
1 answer
492 views

Set _NET_WM_NAME to the currently running command in Linux

I am on Arch linux with X and dwm. I want to have the title of the window in st, the suckless terminal, to reflect the command I am running, instead of a plain st. For example if I am running htop to ...
Schreyer Karl's user avatar
1 vote
1 answer
172 views

Anyone know what this yellow titlebar is, and how to remove it?

Super+s (activities overview) got remapped to this and I can't seem to figure out how to change it back. This title bar shows up on the focused window when I hit Super+s, and then newly opened windows ...
user434741's user avatar
0 votes
2 answers
557 views

On Linux, how do I determine the number of processes with the exact string "test test 123" anywhere in the process title?

I've already figured this out on Windows, but how to do it on Linux eludes me: tasklist /V /NH | find "test test 123" And then I count the number of non-empty lines in the output. This is super slow ...
Nickhil Nuckels's user avatar
0 votes
0 answers
139 views

Make LocalCommand set screen window title only when used interactively?

Setup I run screen on a local machine and use different screen windows to connect to different hosts. It would be nice to change window names to the host names automatically during the ssh process. ...
Karolis Koncevičius's user avatar
1 vote
0 answers
192 views

Some applications don't have title bar and are always on top

Some applications (Konsole, gedit, ...) don't have title bar (so, I can't quit them by clicking on the cross) and stay always on the top when they are opened (I have to minimize them with a keyboard ...
Pierre's user avatar
  • 123
4 votes
1 answer
835 views

Turn off GNU screen dynamic window titling for entire screen session

I found: GNU Screen window rename nuisance However, none of the answers there solve my problem and my situation is slightly different from the linked question. I work in a large infrastructure ...
Wildcard's user avatar
  • 35k
0 votes
2 answers
2k views

Change "/bin/bash" in title of terminator and terminal?

I want to change the text /bin/bash to root@kali in the title of terminator and the terminal. How may I do this?
harit's user avatar
  • 11
4 votes
1 answer
3k 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 ...
Bootham Deyyam's user avatar
0 votes
1 answer
560 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 path ...
hugogogo's user avatar
  • 111
3 votes
1 answer
240 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 ...
Andrew's user avatar
  • 181
16 votes
2 answers
22k 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 ...
Batcastle's user avatar
  • 355
1 vote
0 answers
336 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 ...
Rotareti's user avatar
  • 833
2 votes
1 answer
816 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: ...
mja's user avatar
  • 1,295
0 votes
1 answer
782 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 ...
Rtsne42's user avatar
  • 179
2 votes
0 answers
632 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 ...
varantir's user avatar
  • 151
3 votes
1 answer
739 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 ...
CS Student's user avatar
5 votes
2 answers
4k 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'...
Kusalananda's user avatar
  • 316k
2 votes
2 answers
3k 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 ...
Forever Learner's user avatar
0 votes
1 answer
386 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 ...
shirish's user avatar
  • 11.8k
1 vote
1 answer
2k 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 ...
Dims's user avatar
  • 3,007
2 votes
1 answer
2k 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 ...
B Faley's user avatar
  • 4,153
1 vote
1 answer
2k 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)\...
kalenpw's user avatar
  • 483
3 votes
2 answers
2k 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 ...
vfclists's user avatar
  • 7,125
2 votes
1 answer
291 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 ...
Ken - Enough about Monica's user avatar
6 votes
1 answer
3k 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 ...
user avatar
1 vote
1 answer
736 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 ...
Raphael's user avatar
  • 2,015
1 vote
0 answers
748 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
simon's user avatar
  • 151
1 vote
1 answer
1k 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-...
Sergii's user avatar
  • 123
10 votes
1 answer
6k 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 ...
paulodiovani's user avatar
7 votes
2 answers
2k 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 ...
lowly_junior_sysadmin's user avatar
8 votes
1 answer
5k 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 ...
8thperson's user avatar
  • 351
3 votes
1 answer
114 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), ...
Steve Lorimer's user avatar
2 votes
1 answer
4k 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. ...
Sophie's user avatar
  • 755
10 votes
3 answers
2k 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 ...
dimo414's user avatar
  • 1,717
2 votes
1 answer
664 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 ...
Riju Dasgupta's user avatar
0 votes
1 answer
1k 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 ...
Mirco's user avatar
  • 111
43 votes
6 answers
117k views

How to reduce title bar height?

I'm running GNOME 3.18 and I would like to reduce the title bar height. How could I do it?
R Philippe's user avatar
2 votes
0 answers
55 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 ...
ministry's user avatar
2 votes
0 answers
1k 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 "...
gosu94's user avatar
  • 149
3 votes
1 answer
2k 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 ...
Targeloid's user avatar
  • 159
4 votes
2 answers
740 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.
Antoine's user avatar
  • 1,001
2 votes
1 answer
706 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 ...
Sopalajo de Arrierez's user avatar
8 votes
1 answer
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 ...
Shankar Narayanan's user avatar
1 vote
0 answers
49 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. ...
Rahmani's user avatar
  • 785
11 votes
1 answer
12k 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 ...
user avatar