Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Linux


Advertisements:










Ubuntu :: Auto Start Programs In Terminal?


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 (Posted: September 18th, 2010)

Sponsored Links:

Related Forum Messages For Linux category:
Debian :: Auto Start Programs In Startup Time?
How to auto start programs in startup time?

Posted: 2010-09-27 08:29

View 4 Replies!   View Related
Ubuntu :: Removing Start Up Programs In Terminal?
I recently learned how to add start up programs in the terminal using the following command:

Code:
ln /usr/bin/whateverprogram ~/.kde/Autostart

This worked, but now I want to remove some start up programs using the command line. Can someone point me in the right direction to what I need to do for this?

I'm assuming that default start up programs are not links in the ~/.kde/Autostart folder because when I run:

Code:
ls -a ~/.kde/Autostart
I only find the files that I have set to start up.

Posted: March 11th, 2010

View 3 Replies!   View Related
Ubuntu :: Gnome-terminal In Startup Programs Doesn't Start At Login?
Every time I start Ubuntu, I set up an ssh session to a server. In order to automate this I made an entry in startup programs like this:/usr/bin/gnome-terminal -e '/usr/bin/ssh name@server.com'Nothing happens when I log in, and I've checked that the command works.

Posted: March 16th, 2010

View 2 Replies!   View Related
General :: Run Programs From System Terminal Without Blocking Terminal?
Right now when I start a program from a terminal I can't use that terminal instance again until I close the program.

I am a new user of linux, and I want to know if there is a way to execute a program/application from a terminal without blocking the terminal until the program ends.

Posted: Jun 19 10 at 16:52

View 3 Replies!   View Related
Ubuntu :: NBR Auto Minimizes Programs And Windows?
I'm running Ubuntu 10.4 with Gnome and installed the netbook-remix so I could log into that as its own session when I'm just doing basic stuff.I log into the NBR session and all looks good, but when I run a program or open a window, it automatically minimizes the window. I maximize it and it just re-minimizes it. What can I do to stop this?

Posted: May 16th, 2010

View 2 Replies!   View Related
Ubuntu :: How To Remove Programs Auto-installed With Xubuntu-desktop?
I am using Ubuntu Maverick and I wanted to try the xubuntu desktop environment, so I installed xubuntu-desktop package from synaptic package manager. There were many programs automatically installed with the xubuntu-desktop.After trying the xubuntu desktop, I didn't like it and removed it from synaptic package manager but it didn't remove the programs which were automatically installed with it.Is there any way to remove those programs without having to remove them one by one?

Posted: January 19th, 2011

View 3 Replies!   View Related
Fedora :: Auto Start A Program On Start Up?
I just installed TuxGuitar - very cool - and to get the sound to work I had to install Timidity++ as well. Before I start TuxGuitar I have to execute:timidity -iA -Osin a terminal window first, which is kind of a pain to do every time I run TuxGuitar.How do I get this line to execute on startup such that timidity is running when I start up? I tried adding that line to rc.local

Posted: 9th October 2009, 06:16 AM

View 13 Replies!   View Related
Fedora :: Terminal Doesn't Start \ Can Read 'starting Terminal' But After That It's Closed?
Recently I've updated from 13 to 14. However, after updated I've tried to work with my terminal and it seems doesn't works fine. I can read 'starting terminal' but after that it's closed.I've uninstalled and re-installed it through the graphical tools (gnome-terminal) but that doesn't works fine.

Posted: 12th November 2010, 05:54 PM

View 3 Replies!   View Related
Ubuntu :: Where Are Programs Download With Apt-get In Terminal
I have just installed qBittorrent with terminal with apt-get but I do not know where I can find it besides the Launcher and the panel on the top of the screen.

Posted: 4 Weeks Ago

View 9 Replies!   View Related
Ubuntu :: Run GUI Programs From Terminal Correctly?
I can't figure this out. If i run GUI program (in GNOME) from terminal. It doesn't works the same as if i run it from menus (or shortcut on desktop or panel). Or some times I run it from Alt+F2 method.

What is the difference in this methods?

For example what is the difference if i put this...

metacity --replace

...in terminal or in ALT+F2 dialog window. If I put it in terminal. GNOME doesn't work correctly. If i put it in Alt+F2 dialog window. It works as it should. With no problems.

And what is the difference if i like to run for example FireFox or gnome-control-center from terminal or select it from menus.

If i like to run from terminal. What would be right way to do it?

Because sometimes i get errors in terminal (but GUI works) sometimes after i close terminal GUI program closes to. Sometimes it doesn't. But if i run that program from menus (icons) there is no such problem. It just works. If i put & at the end of program. I can work in terminal. But still all of the above is still true.

Posted: August 3rd, 2010

View 3 Replies!   View Related
Ubuntu :: Folder Name Auto Complete In Terminal?
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?

Posted: July 27th, 2011

View 2 Replies!   View Related
Ubuntu :: Disabling Auto-login From The Terminal?
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.

Posted: March 4th, 2010

