Programming :: How To Start Program

Dec 20, 2010

I want to make alarm(buzzer) and Lamp(led) to work from infrared sensor output via usb.When ir sensor detect motion it will make the alarm&lamp on. Then also sending mail. Im using pic 18f2550-1/sp(usb Fsio from km2.net).But i dont know how to start the program.

View 2 Replies


ADVERTISEMENT

Programming :: Why Fork Is Executing The Program Twice From Start

May 25, 2011

I am learning about OS and I wrote this simple forking program... Here's the code..

Code:
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>

[Code].....

How can it print the first statement, that is BEFORE the fork() statement twice?

I am running Natty 11.04 btw..

View 8 Replies View Related

Applications :: Getting Ready To Start Programming / What's Good Program To Use

Jan 20, 2010

I was wanting to know what's a good programming suite that is comparable to MS Visual C++. I'm also curious about the portability of something I make in Linux, can I make a program in Linux and import it over to Windows, and what would be involved in making it compatible?

View 3 Replies View Related

Fedora :: Auto Start A Program On Start Up?

Oct 9, 2009

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

View 13 Replies View Related

Programming :: Program A SH - Bash Program With Zenity To Play Radio Based On A Site?

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

Programming :: Open Or Run A File/program Through A C++ Program

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

Ubuntu :: Program Irxevent Start Automatic When The System Start Irxevent On Startup?

May 27, 2010

I install lirc and want to prgram irxevent start automatic when the system start

Code:
System->Preferences->Startup Applications
Add an item,but that not works every time,means sometimes cannot work.

View 2 Replies View Related

Software :: Start Amavis: /etc/init.d/amavis Start Returned 7 'program Not Running'

Feb 26, 2011

I'm currently running SUSE 11.1 and trying to start Amavis so I can use Kmail. I have just run the latest updates via Yast. I'm getting the following when I try to start Amavis: /etc/init.d/amavis start returned 7 (program is not running):

View 1 Replies View Related

Programming :: Build A Simple Program For C Programming Class?

Feb 12, 2011

im trying to build a simple program for my C programming class, this is the source code

#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;

[Code]...

i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?

View 5 Replies View Related

Ubuntu :: Start A Program Via Ssh?

Feb 21, 2011

Is there a way to start a program via ssh?I have a SSH app on my android phone and would like to start VLC from my phone. Neither the command "VLC", "nohup VLC" or "VLC &" seem to do the trick.

View 4 Replies View Related

OpenSUSE :: Way To Set Program To Start On Boot?

Jun 29, 2011

I know there's a bunch of ways to start a program on boot, but I'm wondering if there's pluses/minuses to the ways and what they are.My req's:1. I want it to be started as the user I log in as (NOT root)

View 4 Replies View Related

General :: Start A Program After X Has Started?

Jun 8, 2010

there's a little app called F.Lux that sets your screen temperature based on the time of day. The Linux version is a little spartan with just a console interface but it works perfectly well. The question I have is where can I invoke it so that it starts up after X has started?

View 4 Replies View Related

Ubuntu :: How To Start A Program From The Menu

Oct 19, 2010

I have downloaded the linux version of Rise of the Triad and I'm able to start this program if I double click it (Files.png) but I want an entry in the menu so that I can start it from the menu, but what's the command to start it from the menu ?I already tried ./ and sh in front of the command but it doesn't work (menu.jpg).

View 9 Replies View Related

Ubuntu :: How Program Look In Start Bar With No Icon

Aug 5, 2011

i installed elegant gnome theme in ubuntu and i delete all others themes with their icons too but when i start to use my others program usually, after i installed elegant gnome theme ..i find that Kopete program his tray icon doesn't display beside all his other icons like online offline away icons indicators ,and here is a picture about how the program look in start bar with no icon ,so how can i fix that and get icons of this program back although i didn't delete his icons and when i deleted theme and icons i delete them from "appearance preference".

View 1 Replies View Related

General :: Getting Program To Start Up Automatically?

Jun 14, 2011

If I need certain programs such as ktorrent to start automatically on bootup, how do I do it?

View 1 Replies View Related

Debian :: Start Mono Program At Boot?

May 19, 2011

I've got a relatively simple question. I'm trying to start a program that must be run with mono when my system boots. It's a webserver (McMyAdmin if that helps) so I'd also like to start it as a specific user

View 6 Replies View Related

Fedora :: Start Program Without Root Password

Apr 12, 2011

I have a couple of encrypted external hard drives that I have to mount with realcrypt.The thing is, to start realcrypt I always need to put in my root password, which is kind of a drag.I have combed the internet for information and the most sensible solutions always pointed to do a visudo edit.There were a few things I tried, but none of them seem to work.This is the last iteration - I put in all realcrypt files i could find, which I suppose shouldn't be necessary but desperate times call for desperate measures, right?

View 4 Replies View Related

OpenSUSE :: Start A Program At Boot Time?

Jul 2, 2010

I do this every time.

Code:
ifup dsl0
How can i set this to start at boot time?

View 9 Replies View Related

Ubuntu :: Command To Start Program In Terminal?

May 19, 2010

What command can I use to start a program in the terminal? What command is appropriate for applying patches to that or other programs? What command is appropriate to applying a 3.5 version patch to the 3.0 version of firefox. What are some useful commands for the terminal?

View 9 Replies View Related

