Questions tagged [gnome-terminal]

GNOME Terminal is a terminal emulator for the GNOME desktop environment. Among its key features are support for multiple profiles, colored text, tabs, mouse support, URL detection a number of UI customizations and compatibility options.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
26 views

gnome-terminal in shell script

In a script, I want to launch a number of Gnome Terminal windows, and then proceed with the script only when the windows are closed. I have a shell script containing: command 1 gnome-terminal ./script ...
user avatar
1 vote
1 answer
476 views

Gnome Terminal copy-on-select

I upgraded Ubuntu to Ubuntu 20.04.3 LTS. My current version GNOME 3.36.8, and the windowing system is X11. My Gnome Terminal version is 3.36.2. Before the upgrade selecting text in the Gnome terminal ...
user avatar
  • 275
0 votes
0 answers
57 views

Retrieve current folder on custom command on gnome-terminal

I'm using fish for some days upon Ubuntu gnome but I don't know if that's possible to keep the feature "open the terminal in a specific folder". Inside Files app, I right click inside a ...
user avatar
  • 101
0 votes
0 answers
31 views

dwm displays squares instead of text for directories

so I'm new when it comes to installing and setting up linux. I'm doing it with arch linux to learn more about this stuff, but i hit a road block when i tried to install and configure dwm, as well as ...
user avatar
  • 1
0 votes
1 answer
23 views

Can no longer open terminal after editing my bash_aliases

