Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
2
answers
97
views
Move Firefox to a different workspace in Mate desktop
I'm using the Mate desktop, with multiple workspaces. In Mate, I can right-click on the title bar of any window and move the window to another workspace (a context menu with options "Move to Workspace Left", "Move to Workspace Right", "Move to Another Workspace"). However, this doesn't work for Fire...
I'm using the Mate desktop, with multiple workspaces. In Mate, I can right-click on the title bar of any window and move the window to another workspace (a context menu with options "Move to Workspace Left", "Move to Workspace Right", "Move to Another Workspace").
However, this doesn't work for Firefox windows. I can't get to this context menu by right-clicking on the top bar of a Firefox window (i.e., the tab bar). It doesn't matter where I click; even if I click on the empty space or click on or near the buttons for minimizing/maximizing/closing the window, I can't open this context menu. It looks like Firefox windows don't have anything that X considers a title bar: if I understand correctly, the top bar on Firefox windows (the "tab bar") doesn't seem to be considered a title bar by X Windows.
Is there some mouse combination I can use to move a Firefox window among workspaces, in Mate?
(I know that Firefox lets me optionally enable a separate title bar, but I don't want to enable a separate Firefox title bar just for this purpose, as the title bar is just wasted space with no useful information beyond what is already present on the tab bar.)
D.W.
(4258 rep)
Feb 13, 2025, 11:17 PM
• Last activity: Feb 14, 2025, 06:05 PM
0
votes
1
answers
97
views
Gnome 4 Active Window Titlebar
I am a new convert to Fedora Linux, Gnome desktop, and one thing that keeps tripping me up is that active window titles look pretty much identical to inactive ones. This often causes me to close the wrong window as I have a large monitor with 6 or 7 windows tiled at any given time. What I want to do...
I am a new convert to Fedora Linux, Gnome desktop, and one thing that keeps tripping me up is that active window titles look pretty much identical to inactive ones. This often causes me to close the wrong window as I have a large monitor with 6 or 7 windows tiled at any given time.
What I want to do is customize the active window title so that I have a strong visual cue as to which windows is active at any given time. I have created a
And on on some others part of the titlebar has a gap at the bottom and top:
Any help in eliminating this (and for browser windows, too!) would be much appreciated. I've tried all manner of guesswork at what the CSS tag/class for the container might be, and all manner of padding settings, which have all had no effect.
~/.config/gtk-4.0/gtk.css
file, with the following:
`
headerbar,
.titlebar {
background : #9D4904 linear-gradient(to bottom, shade(#9D4904,1.2), shade(#9D4904, 0.8));
border : none;
border-radius : 0;
padding : 2px;
transition : 200ms ease-out;
}
`
which works for almost everything (a notable exception being browser windows).
However on some windows there's an inexplicable gap at the top:


Cornelius Dol
(143 rep)
Jan 21, 2025, 08:27 PM
• Last activity: Jan 22, 2025, 11:43 PM
1
votes
2
answers
3559
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 to achieve that in korn shell. Thanks.
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 to achieve that in korn shell. Thanks.
Forever Learner
(769 rep)
Jan 5, 2017, 07:55 AM
• Last activity: Jan 5, 2025, 04:43 PM
5
votes
1
answers
965
views
How to display an application window in all workspaces simultaneously (Gnome 42.9)
In Ubuntu 20.04 (Gnome) and earlier, one could show a given window in all workspaces simultaneously. Can that be done in 22.04 (Gnome Shell 42.9). If I have Gedit with configuration data as **App Z**, and I need to edit several parts of it for apps **A**, **B** and **C**; I could in 20.04 show **Z**...
In Ubuntu 20.04 (Gnome) and earlier, one could show a given window in all workspaces simultaneously.
Can that be done in 22.04 (Gnome Shell 42.9).
If I have Gedit with configuration data as **App Z**, and I need to edit several parts of it for apps **A**, **B** and **C**; I could in 20.04 show **Z** in all workspaces, and **A** in *WS #1*, **B** in *#2*, **C** in *#3*. Navigate to App **A**, check its part of the information held in **Z** - it's on the same workspace. Then switch to workspace *#2* and look at **B**, do the same thing with the relevant part of **Z** which is next to it, etc.
Now apparently I have to either move **Z** around workspaces all the time, or have **A**,**B**,**C** and **Z** somehow overlapping in the same workspace. This would involve lots of mouse movement rather than just keyboard actions. What am I missing?
Michel Bouckaert
(51 rep)
Sep 14, 2023, 04:59 PM
• Last activity: Nov 27, 2024, 12:32 AM
1
votes
1
answers
87
views
With urxvt: unable to prevent title in title bar from being overwritten
I'm using urxvt version 9.22 under Ubuntu 20.04.1. Even though I use `-title MYTITLE` on the urxvt command line, and even though I set the following Xresource ... URxvt.insecure: false ... the title in the titlebar still gets overwritten if any command that is run within urxvt sends out the appropri...
I'm using urxvt version 9.22 under Ubuntu 20.04.1.
Even though I use
-title MYTITLE
on the urxvt command line, and even though I set the following Xresource ...
URxvt.insecure: false
... the title in the titlebar still gets overwritten if any command that is run within urxvt sends out the appropriate title-change escape sequence.
Is there any way in urxvt to specify that -title
specified on the command line will never be able to be overwritten via any escape sequence?
Thank you in advance for any thoughts and ideas.
HippoMan
(737 rep)
May 22, 2024, 10:00 PM
• Last activity: May 23, 2024, 07:29 AM
5
votes
2
answers
1949
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 sessions indistinguishable. It's obvious that controlling all the bits and pieces of remote software...
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 sessions indistinguishable. It's obvious that controlling all the bits and pieces of remote software running is too wide task to be accomplished in reality, so the most suitable way would be setting a knob prohibiting any further changes to a title. I doubt there's such a knob, but who knows?
poige
(6406 rep)
Mar 30, 2012, 12:27 PM
• Last activity: Apr 19, 2024, 07:14 AM
45
votes
7
answers
128733
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?
I'm running
GNOME 3.18
and I would like to reduce the title bar height.
How could I do it?
R Philippe
(551 rep)
Jan 23, 2016, 05:32 AM
• Last activity: Apr 3, 2024, 06:15 PM
3
votes
0
answers
198
views
How can I get the height of my Title bar in bash
I am working on a pet project which involves knowing the height of the title bar on different Linux Mint PC's, I realise the size depends on the Window Title Font and probably some CSS, so it will probably change from PC to PC. I have searched for the answer, but I can't seem to nail it down, I'm su...
I am working on a pet project which involves knowing the height of the title bar on different Linux Mint PC's, I realise the size depends on the Window Title Font and probably some CSS, so it will probably change from PC to PC. I have searched for the answer, but I can't seem to nail it down, I'm sure it is easily found, but where!
I am currently running Mint 21.3 and have xdotool installed.
I am very new to Bash scripting and I'm also knocking on a fair bit, so nothing comes easy to me, but after some research and about eight hours of trial and error I have come up with this...
#!/bin/bash
sleep .05
id=$(xdotool getactivewindow)
xdotool windowmove $id 0 0
sleep .05
y=$(xprop -root '_NET_WORKAREA')
y=$(($(xwininfo -id $id|grep -oP "(?<=Absolute upper-left Y:).*") - $(echo ${y#=}|cut -d, -f2)))
read -n1 -p "Title Bar = $y"
This does actually work, I needed to add the two .05
too ensure xdotool, xprop and wininfo didn't execute too fast and cause the window move to fail and/or the result to be '0', which it occasionally did before I added them. Please let me know if there is a much much simpler way to do this, $TITLEBAR
perhaps!
I need the sleep right at the beginning of the script because the =$(xdotool getactivewindow)
gives the id of the previous window which at that point, is still the active window, I need to wait for my terminal to become the active window, my script fails 100% of the time without the sleep. Bash is very new to me so any tips and tricks are most welcome, I'll add the quotes to variables. I need the ${y#=}
to remove everything up to the "=" from my variable "y", there are probably dozens of better ways to obtain the values after the "=" but this is the only way I know. As for the readability of my script, I do tend to compact everything, (sorry about that!) The read at the end to show the result was just my way of pausing the script to see what the result was, a couple of weeks ago I couldn't even get the newbie's "Hello World" to work, it was working, but the window ran and closed in a flicker of black and I had no idea what was wrong!
I have made the alterations you advised and here is my second attempt.
#!/bin/bash
id=$(xdotool getactivewindow)
echo "Id = "$id" Wrong One!!"
sleep .08 # .05 was not quite enough, it occasionally failed.
id=$(xdotool getactivewindow)
echo -e "Id = "$id"\n"
xdotool windowmove $id 0 0
sleep .05 # Prevent xprop from giving pre-move results.
workarea=$(xprop -root "_NET_WORKAREA")
# Strip everything before the values.
workarea=${workarea#*=}
top_panel=$(echo "$workarea" | cut -d, -f2)
echo "Top Panel = "$top_panel
# Get height of top panel + header bar
y=$(xwininfo -id "$id" | grep -oP "(?<=Absolute upper-left Y:).*")
echo -e "Top panel + Header Bar ="$y"\n"
headerbar=$(( y - top_panel ))
echo "Title Bar = "$headerbar"px"
read -n1 -p "Any key to exit"
Results:
Id = 46137366 Wrong One!!
Id = 83886086
Top Panel = 32
Top panel + Header Bar = 82
Title Bar = 50px
Any key to exit
Seems like a lot of gear to find one tiny number! What is the "easy" method ??
This is an updated version of my original script.
#!/bin/bash
sleep .08 # Allow time for the active window to become this window.
id=$(xdotool getactivewindow)
# Move the window to the top of the screen so that xprop gives
# the exact size of the window header bar including top panel.
xdotool windowmove "$id" "0" "0"
sleep .05 # Allow time for xdotool to move this window.
xprop=$(xprop -root "_NET_WORKAREA")
# Cut out the desired value and trim the space before the value.
top_panel=$(echo "$xprop" | cut -d, -f2 | xargs)
# Get the size between the top of screen and the start of this window.
xwininfo=$(xwininfo -id "$id" | grep -oP "(?<=Absolute upper-left Y:).*")
headerbar=$(( xwininfo - top_panel ))
echo -e "Top panel = $top_panel""px""\nHeader Bar = $headerbar""px""\n"
# Remove the variables from memory.
unset id xprop top_panel xwininfo headerbar
read -n1 -p "Any key to exit."
This should now be getting close to what the script should be! Although, I shall still use unquoted space-less variables in my scripts, as shown in the image below, as I'm dyslexic which does make reading lines like -e "Top panel = $top_panel""px""\nHeader Bar = $headerbar""px""\n"
difficult for me to read.

Chris Fox
(31 rep)
Apr 1, 2024, 05:03 PM
• Last activity: Apr 3, 2024, 11:23 AM
6
votes
2
answers
4378
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 just want to know the existing title name.
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 just want to know the existing title name.
Bootham Deyyam
(83 rep)
Nov 12, 2018, 03:25 PM
• Last activity: Dec 18, 2023, 02:32 PM
1
votes
0
answers
305
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 I can't find where to do it. I'm in Manjaro Gnome 43. The window title I want to particularly hide...
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 I can't find where to do it.
I'm in Manjaro Gnome 43. The window title I want to particularly hide is Blender's (a non GTK app), but the idea is to hide it for all applications.
**Before**
**After**
PD: I tried modifying the gtk.css file without success so far. I searched also in the metacity*.xml file of an installed theme but there are no colorcode references.


Domingo
(33 rep)
Nov 15, 2022, 01:51 AM
• Last activity: Nov 15, 2022, 01:55 AM
8
votes
2
answers
2505
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 machine, whenever I type any command, the tab gets renamed to the current working directory. Example: /////...
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 machine, whenever I type any command, the tab gets renamed to the current working directory.
Example:
/////////// here's how everything looks beforehand
[me@mac ~]$
[ me ][0*$ me@mac:~ 1-$ web01 2$ dev03
////////// setting the tab name
[me@mac ~]$
Set window's title to: test
[ me ][0*$ test 1-$ web01 clone 2$ dev03 clone
//////// typing a command:
pwd
[me@mac ~]$ pwd
/home/me
[me@mac ~]$
[ me ][0*$ me@mac:~ 1-$ web01 clone 2$ dev03 clone
and the tab is renamed back to the current working dir. This doesn't happen in any tab where I'm ssh'd into another machine. So I thought this might be an issue of my personal settings, but there doesn't seem to be anything in my .bashrc, .bash_profile or .screenrc files that has to do with titles.
lowly_junior_sysadmin
(191 rep)
Jun 9, 2016, 06:58 PM
• Last activity: Jun 10, 2022, 05:19 PM
1
votes
1
answers
900
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 title will change to `username@remotehostname:~`. I have certainly found *many* solutions to fix t...
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 title will change to username@remotehostname:~
.
I have certainly found *many* solutions to fix this problem, but the solutions seem to be of many different sorts and rarely seem to be addressing the specific shells I am using.
So rather than good ol' "guess-and-check" to figure out which solution is for me, I would prefer to understand why I am having this problem in the first place so I can move to the next step of discovering a solution.
Why doesn't the terminal window title change when using ssh
to log into OpenBSD with Linux Mint?
Paul
(537 rep)
Dec 9, 2021, 06:29 PM
• Last activity: Dec 9, 2021, 10:14 PM
27
votes
11
answers
48492
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 (by which I'm not particularly bothered). But after I exit from the connection, the modified title rema...
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 (by which I'm not particularly bothered). But after I exit from the connection, the modified title remains. Is there a way to fix this? essentially I want a fixed title for my terminals when operating locally.
I primarily use xfce terminal and terminator under either CentOS or Debian. Thanks.
**EDIT**
Another subtlety is that, rather having all terminals the same name, I would prefer to have the freedom to edit their titles on-the-fly but only forbid SSH session from modifying what I edited.
nye17
(373 rep)
Jun 15, 2012, 01:44 AM
• Last activity: Sep 1, 2021, 01:33 PM
11
votes
3
answers
2107
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][1] used `2` instead of `0`, which prompted me to do a little more digging. According to [this document][2] you can actually set both the "icon name" and the "window...
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 digging. According to this document you can actually set both the "icon name" and the "window title" with this syntax:
> · ESC]0;stringBEL -- Set icon name and window title to string
>
> · ESC]1;stringBEL -- Set icon name to string
>
> · ESC]2;stringBEL -- Set window title to string
>
> where ESC is the escape character (\033), and BEL is the bell
> character (\007).
>
> Printing one of these sequences within the xterm will cause the window
> or icon title to be changed.
But it doesn't go on to explain what exactly it means by "icon title" or "icon name". When I try it out I don't see any difference between 0
and 2
, and 1
doesn't *appear* to do anything.
So what is the "icon title", and what is supposed to happen when 0
or 1
is called?
dimo414
(1959 rep)
Feb 25, 2016, 03:04 PM
• Last activity: May 27, 2021, 02:25 PM
0
votes
1
answers
1579
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][1], with Bash 5.0.17 as my default shell. Today, I decided I customize my prompt and window title of my terminal emulator, which is GNOME Terminal. I've known from the past this can be done for example per u...
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 my terminal emulator, which is GNOME Terminal.
I've known from the past this can be done for example per user in their
.bashrc
file.
As every computer has only one user + root
, I went this way, I carefully read every line, to be honest, changed comments mostly.
I managed to identify and change colors to my liking. Also, the spacing where I wanted.
***
Relevant PS1 lines:
-sh
# Prompt:
# user @ host : full_path
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u \[\033[00m\]@ \[\033[01;34m\]\h\[\033[00m\] : ${PWD} \$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u @ \h : ${PWD} \$ '
fi
# Set the window title to the same as prompt
case "$TERM" in
xterm*|rxvt*) PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u @ \h : ${PWD} \a\]$PS1" ;;
*) ;;
esac
***
So, the only thing remaining, which I fail on for hours, is setting the Terminal window title caption, it seemingly works upon launch, but does not change if changing directory. My apologies if it is _messed up_. I just want it to show a full path (no tilde) wherever I am. Thank you.
***
Picture for the words (terminal title-bar caption not updating):

Vlastimil Burián
(30505 rep)
Apr 22, 2021, 11:29 AM
• Last activity: Apr 22, 2021, 12:55 PM
15
votes
5
answers
7692
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 many tabs, or Firefox, Konsole, etc). The window title will change based on my current tab (which for t...
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 many tabs, or Firefox, Konsole, etc). The window title will change based on my current tab (which for the most part is helpful most of the time), but when working with so many windows I'd like to organize them a bit and **be able to manually re-name the window, overriding the the window title that the application gives**. I might name one Firefox window "Research" and other Firefox window "Documentation" to be able to easily distinguish between the windows that I've used to organize and group different tabs accordingly.
Ideally I'd be able to click on a window title bar and easily give it a custom name, but I'd settle for a solution that's slightly more cumbersome as long as it works.
I've tried
wmctrl -r :SELECT: -T "Research"
but that only works temporarily (the title is reverted when the application changes it, for example when switching tabs).
Sean
(1185 rep)
Oct 13, 2011, 04:03 PM
• Last activity: Feb 17, 2021, 06:12 PM
20
votes
2
answers
25760
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 have it closing as soon as it finishes loading. What I DO NOT have is a loading screen with no titl...
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 have it closing as soon as it finishes loading.
What I DO NOT have is a loading screen with no title bar (what I have is in the screen shot below).
As you can see, i still have the title bar. How do I remove it? The fewer apps I have to install to get this to work, the better.
Thanks in advance!

Batcastle
(415 rep)
Jan 29, 2018, 04:52 PM
• Last activity: Jan 4, 2021, 07:47 PM
0
votes
1
answers
812
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 monitor my cpu usage, I want the title to be htop - st. How would I do this? Edit: I would like this...
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 monitor my cpu usage, I want the title to be htop - st. How would I do this?
Edit: I would like this to be handled by my Xorg server rather than trap a function on a terminal being opened
Schreyer Karl
(11 rep)
Oct 27, 2020, 05:39 PM
• Last activity: Oct 28, 2020, 11:31 PM
1
votes
1
answers
321
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 start to group together. I'm on Pop!_OS 20.04 running Gnome 3.36.3. Here is the screenshot: [!...
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 start to group together.
I'm on Pop!_OS 20.04 running Gnome 3.36.3.
Here is the screenshot:
I'd like to map Super+s back to the activities overview, but this thing wont seem to let me.

user434741
(11 rep)
Sep 27, 2020, 03:25 PM
• Last activity: Oct 24, 2020, 11:16 PM
6
votes
2
answers
4923
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's displayed in the lower right-hand corner of my `tmux` window: "root@pelleplutt: /hom" 10:51 17...
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's displayed in the lower right-hand corner of my tmux
window:
"root@pelleplutt: /hom" 10:51 17-Mar-17
Pressing prefix-W shows the full window name as
(0) 0: ksh93* "root@pelleplutt: /home/ubuntu"
(this is after having logged into an lxc container I'm currently playing around with).
This is the name of the window even after having logged out of the Linux host, and it's a bit annoying that it sticks.
I'd like it to either (automatically) change back to whatever it was set to before logging into the Linux host, or to never change at all.
I've tried to disallow window renaming through using
set-window-option -g allow-rename off
set-window-option -g automatic-rename off
in my .tmux.conf
file, but that doesn't seem to prevent whatever it is that sets the window name from doing so.
Any ideas how I may properly disallow window renaming in tmux
?
---
**Additional info:**
The OpenBSD tmux
doesn't tell the version:
$ command -v tmux
/usr/bin/tmux
$ tmux -V
tmux: unknown option -- V
usage: tmux [-2Cluv] [-c shell-command] [-f file] [-L socket-name]
[-S socket-path] [command [flags]]
The PS1
variable on the Linux host (Ubuntu 16.04 in an lxc container) is set to
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
The allow-rename
portion of the tmux
manual:
allow-rename [on | off]
Allow programs to change the window name using a terminal
escape sequence (\ek...\e\\). The default is on.
Doing printf "\ektest\e\\"
sets the text which is displayed at the bottom _left_ to test
if allow-rename
is on
, but not if it's set to off
.
Kusalananda
(354278 rep)
Mar 17, 2017, 10:00 AM
• Last activity: Aug 27, 2020, 11:20 PM
Showing page 1 of 20 total questions