Tag Info

New answers tagged

0

seems like your profile settings are screwed up. The easiest way is to regenerate them, so go to ~/.gconf/apps and remove de folder gnome-terminal Cheers


0

I solved the problem .I think the shell was not using ~/.local/lib/python2.7/...../bindings/bash/powerline.sh so I resourced it and restarted the system. I also added the path variable for powerline-config file in the ~/.local/bin/poweline directory in .bashrc and now, everything is working just fine.


6

python is the default interpreter used by the distribution. It may (or may not1) point to python3 in the future. python2 is the default Python 2 interpreter (that is the same as above if python points to python2, not otherwise). It points to the current stable/supported interpreter. python2.7 is the specific interpreter --- you can have for example ...


1


1

Run echo -e "lms\nlocalhost" >> test.txt \n is for a new line. >> redirects output to a file and appends it to the end of the file. -e is to parse control characters like \n.


3

Use zsh's trap builtin (the trap builtin is also present in bash): gnome-terminal --tab -t "FOO" -e "zsh" \ --tab -t "XYZ" -e "zsh -c 'trap \"zsh\" 2; tail -f /var/log/dmesg'" Or: gnome-terminal --tab -t "FOO" -e "zsh" \ --tab -t "XYZ" -e "zsh -c 'trap \"zsh\" SIGINT; tail -f /var/log/dmesg'" It looks like you're running this from sh. Some side notes: ...


0

You can't. You can only run one or the other.


1

Check out this : The Linux Command Line http://www.linuxcommand.org/tlcl.php In the book you find a lot of good information and explanations about how to use the terminal. Another resource : UNIX TOOLBOX http://cb.vu/unixtoolbox.xhtml Here you find a comprehensive list of terminal commands sorted by many different categories.


0

I figured it out! It turns out my gnome-terminal was somehow outdated, even after running apt-get upgrade several times. I found this out by running apt search gnome-terminal, which gave me the following output: $ apt search gnome-terminal Sorting... Done Full Text Search... Done gnome-terminal/vivid 3.14.2-0ubuntu3 amd64 [upgradable from: 3.6.2-0ubuntu1] ...


2

Most terminals (at least gnome-terminal, urxvt, and XTerm, for example) that are started within a desktop environment such as Unity will use the SHELL environment variable to select the shell when the are launched. SHELL should automatically be set to your default shell listed in /etc/passwd, but the variable can be overwritten when you log in. Make sure ...


1

To set fish as the default shell for gnome-terminal, from gnome-terminal go to : Edit > Profile Preferences then go to Title and Command tab, you will get : Change it as : Now whenever you start a new instance of gnome-terminal, fish will be started instead of bash.


2

The error messages tells you exactly what is wrong: E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?. Either use the Software Center, or the sudo command. Read man sudo, then try: sudo apt-get install git


1

No need to revert. Simply run following command on terminal, this should re-enable your "missing" menu bar : gnome-terminal --show-menubar Or right click at terminal and click "Show Menu bar"


2

There are different Terminal emulators (the windows) and different shells (the thing that does the work) and they can be configured or changed. Maybe you'll like the Zsh-shell more than the Bash which is default. Terminal are made for Text In- and output. i don't think there is a need of a GUI. There are GUI-applications, which can be used as alternative to ...


3

You should modify the unity.css file of the theme. Here is an example from a theme I modified. UnityDecoration { -UnityDecoration-extents: 28px 0 0 0; -UnityDecoration-input-extents: 10px; -UnityDecoration-shadow-offset-x: 0px; -UnityDecoration-shadow-offset-y: 3px; -UnityDecoration-active-shadow-color: rgba(0, 0, 0, 0.3); ...


0

Don't use the Alt + F2 shortcut. Press Ctrl + Alt + T and use the terminal should be correct.


0

In GUI you you should use: gksu command or gksudo command But note, this is only for graphical applications to run them from superuser. For CLI applications just: sudo command


1

I think you need to use a monofont to avoid this issue. Some other fonts may work sometimes, however, all monofont characters occupy the same amount of space. Any "monospace" font will work well. en.wikipedia.org/wiki/Monospaced_font Also, here is a list of monospaced fonts. More monospaced fonts. 7-of-best-ubuntu-terminal-fixed-width Thanks ...


0

Gnome terminal already allows selecting text with mouse and copying with Ctrl + Shift + C . Pasting is done with Ctrl + Shift + V.


1

A static library file ending with the .a extension is simply an archive of the compiled object files from the source code. You can unpack the object files into a directory, from the foo.a file, using the ar tool in a terminal. However, this still does not allow you to edit the source and make changes. If you want to modify the program in question, then you ...


0

What are the contents of the history file? Do the contents change? Is it overwriting rather than appending? How you can tell, is to give the history command, then give some other commands, date echo $PWD which man whatever, then run the history command. If there is any change, then the bash history file is likely being over written, rather than appended ...


2

Libraries are binary files, so you won't be able to see the contents using a text editor or any regular text file reading program like cat, less etc. Your best bet would be to use strings to read the readable contents from the library.


1

In Gnome Terminal you can use : Cntl + PgDn to move between tabs from left to right Cntl + PgUp to move between tabs from right to left Answer to the edited question : To change teh key mappings for switching betwen terminals go to Edit > Keyboard Shortcuts... Then change it like the picture is showing : As you can see i have changed the ...



Top 50 recent answers are included