I edited my bash_aliases to have a new alias (stars block out my email for privacy sake): alias t_cluster="u*******@notchpeak.chpc.utah.edu" I then mistakenly added this to my bash_aliases (...
user avatar
1 vote
0 answers
45 views

Bash: Open new tab in newly opened terminal

I want to open new terminal windows, each with multiple tabs, and while I've managed to open the windows, I'm having trouble with the tabs. What I currently have is: #!/bin/bash # Opens new window, ...
user avatar
  • 11
0 votes
1 answer
391 views

Open a gnome terminal through a bash script and call and run an aliased command

I am trying to write a bash script that opens a new gnome terminal window and runs an aliased command. I have seen that instead of using aliases using a function is the proper way to go. I have tried ...
user avatar
  • 11
1 vote
0 answers
73 views

How to paste control characters in gnome-terminal?

System: Ubuntu 18.04 Question: How can I copy a string that includes control characters such as ctrl-a, e.g. from gvim (fenc=ascii or utf-8), and paste it including control characters in gnome-...
user avatar
0 votes
1 answer
852 views

Copy/paste stops working in gnome-terminal over VNC session

I have been clumsily working around a strange clipboard issue on a Linux system over VNC. I recently noted a fix and want to document it here. An alternate title for this post might be: VNC client/...
user avatar
  • 53
0 votes
1 answer
28 views

How to create complex alias (start Ember, start Rails, and change directory) in Ubuntu 20.10.4

I'd like to use an alias to start my Rails/Ember app, open a new terminal tab and cd into the Ember directory. I use Ubuntu 20.10.4 and the default Terminal. This is what i have so far: alias ...
user avatar
  • 107
0 votes
1 answer
424 views

How to create profile in Gnome Terminal programmatically (from command line)

I want to configure Gnome Terminal using a non-interactive script. I know how to configure an existing profile, but that requires the profile ID: # List the UUIDs gsettings get org.gnome.Terminal....
user avatar
  • 182
0 votes
0 answers
137 views

Enable gnome-terminal hotkeys depending on the vi mode in the terminal

I have recently discovered that it is possible to enable vim bindings in the gnome-terminal with: set -o vi Now I would like to know whether it is possible to also enable hotkeys for the terminal ...
user avatar
1 vote
1 answer
265 views

tmux ctrl-a stopped working after upgrade to Ubuntu 20.04

I have had my tmux prefix set to c-a for as long as I can remember. Immediately after upgrading to Ubuntu 20.04, ctrl-a no longer works. My terminal (gnome and xterm) simply display ^A. If I change ...
user avatar
1 vote
0 answers
962 views

gnome-terminal NOT working after Kali Linux system update

After doing a full Kali linux update using the following command line : apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get autoclean -y && apt-...
user avatar
0 votes
1 answer
64 views

How to compare an escape sequence with a constant string?

I wanted to do a thing conditionally based on the background colour of my terminal, which I found out can be grasped by running printf '\e]11;?\a' In my case the output is stanton@mybox:~$ printf '\...
user avatar
0 votes
1 answer
45 views

How to undo automatic character replacement in gnome-terminal?

I've created an annoying feature that I can't undo. While installing some different terminal themes, I installed a script that replaces some of my terminal characters with symbols when I'm typing, ...
user avatar
1 vote
1 answer
2k views

Start zsh in specified directory

I can start a new terminal tab with gnome-terminal --tab zsh. But now I want to also specify the directory of the new shell. I couldn't find any options that wouldn't require me to put a cd in the ....
user avatar
  • 176
0 votes
1 answer
83 views

nvim: langmap doesn't work with alt?

I run nvim 0.1.7 in gnome-terminal. I map a-a to something and set langmap so that I can use the same shortcut when entering in other language: nnoremap <a-a> :echo 'it works'<cr> set ...
user avatar
  • 187
2 votes
2 answers
100 views

What part of Gnome Terminal handles Ctrl-C?

I've been messing around with Gnome Terminal recently, trying to customize what happens when I press Ctrl-C (I'd like it to copy when I have text selected and send SIGINT otherwise, but that's not ...
user avatar
  • 131
2 votes
1 answer
434 views

change Gnome Terminal background color when focused/unfocused

I am using Ubuntu 18 and I was trying to have the background color of my Gnome Terminal changed on the fly when it gets/lost focus (BTW: I do not use Tabs - just one single tab per Terminal) so that I ...
user avatar
  • 58
0 votes
0 answers
79 views

Shortcut to open terminal in `pwd` if active window is another terminal or Nautilus

I have made a custom keybinding in Gnome such that Super+t opens a gnome terminal. Now I would like to improve it such that if the window active when pressing Super+t is Nautilus or another Gnome ...
user avatar
  • 111
1 vote
1 answer
831 views

How to increase line spacing in GNOME Terminal on CentOS 7 to increase readability

I am using CentOS 7 in Virtualbox on mac and I am amazed to see that there is no option of increasing line spacing in GNOME Terminal to increase readability. I can do it easily on mac but cant do it ...
user avatar
15 votes
4 answers
2k views

How can I check the verbatim characters of a bash command string?

I had this strange behavior this morning in a bash terminal : user@home:/home/user$ [ -f /etc/openvpn/client.conf ] && echo true bash: [: missing «]» user@home:/home/user$ [ -f /etc/openvpn/...
user avatar
1 vote
1 answer
438 views

Linux Mint: GNOME Terminal does not show 'message from' in write program

Usually a write command (reference: write) will cause the receiver to see Message from yourname@yourhost on yourtty at hh:mm ... I don't see that... Any idea? In my Windows 10, I have a virtual ...
user avatar
1 vote
0 answers
60 views

Some Readline keyboard shortcuts broken in gnome-terminal?

I'm trying out Fedora 27, and I've noticed they messed around (in an unwelcome way) with the keyboard shortcut in gnome-terminal. Specifically, M-f and M-b don't work. I've tried googling but all I've ...
user avatar
  • 111
2 votes
1 answer
321 views

Disable Using Bright Colors for Bold Font in gnome-terminal 3.22.x?

This question was answered (5 years ago) for an earlier version where the profile/colors had an check box for making bold colors the same as text. No longer the case in version 3.22.x of gnome-...
user avatar
  • 21
0 votes
1 answer
348 views

Vim Plugin limelight not working with vim in the gnome terminal

all. I am using the gnome-terminal 3.26.1 and vim 8.0.1176. Installing Limelight worked, but when i want to start it, i get the error message in the gnome-terminal Unsupported Terminal. Sorry ...
user avatar
2 votes
1 answer
64 views

What's the right terminal to use to see these characters?

I'm trying to get the vim-bundle Docker image (https://hub.docker.com/r/jare/vim-bundle/) to work. It works, but I don't know what I'm doing wrong with regard to my terminal setup. I'm running ...
user avatar
1 vote
1 answer
234 views

Is it possible to make a gnome-shell window uncloseable

Is it possible to make a gnome-shell gnome-terminal window uncloseable? For example even if the "X" is clicked or even if the user types "exit" at the prompt the window does not close (in the latter ...
user avatar
  • 169
5 votes
1 answer
3k views

Bash prompt "variables" not working?

I have added this into my ~/.bashrc, to change the prompt: PS1='[\u@\h \w]\$ ' However, it is not showing what I want. I believe this is meant to show my username and possibly the directory that I ...
user avatar
1 vote
0 answers
175 views

tmux status bar keeps echoing on gnome terminal

I'm unable to find the search terms for this problem, so I've attached a screenshot. Every minute, the tmux status bar outputs a new status line instead of updating. This seems to happen mainly on ...
user avatar
  • 393
2 votes
0 answers
4k views

fatal python error: py_initialize: unable to get the locale encoding

I have installed ubuntu 16.04. I am trying to launch terminal, it can't work. For this I have opened x-term and type gnome-terminal and I got the below error. fatal python error: py_initialize: ...
user avatar
  • 121
1 vote
1 answer
85 views

Loop Files, Get Next Number

In a directory I have the following files: 000 - text.txt 000 - info.txt 001 - first.txt 002 - second.txt aaa - more.txt ZZZ - text.txt ZZZ - info.txt In Bash, how would ...
user avatar
0 votes
1 answer
27 views

How to reinitialize a CLI application between some interval (Like reinitiate elinks between some interval in the same terminal window)?

I am using Elinks for specific page where I have to reload the page between every one minute. To reload it I have to press Ctrl+R shortcut to work it out. Can I automate this procedure? I tried to ...
user avatar
  • 103
0 votes
1 answer
761 views

How to disable Navigation Keys in Bash Shell?

I've did a serious research on Google Web and Stack Exchange websites prior asking the question, and come across to keywords and got acquainted with their meanings such as bind, bind -r, read, /etc/...
user avatar
5 votes
0 answers
441 views

How to stop htop controlling terminal's mouse?

When you running htop (with Gnome-Terminal + Ubuntu 14.04), and left-clicking a process on the terminal window, htop will move cursor into that process. I prefer to disable it, but I didn't find in ...
user avatar
0 votes
1 answer
548 views

Use gnome-terminal and tmux together: how to launch with the most recent working directory?

I'm currently using gnome-terminal and tmux together: every time I start gnome-terminal, a tmux is started: #!/bin/bash args=() if type tmux > /dev/null; then args+=('-e' "tmux new-session") fi ...
user avatar
  • 1,601
4 votes
1 answer
555 views

Prevent Ctrl-Alt-T from opening a new terminal window when one already exist?

I would like to know if there is a way to make the Ctrl-Alt-T shortcut behave like it would on xfce. ie: if no terminal is open, open one, else focus on the existing one instead of opening a new one. ...
user avatar
1 vote
1 answer
2k views

Can't use enter key to execute commands in zsh

I recently installed zsh (v5.1.1) on a new ubuntu setup, but when I switch to it in gnome-terminal, I cannot seem to use to the enter key to execute the command. The only way I can execute commands is ...
user avatar
  • 11
1 vote
2 answers
6k views

Padding in gnome-terminal

Given below is my ~/.config/gtk-3.0/gtk.css VteTerminal, TerminalScreen { padding: 10px 10px 10px 10px; -VteTerminal-inner-border: 10px 10px 10px 10px; } I was using the ...
user avatar
  • 13
0 votes
1 answer
453 views

disable italic font in gnome-terminal

I use gnome-terminal on Debian 8 with Source Code Pro Regular as the font (the font comes with the TeXLive distribution). How can I disable the use of italics universally in the terminal? One ...
user avatar
1 vote
0 answers
76 views

my tab key behaves strangely in CentOS gnome terminal only in empty shell prompt

In my CentOS 6.7 GNOME desktop, something went wrong while I was trying to show a document to my daughter. I must have pressed some keys by accident. The strange behavior is, when I press tab key in a ...
user avatar
  • 155
5 votes
1 answer
530 views

Characters turn into unicode in gnome terminal with lldb

I installed a fresh copy of lldb on my machine. Anything typed after lldb makes its first output (in this case being error: empty command) turns into unicode literals. These unicode literals are ...
user avatar
2 votes
3 answers
1k views

Programmatically open a new tab within a gnome-terminal?

Within a gnome-terminal tab, I can invoke the "New Terminal in New Tab" command shift+ctrl+t and it will add a tab to the current gnome-terminal window. How can this be done programmatically? I've ...
user avatar
  • 121
1 vote
1 answer
763 views

Have bell mean window is urgent with gnome-terminal

How can I configure the terminal bell to mark the current window as urgent in gnome-terminal ? Related to this question. I'm using i3wm . Currently echo -e "\a" does nothing even if I'm on another ...
user avatar
  • 1,175
3 votes
1 answer
1k views

How to avoid terminal to scroll down to last message in bash?

I write a bash script that run some other commands in new terminal: #!/bin/bash # Sample script gnome-terminal --title="blah blah" -x bash -c ffmpeg -i udp://239.1.2.1:60001?fifo_size=50000000 -...
user avatar
  • 93
0 votes
1 answer
366 views

Need to run .jar file having .sh file on desktop for all PC's.

i'm running a .Jar file User Interface which include script from Desktop of PC by following code in netbeans. String[] pc1 = {"gnome-terminal","-e","/home/noman-i7/Desktop/connect/pc1.sh"}; my code ...
user avatar
  • 1
0 votes
1 answer
7k views

CentOS 7 Terminal Timeout

This seems like this question should have already been answered, but I don't see any info on google or stackoverflow. I have a VNC server running on a CentOS 7 box where I do my development. Every ...
user avatar
0 votes
1 answer
917 views

Changed "path" variable in Ubuntu Linux and basic commands have stopped working

I'm using Ubuntu 14.04 (as a virtual machine). I installed TeX Live system over the internet. Once the installation of TeX live finished, it said Most importantly, add /usr/local/texlive/2015/bin/...
user avatar
  • 3,918
3 votes
5 answers
33k views

Kali 2.0 terminal doesn't work

(Sorry for language) I just installed Kali Linux 2.0 on a lenovo z50-70 , just after the installation i opened the terminal (clicking on the terminal icon) but after a bit of loading nothing shows up ...
user avatar

1
2 3 4 5