Programming :: Make A GUI Program From C?

Jun 30, 2010

I want to know how can I make a GUI program from a shell program I coded in C a long time ago. Can anybody point me to good tutorials?

View 4 Replies


ADVERTISEMENT

Programming :: G++ Fails Compiling New Program / Make It Possible?

Jul 16, 2009

I am trying to compile systemc. Configuration is done OK and Makefiles are created. As soon as the "make" command i issue, recursively reaches the "utils" directory, errors are produced -declaration and include errors.

The files referenced by the errors DO exist and i hava managed to give g++ "-I ${LD_INCLUDE_PATH}, ie the variable, where all header dirs are listed. Libraries and compilers for gcc3.3 and g++3.3, i believe, are installed OK. code...

View 4 Replies View Related

Programming :: Make A Program That Supports Plugins?

Aug 18, 2010

Using PyQt4, is it possible to make a program where you can separately write custom QWidget subclasses and let the user add/remove them to your main app?

View 7 Replies View Related

Programming :: Make Script That Runs Program As Another User With Pass?

Jun 7, 2010

I'm trying to do a shell script which are suppose to run a program as a specific user at system boot up. The problem is that I don't know for sure how to make the script add the users password to the prompt when it's necessary.

Basically the program would be run like this:

sudo -u extrema program_name -r /srv/program_name -d

and in this example the password is, "hidden".

How would I make this script run this program as user extrema with the password "hidden" at boot-up? I know how to put the script in the rc.X directory and so on, its more the syntax of the code.

View 4 Replies View Related

Programming :: Errors - Make Pop-up Reminders For The Simple Calendar Program?

Feb 21, 2010

First off, I'm completely new to bash scripting so forgive me if I make any egregious errors. I'm trying to make pop-up reminders for the simple calendar program when. This is what I have so far:

Code:
#!/bin/bash
# set the time format for when
#current="$(date +%I:%M %p)"
current="$(date +%-l%p)"
today=~/.when/today

[Code]....

When I run the script, gxmessage pops up and displays the correct information, but it does so for each line in "~/.when/today" that contains a time that matches the current system time (which would be three pop-ups at 10PM, according to the example). I want it to display the information only once. How can this be accomplished? Is a while loop even the right job for this?

View 8 Replies View Related

Programming :: C Program - To Make Scripts That Can Talk To Server's Parallel Port

Jun 27, 2010

I need to make some C program under linux to make some scripts that can talk to my Server's Parallel port by sending some quare signal as high or low, so what i can do ?

View 4 Replies View Related

Programming :: Make The Program Check If Either On Of The Input (either $Title Or $Author) Is Not Filled Up

Jan 11, 2010

Title : Author : Price
France : Mark : 40
Persia : John : 50

how i arranged my database. I am trying to write aprogram which does a search either using Title, Author or both.

[Code]....

but i am still unclear on how i am able to make the program check if either on of the input(either $Title or $Author) is not filled up, and if one of it is not filled up, use the other one which is filled to do a search.

View 6 Replies View Related

Programming :: Make A Program That Maintains A List Of Tags That Can Be Attached To A Set Of Files?

Jul 28, 2010

I want to make a program that maintains a list of tags that can be attached to a set of files. Store the tags in the files. The main problem is that there is no way to get a list of all the tags without reading each and every file. And also what if you have an unused tag? Have a file that contains tag "keys" and file list "values". This seems like it would be fast and effective, but what if one of the files gets renamed?

View 12 Replies View Related

General :: Make A Script To Open A Program Then Operate Within That Program?

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

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

Programming :: Makefile - Error When Run The Make Run - No Rule To Make Target - Shell.h

Sep 15, 2010

I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)

My current Makefile

Quote:

#What needs to be built to make all files and dependencies

clean:

# End of Makefile

I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.

I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop

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 :: Make An All In One Program Screen

Aug 3, 2010

Im trying to make an all in one program splash screen for ubuntu.

the idea behind this is, I have alot of staff at my store who will be using a system system for a few programs, but almost none of them have any real use of ubuntu.

What I would like to do is have them log in and instead of seeing the desktop have a splash screen pop up with the program choices they can use, all in one place.

View 3 Replies View Related

SUSE :: Make A Shortcut For Any Given Program?

Jun 24, 2010

After installing a few packages without a package manager (yast), I was wonding if there is anyway to make a shortcut (or application link or whatever its call) for any given program you install to show up automatically on all users desktops and start menus(for lack of a linux term). For example I installed firefox to a folder in the /opt directory and found that i could drag and drop the shell command to the desktop to make a shortcut, or i could create a new application link on my desktop and point it at firefox. But what If i wanted that to show up for all users somewhere by default? Is there anything like the "all users" desktion winXP or the "public user" in win7?

View 2 Replies View Related

Debian :: Make Program Run On Startup In The Graphical Env

Feb 21, 2011

I have a dedicated server which runs a game server. On that dedi, I had Debian installed, and I wanted to have graphical access to it so I installed Gnome and nxserver. I want the game server to run automatically when the server boots up and have it appear in a console window when I connect to nxserver. So I added it in the Startup list by going in System > Administration > Session.

My problem is that the program doesn't start when the system boots up, but only when I connect to nxserver. So I assume it is something like gnome not starting up or opening a session until I open one remotely or something such.

But is there anyway to have that game server start in a console window when the system starts up? I tried using init.d but the problem is that it doesn't open any window, and I need to interact with the server through the console. What can I do?

View 5 Replies View Related

General :: Ubuntu - Make A Program Available On All Desktops?

Aug 3, 2010

