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 ?
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.
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)
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:
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?
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 ;
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.
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
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?
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.
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...)
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.
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
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:
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
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.
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.
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.
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.