Programming :: Make Command For An Application?

Jul 21, 2010

i have made a small program to find the md5 checksum of a string.i am using xshell to compile the program.

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

[Code]...

View 4 Replies


ADVERTISEMENT

General :: Building Application In Shell Using Make Command

May 26, 2011

Consider that I am building my application in Linux shell using make command but somehow the build fails. Is there any way I can find out that the build has failed (of course looking at shell for error messages will do the job for me but I don't want that). Is there any flag make or shell will set/reset if such failure occurs ?

View 5 Replies View Related

Programming :: Possible To Make Application Module Similar To LKM?

Feb 8, 2011

Is it possible to create a loadable module for a C app that could be loaded into the app in runtime from a CLI or web interface?I would like the code to handle a particular type of structure to be "swappable" for lack of a better term. This would allow different modules to be used based on the users wants without having to mess with code. A different module could be downloaded into the application directory then loaded. Basicaly the code would be handed a pointer process it then return it.

View 2 Replies View Related

Programming :: Real Time Application - Make Sound Equalization

Nov 28, 2009

An application that can make sound equalization but I couldn't find any powerful tool so I decided to do one my self I know it will be very hard task but their is no other solution my program will do some audio effects like (echo, repeat, trible, bass, filtering, fading,...)and (fft,addition,....), I will take the signal from the mic and put it on the speaker after my operation is done I think I must take into consideration that application is a real time but i don't know what to do! i don't know should I use java or C/C++! I don't know how to deal with the audio driver (take signal from mic and put it on the speaker)

View 10 Replies View Related

Programming :: Make A Java Application In Netbeans 6.9.1 - V4L4J - Import The Libaries

Oct 27, 2010

I'm trying to make a java application in netbeans 6.9.1 (ubuntu 10.10) and I need to use the webcam on the system. Now I found this project: [URL] I am able to run the program and see the vid imput from the webcam using: "java -cp /usr/share/java/v4l4j.jar -Djava.library.path=/usr/lib/jni au.edu.jcu.v4l4j.examples.DeviceChooser" The problem is how to import the libaries into netbeans, there is an explanation on the site how to do it with eclipse but I don't have any experience with ecplipse and judging from what people have to say about how it works I don't want that either. I get the following error as output:

[Code]...

View 3 Replies View Related

Programming :: Passing Command-line Arguments To Qglviewer Application?

Jul 13, 2009

how to use QGLviewer. I want to give my program a file name as a command line argument. All of the sample programs I find have a main.cpp file like this:

Quote:

#include <QApplication>
#include "window.h"
int main(int argc, char *argv[])

[code]....

Then the Window class, which is derived from QGLViewer, does all the program's actual work. If I want access to argc and argv, for example, to open and read a file that's passed as an argument, what would handle that? Is there a built-in way to get the arg variables to the window class, or do I need to just write a loadfile function and pass them?

View 1 Replies View Related

Programming :: Make Trash For Rm Command

May 14, 2011

I go to make trash for "rm" command ...

I use this Options :

1) Edit /home/$USER/.bashrc

Code:

2)restart terminal and test this :

Code:

Now my problem is for some file .

for example . i make this file :

Code:

View 13 Replies View Related

Ubuntu :: Make An Application Launcher In The Panel Launch More Than One Application?

Mar 16, 2010

How do I make an application launcher in the panel launch more than one application? Is there some sort of a symbol I type between the apps in the command line? Like ;

View 1 Replies View Related

Programming :: Write A Command Line Script To Make Symbolic Links?

Oct 20, 2010

I am trying to figure something out as part of something else I am going to do. I was just wondering the easiest and quickest way to run a loop at the Linux command line which will make x amount of symbolic links when I need them.

I am using Debian 5.

I figure its something as easy as ~# foreach statement, then I just do a loop with the command to make a sym link.

View 5 Replies View Related

Programming :: Libpqxx Not Found - Compile Software Application- Giving "cmake" Command

Apr 8, 2010

While trying to compile one of the software application I am giving "cmake ." command but getting the below error :

I have downloaded "libpqxx-3.0.2" and have installed it.

