Questions tagged [xterm]

xterm is the standard terminal emulator for the X Window System.

63 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
460 views

dualhead with tmux and two xterm windows

I'm running a dualhead system. Unfortunately, my monitors do not sport the same resolution, so I can't "just" use a huge xterm window spanning both screens. Also I imagine that it would be hard to ...
3
votes
1answer
2k views

How to display colored emojis in XTerm

I want to be able to display colored emojis in XTerm, for example those from Noto Color Emoji of the fonts-noto-color-emoji font package. Like this question, but specifically for XTerm.
3
votes
1answer
231 views

Specify rows/columns of a fullscreen X terminal?

For presentations it would be convenient to have a X terminal which supports following workflow: make it fullscreen specify how many columns/rows should be displayed -> the terminal then ...
3
votes
0answers
852 views

Difference between urxvt -e and xterm -e

Create an executable file file1 as follows: cat > file1 <<EOF #!/bin/bash mutt -e "push '<'" EOF chmod +x file1 Running ./file1 in an existing terminal executes mutt and select the first ...
3
votes
0answers
2k views

How to efficiently use Console2 with screen/tmux/byobu?

I'm using Console 2 and msysgit's bash to SSH into my Linux machines. There, I'm using screen (but considering tmux and/or byobu), but currently simply with one single-terminal session per Console2-...
2
votes
0answers
65 views

xterm fonts display differently in RHEL6 and RHEL7

I was using RHEL6 for quite sometime and was happy using the xterm with the font of my choice. However, I had to move to RHEL7 recently, and then the problem of font display in xterm started. I have ...
2
votes
0answers
273 views

What are the colors[0..15] used for in xterm?

In the configuration files of XTerm (e.g. /usr/share/X11/app-defaults/ or ~/.Xresources) you can configure values for the variables color[o..15]. The question is: What is colorX used for? So far I ...
2
votes
0answers
235 views

xterm cursor not inverting properly with highlighted / reverse text

This is a weird one. When opening an xterm on my Ubuntu 16.04.1 system, the cursor disappears whenever it's moved over highlighted / reversed text. It remains the same color as the foreground and ...
2
votes
1answer
1k views

Function key mappings in telnet session to Universe Application

Our client uses Termtek terminals to connect to their Universe platform. More terminals needed and we can't get any. The alternative is to get winboxes and run wintegrate or try and get a Linux ...
2
votes
1answer
628 views

Tmux is not able to distinguish between insert and shift-insert

