Programming :: Build Screen Shot Application In C/c++ Like In Distros?
Feb 14, 2011
i want to make a screen capture program for linux as my software engineering project. but i am not getting from where to start. i have a bit knowlege of gtk and that of c/c++ but from where can i get other references which i should know for building it.
View 4 Replies
ADVERTISEMENT
May 7, 2009
I've been a PHP developer for about 6 years now - the last two years I have been pretty inactive though. Just recently though, I have been reading resources on all the different programming patterns (Factory, Singleton, Registry, Observer, MVC, etc) to try and get my head around good programming techniques. For myself though I find that I can only truly understand how these methods work when I am forced to do them myself.I have a large project I am doing at my workplace (me only) that involves building a very complex PHP application.
I would like to know your professional opinion; should I spend the extra time to program this PHP application myself and really, properly learn all these different programming patterns? Or, should I just build on top of a PHP framework like the Zend Framework for speed's sake (and flexibility/features)?
I have found understanding exactly how the Zend Framework works hard, just because I haven't been exposed to using these programming patterns myself. I hate that - I want to fully understand exactly what is happening in my application and know exactly how each part relates to others.
View 2 Replies
View Related
Feb 28, 2010
i have ubuntu 9 10 i have been searching in the internet but i have not found a solution, my problem is that i cant capture the screen with screen shot key (ptr sc) my keyboard has it under the key home, so in windows i have to use the
View 1 Replies
View Related
May 17, 2011
I'm using Ubuntu 11.04. In a startup script, I have
Code:
start() {
log_daemon_msg "Starting selenium-server server: "
export DISPLAY=localhost:15.0
/usr/bin/Xvfb :15 -ac -screen 0 1024x768x16 &
From the console, how do I take a screen shot of the display at localhost:15.0 -- my DISPLAY above?
View 3 Replies
View Related
Feb 13, 2011
I have my background as a satellite picture of the earth. Right now I have a scheduled task to grab that picture off the internet (the website updates it every three hours) so my background is a 'live' snapshot of the earth.
I want to set up a scheduled task to take a screen shot every three hours, so that I can see, for example, the way the earth changes over the course of a day...a week, etc. I already have the Scheduled Task Manager from Gnome, but would anyone know what command I could use to do this?
My biggest problem is figuring out how to change the name of the picture it saves it as every time. (e.g. earth1.jpg, earth2.jpg, earth3.jpg, etc.)
View 2 Replies
View Related
Apr 14, 2011
Whenever I try to take a screen shot with a menu open the menu disappears. Is this correct, and if not how do I put it right?
View 5 Replies
View Related
Mar 26, 2010
I have Ubuntu Server Ed. installed (so no Gnome) and was wondering if it's possible to capture screen shot images?
I'm using Subversion, and need to capture screen shots of some merge collisions you see.
Everything is being done via the terminal.
View 5 Replies
View Related
Jun 29, 2011
how do i screen shot or print screen boot menu & save to file, tried pressing print screen when booting then paste, would not work, this for a futher question once this one is solved
View 3 Replies
View Related
Dec 7, 2009
I place the key in the wireless key section but the activate (ok) button is greyed out. Sorry can't give a screen shot because I am using my Win 7 boot at time. Oh yeah I am using Fedora 12 x64 on my laptop.
View 2 Replies
View Related
Jan 13, 2011
Does anyone know the name of the volume applet (package) shown in the screen shot? I want to remove it. I'm on 10.10 and it appears every time I switch sound output from the SoundMenu.
View 4 Replies
View Related
Mar 24, 2010
I am new to Ubuntu and facing a strange problem right now.
I want to take a screen shot of FF browser with expanded menu items.
I could take the same without expanded menu items, but when I click say File/Edit/View and then click on Prnt Scrn nothing happens.
View 3 Replies
View Related
May 2, 2010
i tried to install ubuntu netbook remix edition 10.04 on my laptop HP Compaq 550 through a usb flash stick ... with the usb creator which included into the iso image i got this msg (( attached screen-shot )) .i tried another application which makes a usb bootable disk called "UNetbootin" it boots successfully but after booting every thing got FREEZED ... i tried the same thing with ubuntu 9.10 it's succeed .. but i neeed to install 10.04 .
View 8 Replies
View Related
Oct 30, 2010
Is there any command /utility in linux that would Take screen shot of non focused window or minimized Window?
View 3 Replies
View Related
Jan 23, 2010
Do Ubuntu have a build in partitioning application. What is the name this application and where is it located?
Also is it possible to create or resize other (out-side) partitions from my Ubuntu partition? I have a 1000GB drive and Ubunta now has the first 100GB. I want to work with the other 900GB of disk space useing the partiton tool from WITH-IN Ubuntu while running, if possible.
What is the name of this tool and where is it. Are there more than one partitioning tools inside the latest version of Ubuntu?
View 5 Replies
View Related
Feb 24, 2011
I need to build a 3 node web server cluster to run a php application. Since the app requires users to login (which means a session state is to be maintained), I will be sharing sessions save path, I also need to share the application directory across 3 nodes. I having trouble deciding which cluster file system to select.
View 5 Replies
View Related
Mar 10, 2011
im writing a cross-platform software (linux/solaris/mac/bsd) so i was wondering, how portable is pthread library? out of 10 linux distros, how many will have it by default? and does it exists on mac/solaris/bsd by default? or user will have to install it?
View 6 Replies
View Related
Jul 30, 2011
other than Python, which languages are built into most Linux distros, using a real-time interpreter, like the Python prompt, where you can just enter some commands and test out ideas before actually creating a file with your program?
View 4 Replies
View Related
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
May 11, 2011
I tried out many distros on my desktop before experimenting with my oshiba Satellite A665 laptop with integrated intel graphics. Everything worked out as normal until I was testing Ubuntu on a live cd, I clicked install and it sent me back to the login screen before I had made an account. So I then chose to restart and it started glitching so I had to manually power off. Ever since then whichever distros I try to install, they face numerous errors. On Ubuntu and Peppermint they freeze on the 5 dots installation part and Linux Mint just has a permanent black screen. Even the current Peppermint OS (only distro i have)hangs on the 5 dots when trying to boot onto the computer. This has resulted me in a computer that cant do anything, i've tried the noquiet and nosplash options but they don't seem to work. I was thinking of installing Windows and maybe erasing the disk by installing another distro later?
View 8 Replies
View Related
Jan 30, 2011
How can we build a packet using C?we have a structure called sockaddr_in which is use to for IPv4,so that we can define address,port and etc in this way:
Code:
struct sockaddr_in sock;
sock.sin_family=AF_INET;
[code]...
View 5 Replies
View Related
Jan 19, 2011
I'm trying to build a spi program using c++. I'm able to perform half-duplex transfers using the read/write functions, it works perfectly. Now I need to perform a full-duplex transfer, but I'm facing some problems. When I try to receive more than one byte, the slave returns to me only one byte.Ex: I send: FF FF FF FF FF The slave must return: 03 02 00 13 04 But what is happening is:
1st Transfer:
tx: FF FF FF FF FF
rx: 03 00 00 00 00
2nd Transfer:
tx: FF FF FF FF FF
rx: 02 00 00 00 00
[code].....
View 3 Replies
View Related
Oct 15, 2010
I had a debian installation with kernel 2.6.32 I had a set of instructions to apply a patch to kernel which I followed to the T. The grub now shows the Debian installation with the old kernel and the Debian installation with the patched kernel.
The trouble is the system goes blank after attempting to start gdm3.
I have tried running in recovery mode and then typing startx but it only shows a blank screen.
Code: lspci | grep -i display
00:02.1 Display controller : Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) If i boot with the old kernel, everything works fine. Is this an "X" window configuration issue. I tried X -configure but still nothing changed.
View 3 Replies
View Related
May 29, 2014
I'm trying to setup tools for developing android apps on my Debian Wheezy (backport) system. Eclipse with android plugins is installed. Android SDK installed using android-sdk_r22.6.2-linux.tgz available from URL...My problem is I can't build the android app. The console in Eclipse tells me something (translated) like this;
Code: Select all[2014-05-30 16:36:45 - adb] Unexpected exception 'Cannot run program "/usr/lib/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2, No such file or directory' while attempting to get adb version from '/usr/lib/android-sdk-linux/platform-tools/adb'
I have searched the web quite extensively but found no solution. It seems the issue may be due to I'm having a 64bit system but building the app requires some 32bit stuff.Some older posts suggest adding package by "apt-get install ia32-libs". In later posts (i.e. URL....
Code: Select alldpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
However doing apt-get install libc6:i386 asks me to remove 1536 installed packages and installing just 5 new...
Some info about my system ....
Code: Select all>uname -mrv
3.14-0.bpo.1-amd64 #1 SMP Debian 3.14.4-1~bpo70+1 (2014-05-14) x86_64
View 8 Replies
View Related
May 31, 2011
i am trying to create an exclude regular expression for my build.xml. The problem is, that i am trying to find some info on which REs are acceptable/valid for ant... Is ant using standard regular expressions? POSIX ones? Since it is a java-based tool, the "Java REs" are probably valid. I am a little bit confused. If somebody can help me out with the different RE standards, i would be most obliged.
View 1 Replies
View Related
Mar 26, 2011
I've spent all day trying to figure how to write an ant build.xml file for eclipse. I must have read 20 sites on the web but some how I just am missing it I continue to get the error
Code:
/home/knox/workspace/HW/src/projectBuilder.xml:5: the file attribute is required
here is my file at this point after many variations
Code:
<?xml version="1.0" encoding="UTF-8"?>
[Code]...
It works fine if I leave out the Main-Class line in manifest but then the jar is not executable Dick
View 3 Replies
View Related
Feb 3, 2011
I need to create a SW project both for Windows (written with MS Visual Studio 2005) and Linux. Currently I have a build script for windows and another for Linux. I would like to build the project for both platforms on a single PC. Is there a way of building VS2005 projects with Linux (not using Cmake)?
View 2 Replies
View Related
Jun 18, 2010
Im trying to build parted 2.3, but I always end-up in the same error:
Code:
In file included from arch/linux.c:42:
/usr/include/scsi/scsi.h:152: error: expected specifier-qualifier-list before 'u8'
/usr/include/scsi/scsi.h: In function 'scsi_varlen_cdb_length':
/usr/include/scsi/scsi.h:163: error: 'struct scsi_varlen_cdb_hdr' has no member named 'additional_cdb_length'
[Code]...
View 14 Replies
View Related
Jul 11, 2011
Is is possible to compile (but not install) a library, and then compile a package using that library instead of the version that's installed?
View 4 Replies
View Related
Jul 11, 2010
such as a roll of aluminum window screen that you might get at Home Depot, and provided that there are no gaps and that it's grounded?
View 6 Replies
View Related
Feb 3, 2011
I am trying to build a 2D plot for my data and I have the code for it. However, I want to save it as a jpg/png file so that I can have a link to it for my webpage. Below is the code:
Quote:
import java.awt.*;
import java.awt.font.*;
import java.awt.geom.*;
import javax.swing.*;
[Code].....
View 1 Replies
View Related