Questions tagged [window-title]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
58 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 ...
0
votes
1answer
46 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 ...
0
votes
2answers
59 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 ...
0
votes
0answers
26 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. ...
1
vote
0answers
37 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 ...
2
votes
1answer
289 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 ...
0
votes
2answers
635 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?
2
votes
1answer
997 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
205 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 ...
3
votes
1answer
138 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 ...
7
votes
2answers
10k 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
174 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
450 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
561 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
467 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
487 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 ...
4
votes
2answers
2k 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
2k 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
261 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
654 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
1k 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
989 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)\...
3
votes
2answers
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 ...
1
vote
1answer
145 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
2k 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 ...
1
vote
1answer
620 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
593 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
860 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-...
9
votes
1answer
4k 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 ...
5
votes
1answer
1k 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 ...
7
votes
1answer
3k 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
108 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
3k 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
1k 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
494 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
866 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 ...
27
votes
5answers
70k 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
53 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 ...
2
votes
0answers
797 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
1k 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
510 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
544 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 ...
6
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
47 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. ...
10
votes
1answer
11k 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 ...
3
votes
1answer
4k 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
267 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
3k 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
796 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... ...
28
votes
1answer
40k 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 ...