Ubuntu :: Application Start On Boot With Terminal?
Jul 12, 2010
How would one go about making an application start up on boot with terminal? I have a VPS that is ubuntu 8.04, and have command line access. I already compiled the application.
I have a binary application that runs only in shell, now I want to open it from another application(Mathematica program) but simply invoking it will start it in memory but not in a shell.
I tryed "bash app" which does not work and "gnome-terminal app" just opens the terminal without launching that application.
Ps: Its the same thing as in Java when you want to invoke a system command like ping but you need to do it like this .exec("cmd ping") instead of just ping.
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 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.
1) What is the easiest way to find an applications name so that I can run it in terminal rather than from the apps menu? I have installed programs before and tried to run them using the terminal and couldnt for not knowing the name to put in terminal 2) Does Clam AV automatically update when update manager is run? I sometimes get an "update failed" message when I try to run it from the GUI.
I just ran "mysqld" manually in the terminal, but now I can't quit it and go back to bash. I've tried CTRL+C and typing "reset", but neither do anything. Anything I type is just ignored. I've had this numerous times in the past with various operating systems and in various scenario's, hence why I'm seeking the solution. Is there some universal hotkey to quit the currently running application or something? I guess I'm looking for a way to send SIGQUIT, SIGTERM or possibly even a EOF signal?
I do a lot of torrenting on my xubuntu box, and ever since my introduction to computers, I have become attracted to the command-line way of doing things. My default editor is vi, my default torrent programme is rtorrent, my default gopher client is lynx... you get the idea. My web browsing, and sometimes also my file browsing, however, is always in graphical mode.
As you know, downloading a torrent involves downloading a small file with the extension .torrent. When I clicked on this .torrent file, although I have rtorrent installed, Transmission showed up. Not to insult the Transmission guys, but compared to an ncurses-based torrent client, Transmission is just too bloated. Anyhow, I right-clicked on the file, Open With Other Application, etc.
Into the box that showed up, I typed /usr/bin/rtorrent (the path to my favourite torrent client), and clicked OK. I double-clicked on the torrent file again, and nothing. Transmission didn't show up, but neither did my terminal client. I'm sick of having to go to the Applications menu and firing up the Terminal to torrent a file. I'd like to have the Terminal open up with rtorrent as soon as I double click the file.
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.
I am quite aware that one can add a startup application to the gnome session by going to System -> Preferences -> Startup Applications (Sessions). But, is there a way to achieve the same thing via the terminal? I want to know because I am writing a simple bash script that installs all of the programs I commonly use. One such program is compiz fusion with fusion-icon.And so I want to add the fusion-icon into the gnome session with my script (strictly within the terminal).
For awhile I have had this issue with the command line and every time I try to complete any command that requires GTK graphics, It always returns the error "Error: cannot open display: 0:" The "EXPORT display" command that I normally use to fix this issue is not working. The only issue that I can think might be the cause for this could be my upgrade to natty (which was in fact a clean installation), or when I edited plymouth so that the startup and shutdown animations would match my laptop's native resolution (by the way I would also appreciate it if I could do the same with the startup animation, only the shutdown really works). If anybody know how I could resolve this issue I would greatly appreciate it. Oh and for specifics on my machine, I am using an ASUS N82 with an NVIDIA GEFORCE GT335M graphics card, running Ubuntu 11.04.
I am looking for a good and practical console application. I use midnight commander a lot, and I find it frustrating every time I press the F10 key it displays the drop menu items using the terminal. On occasions I make invisible the menu bar, by disabling in the view menu.
So I am looking for a good console application that when I use midnight commander if I press the function key buttons it doesn't display the drop down menu options.
I'm having Ubuntu Kramic Koala and i want to create a custom application launcher on the panel so when it is clicked it should open a terminal window and run the following command and then show the output for 5 secs and then closes the terminal... how can i do this?
Code: cat /proc/sys/vm/laptop_mode && sleep 5
the above command is what i want to be executed at time of running the custom application launcher. if i paste the command in a terminal, it will show the output for 5 secs and then terminates... that's almost what i want. what i exactly want is that, i want it to work like when i click on the shortcut launcher, it should open a terminal and then exectues that command, show the output for 5 sec, pause, and then exits the teriminal.
After having installed a certain programme, in my experience it can sometimes be slightly boring if you want to start the application from the terminal, but you can't figure out the right command, which to my knowledge is not always the same as the exact name of the application.
- Is there a way that I do not know to find this "start-up" command ? - Would it be convenient to include this command with the short description of the application as given in Synaptic (shown when selecting a programme in synaptic before marking it for installation etc.)
I have the open source version of Rise of the Triad for linux. If I open rott in a terminal then I go tp the directory where the file is standing and do ./rott.
Now I want to make a shortcut on my desktop and if I putt
I accidentally deleted my bin just after booting up when the bin application failed to start properly. I can still send items to trash (right clicking and select from drop down menu) but I cannot restore them, see the bin icon or drag items to the bin area. It is quite annoying and I would be very grateful for comprehensive instructions on how to restore the bin to full operational functionality.
I forgot to run a GUI process on a remote computer. I need to run the application as if I was at the computer i.e the application needs to open on the desktop on the remote computer.
I can connect to the computer through an ssh tunnel via another computer at the remote site and run non GUI based processes using Screen or bring some GUI programs to the computer I'm working from using the ssh -X option, however, this is not what I'm looking to do.
On Windows I used to use a program from sysinterns called PsExec which would let me start applications such as Word on the remote computer and I'm hoping that there is something similar on Linux.
I want to install a 64bit-only application in my wine.But every time i try to load the installer it says that it only works on a 64bit-system.Iv'e tried the 32-version of the app and it works fine.I heard that since version 1.2 wine is able to support 64bits.But how do I force wine to load an app in 64bit-mode? I'm guessing there is an option to the wine command or something. But what is it? can't find anything in the man-page. And a google on the subject only brings up old posts from people who are trying to install wine in 64bit-ubuntu...
i use uxrvt ( for those who dont know, its terminal emulator based on xterm).i know its easy to copy/paste stuff from terminal to itself is a trivial thing. it can be done by mouse left click to select and middle click to paste.but in my case i need to copy text from terminal to another application, viz on google chromium.
Is there a way to find out the currently installed packages and the corresponding command line to launch the package from a terminal. For example, I know that I have openoffice installed but I do not know how to find the command line to launch it.
when I call a windows application with wine I cannot type anything when the application asks for it. The typed keys are displayed in the terminal instead. I use a ubuntu-based distro.
I have Thunderbird installed and I really enjoy it as an application. I would like to set Thunderbird to start on boot. I tried to locate the binary for it in /usr/bin/ but was not able to. Has anyone done this before or does anyone know how I might go about locating the binary for it?
I just installed the miro internet tv application using yast on my openSUSE 11.2 and I cannot start it.
Running the miro application from console gives me the following output:
nuca@ionpetrache:~> miro PyNotify support disabled on your platform. 2010-05-28 13:51:55,501 INFO Starting up Miro 2010-05-28 13:51:55,502 INFO Version: 2.5.4 2010-05-28 13:51:55,508 INFO OS: Linux 2.6.31.12-0.2-desktop i686 2010-05-28 13:51:55,509 INFO Revision: ssh://wguaraldi@pcf1.pculture.org/var/git/miro - 1e20db82
I'd like to make regular backups of my flash drives, but I don't plug them in regularly. Because of this, I can't just use a scheduled backup application to back them up. Does anyone know of an incremental backup application that will automatically run backups on media as soon as it's mounted?
I am new to this debian plotform. How can I add my app to init.d linkup.
I did my programe for I2C Bit banging method and got output on Beaglebone black rev.C hardware.
I want to run my code after booting of beaglebone with out connecting to laptop or login process.
I want just powerup,then run my programe default.
/***************************Extra Information************* #etc/inittab file # The default runlevel. id:2:initdefault: # Boot-time system configuration/initialization script. # This is run first except when booting in emergency (-b) mode. si::sysinit:/etc/init.d/rcS