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.
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 firstname.lastname@example.org'Nothing happens when I log in, and I've checked that the command works.
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?
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?
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
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.
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...
...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.
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.
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.
while  ; 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?
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.
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.
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:
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?
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:
I know 10.4 is not final but I am running it and loving it. I am trying to have synergyc start and be working at the logon box of ubuntu 10.4. I can get it to autostart after the user is logged in. But I want it to be working before the user is logged in. how I can do this with 10.4
When I launch terminal it tries to run bash first.I get the following messages in the terminal window..bash: /home/myfolder/appfolder/setup.sh:sion Deniedmyname@computername:~$This started after I installed an application from within appfolder.How can I remove/stop this bash from executing when I launch
I have a VPS with Ubuntu 10.04 and acces to it via putty. Besides postgres database there should be running two java program which I wrote. It works fine from command line. But I need them to start automatically at boot time.
I am coming from Kubuntu 10.10, which is a Debian based OS. I am used to going into the terminal and typing sudo apt-get install or sudo apt-get remove to install and remove programs. I know it is the hard way to do it, but I find it gave me more flexibility. So how do I do this in openSUSE 11.3? Or can I even install things through terminal? What is the command? I know there is YaST but I also want to learn how to use the terminal
I have it set up to start my music player (RBox) and torrent program (Transmission) when I log in. The problem is all my data is set on my 1TB external hard drive, because my internal hard drive only has 80GBs of space. When I start up the programs open but the external hasn't had time to link the file directories which messes screws up my torrents into having to verify every time and my music has to "recalibrate" as it were.
This isn't an issue when I manually open the programs after a minute or so but what my question really comes down to is... Is there a way to delay an automatic startup? Say, run application 3 minutes into boot up?
I have created a RAID 5 array using the built in Disk Utility.This is great and formatted it with ext4, and mounted it.However on reboot in Disk Utility as RAID Array is not running and under state Not running, partially assembled.I have to stop the array then restart it, then mount it before I can access what is on it.Obviously this is not very good as I often have the system shutdown at night to converse energy, and having to do this every time it boots is a pain.Could someone please explain in plain english what I need to go to get my array to start and mount on startup
I usually add torrents to transmission through my iPhone. I have Transmission watch the 'Attachments' folder in my Dropbox. I also have Transmission auto add the torrent and delete the torrent file when done. Thing is if I don't have Transmission running when I add the torrent to my dropbox folder. Transmission doesn't start up to download the torrent. Is there a script that can watch for torrent files in my Dropbox folder that I can run in Scheduled Tasks to run every 5 min or so. Also when I have it up and running and I do have auto add on. It auto adds it to transmission but then the popup dialog appears to ask if I just want to download one of the files from the torrent or all 10. Is there a way to bypass this?
I broke PulseAudio accidentally, when I was trying to fix something else. I'm not sure what I did, but PulseAudio no longer starts automatically when I log in. That means I get no sound. I can start the PulseAudio daemon manually by running:
at the command line, but I also have to go into sound preferences and select the correct hardware (Audigy 2 ZS card) instead of my motherboard's sound device (which is not connected to my speakers) to get sound back. How do I make all that happen automatically?
Why wouldnt someone just add programs to ubuntus startup instead of using a script?Im configuring deluge and to have the web ui and daemon run at boot I added them to startup and they are working fine.