gnome-terminal Questions
2
Solved
I'm trying to print bold text from the following Makefile :
printf-bold-1:
@printf "normal text - \e[1mbold text\e[0m"
But, escape sequences are printed as-is, so when running make printf-bold-...
Swimming asked 4/1, 2019 at 13:34
1
It seems the behavior of gnome-terminal has changed between the version shipped with Ubuntu 14 (v3.6?) and Ubuntu 18 (v3.28).
I have a script that opens a new gnome-terminal with a bunch of tabs s...
Reformation asked 11/10, 2018 at 16:12
4
I can do this using the following example. The 1st command will output the lines 16...80 from file1 to patch, while the 2nd will insert the contents of patch after line 18 to file2:
sed -n 16,80p ...
Menhaden asked 26/8, 2015 at 10:2
2
I know I can right-click > open tab to open a new tab in gnome-terminal, but how can I do the same from a script? If i use 'gnome-terminal --tab-with-profile=...' it opens a new window.
I need thi...
Lachish asked 21/10, 2013 at 7:44
1
Solved
I am not sure whether similar questions were asked, but I did't find in SO.
I am using gnome-terminal + tmux. I've add if [ "$TMUX" = "" ]; then tmux; fi in my .zshrc so when I start terminal, I e...
Iggy asked 19/8, 2018 at 15:17
1
A standard rails console on a long running rails project has always worked fine on macOS. Recently switched to Ubuntu 18.04, and the rails console in bash and gnome-terminal will always append a \r...
Macaluso asked 23/5, 2018 at 22:5
2
Solved
From time to time I have to run a command-line tool (a Python script) whose output seems to break my terminal.
After the execution is finished, the typing feedback is gone (I can't see what I'm typ...
Indelicate asked 16/7, 2013 at 17:13
1
Solved
Via a bash command, I want open a terminal and, from the new terminal, execute a simple bash command.
I tried:
gnome-terminal -- "/bin/bash -c ls"
But I got this error:
I don't unde...
Misfeasance asked 5/2, 2018 at 17:16
3
Solved
Gnome desktop has 2 clipboards, the X.org (saves every selection) and the legacy one (CTRL+C). I am writing a simple python script to clear both clipboards, securely preferably, since it may be don...
Kathaleenkatharevusa asked 28/1, 2018 at 19:21
1
Solved
Lets say I want to execute a simple Python script from Nautilus, the default file manager of GNOME:
#!/usr/bin/python3
print("Hello")
Of course the aim is to interact with selected files in Naut...
Automotive asked 21/8, 2017 at 12:31
1
Solved
I want to bind Ctrl+Enter ↵ in zsh:
bindkey '^M' autosuggest-execute
But it seems that the terminal sends the same escape sequence for any modifier key except for Alt.
$ showkey -a
Press any k...
Wandering asked 15/4, 2017 at 16:22
1
Using Fedora 25 and GNOME Terminal. I have used Tmux for a few years in Ubuntu with a long customized .tmux.conf file. Recently installed Tmux and Tmuxinator in Fedora.
When I open the Terminal. I...
Eli asked 26/6, 2017 at 3:43
4
how does one "undo close-tab" in terminal? And quite related to it, is it possible to remember a session of tabs in terminal?
I mean (alike Firefox) if I close all tabs in a particular terminal w...
Tu asked 18/5, 2011 at 17:14
0
I know that the following issue will probably demand from you to invest more time than other issues in order to fix it, but if it's interesting you, please do it. It might be useful for you too :)
...
Inseminate asked 28/11, 2016 at 9:21
1
Solved
I am using tmux inside of a gnome-terminal.
When I first open a window (with the default size being 80x24) the tmux bar sits snugly at the bottom of the window. When I maximise the terminal window...
Waldemar asked 27/9, 2016 at 1:45
7
Solved
Actually gnome-terminal display tabs as 8 spaces, and this is very annoying when you cat files or view diffs, is there some way to change this permanently?
Prude asked 5/1, 2010 at 11:47
4
Solved
How to change the background color? I selected Profile > Background > solid color, but where can I select the color?
Twelve asked 28/4, 2012 at 13:38
1
Solved
Recently i have updated the ubuntu 14.04 to Ubuntu 15.04. Usually nautilus . command should open the directory in GUI.However, now i am getting the error like below.
What is the recent for that a...
Lenitalenitive asked 15/7, 2015 at 19:46
2
I would like to change VIM's (not gVIM's) cursor depending on what mode I am currently in. I would like:
Normal & Visual modes = block cursor
Insert & Command modes = I beam cursor
I tr...
Fist asked 10/1, 2013 at 20:6
1
Solved
Recently my gnome-terminal stopped working. After starting it using xterm I saw the following:
(process:3975): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' loca...
Stelle asked 31/1, 2015 at 2:8
3
Solved
I want to map control+space to :bnext in order to forward switch in normal mode. So I added following to my .vimrc:
nnoremap <silent> <C-Space> :bn<CR>
For backward search foll...
Polemic asked 21/4, 2014 at 1:35
2
Solved
I like the zoom keys (control-+ and control--) a lot in Ubuntu 13.04's gnome-terminal, but the when zooming in, the terminal screen gets wider, too (and the opposite when zooming out)
Is there a w...
Tessietessier asked 4/8, 2013 at 14:8
2
I've forgotten my MySQL owner details.
I need a way to find my username.
My password will not be a problem.
I use Ubuntu 12.04 Linux, and would prefer a command line solution.
Thank you in a...
Wheelbarrow asked 10/9, 2013 at 13:4
4
Solved
When you use git it seems to magically know whether standard out is going through a pipe or into a file vs when it is being displayed to the console. For example, if you have colors enabled and you...
Pentastich asked 26/1, 2010 at 21:31
1
Solved
I have written client-sever code where I have many connections, let say each node represents different process on same machine. And to do that I have obviously use fork().
But now problem is that ...
Uncinate asked 18/4, 2013 at 1:41
© 2022 - 2024 — McMap. All rights reserved.