Ubuntu :: Is It Possible To Write Script For Opening Multiple Programs?
Jan 27, 2010
I'm wondering if it's possible to write some sort of script so I can have an icon on the desktop which opens a combination of programs I use together frequently.Specifically, I would like to have an icon called "keyboard practice" which does the following:
1) Open QJackCtrl and "click" on Start;
2) Open the Hexter softsynth and make the Jack connections between it and my speakers;
3) Make the Jack MIDI connection between my MIDI keyboard and Hexter.
Well I have been interested in programming for a while, and just found out about Linux and Unix. I started out with Java, but now I know I bunch: Flash, C++, C and others. I was working on a mac so I made a few flash games then started to work on iPhone games. I was board one day and I found out about Unix and I thought that would be something else to try.So in an attempt to learn about Unix I have been reading different articles about it, and have heard of using different languages in one program. The article I was reading didn't give any examples, and it assumed the reader has programmed Unix before.
So how do you write programs in multiple languages, which languages would you use, and why would you want to do that?
was a regular windows user for ~10 years now, but my current pc wasnt installing windows for some reason so i switched to linux to try it out. I've been trying to run a few small games here and there to keep me entertained, and wine just isnt agreeing with me ... Any program i try to open with wine, it says "opening _____________" in the taskbar, and then NOTHING HAPPENS! This is really irritating me, becuase if i got an error message i could try to figure out whats wrong, but when NOTHING AT ALL happens
how to make a program open in a window, much like the -w command you can put in a launcher under gnome. Alternatively if someone could guide me on how to install gnome in lubuntu i could just give that a try too..
Well title say it all how do you disable the screen programs opening text in 11.04 so you do not have to hit the enter key twice to get by the two pages of text to actually be running the program you started.
How do you open a program, in this instance "Zenmap", from the desktop in a user account when it requires root privileges? Is there a way to be prompted for the password, the same way, for instance, you're prompted when mounting a new file system or making a change to the system? I tried entering 'sudo /usr/bin/zenmap' when creating the shortcut, however that didn't work.
I would really like to stop Konqueror opening up links from Skype and other programs. It's becoming annoying because I have Chrome set to be the default browser, but for some reason when I click on a link it opens in Konqueror.
I am fairly new to Ubuntu and was wondering if anybody knows of a way to open up a number of programs and placing them in specific spots programmatically. Basically, I'm trying to avoid having to open my IDE, multiple terminal windows, browsers, etc... and then having to place them all in the exact position I want when my machine boots up. Ideally, I could say:Program A, is placed on Monitor 1, workspace 1, at position 0, 0, with height and width 600 x 400. Program B, is placed on Monitor 2, workspace 2, at position 600, 500, with height and width 1000 x 600
Some windows programs won't run after I have installed them with Wine. They either won't run or they make the screen go to a black painting screen (screen goes black and you can paint over it with your mouse to make the desktop reappear). I have tried changing the windows version and made no difference. I have even tried opening it in a virtual window and made no difference (Window opens then closes)
When I turn on my computer I am greeted by an unending stream of "Starting File Managers" appearing in the programs list. This cannot be stopped, though none of the file managers actually open. They just sit there filling up my programs bar and wasting my cpu slowing down computer. It also means I cant upon my own folders, or see what programs I have open.If I run terminal, type xkill and click on one of the buttons in the programs list, that kills them all, and I can see my programs again for a bit, until it fills up again. The panel disappears and appears again, with all the spawning messages gone and any other programs I have open remain there. Its just the randomly spawned "Starting File Managers" that don't come back.
My CPU fluctuates. Its around 60% to 90% load, when it should be idle, but is instead opening all these windows.When I view the processes the most CPU intensive (when I sort) is Gnome System Monitor at 6% and then Gnome panel at 5%,gconfd-2 is as around 2%, compiz.real, dbus-deamon hover around 1%. And everything else is generally at 0%.So somewhere, a hidden process is using about 70% of my CPU load. Which isn't shown in system-monitor. Maybe because its an admin process and I can only see simple user processes. I dunno.There is something else though. I have a process with no name appearing, its blank. And it keeps disappearing and re-appearing. So you can hardly select it hard enough to kill it. I managed to kill it once and it said error, process (large number, 10,000 or 100,000) does not exist. So can't be killed.When I do an xkill the console writes:
Code: anthony@Anthony-Acer:~$ xkill Select the window whose client you wish to kill with button 1....
I use Mathematica 7.0 through my school's SSH server. This involves:
-loading their font server via "xset fp+ tcp/c1.ucalgary.ca:7100"
-connecting to the SSH server via "ssh -X useruser@servername.ca"
-entering my password Then I choose to run Mathematica via ". use mathematica 7" then to load the GUI "mathematica".
Sometimes, and only sometimes, the screen goes to the error in the attached picture, stays there for about 5 seconds, brings me to the login screen. When I log in again, all of my applications that were running, open folders, and my terminal windows are closed.
i have debian Sid, for past 1 to 1.5 months, i have observed that it has become very slow, in loading programs, opening documents etc. Where should I start looking?Info:-System :- HP DV5 1215Tx Laptop, 2.1 ghz c2d , 500gb WD 5000 bevt harddisk, Nvidia 9600 GT, 2 gig ram .kernel version 2.6.32-4-686Drivers : I use NVIDIA drivers, version 190.53.Network:- I use wired DSL WIFI available but Not in use, nor is bluetooth etc.System is not connected to any other network .Use :- internet, music, movies.Display manager :- KDE 4.3.4Desktop effects :-None, Disabled.My question is , where and how should I start looking?PS I am a linux user for quite a long while.It has been my Only OS for about 4~5 years.But for last 1/2 years because of my studies, i have been out of 'touch' with its commands etc,but willing to dive back in and to stuff on my own, looking for direction here.
I'm using Ubuntu 9.10. The problem is that very often, when I move the mouse without clicking any button, a lot of multiple windows (trash, add to panel, or other applications) are suddenly opened.
Im having a problem with firefox. I left firefox running overnight yesterday only to wake up to a totally unresponsive karmic. Everything was frozen and i couldn't get anything to run. I restarted the ubuntu and everything seemed to be ok until I tried to open firefox. Almost immediatly the first window opened it was followed by what looked like fifty more. It kept opening windows until ubuntu crashed. I restarted karmic again and did a couple of google searches using opera and found out that it might be a adware problem. I have thought of getting rid of my cookies but i do not know whether that will help.
I would like to open multiple applications with one keyboard shortcut but don't get it running. When I add (open "System" > "Preference" > "Keyboard Shortcuts"; clicked "Add" ) a new shortcut and enter many commands in the "Command" field e.g. "gnome-terminal & xeyes" only the first application is started. I also tried to set up a shell script that contains the application calls and then use "gnome-terminal -x "sh /path/to/the/script.sh" but then I get the error message "There was an error creating the child process for this terminal".
I installed ubuntu on a spare computer that i have and i need to write some simple programs in C. Only problem is that i'm not sure how to do that. Do i need to install some sort of C compiler?
wants to do miniproject as part of the academic curriculum using Computer graphics on Linux using C or C++. Can any one direct me to a direction how i can proceed. I know basics of C and C++
I printed Bruce Eckel's book "Thinking in Java" and Bjarne Stroustrup's book "Programming Principles and Practice Using C++". They are just great.I installed Fedora 14 with java development features including Eclipse IDE.Now I want to be able to recreate the examples from the books and experiment over them in Eclipse.I have been working for a while with python and django merely in the terminal and gedit without Eclipse.Please, help me to get started. How can I write my Java or C++ programs as projects in Eclipse?
I was wondering about a package that can be used to write and compile/run programs in different programming languages. I was also wondering how possible it is to program in Visual Basic 2010 in openSUSE if at all.
Do you know how to write programs that use electronic signatures in JAVA (although I am not pretentious about the language in any way).
When I say e-signatures I mean those USB smart cards(security tokens) that are capable of doing encryption by themselves and store securely the private key. I am particularly interested in how authentication works with a digital signature, how to sign data, and most importantly how to check that a digital certificate is valid. What do I need to store in the Database for authentication for example -- is it the serial or the Hash?
Running Ubuntu Server 9.10.I have a couple of programs that I would like to start at boot, they will both run forever. I have created a cron job with @reboot and that will start a program, but if I have multiple programs in there it waits for the first to finish before starting the next.
I use skype ALOT, and when skype is open and I'm in a call, no other program that uses a mic will function properly.
An mmo I play on-line has built in voIP, and the voIP only functions properly when skype is closed. (it does not work at all otherwise)
Just as a reference, if I try to use kRecord while skype is open it will give me an error saying that the sound card is busy, or something to that effect.
how should I go about sharing the mic between multiple programs?
Can't seem to open certain things. For example Synaptic Package manger. It just shows "starting" etc and then nothing. Same thing with partition edd root terminal.Terminal runs fine (and i can su root from there) as do other things such as firefox,em monitor,update manager add/remove applications. apt-get still works fine. Just want to mention i have 500 megs of ram. Any ideas? Are there logs dumped somewhere for this kind of thing? Synaptic package manager still runs using dpkg from the terminal.
I'm using bioinformatics programs i run from console on my system or on the server and some of them don't have a option for use multiple cores/cpus.There's a way to force it? some programs have to run for days and use a single core...
I have 11.1 on a computer. I updated it yesterday. Now K3B, VLC, and XDVDShrink are all broken. Possibly other programs broken as well. VLC refuses to uninstall via Yast. These are high-priority programs for this computer. Multiple people use this computer for multimedia and there is not much to entertain ourselves with in our very cold climate. In other words, it is mandatory that K3B, VLC and XDVDShrink return to operational status.
Should I just upgrade to 11.3, try to fix the broken 11.1? I prefer using KDE3, not KDE4, but I can sacrifice.
I am curious of how to make a GUI interface that uses multiple programs and commands. I have found wxwidgets as the most likely candidate for making my own interface.Is this the best programming language for a beginner?
Normally when a program is open an entry is placed on the taskbar in order to easily find it, which is useful when a lot of programs are open. In Ubuntu 10.04, when I moved a program to the other monitor (I'm using 2 monitors) the taskbar entry also moves to the taskbar on that monitor.
Now I switched over to Ultimate Edition, which is Ubuntu 10.04 with a lot of stuff added to it. When I drag a program to the other monitor, the entry in the taskbar disappears, but it does not reappear in the taskbar of the other monitor. So now the only way for me to find a program on this monitor if its hidden behind other windows is to use alt-tab.