General :: Gnome-terminal Exits After Executing Parameter Sent With "-x" Option?
Aug 30, 2010
I have a bash script that launches an application of mine through a gnome terminal with the following command:gnome-terminal -x MyApplicationIf MyApplication launches correctly, a GUI is displayed. If it fails to launch correctly, it reports errors to stdout (the terminal).
My problem is, the terminal immediately exits when MyApplication exits, leaving no time to see the error messages if MyApplication fails to launch.You can also see this behavior by trying:gnome-terminal -x lsThe gnome terminal immediately exits.Is there a way to stop this behavior? I want the terminal to remain until I close it.
View 6 Replies
ADVERTISEMENT
Feb 11, 2010
I wrote a shell script and tried to execute it in separate terminal using command 'gnome-terminal -e <script>'. When executing first time, it went fine.From second time, I am getting error 'There is error creating child process for this terminal' repeatedly.
View 5 Replies
View Related
May 23, 2010
I am loading a terminal from the command line using the command gnome-terminal and there are two things I want to do:-(1) Specify location and size(2) Enable "Always on Top"I know how to do (1) with the --geometry option. But I cannot find a way to accomplish (2). Can someone please tell me how I can do this?
View 4 Replies
View Related
May 4, 2010
I got the following modprobe scripts modprobe -k -q streams what does the -k parameter mean?. is it exist in older modprobe? I don't see -k parameter in recent modprobe.
View 1 Replies
View Related
Jun 3, 2011
I'm unable to reset using either the reset option in gnome shell or the command using a terminal. When I select it the shell exits and displays the graphic "exploding" and then it just sits there. Shutdown works fine; just no reset. Any ideas? I've installed from the DVD. I booted the live CD and it resets just fine so I know it's no my hardware
View 1 Replies
View Related
Mar 5, 2011
Is there a terminal emulator which works well in an Ubuntu desktop and provides the following features which Mac OS X's Terminal application has? Re-wrapping text when the window is resized.A Clear command which clears scrollback (as the shell clear does not) and does not clear the cursor's line (typically containing a prompt).
View 2 Replies
View Related
Apr 29, 2010
In KDE's Konsole, I can do the following from the terminal:
dcop kwin KWinInterface currentDesktop
And it will tell me which desktop my terminal is connected to ( per [URL])
How can I determine what desktop number the current gnome terminal in a gnome session is connected to?
View 1 Replies
View Related
May 20, 2010
I just closed my terminal after checkin out byobu . Now when i click terminal , nothing happens . how can i get back my terminal ???
View 1 Replies
View Related
Apr 6, 2011
I have installed Fedora 15 Alpha with GNOME 3. Everything is working fine. However, I can't see any option to hibernate or shutdown.
In the top panel when I click my user name, I only have one option and that is to suspend. Normally I like to hibernate or shutdown. And I can't see any option of what to do when I close my netbook. Normally, I prefer to hibernate.
View 3 Replies
View Related
Jul 31, 2011
I wrote bash script that uses zenity and a choice to install various programs, tested it and it works, but only when I call it from terminal. I wanted to add it in gnome main menu. The script is /home/eee/zenity.sh. In accessories I added an entry with command:
Code:
/home/eee/zenity.sh
, but since there is no terminal it starts zenity, but it does not work. I have also tried
Code:
gksu gnome-terminal -x /home/eee/zenity.sh
[Code].....
View 4 Replies
View Related
Jan 25, 2011
Quote:
logcountfunction()
{
awk ' {
# when executing the script pass the logfile as parameter on the command prompt with the name of the file
#export file_name= "&1"
[Code]....
my problem is that when i execute this script only the first two functions are being called.once the DBcounttry_finalnofunc() is done ,the script exits.The rest of the functions are not being called.
View 1 Replies
View Related
Nov 14, 2010
The ~ key of my laptop is broken, now I am seeking a method to map the # to it? How could I do it?
View 1 Replies
View Related
Apr 23, 2010
I am using CentOS 5.4. I created a bash script that does some checking before running any commands. If the check fails, it will simply exit 0. The problem I am having is that on our server, the script will exit the su or ssh session when the exit 0 is called.
#!/bin/bash
# check if directory has contents and exit if none
if [ -z "`ls /ebs_raid/import/*.txt 2>/dev/null`" ]; then
echo "ok"
exit 0
fi
Here is the output:
[root@ip-10-251-86-31 ebs_raid]# . test.sh
ok
[russ@ip-10-251-86-31 ebs_raid]$
I was removed from my sudo session, if I wasn't in the sudo session, it would have logged me out of my ssh session. I am not sure what I am doing wrong here or where to start.
View 1 Replies
View Related
Mar 17, 2010
I faced a issue with updating a file contents with echo command which fails with error as below:
echo "foo" > bar //to create a file named "bar"
echo "foobar" > bar //to edit its contents
The latter fails, it prompts "File exists" i.e.
~>echo "foo" > bar
~>echo "foobar" > bar
bar: File exists.
~>cat bar
foo
~>
View 4 Replies
View Related
Mar 1, 2010
I am using ubuntu 8.04 with GNOME. gnome-terminal version is 2.22.1
(1)Is it possible to use mouse to move cursor to desired position? For instance , I am at end of line & with mouse I can select a portion of line to copy but cannot move the cursor to middle of line without pressing left arrow key for looong time.
(2)I have noticed that if I boot with my USB in non-persistent mode.In the beginning I can use ctrl+arrow to move to previous or next word. After sometime ctrl+right arrow append ;5C and ctrl+left arrow appends ;5D
View 5 Replies
View Related
Oct 18, 2010
I'm a little confuse regarding how one launches tmux. When I launch my terminal (current gnome-terminal), I would like to have tmux up and running. I'm currently doing this by calling "tmux" in my .zshenv (kind of like .bashrc in bash). This does in fact launch tmux, but has some annoying side effects. First, hitting Ctrl-D to exit the shell, only kills tmux, and leaves the tmux-less gnome-terminal still running. An additional Ctrl-D will kill that as well. Second, when ssh into a box with this setup, I get a second, nested instance of tmux. I don't want tmux to launch again when I ssh. Is this the right approach, how should tmux be launched usually?
View 2 Replies
View Related
Jun 24, 2011
I am running Gnome 2.30.2 and Gnome Terminal 3.0.1 on my Debian Sid and recently the active tab became almost indistinguishable from other tabs. It is actually the same colour.Changing the themes didn't help much and only using high contrast theme makes a difference which is the theme I would rather not use.Have been experimenting with ~/.gtkrc-2.0 script but that does not seem to work at all even after restarting X-Server.
style "gnome_terminal_notebook"
{
#fg[NORMAL] = "#00ff00"
[code]....
View 2 Replies
View Related
Sep 10, 2011
I was wondering if there was a way to navigate back to the previous folder after a 'cd'.
e.g.
~/ cd /home/
~/ cd /usr/local/
~/ want should I write here to return to the home dir (not 'cd /home' ^^)
View 2 Replies
View Related
Nov 3, 2010
I cannot launch gnome-terminal from the Applications -> System Tools -> Terminal menu. However a gnome-terminal process is created (I can see it in a terminal that I happened to have open) but it doesn't seem to actually run (I have several of these terminals in the ps list now but they haven't actually run as terminals and it's been at least 2 hrs). At first I thought they weren't running at all until I checked (it looked like the Starting Terminal message at the bottom of the gnome GUI ran abnormally long and then terminated so I thought at first that they weren't running at all).
Also it looks like my gnome session is clobbering the CPU: running at or over 80% of cpu time at times (it does change but mostly it is high). All I'm doing is minor web work + updating a file in Open Office - when I noticed this I got out of Open Office and that had no effect. So it looks like application software is running (this was launched from a terminal) but running from the menu seems to result in processes with low priority (that doesn't seem right though). This just started today and my system has been mostly running correctly for a year or so (last year I got an Acer 5532 on sale, wiped it and installed Fedora 11).
View 1 Replies
View Related
Aug 20, 2010
Are there a command to open up a new tab in gnome terminal(Ctrl+T outcome). I need it to use with in bash script.
View 2 Replies
View Related
Jun 1, 2010
How to change/set background from gnome-terminal?
View 10 Replies
View Related
Jan 24, 2011
gnome-terminal from the Debian squeeze does not use the 'default_size_columns' and 'default_size_rows' from the /apps/gnome-terminal/profiles/Default/ folder of gconf.
View 6 Replies
View Related
Dec 10, 2010
Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"
In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.
P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!
View 9 Replies
View Related
Nov 6, 2010
I'm using 10.04, and gnome-terminal GNOME Terminal 2.30.2 . I have irssi running on screen session on remote host. And I've been struggling for quite many days to configure it to produce either visual feedback or ring terminal's bell when I receive a private message or one of those that are highlighted.
My compiz settings window in General tab has 'Audible bell' checked.
My GNOME terminal has 'Terminal bell' checked.
I also added 'set bell-style audible' to my ~/.inputrc
And I also tried to manually load pcspkr module into my kernel.
No of the above helped or at least I haven't been able to notice any difference.
I also used some commands for irssi to produce bell sign.
View 2 Replies
View Related
Oct 7, 2010
I'm running GNU Emacs 23.1.1 on "Ubuntu 10.04.1 LTS" and any search I perform using the built-in M-x rgrep on the standard Linux kernel source code (vanilla) ends prematurely with the following error printed to the emacs echo area:Grep exited abnormally with code 123.I have been seeing it for a while on Redhat systems as well, and with other (large) code bases.
View 2 Replies
View Related
May 18, 2010
Running gnome under Ubuntu Lucid
$ env | grep TERM
TERM=xterm
COLORTERM=gnome-terminal
I had to edit both my .muttrc and my vim colorscheme to change the background color from black to none in order to get a proper black background (or, more accurately, to retain the terminal's default black background). Setting it to black resulted in a dark grey background. This only happens with gnome-terminal; konsole, xterm and rxvt are fine.
View 2 Replies
View Related
Jun 13, 2011
I've set up home server, which doesn't have to be as powerful as other servers, so I decided to install GUI because of applications that are alternatives to classical GUI applications in headless version requires more skill/knowledge. However, I don't want server to run GUI always at start (which gnome-desktop package does). I need some configuration in KDE/gnome/xfce (haven't decided) that doesn't start GUI after each start (e.g is required to type startx or equivalent command to start GUI)(off topic: can you also recommend good remote-administration with GUI transport ?)
View 1 Replies
View Related
Nov 21, 2010
i installed red hat linux on my computer. how can i change my gnome-terminal cursor from block size to underline.
View 5 Replies
View Related
Aug 11, 2010
OS is CentOS 5.5, and GNOME terminal emulator (v2.16.0). However I regard the question is not related with OS/Gnome version level. My question is whether if color setting is available or not for the text character outputted by kernel (or shell, i.e. Bash). Normally we can specify/modify text character color (and background color) with property setting on the terminal. However, it only takes affect to the text for inputting character, not for outputted character by kernel/shell. For example, when we type a shell command "ls -al <cr>", the text appears with the color along with the terminal property.
Meanwhile, the text message displayed on the console (output message against "ls -al" command), in this case it must be file and/or directory names, will appear with some preset color which we've not preliminarily set. In my case, I set Text color with "White", Background color with "Black". Then I expect the text output message color displayed by kernel/shell would be some brighter color. But the color is "blue" which does not look better brightness against "Black" background. For this situation what I'd like to know is how to set/specify the color outputted by the kernel/shell (or whether or not it is possible to set manually).
View 4 Replies
View Related
Oct 1, 2009
After a cleaning of some software from my ubuntu (Jaunty) desktop I am no longer able to open a terminal window in Gnome.I tried to reinstall gnome terminal from synaptic but this made no difference...In the command line that you get with Alt-F2 I tried the code: man ls
and a terminal window opens but after exiting the man page (q) it disappears!
View 9 Replies
View Related