Programming :: Launch Application With RS-232 Message?
May 13, 2010
am using a PC104 with Linux and i need to control it with a controller that is connected via RS-232 or USB port. I need to launch one or more application some specific message come through RS-232 port. Is that doable? If yes how? I am beginner with C++ on Linux so i don't really know specif libraries. If possible i would like to use pure C and not C++.
I downloaded the tar ball of seamonkey, copy it to Document folder, unzip it and get a folder named seamonkey. Everytime to launch it, i open the terminal windows, cd to that directory and type ./seamonkey. My question is, how to launch it from any where? Just type ./seamonkey and it will run?
I have downloaded Ubuntu within windows 7, with wubi. It shows itself as Ubuntu 10.10, though I had selected 11.04, not to worry, this is for information only. I downloaded Q Cad, a drawing programme from the Ubuntu software centre and it shows in the list but I do not know how to launch it.I will have to down load some more applications and I think I will run into this wall again. I can enter CLI through Ctrl+Alt+F1 to F7 and probably do nothing more.
I use Firestarter, seems to be a good firewall. But it is a desktop/GUI application, and it requires root access, or rather sudo in Ubuntu. Every time I launch it, I am required to type in my user (not root) password. How can I make it run automatically at startup (KDE) without prompting for a password?
Recently, for whatever reason (I am led to suspect a bad hard drive), Windows 7 failed to boot even in safe mode so I decided to just use a clear hard drive and install a far less troublesome OS, so I decided to try to use openSUSE. I used a backup laptop to download and burn the 4.7 GB release. Problem is, I haven't a clue how to get it to work. I thought just placing the burned DVD in when booting would be enough, but the BIOS keeps telling me it fails to launch from CD. Luckily, I had enough foresight to download a live CD just in case. I was able to install from the live CD, and when I checked the DVD, I was able to access all the content.
But I haven't a clue how to use it to upgrade/install all the extra software. Also, I should add I am completely new to this whole thing. While I have used Linux before, for the most part others dealt with all the administrative aspects of ensuring the system actually ran/had the needed software on it. Finally, I have one major restriction placed on this whole issue. I live out in the middle of no-where and the only internet I can get is limited to 200MB a day (I downloaded the CD/DVD elsewhere, but normally don't have a chance to do that). As such, being able to install from the DVD and not needing to download much software would be nice.
This has probably been asked about before.... I would like to start apps in desktop 2, 3 and 4. To start apps during boot, I use two different methods: The .xinitrc file in /home/dan works fine under: "Add your own lines here..." Startup Applications in Gnome | System works well as well. Here, I can enter nautilus /dir and nautilus starts up just fine in that directory. But as I mentioned, I have yet to find a way to direct the program to run in a different desktop other than #1.
I use TextMate on Mac OS X to develop. The files I need to edit are on a Linux machine, and I have the Linux filesystem mounted on my Mac OS X. Opening the files and saving them in TextMate is not a problem.What I want to do (from my Mac OS X) is be able to...SSH <linux>cd <folder>mate <filename>I want that to open up the file in TextMate on my Mac OS X (thus, shifting focus from my Terminal.app to TextMate.app). How can I achieve this effect?
I'm new here, but certainly not new to Linux. Some of you may recognise my screen handle from other forum groups. Sadly my other communities seem to be dying and this one is going strong so here I am! I'm sure there's something I'm doing incorrectly, but here's my scenario:
I have a pair of shell scripts that launch SSH sessions with different forwarded ports, and use them multiple times each day. I'd like to drag the shell script directly onto the top Ubuntu Bar where shortcuts go and be able to use it. Or, even better, put all of my frequently used shell scripts in a "drawer". I know that I used to be able to make a shortcut, and set its path to "gnome-terminal -e file://xx.sh" and the script would run in a new terminal window. When I try to do this, a terminal opens with an error dialog that reads "There was an error creating the child process for this terminal". Permissions?
I run 10.10, netbook. Fine so far. I don't manage to call an application that I added manually, though. I have created a menu item, with all subdetails, a proper command, icon, everything. And I can see it in the menu editor, and it is there, even after a reboot. But: How to launch it?? It never shows up under applications, it doesn't show up in Searches, I can't type it in. It does work fine, though, when I open a terminal and add the proper command. It then also shows in the launcher list (left column). But it can't make it 'stick' there, the right-click option does not show in this case.
how to *start* an application that I have added to the menu? Why would a menu item never show as an available application?
I don't use F-spot regularly. I don't think I've used it for a few months. But when I tried to open it recently and every time since it crashes showing the following error: F-Spot Encountered a Fatal Error
Could not read add-in description.I removed F-Spot and reinstalled in Synaptic but it didn't fix anything.
I want to download and install Ubuntu to run alongside Windows 7 in a dual boot configuration. and downloaded the Windows Installer, but when I try to launch it I get an error message which I captured and attached to this post. What's really wierd is that once the message is displayed, I can't get rid of it. Even running the Task Manager to try to close the message doesn't work. I literally have to restart the computer to get rid of the message!
Am I suppose to be downloading the Windows Installer (Wubi) to a CD first where I run it from there? If so, the instructions don't mention that. Can't I download it directly to my C: drive and then run it from there? If so, why am I getting the error message?
I installed Crossover Office Pro (full release) which I used on previous version of opensuse, but now it is installed on opensuse 11.4 64 bits. The installation is fine, but the problems begin when I try to launch the application to install windows software.
I get this output:
alienware:/opt/cxoffice/bin # ./cxinstaller Traceback (most recent call last): File "./cxinstaller", line 85, in <module> import gtk ImportError: No module named gtk
It has something to do with python I guess but I tried about every possible solution I could find on the internet but nothing works. Any idea's how to fix this error? I tried all option, but no luck so far.
I'm trying to launch CoverGloobus (a fantastic little album art and current song display) and Rhythmbox simultaneously through a BASH script. Problem is that when I attempt to run the script the first time, CoverGloobus doesn't launch, but Rhythmbox does. Here's my script as it is right now:
#! /bin/bash #Opens Rhythmbox and CoverGloobus rhythmbox && covergloobus done
I've double-checked the commands in gnome-terminal, and they're the right ones for launching the applications. Here's where it gets odd, though. The second time I run the script, CoverGloobus and Rhythmbox launch simultaneously. I've reproduced this scenario multiple times.
I have a laptop running Ubuntu hooked up to a TV via a VGA to S-Video converter with the VGA-out through an external monitor, and I am trying to find a way to set vlc or mplayer to open fullscreen in the external monitor by default. Eventually I want to be able to hit enter on a video file and have it play on the TV without any dragging to the external monitor. I have googled around a bit, checked the monitor settings options, and looked through the media player options but so far can't find anything.
How to launch a graphical application using gnome-schedule ? I got some tutorials about cron after googling . But I couldn't understand the stuff about Screen number As an example, please tell what should be typed in "Task:" to launch say, nautilus
I use ctrl + shift + s to launch synaptic in KDE. That works wonderful and it is standardized on all my systems. I want to define the same in gnome, so that it does not matter if I'm in gnome or KDE.Where can I do this?Now before you start mentioning, I am familiar with keyboard launchers like launchy or gnome do (but have to admit that I don't know that much what gnome do does in all extents), so I am not looking for a program that launches an app after typing a few letters. I want exactly that keyboard combination, everything else will not do it.
I just mention that, because it happens all the time that I see in my posts that I ask: How can I do B with Y? I don't want to use Z. (specifically asking the question) and then hear as an answer: you can do B with Z!And I am always tempted to answer: That is not what I asked, I asked something specific and got an answer that does not concern it.
I just installed Natty, its ok so far. How can I keep applications from launching full screen? I know if I resize the window below 75% or some thing like that it does not start full screen however I need the window to launch at like 85% and not full screen. This is the most frustrating thing I don't know what Canonical was thinking. I put it in if you have to however make it easy to undo..
May 2 21:18:19 squeeze x-session-manager: WARNING: Could not launch application 'user-dirs-update-gtk.desktop': Unable to start application: Failed to execute child process "xdg-user-dirs-gtk-update" (No such file or directory)
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.
I have a java program that needs to be launched with root privileges (from an account that doesn't have root privileges) from a desktop shortcut. The command would look something like this: java -jar /file/location/whatever.jar I've searched and searched and can't figure out how to do this. EDIT*** I would like it to pop up and ask for the root password before it launches the application.
Just installed my first version of Ubuntu via the internet. All attempts to install applications (devise manager)/plugins (Banshee)have failed and I'm a little dispondent as I haven't much idea what's going on yet.
I had recently reinstalled Kubuntu after breaking it for the n-th time and downloads will no longer open from the Downloads window of Firefox. Instead, it brings up a dialog with the title Launch Application and asks me which application I should open it with. This seems to happen all of the file formats I have tried; namely pdf, zip, deb, and png. This did not happen from before the reinstallation.