Tag Info

New answers tagged

0

I also checked the packages in the list (Click here to see) and it looks like it only supports 13.04, 12.10, and 12.04.


0

The ampersand-backgrounding method didn't seem to work as expected. I switched to setsid instead and it seems to work. gnome-terminal --tab -t "MyPC" -e "sh -c 'setsid firefox;bash'" --tab -t "MYPC2" -e "sh -c 'ls;bash'" Also, you only need bash, not exec bash.


1

This Q How can I install software or packages without Internet (offline)? has a crazy amount of "offline reposiory" type apps. But if you can run an online apt-get update a basic answer would be found here (if you've got Synaptic available) Select packages to install in Synaptic File -> Generate package download script Run script on an internet-connected ...


0

I think the best way to do it is to create a context menu entry similar to "Open in Terminal..." for directories in nautilus. I do not know how to map nautilus menu entries to a key (You can activate the entry with multiple keys using the context menu by keyboard, like with Menu). But as you seem to already solved the key mapping part, maybe some hints on ...


0

Remember that terminal is VERY literal! The + key Ubuntu terminal wants is on top row and requires Shift otherwise it's =.


2

In order to open your terminal in Unity, press Ctrl+Alt+T, or press Super, then type 'terminal' and hit enter. Edit: I see that you're using Ubuntu 10.04, so ubuntu-desktop probably comes with GNOME, I'm not sure if that Ctrl+Alt+T opens the terminal then, but you can find it in the menu; Applications → Accessories → Terminal. It is also worth noting that ...


2

To redirect only stderr of evince to /dev/null and send it to the background at the same time you need to specify evince name.pdf 2> /dev/null &


1

That is exactly what tee is for. Why do you not want to use that? An alternative might be to capture the output, and echo it twice: output=$(nmap localhost) echo "$output" echo "$output" > somefile.txt However, in the special case of nmap, you can take advantage of it's output option -ox : OUTPUT: -oN/-oX/-oS/-oG <file>: Output ...


3

tee is designed to split STDIN into a file and back out to STDOUT. In simple terms, just pipe it through, like so: nmap www.somesite.com | tee file.txt The current accepted alternative involves running nmap twice which is a horrible idea. You'd be better off running it once to file and then outputting the file. nmap www.somesite.com > file.txt; cat ...


-1

It is not possible to have command line view and redirect process at the same time But you can use the following command to use both the process in sequence nmap www.somesite.com && nmap www.somesite.com > file.txt First it will execute the command in terminal and then it will save the output as a file Hope this helps!


0

ctrl + shift + w closes the current tab and ctrl + shift + q closes the entire window. Also, exit This is similar to other commands that also are normally ctrl + whatever such as, ctrl + c and ctrl + v for copy and paste which, in the terminal are, ctrl + shift + c and ctrl + shift + v respectively. I'm not sure if the following works in a virtual ...


2

You can type exit. You can type ctrl-d. Or (if you're on a virtual terminal), you use ctrl-alt-F8.


0

Try install mplayer sudo apt-get install mplayer and run mplayer -vo caca <movie_file and check whether you are able to play the video


-1

I'm using Ubuntu 14.04. Using the default Gnome terminal, if I highlight text then press my mouse wheel it will paste whatever is highlighted. Hope this works for others. I liked this feature when I was (forced) to use a Windows desktop and putty.


1

You are out of luck: GtkSettings:gtk-keynav-wrap-around has been deprecated since version 3.10 and should not be used in newly-written code. This setting is ignored. While gnome-terminal in Ubuntu is only 3.6.2, libgtk-3-0 is 3.10.8.


2

Information as found on this page, excluding preview column: Sequences are composed of the Escape character (often represented by ”^[” or ”<Esc>”) followed by some other characters: ”<Esc>[FCm” (where FC is one of the numbers in the bulleted list below). In bash, the Esc code can be either of the following: \e \033 (octal) \x1B (hexadecimal) ...


2

The various colour codes that used for obtaining coloured output can also be used to obtain coloured backgrounds: 40 black 41 red 42 green 43 yellow 44 blue 45 magenta 46 cyan 47 white Therefore, the following command turns my background red: $ echo -e '\e[0;41m' Depending on the shell, the terminal emulator, etc., you might not need the -e.


4

Change the colors on an incidental basis If it is meant to change colors on an incidental basis: You can use the setterm command: setterm -term linux -back <background_colour> -fore <text_color> -clear from the colors, you can chose from (both fore- and background): black|blue|green|cyan|red|magenta|yellow|white|default for more options: ...


0

Just force to update the font cache: sudo fc-cache -f -v


1

Its name is gnome-terminal :-)


3

The GNOME terminal binary is located at /usr/bin/gnome-terminal. Don't mix that up with /bin/bash. GNOME terminal starts bash, but there's no sense in starting a bash session on its own in a GUI.


0

I'm assuming you have a USB wifi device? I only ask this because it is odd to lose the device in the OS by physically touching it. Anyway, have you tried to disable/enable networking with the GUI? That's the simplest first step to try. Click on the network signal icon in the upper-right corner near your clock, and uncheck Enable Networking. Give it a ...


3

You can do it using wmctrl. To install it use in terminal, sudo apt-get install wmctrl To switch to firefox use the following command in terminal, wmctrl -a firefox Actually it switch to a window with name containing 'firefox' in it. see man wmctrl for more.


-2

I written an article for coming out from directories back in an easier way using the alias. It is over here. In short you can use : back 2 to come two step back from the current directory. It is also explained over there how to put the code in ~/.bashrc so that every new shell opened will automatically have this new alias command. You can add new command ...


1

Question Solved by Original Poster: Ubuntu 14.04 Gnome shell display changed. How to restore default Just forgot to restore the original skin for the Shell.


1

Install gnome tweak tool (gnome-tweak-tool), and there you have the option under "Windows" -> "Window focus mode"


1

Here is what worked for me in ubuntu 14.04, I tried to maintain similar overall look, and make the inactive tabs less bright. edit the file ~/.config/gtk-3.0/gtk.css to contain TerminalWindow .notebook tab:active { background-color: #f5f4f3; foreground-color: #000000; } TerminalWindow .notebook tab { background-color: #d2d1d0; ...


0

You can do the following: open ~/.bashrc with your favourite editor and add the following lines to the end of the file: if [ -d "/opt/eclipse" ] ; then PATH="/opt/eclipse:$PATH" fi Close and open the terminal. This is what I did in Unity and it worked for me. I am not quite sure if it will work on the Gnome environment.


0

Closest solution to my question is proot but it doesn't work as intended. For example when I run it like proot -w ~/mychroot and when I change to parent directory cd .. and run ls it really changes to parent directory, it must have confined in ~/mychroot directory Anyway I found a script in one of the forums and modified it to my needs. In ...


0

This is some issue in one of the Graphite libraries. See bug #1166125.


1

After many hours of searching $ sudo apt-get purge pango-graphite worked for me. This was broken on a dist upgrade to 14.10, and since I spend 90+% of my time in mate-terminal or gnome-terminal this was truly driving me crazy. Thanks!


1

This is a confirmed bug (see launchpad) The current work-around is: From a terminal: sudo apt-get update sudo apt-get install unity dconf reset -f /org/compiz/ This will reinstall unity and reset the config. If that doesn't works then: sudo apt-get update sudo apt-get install ubuntu-desktop rm -f /home/user/.config/dconf/user but be aware that this ...


1

Solution with Terminator from this site. sudo vi /usr/share/terminator/terminatorlib/terminal.py Look for function : on_buttonpress Revert button test (contextual menu go to middle click, paste on right click) : def on_buttonpress(self, widget, event): ... if event.button == 1: ... elif event.button == 3: ... elif ...


0

To change your working directory, try using the following command gnome-terminal --working-directory=/path/to/dir You can check whether the changes have taken plac using the pwd command. Alternatively, open "~/.bashrc", scroll to the bottom and add a change directory command - cd ~/mychroot


0

What terminal is this? Add the output of echo $TERM to your question. This can happen when you have escape sequences (as generated by tput) in your prompt that are not surrounded by \[ and \]. Those backslashed brackets tell Bash that the escape sequences do not take up any horizontal space on the screen. Without them around the escape sequences, Bash ...



Top 50 recent answers are included