Insert when in xterm, gives ^[[2~ and, Shift+Insert gives ^[[2;1~ All this is good until I start tmux. Note that the $TERM variable remains the same, so this issue should not be related to terminfo....
2
votes
0answers
298 views

How iconify xterm when it loses focus?

I am attempting iconify a xterm terminal when it loses focus in fluxbox. I am following this wiki: http://fluxbox-wiki.org/index.php?title=Make_xterm_act_like_a_PC_game_console And so far, I've got ...
1
vote
0answers
25 views

How to keep a program with several executable keep running after ssh session closed?

I am working from home on VPN and my exceed or Mobaxterm window seems to close itself often. I am losing all the progress of my runs. The program calls for different executables while running also ...
1
vote
0answers
44 views

Preventing xterm from killing its children

I wanted to use a window-manager key binding to open fzf in xterm and then open the chosen file. So I bound a key to spawn xterm -e fzf-open, and put this in fzf-open: #!/usr/bin/bash # fzf-...
1
vote
2answers
187 views

How to backup and restore the current display colors and formatting?

Is there a way to backup the current display color and formatting such that I can echo some custom color and then reset things back to the previous state? For example: echo -e '\e[31m'123; echo 456 ...
1
vote
0answers
53 views

xterm title bar: display path with spaces?

SOLUTION: There was a bug in the program. Instructions below with sleep helped me find it. Does anyone know how to do this? I tried the following, but the backslash escape before a space did not ...
1
vote
0answers
28 views

My bash script spawns a terminal in which I want to run some commands. How do I identify the terminal by name in my script and run commands in it?

I am writing a script where I run a command which is basically an application in the exec mode. It spawns another xterm terminal with a definite title everytime say, "ABCXYZ" . My purpose is then to ...
1
vote
1answer
157 views

GNU screen keeps changing window title on start & exit of vim

My status line in screen is: hardstatus alwayslastline "%{= Wk}%-Lw%50>%{= BW}%n%f* %t%{= Wk}%+Lw%<" This always shows a list of windows with their names. I have also bound C-a T to set this ...
1
vote
0answers
237 views

Empty User Groups in Terminal Wrapper Applications

As of last Thursday, whenever I use any terminal (Konsole, Gnome Terminal, XFCE Termina, xterm), the groups are empty. $ groups tom When I execute the same command in a tty terminal outside of Xorg, ...
1
vote
1answer
324 views

How can I make the title bar dynamically update itself after connecting to a remote machine that uses sh as the default shell?

Whenever I connect to one my remote Ubuntu machines, gnome-terminal reflects the fact that I am on the remote machine in the title, using format much like "$USER"@"$(hostname -s)": "$PWD". I very much ...
1
vote
1answer
73 views

When pressed, why is ^C echoed out in xterm but not ^Z

I'm remapping my keys in xterm in my .Xresources file. Here is a sample: Ctrl ~Meta ~Shift <KeyPress> A: string("^[J0A") My question is why does the string 0A get printed out to the terminal ...
1
vote
0answers
807 views

ssh with xterm can't get screen resources

I am trying to launch a GUI of a program on my windows computer by ssh with putty. I downloaded Xterm and have that running, and then in the putty options, I checked the box for X11 forwarding. When ...
1
vote
2answers
1k views

Bigger misc-fixed fonts

I really like look of the 'misc' font family on my laptop. I use the biggest one available: Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1. However, my desktop PC has an UHD display and ...
1
vote
0answers
63 views

Tab in xterm under KDE always brings up accessibility tool dialog

Using KDE 4.14.13, Fedora 22, kdm desktop manager, if I type Tab to try to do command line completion I get the KDE accessibility tool dialog asking me if I want to enable "Sticky Keys" and "Mouse ...
1
vote
1answer
156 views

Limit line output rate in XTerm?

I have a problem where my Python script that I want to run in XTerm outputs too many lines simultaneously, which eventually makes the script crash with an error message: close failed in file object ...
1
vote
0answers
130 views

X11 forwarding to IP doesn't work on some servers. I can't find any config differences

This command allows me to send an xterm to xming on my windows desktop: xterm -display 10.13.18.125:0 (my workstation IP) For the servers that it doesn't work with the IP, It will work for some ...
1
vote
0answers
1k views

How to hint font dejavu sans mono on OpenBSD

The default DejaVu Sans Mono font in OpenBSD xterm looks too fat. Settings in ~/.Xdefaults are: xterm*faceName: DejaVu Sans Mono xterm*faceSize: 12 How to hint this font on OpenBSD (e.g. by changes ...
1
vote
0answers
446 views

How to setup keyboard shortcut that enters predefined text into X11 xterminal via SSH from mac OS?

I do a lot of remote programming on my CentOS linux server by opening an X11 xterminal window on my Mac OS, and SSH into the server. I'm looking for an easy to use method to enter a predefined text ...
1
vote
2answers
6k views

failed to execute child process xterm (no such file or directory)

When I right click on a file and select vim from upcoming tabs I get this error. Some files of vim should missing. In addition I'm able run vim from bash but can't run from desktop. Debian 9.8 ...
0
votes
0answers
9 views

Xterm / Aterm takes ages to redraw the screen when changing workspace

This is a weird problem that i'm having, so i love xterm i've been using it for over a decade, and I've never had any problems with it. I was using it xterm fine under debian / gentoo / solaris / hp ...
0
votes
0answers
22 views

How to have custom named xterm title that stays open

I am trying to open an xterm windows from within a shell script, this script is meant to open an xterm window that stays open with a custom name, This is what i have xterm -e -T "Minecraft Plus&...
0
votes
0answers
32 views

tmux does not pass Ctrl-; and similar keybindings to Emacs; TTY, XTerm, and LXTerminal all do

This question is different from https://emacs.stackexchange.com/q/1020, and the beautiful answer https://emacs.stackexchange.com/a/13957, which is about xterm not "passing" certain key ...
0
votes
2answers
59 views

Set default font in XQuartz xterm?

With XQuartz 2.8.0_rc1 running on MacOS 10.15.7, when I run an xterm and ctrl-middle-click on an xterm I get a popup font menu as shown here. How can I set the default font so that all xterms open ...
0
votes
1answer
26 views

how do i select OK to terms of service on xterm while upgrading

apt upgrade process stalls at 8 percent when Intel wireless terms of service appears and requests confirmation of agreement with an OK at the bottom. I am new and trying to learn, but I'm stuck. I can'...
0
votes
0answers
25 views

tmux in xterm - next-window no refresh (text from one window in the next)

using tmux, when switching windows the content of one window is taken to the next window. To reporoduce: tmux new; C-b c; # (create new window) ls /bin; C-b n; # (go to next-window) Now the content ...
0
votes
0answers
62 views

Possible to start gnome-terminal from xterm, inheriting xterms network settings?

I use Ubuntu 18.04 Gnome. Using the newns script approach in https://superuser.com/questions/983727/route-only-specific-traffic-through-vpn I managed to start an xterm which uses a VPN network ...
0
votes
0answers
11 views

IRC client irrsi/weechat keep all commands history

How do we make IRC client irrsi or weechat on shell terminal to keep all commands history?
0
votes
1answer
107 views

How to set zsh shell title without executing command substitutions twice?

My zsh config contains setopt PROMPT_SUBST. When I use command substitution in a shell command, I see it is executed twice. This could cause slowdowns or even bugs in my scripting. % setopt ...
0
votes
0answers
31 views

xterm: random redraw errors

I am facing seemingly random xterm redraw errors, in particular: some lines are not written into (they are left blank) first try: $ clear; ls -1 foo1 bar second try: $ clear; ls -1 foo1 foo2 bar ...
0
votes
1answer
53 views

Error - Terminal automatically and randomly duplicates last character on space

My Setup Mac OS runs terminal with $TERM = xterm-256color; tmux with $TERM = xterm-256color When I ssh into an AWS EC2 inside that tmux session on my MacOS, $TERM is also xterm-256color Weird Behavior ...
0
votes
0answers
2k views

xrdp disconnects immediately upon connection from Windows10 to RHEL

I followed a few different guides to getting xrdp installed and working on my RHEL machine, but upon logging in with a valid account, the remote session immediately disconnects. I think I've tracked ...
0
votes
0answers
74 views

Ubuntu not running Xterm: display not set (Not SSH, trying VM)

I was tasked with running a lab with netkit, http://wiki.netkit.org/man/man7/netkit.7.html for those interested. It creates a virtual machine meant to simulate a network connection. I have the install ...
0
votes
1answer
96 views

how to let xterm have geometry of 80x1 after disabling decorations?

I use this to toggle-decorations: https://gist.github.com/muktupavels/d03bb14ea6042b779df89b4c87df975d if I start xterm -geometry 80x1 it will have 1 height (in xterm TEXT lines, not in screen dots), ...
0
votes
0answers
36 views

xterm translations ignoring “Shift” specifier

I'd like to change the key mappings for XTerm so that CTRL-SHIFT-C is copying from the clipboard, but CTRL-C is still SIGINT, as is the default. Basically, I want to do the same thing as this ...
0
votes
0answers
62 views

set xterm.vt100.faceSize from commandline

I am searching for this solution for quite a bit. I do not have access to ~/.Xresources; probably it's disabled by the administrator. Hence I need to set the facesize from the terminal. xterm -xrm "...
0
votes
1answer
13 views

xterm -pob in MATE 1.16

xterm -pob does not raise the window when it receives Ctrl-G (MATate 1.16, RHEL7). This used to work fine in Gnome2, RHEL6.
0
votes
0answers
1k views

How to define fallback fonts for XTerm

I'm on a fresh Debian Buster installation with packages fonts-noto-core and fonts-symbola. I want to use "Noto Sans Mono" as the main font for XTerm, so I set the following line with xrdb: xterm*...
0
votes
0answers
210 views

Problem with fixing ubuntu terminal that gets the messages “Warning: terminal is not fully functional” or “****: unknown terminal type”

I am using virtualBox and I have ubuntu VM. I have kinda broke something in the linux terminal when I installed some packages (I think the package nterm package got uninstalled or something like that)....
0
votes
1answer
421 views

Shell script to scroll down the whole text in terminal without modifying it

I'm trying to use a /bin/sh script to scroll down a couple of lines of text in terminal. A solution using smcup, rmcup is not acceptable in this case. A couple of other options I tried all failed (...
0
votes
1answer
150 views

Determining the max RGB value (white) on a xterm-like terminal

One way to determine if a terminal is predominately dark or light is to get the value if its background color, and compare that with the grey color. However in order to do this you need to know what ...
0
votes
1answer
235 views

No GUI chromium unwanted margins (An application window is moved)

I installed chromium on Debian Stretch to work with no Desktop Environment. It worked but annoying margins appeared at the top and the right of the screen. They are about 50px wide. (The screen is ...