In Ubuntu 10.04 running Gnome I can right click on any window and it gives me an option to show that window on all desktops, so even if I switch to a different virtual desktop, that window will always show.Is there a command in terminal that can do this?

View 1 Replies View Related

Ubuntu :: Make Rhythmbox Appear On Program Load?

Jul 12, 2010

I'm wondering if anyone can tell me how to make rhythmbox appear when I load it? At the moment it just puts an icon in my notification tray. However, I just want it to appear so I can choose music! Does anyone know how I can just make rhythmbox appear on screen when I start it up?On a related note, does anyone know why rhythmbox has this odd behaviour? If I'm starting the music program, there's pretty much a 100% chance I want to start playing music, and I can't do that without looking at my music list in the player. So why would it not appear by default?

View 3 Replies View Related

Ubuntu :: Make A Link To A Program That Needs A Certain Path?

Aug 10, 2010

in order to play "Gish" - I need to cd .gish./gish- otherwise it won't find it's files - it need the working path, how can I put that in a sigle line in my games menu ?

View 2 Replies View Related

Ubuntu :: Make Shortcut To Java Program?

Sep 15, 2010

How to make a shortcut to a program?

It's a Java program started by a shell script

#!bin/sh
java -jar LinShredder.jar

It starts okay in its original folder, but when I link to it from e.g. the desktop it doesn't work.

View 9 Replies View Related

Ubuntu :: Running A Program Which Uses Make.sh File?

Sep 17, 2010

I amtrying to install a program and at the point when I am required to execute the command "make clean" and then after "make all" , I obtain the following eror message:

ndoheric@nen-laptop:/opt/WAVEFORPGM/distribute$ make clean
cd ./MyTime; make clean
make[1]: Entering directory `/opt/WAVEFORPGM/distribute/MyTime'

[code]...

View 4 Replies View Related

Ubuntu :: Make A Program The Usuable Thing?

Sep 25, 2010

I was curious if you can make a program (lets call it cplay for music). The only thing allowed during a session. I ask this because I wanted to use my laptop as a boom-box for when I have friends over and what not. But I only want them to be able to scroll through Cplay and change the song if they find something else they like. With out them being able to open anything else. I have it so all you can do in the terminal is the Cplay options and you can not end it without ending the Terminal session it self. But now I want only that to be allowed and nothing else. (if you understand what I mean).

View 3 Replies View Related

Ubuntu :: Make A Program Output To Serial?

Nov 29, 2010

I've made a LED gadget, which can light up LED patterns. It connects to serial port with RS232 protocol and receives messages which contain desired patterns. My friend wrote a python program which generates patterns and writes them to terminal. Everything is fine this far. I've made a bash script to run this program:

#!/bin/bash
python gen.py

and set it to autostart with:

chmod 755 scr.sh
mv scr.sh /etc/init.d/scr.sh
sudo update-rc.d scr.sh defaults

What I don't understand is - how do I redirect it's output to ttyS0 so that my device could catch generated data?

I've heard that in Linux every data stream can be redirected anywhere with '>>' in bash script. How do I do that? Can I, dunno, write something like this: python gen.py >> ttyS0 in shell script?

View 1 Replies View Related

Ubuntu Multimedia :: What Program To Make DVDs From Avi And Mpg

Jun 27, 2011

I just installed 11.04 and I wonder what pgm to install to make DVDs from avi and mpg files. I used to use DeVeDe but the last couple DVDs were bad.

View 7 Replies View Related

Ubuntu :: How To Make Downloaded File Into Program

Jul 1, 2011

I recently downloaded eclipse IDE and Seamonkey, which are both currently executable files, but they do not show up under 'applications' on the top panel. Is there any way for me to change this such that they can appear under 'Applications' in any of the subcategories?

View 2 Replies View Related

Ubuntu :: Make An Other Program To Play Sound

Aug 11, 2011

i've installed ubuntu studio on my old pc and it's barely working. (sorry for my language) when i put on player to play a song everything is ok but when i try to make an other program to play sound it doesnt... i saw about the jack server but i can't unterstand what am i suposed to do. the programs that succsessfully play sound are: media player, chrome, mozilla, some games.

View 6 Replies View Related

General :: Program To Make Image Of Partition

Mar 1, 2010

What is good program and that is easy to use to make a image of a linux partition

View 3 Replies View Related

General :: Make A File A Executable Program ?

Dec 21, 2009

How Do I make a file a executable program ?

View 3 Replies View Related

Debian :: Make The Program Compatible With Libcurl3-gnutls?

Jun 15, 2011

i just installed debian squeeze today and i was trying to install a program and when trying to install a .deb file and i got the error message "Error: Dependency is not satisfiable: libcurl3" when i searched the repos i found "libcurl3-gnutls" is there any real diffrence between libcurl3 and libcurl3-gnutls? and is there a way i could edit the .deb installer to change the dependancy to make the program compatible with libcurl3-gnutls?

View 8 Replies View Related

OpenSUSE :: Make A Shortcut In A Desktop That Executes A Program?

Nov 12, 2010

even though this is a simple task I always have problems to do this.I want to execute the following#!/bin/bashjava -jar JabRef-2.6.jaror in other words this is the command I use in konsole to make the application to launch.Then usully I try to create a desktop in the icon either by using a. create link to locationorb. create link to application.where I select as file the file myfile.sh that contains the two lines of code I posted above (see again below)
"#!/bin/bashjava -jar JabRef-2.6.jar"I do this file executable by using the chmod +x.Sometimes I think this works while others like now I only receive the cursor bouncing for sometime before it dissapears

View 4 Replies View Related







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