General :: How To Run A Program With GDB
May 3, 2011
I want to run a file off the Internet with GNU Debugger. So I download the tar.gz file off the Internet, and I extract it and compile it. Then in the directory of the compiled source, I type: gdb -q ./whatever.cwhere "whatever.c" is the name of the file I want to runHowever, when I do this gdb doesn't have access to the source code, so I cant do much with it. So is there any way I can make it have access to the source code
View 10 Replies
ADVERTISEMENT
May 7, 2010
I am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?
View 5 Replies
View Related
Apr 30, 2010
I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?
View 1 Replies
View Related
Mar 8, 2011
How do I create a program file for a new program?
View 1 Replies
View Related
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
Feb 23, 2011
I was wondering whether there is an inbuilt logging system in UNIX?
I ran and installation and the program opened up automatically but I can't find the program executable.
If I could find a log then I could locate this file.
View 9 Replies
View Related
Apr 15, 2011
I have problems to get it work. i have tried to use pm-utils, but it does nothing.
What is need is to kill application, when pc is going into suspend to ram and run that application again on wake. It's a graphical application.
View 1 Replies
View Related
Dec 14, 2009
Is there anything like burning rom from nero or roxio cd/dvd copier. Do you know of any dvd copying program? like without making the image and then burning with just one process just copy the disc sorta program like roxio dvd copier? I wanted to make copies of movies I made a dvd of but aside from image burn which is a hassle to make the image first. is there something for burning on the fly or dvd/cd copying? infrarecorder and cdburnerxp do not work for me at all.
View 3 Replies
View Related
Aug 29, 2010
Does anyone know if there is a program that behaves the same as Microsoft's OneNote program for linux?
View 3 Replies
View Related
Jun 23, 2011
i am running ubuntu 10.04. I am looking for a converting program and I also need a DVD making program. I'm unsure if one comes preinstalled already.
View 4 Replies
View Related
Apr 8, 2011
i want to integrate audio library with android driver by using ALSA plug-in And now, i try to compile ".so" code from library that I'd downloaded from web-site. what program can i use to compile .so file
View 3 Replies
View Related
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
Feb 28, 2010
1) In one of the pages about the differences between Linux and Windows it mentioned that new drivers mans updating the kernal. In windows something like this would erase everything. Can the kernal be updated without losing everything? 2) Can you have more than 1 account on mint? (ex: Owner, Billy, Guest...)2.2) ...Can the accounts have different access levels? (ex: Admin vs user)2.3) ...Is it possible for one account to run a program the others don't? (ex: Billy's account will load a video enhancer program on start up, but as I don't watch as many videos my account won't.)
3) How can I tell which themes/add ons will and will not work on my Firefox once I have switched to Mint?4) One of the games that I would like to follow me on the transition does not work in Linux but supposedly works in WINE according to the manufacturer. Would WINE or something like it be available in Mint?5) How hard is it to make your own theme in Mint? I'm very attached to a theme I have used for over a decade now and reproduce it in every computer I use. Can icons from windows be imported? About the computer:This will be a home computer in a multi-user household. It will be a brand new build starting from scratch with a few old personal files (videos, pictures, music, ect) making the leap. The computer is mostly used for internet, music/movies, light office work, art (GIMP!), and some games (most of which can run on Linux).
View 5 Replies
View Related
Dec 13, 2010
I would like to get the the current application "focus". On my Ubuntu desktop, I can use the following in my c program to get the focus:
applicationName[128];
memset(applicationName, 127, 0);
system("xprop -id `xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)" | awk '{print $5}'` | grep "WM_CLASS(STRING)" > test");
[Code]....
I have a system daemon that I would like to get the application focus from.
This works fine on my my Ubuntu 10.0.4 LTS, 2.6.32-26-generic desktop, but doesn't work on my Ubuntu 10.0.4 LTS, 2.6.31-22-generic laptop. If I restart my daemons by hand on the laptop - it's all good. For some reason my laptop won't boot 2.6.32-26.
View 2 Replies
View Related
Jan 27, 2011
i have a program called teamviewer and i want to get it to start if it stops in terminal is i type teamviewer it starts the program but my script is not working
#!/bin/sh
#Script to check if the teamviewer are running.
#Script is written by joesto1
process=`ps auxwww | grep teamviewer | grep -v grep | awk '{print $1}'`
if [ -z "$process" ]; then
[Code]....
View 9 Replies
View Related
Jan 19, 2010
I should know how to do this, but. Using Ubuntu Jaunty. I have tried using dpkg --purge no joy
Code:
View 9 Replies
View Related
Oct 13, 2010
I installed ubuntu 10.04.1 in my computerand it did not run
View 6 Replies
View Related
Mar 22, 2011
i need a program in c that forks parent and child process...first parent process sends a message with its id...then child process replies to parent and has to print its id like "My id is"and its parent id like "my parent id is"...
View 1 Replies
View Related
Oct 1, 2010
i am developping a tool for freeing up unused ram in linux ubuntu. i am finding something through which i would be able to access the ram of my pc using my c program. is there any system call available? or i have to do programming at kernel level? (i mean do i have to compile the whole kernel?)
View 2 Replies
View Related
Feb 18, 2011
tcl and information on how to run the program. I have installed it under ubuntu but cannot find any reference to it.
View 1 Replies
View Related
Apr 15, 2010
Shouldn't a virtual Windows running on linux allow that in theory?
View 1 Replies
View Related
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
Aug 29, 2010
In computer I have 2 sound devices.
When I run some program (let's say Skype) I can (using "pavucontrol" -> "PulseAudio Volume Control") setup so that this application will use given device for playback or recording.
But - in the Playback/Recording tabs application is visible only if it is currently doing something (playback or recording).
How can I set device per application, but before the application starts recording or playing sounds?
View 2 Replies
View Related
Oct 4, 2010
how to do Lempel-Ziv-Welch compression using pen and paper for my algorithms and data structures class. Unfortunately we have only a couple of examples in our book of how it is done. I'd like to practice compressing and decompressing text using it, but I need to find a way to check if I'm right doing it right or wrong.
So I'm looking for some preferably free/open source program which can compress and decompress LZW for Windows or GNU/Linux. Programs without binary distributions are fine too.
View 2 Replies
View Related
May 2, 2011
I am trying to run open a GUI program on a remote Ubuntu machine using ssh.
I want to open, lets say firefox or skype, on a machine I have connected to via ssh.
But when writing logging in with user2 and writing sudo -u user1 firefox I get an error message saying no display specified.
The machine is turned on and logged in with user1, it just appears that i cant get ubuntu to recognize that there is a GUI available.
View 1 Replies
View Related
May 20, 2011
On Unix I can call certain programs from everywhere, like sort, pwd or my_custom_script.sh. How can I find out, where on the system my_custom_script.sh really resides?
View 2 Replies
View Related
May 25, 2011
How can I see a description of a program or read its man pages before doing apt-get install program?
View 2 Replies
View Related
Jul 22, 2011
I have downloaded DavMail and its currently living and running from my /home/user/Downloads/DavMail
in this folder is
davmail.jar
davmail.log
davmail.sh
Lib/
[Code]....
I need to put davmail in a better location than downloads but am unsure where to put it, Im guessing if I seperate some of the files/folders such as lib ill have to modify the davmail.sh file.
wheres the best location to keep this or should it remain in my home folder, I was going to put this in
/usr/local/bin
/usr/local/lib
But the jar count as a binary? the .sh certainly wouldnt.
View 2 Replies
View Related
Aug 6, 2011
I want to know the procedure of installation and uninstallation on Linux?
Are there any log file that logs these procedure?
For example, I am installing Netbeans IDE on Linux. I want to know where are the files of this IDE? I want to know where the folder is that contain programs that installed on Linux.
For example, if you install Netbeans IDE, then you can see somethink like below on a file :
View 3 Replies
View Related
Aug 27, 2011
I am seeing cores dumped in a particular directory continuously. I am sure there must a script that's continuously starting a process which is core-dumping and dying. But, how can I find which process is it?
View 2 Replies
View Related