View 1 Replies!   View Related
Ubuntu :: Bash For Programs Running In Terminal?
Trying to write a script for desktop launchers that are adaptable to screen resolution. Ideally, the program should:

1. Determine screen resolution:

if "a" use xdotool options window size 1305 x 869 px and move to 135,0
if "b" use xdotool options window size 1545 x 1019 px and move to 135,0

2. Check if program running:

if no, open program, and use "a" or "b" placement options, focus window
if yes, focus window

3. Close script and leave program open (if possible).

Problems arise when trying to use the script on programs that run from and hog the terminal
(e.g. brasero, gcalctool, nautilus)

Here the script will load the program, and nothing else (probably because it still occupies the terminal as it runs)

Code:

gcalctool && xdotool search "calculator" windowmove 135 0

This next command will cause the program to load, move, but it keeps focusing itself like xdotool is running the windowmove function constantly - it keeps focusing itself until script stopped.

Code:

gcalctool & xdotool search "calculator" windowmove 135 0

This had the same effect as the above code, but seems to work as a conditional subscript running when the process is running in the terminal - it just goes infinitely.

Code:

while [1] ; do xdotool search "calculator" windowmove 135 0 done exit

Is there some kind of "if, then" or "while, do" or some kind of conditional I can put in to the script ensure the window is moved only once if the program is running within the terminal? Is there a way to remove the program from the terminal from the script once it's been called?

Posted: August 9th, 2011

View 5 Replies!   View Related
Ubuntu Installation :: Install Programs And Use Them By Using The Terminal?
How can i install programs using the terminal and how can i use programs by using the terminal?

Posted: June 25th, 2011

View 3 Replies!   View Related
Ubuntu :: Compiling And Running Some C++ Programs (with G++ From The Terminal)?
so i've just been sitting here, compiling and running some c++ programs (with g++ from the terminal), I looked away for one minute to open a file that had just been written out (opened it with gedit if that makes a difference), now my terminal says:kbuildsyscoca4 running...so I'm wondering if anyone knows what this is about?hy it suddenly started running and why it has appeared on my terminal. I'm basically just curious as I though bash shells were entirely separate virtualizations of shells, and unrepresentative of other processes. i'm also wondering what kbuildsyscoca4 is/does (i've got gnome going on and generally gnome varieties of programs). I found a post from about a year ago mentioning the same thing, though no replies.

Posted: June 7th, 2011

View 1 Replies!   View Related
Ubuntu :: Terminal: Run Programs As Separate Process?
I want to run programs from Terminal as a separate process, so that for example gedit file

will launch gedit and return to the terminal prompt (so no need to open up another terminal).

Posted: July 11th, 2011

View 8 Replies!   View Related
Ubuntu :: Finding Names Of Programs To Use In Terminal?
I would like to know how to find out the name of programs so that I could launch them in Terminal. For example, to launch gimp, I just type

Code:gimp and it launches. Well how do I find out other names to other programs?

Posted: October 30th, 2010

View 2 Replies!   View Related
Red Hat / Fedora :: Start SCRIPT Command At START Of TERMINAL?
I want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ?

MY WORK TILL NOW: I have put this "script" command in the .profile.The when I start the terminal, it became an INFINITE LOOP.I am able to "echo".Thats coming only once.....but if I write a "script" command then it is becoming an INFINITE LOOP.

Posted: 02-15-2009

View 1 Replies!   View Related
Ubuntu :: Auto Run Terminal Script When Screen Unlocks?
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

Posted: June 29th, 2011

View 2 Replies!   View Related
Ubuntu :: Prevent Application In Terminal From Auto Closing
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.

Posted: January 15th, 2011

View 2 Replies!   View Related
Ubuntu :: Some Programs Won't Start
I regularly run into the problem that some of my programs won't start and I found out many months ago that running "rm /var/cache/apt/*.bin"

Posted: January 4th, 2011

View 1 Replies!   View Related
Fedora :: Installing The Programs With Terminal?
Installing the programs with terminal?

Posted: 23rd July 2010, 02:46 AM

View 6 Replies!   View Related
Fedora :: Can Install Programs Other Than Using The Terminal
How can we install programs other than using the terminal. To be honest, I liked this system and I got used to it, but the problem is someone who wants to use Fedora but has no idea on how to use the terminal, so is there any other way for installing programs?

Posted: 21st October 2009, 11:17 AM

View 8 Replies!   View Related
Ubuntu :: Auto Run Script At GDM Start
I'm on Natty, but this was a problem for me on Maverick as well. Since my mouse is way too fast in Ubuntu even on the slowest settings (a topic for another discussion), I run a shell script at startup to fix this. Of course, the script is only run when I log into my account. Is there a way to have this script run at system start so that it affects all users? I already tried copying my fixmouse.sh script to /usr/share/gdm/autostart/ to no avail. If it's germane to the discussion, here are the contents of fixmouse.h:

Code:
#!/bin/sh
xinput --set-prop 10 "Device Accel Constant Deceleration" 2
xinput --set-prop 10 "Device Accel Velocity Scaling" 1

Posted: April 30th, 2011

View 1 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved