Hot answers tagged

8

The Terminal font seems to be set to a non-monospace font. The solution is to set the Terminal font to Ubuntu Mono (default Terminal font — or any monospace font you like). In the Terminal, go to Edit → Profile Preferences: Check the Custom font checkbox and click on the big button next to the checkbox and choose Ubuntu Mono regular: then click ...


6

Your question is very general. There are thousands of commands available to do various jobs. Most users start to learn specifically about the commands when they have some purpose. This page from Ubuntu Documentation has details about the Ubuntu terminal and in the bottom there are links to many sites which gives details about the commands. You can refer ...


5

Shift+Page Up scrolls up by one page at a time and Ctrl+Shift+↑ scrolls up by one line at a time.


5

Use this commmand: sudo apt install --reinstall ttf-ubuntu-font-family


4

dmesg on 16.04 supports colouring output, and on 14.04, it doesn't. Just look at the manpages. 16.04: -L, --color[=when] Colorize the output. The optional argument when can be auto, never or always. If the when argument is omitted, it defaults to auto. The colors can be disabled, for the current built-in default see --...


4

What you want is to type CTRL+L instead of clear. This will send a "Form Feed" to the terminal. Basically it will move everything up the height of the terminal window clearing the screen without affecting your scrollback.


3

It may be easier to add something like the code below to your .vimrc file, rather than changing profile settings in the GUI. syntax enable "(syntax on also works) Note that quotes are a comment in .vimrc highlight Folded ctermbg=White ctermfg=Red If you already have a highlight line for other purposes add this as a new line below it, e.g. have two ...


2

You can change terminal lifecycle by running these command. Find out which apps are supposed not to be suspended: gsettings get com.canonical.qtmir lifecycle-exempt-appids For me this command returns ['com.ubuntu.music'] Add terminal app to this list gsettings set com.canonical.qtmir lifecycle-exempt-appids "['com.ubuntu.music', 'com.ubuntu.terminal']" ...


2

Simply open any working terminal that you do have, and enter: sudo apt-get install gnome-terminal You should be good to go! You can also see this thread How to set custom keyboard shortcuts from terminal? as to how to set a custom key command, so that CTRL + ALT + t opens the terminal or program you choose, specifically, gnome-terminal. So, for ...


2

I'm the creator of that font. Sorry, there is not way to see SVGinOT (SVG-in-OpenType) color fonts in anything other than Gecko-based applications such as Firefox and Thunderbird right now. I made these fonts to solve the "chicken or the egg" problem: there were no color fonts and so no reason to support them. Now there are color fonts... Next steps: ...


2

Consider using a proper editor for editing long commands. Set EDITOR to your favourite editor, for example, gedit in your .bashrc: EDITOR=gedit Then, when you want to edit a long command, press CtrlX CtrlE. Gedit should open up, with the current command line already in it. Edit it your heart's content, then save and quit. Bash will now run the new command....


1

Be sure to enable Shortcuts in your gnome-terminal preferences:


1

Wired connection is the best method as no further configurations are required. However, should the wired connection is not available, here are another Ask Ubuntu thread on connecting to wireless network.


1

Use wired connection. Connect ethernet cable to your computer's ethernet port. Now you will be automatically connected to the internet.


1

Hopefully setting force_color_prompt=yes directive in your .bashrc file will make it work. The force_color_prompt=yes directive is commented by default. Uncomment it, save it and source your .bashrc file to see the changes. Command for sourcing your .bashrc file is cd ~ source .bashrc


1

Option 1: Are you able to at least open the terminal application? If so, you should be able to re-open the terminal's preferences and disable the "Run a custom command." What happens if you open the terminal? Do you get an error message? Option 2: The simple solution to this problem, would be to reset the terminal application's preferences and profiles. ...


1

Your ~/.bashrc has the following line at the end: source /opt/openfoam30/etc/bashrc i.e. bash will source /opt/openfoam30/etc/bashrc while starting an interactive session. And in that file you have the potential problem as other portions seem fairly normal. But the interesting thing is that file does not directly call gcc but it sources so many other ...


1

I figured out that I was using zsh as my default shell. Problem was because of line 9th line from last in .zshrc file. # Base16 Shell BASE16_SHELL="$HOME/.config/base16-gnome-terminal/base16-default.dark.sh" [[ -s $BASE16_SHELL ]] && source $BASE16_SHELL I commented these lines and now it works fine.


1

GNOME Terminal should support true color in 16.04. Source: https://gist.github.com/XVilka/8346728 Trying out the test code from that gist:



Only top voted, non community-wiki answers of a minimum length are eligible