Hot answers tagged gnome-terminal
11
You can use tput reset.
Besides reset and tput reset you can use following shell script.
#!/bin/sh
echo -e \\033c
This sends control characters Esc-C to the console which resets the terminal.
Google Keywords: Linux Console Control Sequences
man console_codes says:
The sequence ESC c causes a terminal reset, which is what you want if
the screen ...
11
Yes. Here's an example for bash using PS1 that should be distro-agnostic:
Specifically, the escape sequence \[\e]0; __SOME_STUFF_HERE__ \a\] is of interest. I've edited this to be set in a separate variable for more clarity.
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus ...
8
There is a nautilus (gnome's file manager) extension for that:
http://packages.debian.org/sid/nautilus-open-terminal
That is the package for debian. You should look in the repository of your distribution for a similar package.
7
You can launch any program with a different language by setting the LC_MESSAGES environment variable (or LANG to include other regional settings besides display language such as sort order, number and date formatting, etc).
$ LANG=en_US gnome-terminal
Keep in mind that anything you launch FROM that terminal will inherit the language. If you specifically ...
5
You can make Ctrl+V paste by changing the settings in the Edit->Keyboard Shortcuts menu.
But you might not want to do it, because Ctrl+V is normally used by your shell as a way of typing characters literally. For example, Tab normally makes the shell try to tab-complete a file name. If you need to actually type a tab, Ctrl+V Tab lets you do that.
You can ...
5
You can use gconftool with the key /apps/gnome-terminal/profiles/Default/background_type (you might have to use a different profile name than "Default"):
gconftool -s -t string /apps/gnome-terminal/profiles/Default/background_type solid
gconftool -s -t string /apps/gnome-terminal/profiles/Default/background_type transparent
This was tested in version ...
4
The solution was pretty elegant and simple: editing /etc/inputrc and disabling vi mode.
Here's the renewed inputrc file:
# /etc/inputrc - global inputrc for libreadline
# See readline(3readline) and `info rluserman' for more information.
# Be 8 bit clean.
set input-meta on
set output-meta on
#set editing-mode vi
# To allow the use of 8bit-characters ...
4
You can try disable the gnome shortcuts in Edit -> Keyboard shortcuts, so the window won't eat up the function keys.
There seems to be a known gnome-terminal bug relating to this.
Alternatively if this doesn't work, you will have to use another terminal that explicitly sends function keys as control codes to the terminal. rxvt is one I can recommend, or ...
4
Since it looks like a broken gnome-terminal configuration, you can try letting it restore the defaults using
mv .gconf/apps/gnome-terminal{,-BROKEN}
(You'll need to re-start the terminal to see the effects.)
If everything is fine after that, do a rm -rf .gconf/apps/gnome-terminal-BROKEN.
4
Here is a simple solution for the problem described:
For gtk-3 apps like gnome-terminal and nautilus just craete (or edit if you have one) the file ~/.config/gtk-3.0/gtk.css with following content:
$ cat ~/.config/gtk-3.0/gtk.css
@binding-set NoKeyboardNavigation {
unbind "F10"
}
* {
gtk-key-bindings: NoKeyboardNavigation
}
More on the problem see at ...
4
In case #2 and #3 you're mixing two different encoding UTF-8 and Latin-1.
In case #1 you're using Latin-1 for both, so you don't have a problem.
The ls command (and all other well behaving programms) use the LANG setting for determining the encoding.
You may mixing two different Languages, but you shouldn't mix two different encodings.
Ensure that the ...
4
$TERM is to tell applications what terminal they're talking to so they know how to talk to it.
Change it to a value supported by the remote host and that matches as closely as possible your terminal (screen).
Most Linux systems should at least have a screen terminfo entry. If not, screen implements a superset of vt100 and vt100 is universal. So:
...
3
make sure that you are indeed running bash and not another csh for example by executing the following:
ps -p $$
This will tell you what shell you are running.
If this returns something different than bash you can try your shortcuts after running the following:
bash
You can also change the users shell by running:
chsh -s /bin/bash `whoami`
3
I'm going to take a guess here: Ctrl-C does work, but because ps -e takes a long time to run relative to the rest of the script, that all you do is send SIGINT to the "ps" process. "ps" exits, and the script picks right up with another iteration through the loop code.
Do a sleep 10 in your bash window, while it runs, control-C it. See if that works. If ...
3
What's going on is that gnome-terminal's command line parsing is funky. You're running mplayer with /home/ferer/gdr01.wav, 2>&1, |tee and /home/ferer/junk.log as arguments. If you wait for the end of the audio file, you'll see error messages about these nonexistent files for a microsecond before the terminal closes.
Either figure out ...
3
As I read the source of spark, I can see it just uses the special ASCII characters as "ticks" - so, in general, the answer is no, because that would need the font to be changed on-the fly. Well, maybe you could actually use a special, non-fxed-width font defined, for example, as the italics or bold font for the terminal, but that would be a one-time ...
3
The delay is caused by the input routines that may have to decide wether a function key was pressed or not. For this the input routine starts a timer whenever it reads in an ESC character. Characters that are read from the input before the timer runs out (let's say a tenth of a second) are then interpreted as ESC sequence of a function key and this ...
3
The defaults in Gnome Terminal are Ctrl+Shift+c for copy and Ctrl+Shift+v for paste. I don't think you can do right click Copy and Paste because Gnome Terminal uses right click to open the context menu. And as Mikel said, Ctrl+v is interpreted differently by the shell.
3
If you are using Nautilus as your 'File Browser', it is as simple as a few entries in nautilus-actions GUI... Any 'actions' you create are available via a right-click of the mouse, and also via the Nautilus Toolbar if you wish (and I think also via the menu).
..Command: gnome-terminal
Parameters: --window --maximize --working-directory=%d
and a couple ...
3
You can modify the /desktop/gnome/applications/terminal/exec key in GConf (using gconf-editor), which is described as "the default terminal application to use for applications that require a terminal".
Alternatively, I propose a little more flexible solution: if you use Compiz, you can use the Commands plugin to define keyboard shortcuts for your own ...
3
The gnome-terminal program sticks that nub there itself. It started doing that sometime during the transition to Gnome3, and when I realized it wasn't my window manager or desktop environment but the program itself, I was annoyed enough that I looked for an alternative.
Roxterm is currently my terminal emulator of choice.
3
mouse support is disabled by default, so something is turning it on. Likely the reason your set mouse= is failing is because it's running before whatever is turning it on. I'd look through the rest of your vimrc, and possibly the system wide vimrc (/etc/vim/vimrc is a standard location).
As a last resort, you can do this really ugly hack which will cause ...
3
The important part of that wikia link is:
:set t_Co=256
Entering this in normal mode (or putting it in your ~/.vimrc) will force vim to try to use 256 colors, which should override gnome-terminal's color scheme.
Apparently, while gnome-terminal is capable to 256 colors, it doesn't advertise that fact in a way that vim can detect, which is why setting ...
3
The working directory does not affect your $PATH1, thus I guess what's happening can be understood if you do the same thing in a terminal, i.e.
$ cd ~/bin/red5-1.0.0
$ red5.sh
will not work either; what does work is one of the following:
$ cd ~/bin/red5-1.0.0
$ ./red5.sh # note the relative path to the script
or
$ cd ~/bin/red5-1.0.0
$ ...
3
Original question
All of the mentioned programs have a pts. The problem is not that your specified terminals don't have a pts device but that the information isn't recorded.
Why doesn't lxterminal or other terminals show up in who
who retrieves it information from a utmp file, typically /var/run/utmp and is written to by programs themselves. In order to ...
3
You can use gconftool-2 - GNOME configuration tool. First, you can list all your gnome profiles with:
$ gconftool-2 --get /apps/gnome-terminal/global/profile_list
[Default,Profile0]
Now you can print values for selected profile:
$ gconftool-2 -a "/apps/gnome-terminal/profiles/Default"
Store value of foreground and background color:
$ gconftool-2 ...
2
In the absense of an installed extension, you can drag the icon for a folder to Gnome Terminal or Konsole and it will expand to the single quoted path. First type cd followed by a space, then drag the icon over and press enter. And naturally, you can use this with other commands like mv, cp, etc. I think Konsole might actually pop-up with a menu asking ...
2
Are you running xterm from inside your Gnome session as well?
Try this in Gnome Terminal:
echo $SSH_AUTH_SOCK
Then try the same in xterm.
It should print something like
/tmp/keyring-abc123/ssh
in both.
I'm guessing it doesn't print something like that in xterm.
If it's empty, something is clearing it (or not setting it).
If looks more like
...
2
Use the -t option. (see gnome-terminal --help-terminal-options)
gnome-terminal \
--tab -t "notes" --working-directory=$HOME/notes \
--tab -t "puppet" --working-directory=$HOME/puppet \
--tab -t "beamish" --profile=root-beamish \
--tab -t "odyssey" --profile=odyssey \
--tab -t "root" --profile=root
-------- updated at 2011-11-15 ...
2
Try to do this
$ stty sane
and see if it fixes the problem, also check if the intr is set correctly using
$ stty -a
If you find that intr is set to something different than ^C, then you can also fix it by typing
$ stty intr ^v^c
Only top voted, non community-wiki answers of a minimum length are eligible