Ubuntu :: Start A Program After Found All Drives?

Jul 12, 2010

It's a long story, but on my tri-boot (Ubuntu 8.04, Win 7, Win XP), both Win 7 and Win XP need to know that Linux has previously run. I've therefore written a little program in REALbasic that automatically creates a text file named linuxran.txt and puts it into the root folder of the partition where Windows XP is installed. Under Ubuntu, this location is known as "/media/Win XP". It's an 80 gig partition of a 1 TB drive, the same disk that Win 7 is installed on. In my partition app under Win 7, I labeled the partition "Win XP."

The good news: When Ubuntu is completely up and running, the program runs fine. It checks if the file already exists, and if it does not, it creates it. So in Ubuntu, under System ==> Preferences ==> Sessions ==> Startup Programs, I put my little program, figuring it would run just fine. The bad news: Unfortunately, it didn't. It's trying to start before Ubuntu has mounted the "/media/Win XP" drive/partition.

Possible solutions: 1. If I could somehow set my program to run after I know the other drive has loaded, I would be all right. I know the prog is fine once the drive is loaded, because it does what it's supposed to when I run it. Is there some way to put my app in the startup process after Ubuntu has mounted all the drives? 2. Put some code in my app to make Ubuntu mount that drive before the rest of the prog runs. Not sure if this one is practical. 3. Set the program to run, not when Ubuntu first starts up, but rather, right before it shuts down.

I like option #3 the best because it would require no re-coding. Ubuntu would have had plenty of time to mount all the drives. Is there some way to tell Ubuntu, "whenever you're told to shut down, always run this little program first?"

View 3 Replies View Related

Ubuntu :: Program To Start From The Drop Down Menu?

Nov 11, 2010

When clicking on a program to start from the drop down menu (latest example being Quadrapassel) the program starts but then the tab at the bottom of the screen disappears and the program doesn't load.

View 4 Replies View Related

SUSE :: Schedule Hibernate And Program Start?

Oct 17, 2010

I'm trying to make an old Dell Latitude D505 running OpenSuse 11.3 LXDE download torrents at night between 2 and 6 AM (when I have free bandwidth), but I'm failing at a couple very basic things. The solution is probably very simple, but I can't find it.First: How can I schedule Transmission to start every day at 2AM? I tried with Crontab (using VCron), but I think I'm using the wrong command. When I type "transmission" in a terminal it launches transmission, but when I make a crontab entry with "transmission", nothing happens. Do I need to type the full path to the transmission executable? If so, how can I find that? Or is the problem more likely to have something to do with permissions?Second: Is it possible to schedule hibernation? If so, what command should I use?

View 4 Replies View Related

General :: How To Start A Program In Back Ground

Jul 28, 2011

I've tried searching it and everything I've seen posted on different sites didn't work.i have my program set up in vi.it runs the way it is supposed too but i need it to start in the back ground the program runs fine when running it in the fore ground but i need it to start up and run in the background.

View 3 Replies View Related

Slackware :: Start Program When Fluxbox Starts?

Apr 25, 2010

I use NetworkManager to handle my net connections and it's applet that allows me to control everything from the gui is called nm-applet. I was able to edit /etc/X11/xinit/xinitrc.fluxbox so that nm-applet starts when fluxbox does and away I go. From runlevel 3 that is.

On my laptop I like to boot into runlevel 4 for various reasons. When I start a fluxbox session from runlevel 4 this doesn't happen. What file do I have to edit to get this to start from runlevel 4?

View 13 Replies View Related

Programming :: Unix Programming - Single Process That Does Not Start Up Any Other Threads

Sep 28, 2010

i want a process that can operate as both a TCP echo server and a UDP echo server. The process can provide service to many clients at the same time, but involves a single process that does not start up any other threads.

View 3 Replies View Related

Debian Configuration :: Aptitude-gtk - How To Install And Start The Program

Mar 4, 2011

I have downloaded the package but i dont know how to install and start the program.

View 10 Replies View Related

Ubuntu :: Make A Program Start On Boot, But Not Under Root?

Jul 7, 2010

I need to make my website autostart after reboot. I may just add it to rc.local but i don't want it to start under root

View 1 Replies View Related

Ubuntu :: When Try To Start That Program; Asked For Administrator Password?

Sep 1, 2010

There where some updates for 10.04.1 yesterday, after I installed them, a few hours later I restarted my machine as new headers and kernel files where downloaded.So this morning, when I come in, I wanted to check my software sources as I saw something a little odd yesterday.When I try to start that program; I am asked for my administrator password. Not the password I use for administrative tasks; which is what I am generally asked for.Anyone else seeing this? And if so, what happened. The admin account I have setup is My account, I am the only person on the machine. In the past I have entered my password and carried on; not this morning. Not sure what is happening; but I have not setup an actual admin account / password.

View 4 Replies View Related

Ubuntu :: Start Program Minimized - Startup Applications?

Sep 12, 2010

I'm putting a program in my startup applications that is completely GUI, with no command line options. The program is Calibre, if anybody is curious. Is there any way to start this program minimized? Gnome, Lucid, x64

View 1 Replies View Related

Ubuntu :: Stop/start A Program When Notebook Goes Battery/ac?

Oct 23, 2010

I need to stop a program when notebook goes on battery and start it when using AC. I'm using 10.10 netbook edition.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved