Ubuntu :: Run Program In Background?
Jan 17, 2011
I frequently run teamviewer on my netbook because it's my favorite remote desktop application, but it doesn't have an option to run at startup nor hidden. This is what I need:o be able to run teamviewer automatically at startup, hidden as a "service?" (meaning no taskbar button nor tray icon) and with a delay of 20 seconds (it has to be started after my wifi has automatically connected, not before).Can't be so hard, but I don't seem to be able to find a good answer to this in Google.
View 4 Replies
ADVERTISEMENT
Mar 4, 2011
I'm running Utorrent server and I figure I would create an alias to launch the program and run it in the background.alias utorrent='/home/user1/software/utorrent-server-3.0/utserver &'It seems to run the program but the associated webui program is flaky and won't start correctly.If I manually go to the specified path and run the command ./utserver & , I never seem to have an issue with the webui.I was wondering if this could possibly have anything to do with using the '&' ampersand operator in an alias.
View 2 Replies
View Related
Mar 10, 2010
I think my title pretty much explains it. I am writing a script and I want to start a program in the background, and when that program finishes I want to check the return value to make sure there was no error.For example normal I would do something like this:
#!/bin/sh
program
if [ ! $? -eq 0 ]; then
echo "There was an error"
exit 1
fi
Now I want to do something like this:
#!/bin/sh
PRTN=`program1 &`
program2
if [ ! $? -eq 0 ]; then
[code]....
In this case if program2 finishes before program1, I don't think the return value from program1 $PRTN would be valid at the time it is checked.
View 3 Replies
View Related
Mar 27, 2011
I have a script that calls another program/script, xxx, to run in the background. Supposedly this program at most should finish within five (5) minutes so after five (5) minutes, I run some other steps to run the script into completion. My problem is sometimes the program takes longer than five (5) minutes and this is causing problems when running the rest of the steps in the scripts. Can anyone suggest how to re-program my script. At the moment, the KSH script, i.e. test.ksh, is doing as below:
test.ksh:
.....
.....
xxx/xxx.ksh <--- program/script called by the script
sleep 300
..... run the rest of the script .....
..... problem is sometimes xxx/xxx.ksh takes longer than 300 seconds .....
..... any way that I can monitor that xxx/xxx.ksh finishes before I run .....
..... the rest of the scripts .....
View 3 Replies
View Related
Aug 26, 2009
I wonder how one can, if at all, run an X program in the background *in an emulator sub-shell process*. What I mean is to launch a program in an emulator, e.g, by xterm -e gedit
but with gedit (in this example) running in the background from inside the xterm sub-process, so that the xterm will accept other commands. In the above, gedit will run in the foreground, and of course, if you do
xterm -e gedit &
then xterm will run in the background, not gedit.In short, I would like to achieve the same thing as "gedit &" as you manually do in xterm, but from another shell. What I aim to do is write an X init script to achieve this result (to have the emulator open and a program or two running from it, in the background, at the X startup).
View 2 Replies
View Related
Aug 28, 2010
I'm trying to figure out how to continue execution of a Python program while a background task is going on.
In bash, it is adding "&" to the end as in:
Code:
#! /bin/bash
find / -iname "*.py" > /tmp/all_pys &
echo "looking for all python scripts and putting them in /tmp/all_pys"
(yes, I know I could just put the echo BEFORE the find but I just use it for example)
Say I do that in python (not necessarily running the shell, but perhaps using scriptutil.ffind or something similar), but want to allow the user to be doing something else while running that search in the background, how would I thread, fork, subprocess (not to be confused with the module and Popen) [or whatever I should call it] that?
View 14 Replies
View Related
Oct 22, 2010
I'm a big book lover so I read a lot. On windows I used Alreader for it's incredible handyness & it had a smooth lite brown background color. So it was easier for my eyes to read books in rtf, txt & so on formats instead of the default white background which is very annoying. Can you please suggest me a software like that for linux?
View 5 Replies
View Related
Apr 15, 2011
Anyone know why each time I boot up the machine the cube background image goes away and the background colour is left. This image i am placing is in Apparency/Skydome
View 2 Replies
View Related
Apr 3, 2011
I have spent the most part of 5 hours trying to fix this issue. For some reason I cannot change the background image to any of mt .jpg wallpaper files (and .png files). I've tried using the Ubuntu-Tweak application, but I end up getting a purple screen (default) or a black screen (default). So then I tried using the terminal method by making the Appearance window appear when I would log out. That works, except when I go to use my background image, it shows as a question mark for the image preview, and the icon for the file is a gray box. All while doing this my background images that I tested are all in the /usr/share/backgrounds location. Please help! I really want to get rid of the default images and use my images... :/ My desktop/screen in 1440x900, and most my background images are around that size. They work with my regular desktop for my account.
View 3 Replies
View Related
Mar 24, 2010
I originally have Ubuntu Lucid on my machine. I just installed opensuse 11.2 on another partition without bootloader installed. So I'm still using the Ubuntu Lucid default bootloader grub2. I can boot up opensuse correctly. the nagging thing is that there's no splash screen show up during the boot process, instead, lines of command are flashing, the console background is also missing and the font under console (tty1-6) is huge. what can I do to have these back to opensuse? the current entry in grub2 for opensuse
Code:
menuentry "openSUSE 11.2 (i586) (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 9ac05ede-e7c4-47f3-b55b-66d5844$
linux /boot/vmlinuz-2.6.31.12-0.2-desktop root=/dev/sda2
initrd /boot/initrd-2.6.31.12-0.2-desktop
}
which parameters should I add?
View 2 Replies
View Related
Feb 16, 2010
I want to change installation background image in fedora 12.
How to change the installation background not desktop background.
View 2 Replies
View Related
Feb 23, 2011
I was wondering whether there is an inbuilt logging system in UNIX?
I ran and installation and the program opened up automatically but I can't find the program executable.
If I could find a log then I could locate this file.
View 9 Replies
View Related
Aug 29, 2010
Does anyone know if there is a program that behaves the same as Microsoft's OneNote program for linux?
View 3 Replies
View Related
Jun 23, 2011
i am running ubuntu 10.04. I am looking for a converting program and I also need a DVD making program. I'm unsure if one comes preinstalled already.
View 4 Replies
View Related
Feb 15, 2011
I will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html
My code to get url's radio country.htm is:
Code:
View 2 Replies
View Related
Apr 15, 2011
I have problems to get it work. i have tried to use pm-utils, but it does nothing.
What is need is to kill application, when pc is going into suspend to ram and run that application again on wake. It's a graphical application.
View 1 Replies
View Related
May 7, 2010
I am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?
View 5 Replies
View Related
Dec 14, 2009
Is there anything like burning rom from nero or roxio cd/dvd copier. Do you know of any dvd copying program? like without making the image and then burning with just one process just copy the disc sorta program like roxio dvd copier? I wanted to make copies of movies I made a dvd of but aside from image burn which is a hassle to make the image first. is there something for burning on the fly or dvd/cd copying? infrarecorder and cdburnerxp do not work for me at all.
View 3 Replies
View Related
Apr 30, 2010
I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?
View 1 Replies
View Related
Mar 8, 2011
How do I create a program file for a new program?
View 1 Replies
View Related
Jan 15, 2010
Ok so Basically i have 2 questions
1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux
Code:
2. i need to know how to run/execute/open a file in a c++ program im using and its not working
Code:
View 4 Replies
View Related
Apr 22, 2010
I would like to know what's going on underneath the GUI, is there a tool for me to see what's going on at the command line while using the GUI?
View 3 Replies
View Related
Feb 9, 2010
Ok ill be quick. When i go from my start menu preferences, change background wallpaper, i get the message that the application for changing the background cant write somewhere and that is banned by my administrator or supervisor..... i think the path was /desktop/gnome/background/picture_options. I tryed to find it but impossible..
View 2 Replies
View Related
Apr 2, 2010
I've got no background desktop image in IceWM.I've got Ubuntu 9.10 PowerPC installed. I did a bare-bones installation of Ubuntu, and installed the latest version of IceWM.To make this work properly, I edited /etc/X11/default-display-manager to have no code whatsoever, so I just manually boot up, and type "startx." To point startx to IceWM, I edited /etc/X11/Xsession to just say "exec icewm-session"
IceWM comes up, and does stuff that I need it to, but I can't for the life of me figure out how to configure a desktop background.
View 3 Replies
View Related
May 28, 2010
I would like to run in the background the UREADAHEAD for test speedup
Some of you know a way?
View 4 Replies
View Related
Nov 10, 2010
I've been trying to find out for the last 2 hours how to make virtualbox run in the background. I've also searched google for an answer.
View 2 Replies
View Related
Jan 19, 2011
A couple weeks ago i installed Ubuntu with Gnome on my Dell inspiron 9400, on a fresh new(empty) hard drive. Went without a hitch and has worked great for a couple weeks. A couple nights ago, i opened the update manager and saw that there were a few recommended updates, i browsed through them, none looked spooky or anything so i installed them all. After rebooting, my computer now does nothing at all. I get to the log in, i type in my password and then after that, all that's there is my background picture. No status bars, no wifi connections. I can right click and get a menu, but there's nothing there of any help, just background settings. i'm trying to figure it out as i go along, finding advice in forums and stuff. but i havent seen this problem anywhere. I installed from a live iso. i'm not sure if i can put it back in and somehow undo whatever happened. I'm at a complete impasse with this.
View 3 Replies
View Related
Jun 20, 2011
AAO D255, all updates, Ununtu 11.04My desktop background and folder icons are dim in comparison to the slider and any program I open. I also notice that when I run a program that installs anything that screen dims (gets like this grey opacity I guess) after a period of time. I am plugged into the wall so the laptop is NOT running on battery.Is there some setting I need to tweak after this latest install? This did NOT occur prior to samesaid.
View 3 Replies
View Related
Mar 7, 2011
Every day I use the top command to check the processes running on my Kubuntu 10.10 system. Every day I find that apt-get is running under the root account and using 100% of the CPU. It'll run forever if I let it but I use "killall" to stop it. Pressing the "c" key in top shows the command used to start the process and doing that I see that apt-get is being started with "apt-get -qq -y update". The -qq param is for quiet mode and the -y is to answer yes to any questions. The important thing is the update parameter. It seems that some "feature" of Ubuntu is starting apt-get in update mode for me on a daily basis. I installed Kubuntu only 3 days ago and I don't recall turning this "feature" on anywhere. How can I disable this "feature" and prevent the system from auto-starting apt-get.?
View 3 Replies
View Related
Jan 19, 2010
I'm looking for better tweak my current streaming setup to my analog TV. I'm running everything from the S-Video out on my graphics card to the s-video input on my TV so in essence my computer is occupied if i'm watching something streaming from it.I have an digital converter box hooked up to my tv via coax and a upscaling dvd player to it via component video.Is there a way I could run the streaming in the background or get it so it sends a full true signal and converts it much like the digital video?
View 5 Replies
View Related