Tag Info

Hot answers tagged

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 ...


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: ...


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); ...


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


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 ...


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.


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

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.


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.


1


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 ...


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 ...


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.


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"



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