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
1 vote
1 answer
56 views

How to transfer/apply GNOME Terminal colors to KDE Konsole?

I need to use GNOME Terminal colors in KDE Konsole. I'm not sure exactly where I can get an up-to-date color palette from GNOME Terminal, but I guess this might work: https://gitlab.gnome.org/GNOME/...
Onkeltem's user avatar
  • 113
2 votes
0 answers
63 views

LXTerminal does not display Urdu characters correctly

I'm Chinese and I don't read Urdu, but I want to communicate better with Indians. In LXTerminal, the output looks like this, with some characters rendered as wingdings: In QTerminal the output seems ...
Yan King Yin's user avatar
0 votes
1 answer
95 views

copying tabs from terminal is broken at the text-wrapping edge (the width changes outcome)

The following code will print "a"s up to the terminal width and then a tab character and then a "b". I've tested both Ubuntu's default Gnome terminals and Terminator and they ...
user1537366's user avatar
0 votes
1 answer
3k views

How to get out of git in the bash terminal's command line

My terminal's logline (is that the right term?) says I'm in git. How do I exit git?:
Al C's user avatar
  • 217
0 votes
0 answers
661 views

every time i open my parrot OS terminal i get bash: ‘export: command not found

I prefer Linux. I accidentally executed a misspelled command in terminal. sudo echo 'export PATH=/home/grump/miniconda3/bin:$PATH' >> /.bashrc What can I do now that it is constantly executing ...
Girum Senay's user avatar
0 votes
1 answer
319 views

Neofetch autostart in Awesome WM not working

Trying to run Neofetch in Linux automatically on startup in Awesome WM. Problem is the terminal opens and closes, doesn't stay open. If I change the gnome-terminal option to stay open, I get errors. I'...
yegnal's user avatar
  • 31
2 votes
1 answer
356 views

include terminating newline in middle mouse button paste

Ubuntu 22's gnome-terminal lets you click-drag a selection including a terminating newline (say, a command to run). But when you paste it back into the shell by clicking the middle mouse button, the ...
Camille Goudeseune's user avatar
0 votes
0 answers
71 views

shell to have certain words hilighted

I'd like to have certain key-words hilighted in my gnome-terminal window like "error". Is it possible to configure gnome-terminal or zsh in such a way it will hilight these words (no matter ...
Mathias B.'s user avatar
0 votes
1 answer
383 views

What is ctrl-; doing in Gnome Terminal and Emacs?

When I type ctrl-; in Gnome Terminal, it prints an underlined letter e. If I type a bunch of letters, they're also underlined. When I hit enter, the underline goes away, and the first e also goes away....
Jim Hunziker's user avatar
  • 1,213
2 votes
1 answer
852 views

How to open new terminal window in previous directory using fish shell?

I use fish shell and Gnome-Terminal Version 3.44. When I open a new terminal I'd like it to start up in the previously-visited directory. How can I implement this via fish shell?
quiltedcomputer's user avatar
5 votes
2 answers
5k 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 ...
ahoffer's user avatar
  • 355
0 votes
0 answers
234 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 ...
Ser's user avatar
  • 101
0 votes
0 answers
182 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 ...
Ziyad's user avatar
  • 11
0 votes
1 answer
34 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 (...
Taliamycota's user avatar
1 vote
1 answer
1k 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, ...
vic's user avatar
  • 111
0 votes
1 answer
1k 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 ...
vic's user avatar
  • 111
1 vote
0 answers
196 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-...
asoundmove's user avatar
0 votes
1 answer
2k 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/...
sivs422's user avatar
  • 53
0 votes
1 answer
52 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 ...
Pida's user avatar
  • 107
0 votes
1 answer
1k 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....
badbishop's user avatar
  • 202
0 votes
0 answers
339 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 ...
Dimfred's user avatar
1 vote
1 answer
357 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 ...
pinoyyid's user avatar
1 vote
0 answers
1k 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-...
stepper mapper's user avatar
0 votes
1 answer
178 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 '\...
Arch Stanton's user avatar
0 votes
1 answer
79 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, ...
user3037237's user avatar
1 vote
1 answer
3k 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 ....
piegames's user avatar
  • 186
0 votes
1 answer
154 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 ...
Uprooted's user avatar
  • 187
2 votes
2 answers
369 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 ...
Tutleman's user avatar
  • 131
2 votes
1 answer
593 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 ...
sigmud's user avatar
  • 58
0 votes
0 answers
165 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 ...
sigvaldm's user avatar
  • 111
1 vote
1 answer
979 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 ...
drmaa's user avatar
  • 189
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/...
Gabriel Glenn's user avatar
1 vote
1 answer
634 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 ...
Just a HK developer's user avatar
1 vote
0 answers
76 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 ...
jjpe's user avatar
  • 111
2 votes
1 answer
339 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-...
B Ward's user avatar
  • 21
0 votes
1 answer
420 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 ...
theDrifter's user avatar
2 votes
1 answer
69 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 ...
ArkieCoder's user avatar
1 vote
1 answer
330 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 ...
tjb's user avatar
  • 189
5 votes
2 answers
5k 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
240 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 ...
user84207's user avatar
  • 433
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: ...
yogesh10's user avatar
  • 121
1 vote
1 answer
88 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 ...
LifeLongLearner's user avatar
0 votes
1 answer
33 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 ...
Ryko's user avatar
  • 103
0 votes
1 answer
919 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
2 answers
634 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 ...
Gea-Suan Lin's user avatar
0 votes
1 answer
758 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 ...
xuhdev's user avatar
  • 1,781
4 votes
1 answer
741 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. ...
K. Rauscher's user avatar
2 votes
1 answer
4k 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 ...
Mike A's user avatar
  • 21
1 vote
2 answers
8k 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 ...
jerin's user avatar
  • 113
0 votes
1 answer
736 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 ...
musarithmia's user avatar

1
2 3 4 5