libpqxx.a and libpqxx.la have got installed under /usr/local/lib.

Why am I still getting this error?

View 2 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 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

Debian :: How To Make Executable Firefox Appear As Application

Feb 15, 2016

I downloaded the tar file form mozilla's website, in which I must click the firefox executable in order for it to run

I'd like the firefox logo to appear in my apps, how do I do it? I already moved the firefox folder to /opt

View 2 Replies View Related

Fedora :: Make An Application Launched As Root

Oct 28, 2010

I wonder how I can do to make an application launched as root, without having to go to console and run it from there?

View 14 Replies View Related

General :: Make Specific Keymaps For Application ?

Oct 14, 2010

I want to make specific keymaps for application, that working only in it and doesn't affect other apps.

For example, I already use my Caps key to toggle input language (via xorg.conf), but I want Capslock to behave like Esc in vim.

Looks like xmodmap doesn't have any options related to that.

View 1 Replies View Related

Ubuntu :: Make Application Load In One Monitor?

May 10, 2010

I just installed Ubuntu 10.04 on my laptop, and am amazed how well everything is working, even on my dual-monitor setup! But, I also have a problem with said setup. I downloaded and installed the XBMC media center, but whenever I open up the application, it displays across both monitors. Since my two monitors are of different sizes and at different heights, it looks really bad. Is there a way to always force it to load on just one monitor?

View 1 Replies View Related

OpenSUSE :: Make Voice Chat Application For Gtalk

Aug 12, 2010

Figuring out a chat application for gtalk and how to make voice chat with that in Opensuse 11.3.

View 1 Replies View Related

OpenSUSE :: Make An Application Default For Opening Documents

Sep 10, 2010

I want to use my Thunderbird as default newsreader for rss feeds. When I click on the icon of the website, it tells me that another application is the default. There is an option to browse for another application that I can set as default.But where do I have to browse to find the Thunderbird program. I have to same problem with pdf -files. I want to use acrobat reader as default.

View 1 Replies View Related

Ubuntu Networking :: Make An Application Use Ppp0 Exclusively?

May 18, 2011

I'm running 10.10 64 bit. I have a vpn service and I'd like to configure my bittorrent client to use only the vpn link (and NOT continue through my plain-old ISP service if the vpn drops). I imagine there are a few possible approaches to this:

1.have a script that checks if ppp0 is up an terminates the bt client if not

2.configure the bt client to use only ppp0 (though I tried this with qtorrent and it switches over to eth0 if vpn drops...)

View 1 Replies View Related

Ubuntu :: Make A Desktop Icon For Wine Application?

Jun 7, 2011

I'm a beginner to Ubuntu so this is probably an easy question, but: I installed a windows application using Wine and that worked, it launched the application just fine. But now after restarting the computer I can't see how to run that application again. It would be nice to make a desktop icon for it.

View 3 Replies View Related

Ubuntu :: Configure My Conky Application To Make The Gui Beautiful

Jul 8, 2011

How i can configure my conky application to make the gui beautiful ! i can't find a good tuto.

View 4 Replies View Related

Ubuntu :: Make The Global Application Menu Always Visible?

Jul 15, 2011

is there a way to make the global application menu always visible?

I made a mock up to show you what I mean

View 5 Replies View Related

Debian :: Make Java Default Application To Open JAR Files

Feb 4, 2016

i cannot seem to find a proper way to make Java my default application to open .jar files. I just made a new Debian 8.3 install on my laptop HP Pavilion G6 and the default application for opening .jar files is the Archive Manager. But when i go to "Open with.." section on right-clicking the .jar file, i get no JRE or JDK option to choose. I just installed the openjdk 7. I can manually run them from the bash, but it would be much more convenient if i just double-clicked it. Here is what i get when i run several commands in the bash :

1) which java ->Code: Select all /usr/lib/jvm/java-7-openjdk-amd64/bin/java
2) java -version -> Code: Select alljava version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
3) echo $PATH: Code: Select all/usr/lib/jvm/java-7-openjdk-amd64/bin:/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin: /usr/local/ sbin:/usr/local/bin:/ usr/ sbin:/usr/bin:/ sbin:/bin
4) javac -version : Code: Select alljavac 1.7.0_95

