Ubuntu :: Prevent Application In Terminal From Auto Closing
Jan 15, 2011
I've made custom launchers for programs that can only run in terminal. They open fine within the Terminal window, but it closes right after the program is finished, before I can read the report.
Is there a way to keep the Terminal window open, using launchers? I don't want to manually type the commands after opening a Terminal.
View 2 Replies
ADVERTISEMENT
Mar 8, 2010
I've wondered for years how it works and how I can change it. For example, opening a document with vim, or opening a man page, and then exiting out of it will sometimes (depending on the distro) clear the screen and leave your prompt at the very top. other times, it leaves the contents of whatever you had open on-screen and your prompt is at the bottom.
View 1 Replies
View Related
Jun 15, 2011
I just installed F15 and although different, I like it a lot. One thing I don't like, however, is the default auto-completion of environment variables in the terminal. In F14 and older, if you type for instance
Code:
ls $HOME and hit TAB, auto-complete will list the contents of $HOME to search deeper, so to say. But in F15, the terminal automatically escapes the $ sign. If you do the same as above, you get
Code:
ls $HOME
instead of
Code:
ls /home/benny/
how to change the auto-complete settings of the terminal so that $'s are not escaped anymore?
View 7 Replies
View Related
Feb 20, 2010
Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?
View 1 Replies
View Related
Jul 12, 2009
I am running a program in gnome-terminal window (using metacity window manager) which will take many hrs to complete.
I was wondering if there is some way to "lock" that window, so that accidental closing of that window is prevented.
View 7 Replies
View Related
Nov 13, 2010
I recently noticed my RAM problem. When I start any application it increases RAM usage but even after I close it RAM usage doesn't go down. Instead when I restart that application RAM usage goes up again. Using ubuntu 10.10
View 6 Replies
View Related
May 26, 2011
Any time i try to open skype it closes out fully in 5 seconds (not even in the processes anymore). I don't know why or how OR how to make it stop being so mean to me! i'm running ubuntu 10.4 32bit . I tried to boot it in safe mode and umm.. it froze? or crashed? well it was on the black screen with the blinking dot for like 20 mins before i gave up on it (Hiting enter or esc or anything didn't work). There was a key symbol on my panel before skype acted up(It closed and disabled something.. i've never seen it before). Adobe also crashed, and linux did a small update (nothing with skype).
View 14 Replies
View Related
Jan 16, 2010
I currently run a Windows XP virtual machine (using VirtualBox) so that I can use iTunes. This is fine, and I have set up a USB device filter which allows me to use my iPod, and update it via iTunes on the VM. However, this only works sometimes. I think the reason is that the VM sometimes can't get access to the iPod because it's mounted in Ubuntu - I think it may just be a race for who can mount it first - Ubuntu or the VM, when I plug it in. Is there a way I can prevent the iPod from automounting in Ubuntu so this problem (hopefully) won't arise?
View 2 Replies
View Related
Jun 4, 2010
I run the ping command using system() in C. It start pinging the desired destination but when I close my application it continues to ping. Is there any solution that as soon as I close my application it also stops pinging. Any change required in my C code?
View 2 Replies
View Related
May 17, 2010
In 8.04 it was easy to adjust, but with 10.04 I've tried to set the policies for udisks with no luck. I want Ubuntu to always ask for my password when a new device/disk is added to the system. If I don't give my password it should not mount the device. What happens now is that all disks added is mounted without any question leading me to believe that the policies is ignored (by a bug) or that I've missed something. I've been through obvious setting in the graphical shell and disabled them. But if they'd been enabled the policies should have kicked in. I do think it worked in version 9.10 when I tested it earlier this year or late last year, but I was waiting for the next LTS. How may I set up Ubuntu 10.04 to make it work as intended?
View 5 Replies
View Related
Jan 2, 2011
i was wondering if there is away to avoid application from closing if a specific library not found? for example: if my application uses libPng and it wasn't found on the system running my app (binary and not source), is there anyway to just disable the part that uses png from my application?
View 14 Replies
View Related
May 7, 2010
[using Ubuntu 10.04 - Gnome] I know this is probably a dumb question, but after few years of not using linux i'm back to it and trying to catch up what i already forgot... i'm trying to make a shell script were when all the commands end or when i interrupt it (using ctrl+c) it wont close my terminal window.
i made a test scrip like this:
#!/bin/sh
echo hi there
and created a launcher by right clicking create launcher, selected console application, naming it and putting in the command field: sh "<path to file>/test.sh". (without sh at start it wont work)
so how can i avoid shell window closing after running/terminating the script? and is there any way i can do this by doing something like right click>add new link... i think that in kde it works like that...
View 8 Replies
View Related
Oct 26, 2010
I wrote this little function that I use from my '~/.bashrc' (from a script I also made, with help) to run a program on a timer, however there is one small issue I'm having.
Code:
##### Run program on a timer
# Usage: program-timer <program> <runlength (in secs)>
function program-timer()
{
$1 &
mypid=`eval ps ax|grep "$1"|grep -iv "grep"| awk '{print $1}'`
[Code]...
Basically, it works just fine, but the issue I'd love to get help with is when the timer runs out, it doesn't shutdown the program. That is, not until I close gnome-terminal. I've tried 'exit' in several places, but it doesn't seem to close it.
Now, the above script does what I want, but using 'killall gnome-terminal' not only closes the gnome-terminal window I am running the function on, but ALL gnome-terminal windows I may have open.
Does anybody see a simple way to fix my small dilemma, to have it close only the gnome-terminal window I'm running the function on?
View 9 Replies
View Related
Feb 21, 2011
if i start an application using the terminal.. it gets closed if i close the terminal.. how can i not let this happen?
View 4 Replies
View Related
May 7, 2011
Is there any way to prevent the Unity Launcher from auto hiding as I maximise a window? It takes a few seconds for the launcher to reappear when I point the cursor in the left corner of the screen which is a bit of a delay when I quickly want to multitask between multiple applications.
View 2 Replies
View Related
Jan 20, 2011
How can I prevent a certain application from having access to ALSA. It keeps stealing my audio.
View 2 Replies
View Related
Jul 27, 2011
I have a ppp0 entry with post-up options like this
mapping ppp0
map none photon-plus motorola
map timeout: 12
## map init-time: 12 # for slow drivers
[code]...
If I comment those off then no such problem, hence some how ppp0 executed automatically and there is no [auto ppp0] any where. How can I stop this forcefully ?
View 2 Replies
View Related
Apr 21, 2015
Running Gnome on Jessie. Have had Gnome hang a few times over the past few months. The hangs seem to be related to having open and / or closing a root terminal. It has happened on a Gateway AMD Phenom II tower and on my Gateway NV59 lappy with Pentium P6200.
View 7 Replies
View Related
Jun 30, 2009
When closing the gnome-terminal a dialogue box opens that says:
Close This Window?
There is a process still running in this terminal.
Closing this terminal will kill it.
Nothing is running it's complete, so I have to close the box then the terminal closes. I know I'm a perfectionist. how to get rid of this?
View 6 Replies
View Related
Apr 1, 2010
Code:
#!/bin/bash
ulimit -c unlimited
while true; do ./executeable; done
When i will write this in console it will run executeable file and it will generate report : core.pid after crash so i can gdb the report. The application after crash will restart how can i prevent restarting the application after it's crash?
View 2 Replies
View Related
Aug 8, 2010
What is the command for "Open a terminal window and run application in this terminal
View 4 Replies
View Related
May 10, 2011
I found an application AUTO POWER ON & SHUTDOWN in windows which is really very useful to those who have night unlimited broadband connection. I searched for similar application in UBUNTU as I am slowly shifting to UBUNTU from 10.04 (maveric) version. Whenever I search for application or for other options, so many have written failed attempts only.
View 5 Replies
View Related
Jun 27, 2011
I want to use myscript.sh to auto-start an application. I put myscript.sh into /etc/init.d/ and run "update-rc.d myscript.sh defaults". After reboot, I can see my application was started (its log file was updated), but I cannot see my application running if I do ps -ef. I suspect it is killed by the OS.
View 4 Replies
View Related
Jul 18, 2011
I have a ppp0 entry with post-up options like this
mapping ppp0
map none photon-plus motorola
map timeout: 12
[code]...
View 8 Replies
View Related
Nov 2, 2009
Can you run an application automatically when you load linux? In this case it would be VMPlayer?
View 4 Replies
View Related
Feb 23, 2011
I have a site [URL] right now what you are seeing is a default Tomcat6 page. I am using mod_ajp as a front end and Apache vhost configuration for same is
Code:
<VirtualHost *:80 >
ServerName mysite.com
ServerAdmin webmaster@localhost
ProxyRequests off
<Proxy *>
Order deny,allow
[Code]....
View 2 Replies
View Related
Mar 4, 2010
I enabled auto-login on my netbook without considering that my /home partition is encrypted, so now I can't log in. Is there any way I can disable auto-login without using the GUI?EDIT:I was able to get around this by going to a TTY, logging in, then killing X and starting GDM again. Still, this is not acceptable. Subscribe to the bug here, if you agree with me.
View 1 Replies
View Related
Sep 18, 2010
I am setting up a streaming audio server. I would like to have Darkice and sc_serv (Shoutcast server) start automagically on boot.
I have set Xubuntu (10.04) to auto login
Both Darkice and sc_serv are command line apps and I would like them to each run in their own terminal window so I can monitor any status messages they produce. For instance sc_serv displays connections disconnections with time connected, and current number of listeners, and I want to see that.
One important note: sc_serv must be up and running before Darkice can be started.
View 1 Replies
View Related
Jul 27, 2011
In older versions of ubuntu I could use tab to autocomplete folder names multiple times in one command in a terminal, for example:
Code:
tar -cvf myapp.tar --exclude='/var/www/f[TAB]older-name/cache/*' --exclude='/var/www/f[TAB]older-name/sessions/*' /var/www/f[TAB]older-name
Now only the first tab works, is there any way to get this behavior back?
View 2 Replies
View Related
Jun 29, 2011
I have a problem that I haven't found an answer too.I have an Asus Eee netbook that has two finger scroll functionality. installed ubuntu and found a way to get the two finger scroll functionality to workrough a terminal script. I have it set up so that the script runs on start up and everything is fine in the world. Until the screen locks and I have to unlock it (enter in my password). At that point, the scrolling functionality no longer works andI have to rerun the script in order to enable the two finger scrolling again.So, my question is: is there a way to have the script run when the screen unlocks or am I not it right in the first place. The script has only the following that I made executable:Quote:
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient EmulateTwoFingerMinW=5
synclient EmulateTwoFingerMinZ=48
View 2 Replies
View Related