View 4 Replies View Related

Debian Multimedia :: How To Make Desktop Application Update Immediately

Jul 5, 2015

I created a bash script which when executed as a desktop application modifies its own application icon. This is done my altering the Icon= line in the application's .desktop file.

Here is a gif of the application in action: [URL] ..... As you can tell, there is an approximately two second delay before the icon changes. I was wondering if there was a way of making the icon change immediately.

For completeness sake here is the script I am using:

Code: Select all#!/bin/bash

LAUNCHER=/home/alessandro/.config/xfce4/panel/launcher-29/14360293821.desktop
PLAY_ICON=media-playback-start-symbolic
PAUSE_ICON=media-playback-pause-symbolic

if [ ! -z $(grep "Icon=$PLAY_ICON" $LAUNCHER) ]; then
   sed -i -e "s/Icon=$PLAY_ICON/Icon=$PAUSE_ICON/g" $LAUNCHER
elif [ ! -z $(grep "Icon=$PAUSE_ICON" $LAUNCHER) ]; then
   sed -i -e "s/Icon=$PAUSE_ICON/Icon=$PLAY_ICON/g" $LAUNCHER
fi

View 1 Replies View Related

Ubuntu :: Make An Application Ignore Widget Style Configurations In Kde?

Mar 11, 2010

How can i make an application ignore widget style configurations in kde? Like Synaptic and some other applications do.

View 4 Replies View Related

General :: Make A Default Application Open A Certain Extension File?

Nov 3, 2010

I know this is possible in GUI gnome. But is it possible to do it too in shell command? Let say if i type this in shell:

#file.txt

then it will open gnome-editor in nautilus which open file.txt. gnome is the desktop manager. nautilus is the explorer windows in gnome. gnome-editor is one like notepad in MS windows.

View 1 Replies View Related

Ubuntu :: How To Run A Command Application From Desktop

Feb 18, 2011

I have download many applications that run from the terminal. and I can not access them directly from my computer without remember the name of the application and type it into the terminal. Some of them are just the name of the application but some of them are many commands into one line. So is there any way to add them under the application menu or desktop? I tried the luncher but it does not work.

View 7 Replies View Related

Ubuntu :: 11.04 - Get Application Command Shortcut?

Jul 26, 2011

I want to configure my keyboard shortcuts, but I need to get the commands for certain applications in the list. How do I do this? It appears I can't right click any icons that come up when I search for them.

View 9 Replies View Related

Hardware :: What Command Will Show What Application

Feb 23, 2011

what command will show me what application, or process is utilizing partition sda2. Here is an output that shows what I am seeing on the server.

[code]...

One to note is that this is an oracle rac server so the database binaries may be on sda but the DB's reside on the SAN.

View 1 Replies View Related

Software :: Dual Monitors - Make An Application Automatically Open On Second Monitor?

Jul 20, 2011

I am using Fedora 15 with dual monitors. I want to make an application open automatically on the second monitor. In particular I would like to make Firefox open on the second monitor. For now I am just manually moving Firefox to the second monitor, but if I close it down and open it again, it automatically opens on the first monitor. Is there a way to make it automatically open on the second monitor?

I have two Nvidia cards in my machine. I did have one monitor connected to each video card, but I was unable to get a dual monitor set up to work like this, so I plugged both monitors into one card and the dual monitor set up works fine like. Is there a way to make dual monitors work if you have a monitor connected to each video card? When I had a monitor connected to each video card, I could see the second monitor in the Nvidia settings, but it always disabled it. I could enable it, but it would grey out twin view. After I enabled it, I'll restart the X server, the second monitor would auto disable again.

I'm using Gnome, I don't have the above issue in Xfce4 - it works fine with one monitor connected to each card in Xfce4. However, I want to use Gnome. I've searched, but have not been able to find a solution to either of these issues. I read you can fix the application to launch in a second monitor with wmctrl. I've tried to install it with yum, but I get the message: No package wmctrl available.

View 2 Replies View Related







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