General :: Display An Image Fullscreen In C?
Jan 22, 2011
which will show a png from GIMP on the screen in fullscreen mode. I was using GIMP and there is an option to save my image as an .h or .c file. I tried .h and it saves it as some kind of very large variable. I want to call this from my own C program and display it on the screen.
View 1 Replies
ADVERTISEMENT
Nov 16, 2010
Need a Linux solution for looped slideshow from pictures in some folder. Pictures may be deleted and added, so it's a bonus if it doesn't stop/crash if currently shown picture is deleted.
View 3 Replies
View Related
Feb 3, 2011
I have two Ubuntu 10.4 machines (and Ubuntu continues to hide more and more xorg.conf config such that I no longer know where to find it). One is a laptop running dual headed - DP1 is the internal screen, and VGA1 is an external monitor; both are running at 1600x900. The other machine is a desktop running both VGA1 and HDMI1 (which is actually a display port with a DVI adapter) at 1600x900. So in both instances my desktop is 3200x900. I run a VNC server on the laptop and connect to it (via SSH tunnel) from the desktop - when I press the full screen hot key, I get a 1600x900 view of the remote machine on one monitor, and half of my local desktop on the other monitor - the "full screen" only expands to fill one local monitor.
Normally this is exactly what you want when you full screen a web browser, email client, or other application. I'm sure there's some X magic to make it clear what a full screen actually entails, and the vnc client application is just dutifully accepting what it's told. While I would like to keep the normal full screen behavior for regular applications, but when I'm VNCing to another 3200x900 machine, I'd really like full screen to stretch across both local displays. Resizing the window to be "close" isn't quite good enough since I still have local panels at the top and bottom of one display (though I can set them to autohide), plus the VNC client application window border (since it doesn't appear to respect -notitle).
Is there any good way to have X lie to a single application about the "full screen" size? Can I get it to lie to all applications? xrandr --noprimary appears to have no effect.
View 2 Replies
View Related
Apr 6, 2010
I'm running a fullscreen display app which shows a 3D scene in OpenGL. The app runs continiously throughout the day unattended.
Here's the sequence of events in how it's loaded:
1) The computer is turned on, and boots into F11 (x86_64)
2) A non-privileged user is automatically logged on
3) The gnome startup applications list contains an entry for a loading script
4) The loading script waits for the network interface (eth0) to ccome up, then starts the display program
This all works just fine, except that about 30 minutes after the computer is turned on and the app starts running, the screen blanks out. Attaching a mouse to the system and moving it around a bit brings the screen back to life. Likewise, SSHing into the machine and killing / restarting the application works as well. Once either of these fixes has been performed, it runs flawlessly for the rest of the day.
I have turned off the screen saver, and set the power settings for monitor shutdown to 'never'.
View 2 Replies
View Related
Jul 18, 2010
this happens on videos, ustream, etc. fullscreen is toggleable, but the video plays for about a second before turning into a still image with audio.
View 1 Replies
View Related
Nov 24, 2010
I have just exported 3 png files out of gimp for a html document I'm working on right now, and they are all almost the same, except I need each to load when the user does something. So the first image will display on the page, and when a user puts their cursor over it, then it will load image 2. When they press it, it loads image 3.
View 1 Replies
View Related
Jan 18, 2010
i want to display an image using c program on linux how it is done?
View 1 Replies
View Related
Jul 25, 2009
I am a windows user and am trying to display a jpg image file on linux every x hours.In Windows, if I were to perform the same task, I would just give out the path to schtasks.exe and it would open the image in the default viewer,is the case same with linux as well? Do I just execute:
crontab now + 1 hour abc.jpg ? The linux is OpenSuse or Debian I guess.
View 2 Replies
View Related
Nov 4, 2010
'I am attempting to grab roughly 40 pieces of data that is a combination of 0 and 1 flags from mysql. based off of the 0 or 1... either pictA or pictB will be displayed. How to evaluate my code? I believe the logic is incorrect.
PHP Code:
$status = 'mysql -u username -ppassword -h x.x.x.x -e 'SELECT help FROM table' database';
declare -A ARRAY
for ((i=1; i=$status; i++));
do
echo ${ARRAY[$(i)]}
done
if [${ARRAY[]} = 1];
then echo "<img src='pictA.gif'>";
else [${ARRAY[]} = 0];
echo "<img src='pictB.gif'>";
fi
View 4 Replies
View Related
Apr 25, 2011
since some update to the latest Flash, I've been getting a weird issue. If I'm watching a flash video in fullscreen (via firefox) and hit "esc" to leave full screen, about 20-40% of the time it will screw up the monitor's display of everything. The entire screen gets weird white and colored pixels randomply all over the screen (see the attached picture). Restarting is the only thing that fixes this. I tried logging out and back in but the issue remains. I have two questions:
1. How do I fix this without a restart?
2. What could be causing this?
View 9 Replies
View Related
Jun 3, 2010
I would like to use a linux box to display message in big big big into the monitor in something nice.
Freevo like would be great [url]
Big fonts and fullscreen to display it... would be perfect.
View 2 Replies
View Related
Aug 31, 2011
I am looking for a tool that can resize images and display them on the root window of an X11 display at a specific coordinates. I can use display from iagemagick like so display -window root -geometry '-0-0' -resize '1920x1080>' IMG.png But cannot use it since it does not display on the right root window -- pseudo transparency in urxvt shows the wrong image as shown here. Ideally, I would like to resize any image bigger than my display. Does anyone know of a too that can do the following: Resize the image if it is bigger than some size (aka the display size). Set the images top appear at specific screen coordinates.
View 1 Replies
View Related
Jan 20, 2010
I'm using this command: wget --convert-links -np --wait=20 --limit-rate=20K -m -k -p -U Mozilla -c [URL]
I can only use konqueror (asus eeepc 701) to completely view kneetest.html . The image taimoshan-front-qtr.jpg does not show, but if I right click and save, I can view the jpg. I was able to see this jpg earlier in the day, but not now. I've wget'd the site about 5 or 6 times in a day and sometimes I'll miss 2 images. I've also tried without the -U Mozilla option. BTW: Is there a way to get Mozilla to read files from wget?
View 6 Replies
View Related
May 31, 2011
I am working on a gym class display screen which was built by others. It is operated under Ubuntu. Everytime I click on Firefox, the page goes to fullscreen, but the problem is that the gym class display is not zoomed to full screen (which is what we need). there are black blank parts on both the right and the bottom of the screen.There is no shortcut key working under firefox either, which means I can't zoom the screen or even enter url for any websites.I checked the gym class website on my computer, everything looks perfect. I think there must be some setting wrong on the operating machine.
View 3 Replies
View Related
Aug 19, 2011
I need to show a static image with the logo of our department while Debian boots. Is there any easy way or tool to do this? (Any parameter of the kernel maybe?) It doesn't have to be anything fancy (like a progress bar)... just a plain an simple image.
I've seen many bootsplash projects..but most of them are broken. I tried splashy (which is available on the repo), but by the time it loads, my system is already booted, so I don't really like it. note that I don't have any Xorg server installed.
View 1 Replies
View Related
Jun 9, 2011
I'm running nxfree to log into my remote xubuntu PC from my local xubuntu laptop since the X protocol was broken.Has been working fine. Recently upgraded from Lucid 32bit to Maverick 64bit Xubuntu.Now when I run nxclient in fullscreen mode, if I minimize the window (or just log out) my local display does not return.I'm left with just the background colour. The windows are still there but not visible. For example I can:* randomly right-click and a menu pertaining to the invisible window appears;* press alt-tab and cycle through the windows but activating one does not display it (it remains invisible);* press ALT-F and bring up the current active (but invisible) application file menu;Basically I press ALT-F and ALT-TAB and close everything and then log out and log back in to restore the windows/panels.
View 3 Replies
View Related
May 13, 2011
I'm working on a project to have our company logo image display on the screen during bootup. Our platform is an embedded Linux device running on a custom configured linux kernel 2.6.38.2. Our development distro is Ubuntu 10.04. I am currently trying to get fbsplash to work on our device with no luck so far.
View 1 Replies
View Related
Jun 5, 2010
I use Evolution Mail and Calendar to receive and send e-mails, but it cannot display images(links?) that are embeded in the incoming e-mails. How to solve this problem?
View 5 Replies
View Related
Jun 6, 2010
Recently I succesfully installed conky. I managed to get a lot of things work with more or less effort but I can't make conky to display any image.Images path and permissions had been checked. Imlib2 support too but conky won't display a thing.
View 4 Replies
View Related
Jan 11, 2010
I am trying to write a small gtk+-2 program to display whatever image it is given and I was wondering if anyone out there has done something similar. I am not too familiar with writing programs for gtk and its been a while since I've fiddled with C. I went over the tutorial for gtk and it seams pretty easy to get a window to display, but I do not see anything that refers to loading an image or displaying it in the window. I am wondering if this can be done purely with gtk or will I need to use some type of image library like imlib2?
View 3 Replies
View Related
Feb 14, 2010
I have a script that will change my desktop image to display all of my network IP address. I need to call this script whenever a change in the network occurs. Example, if I disconnect from one network and then connect to another network and get a new IP address.
View 1 Replies
View Related
Mar 24, 2010
I am using redhat linux4 and qt4.6. I have created an application in qt, which i want to link to frame buffer using C programme and display it onto the xserver or/and on the hawkboard.
View 1 Replies
View Related
Apr 4, 2010
I used to have a working vlc. Then I added debian-multimedia to my sources.list and installed several other movie players (kplayer, kaffeine,). As a result, my vlc no longer works: When I run it to display a movie (any movie, I tried several) I get the sound OK, but there is no image, and the window stays small (like when playing a sound file). How do I get vlc to display movies again?
View 3 Replies
View Related
Nov 23, 2010
I have just installed a GeForce 8400 GS card in my Ubuntu 10.10 with the Nvidia proprietary driver( version number: 260.19.21).
The Display is connected to the desktop through an HDMI cable and the resolution is 1920 x 1080 .
After some trouble(Black Screens), almost everything is ok.
The only problem is the screen that is extrapolating the Display Boundaries.
I have tried to set it through the nvidia configuration program without success.
Is there any parameter in Xorg.conf that could resolve this issue?
View 1 Replies
View Related
Jul 29, 2010
I have this function that is supposed to print draw the first image from a function then hide the rest of the images using 'display: none' however for some reason the boolean test does not seem to work on one of my servers however it works on another, is there some php.ini setting I am missing or can you see any issues with the following code:
[Code]....
View 1 Replies
View Related
Jan 7, 2010
I have just installed my gstreamer on my ARM board. In that i used to play the video by using command
"gst-launch filesrc location=/root/yuvraj.mp4 ! mfw_mp4demuxer ! queue max-size-time=0 ! mfw_vpudecoder ! mfw_v4lsink"
it is working fine. but the screen is very small and it is in middle, How to make that full screen and the letters which is in terminal is also coming along with the video.
View 1 Replies
View Related
Mar 20, 2010
I was having trouble with the sound of the wmv files on linux, but i solved it by coping the w32 dll libraries and now it works just fine. There is one problem though : whatever player i use to open and play a wmv file (mplayer, vlc), it doesn't fit the full screen - in windows the same movie DOES.
View 1 Replies
View Related
May 12, 2011
Flash player was working all right. Still works allright but when go to full screen the picture is still, not moving, but the sound keeps on going. It *may* have something to do with upgrading to Ubuntu 10.10.
View 13 Replies
View Related
Dec 26, 2010
When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only
export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock
[code]....
View 1 Replies
View Related
Jun 28, 2011
I have the following scenario that doesn't seem to work normally. I have a windows 7 pc from which I am using putty to connect to my other linux servers (all running redhat 5 and 6). So here is the scenario that works and one that does not work. And I'm trying to figure out the one that does not work. Scenario that works:
From windows 7 (putty) I ssh into Linux_Server_1.
echo $DISPLAY
localhost:10.0
I run xclock and I see it pop up on my windows 7 pc. I am using xming on windows 7 to help me populate the display from linux to windows. One that does not work:
From windows 7 (putty) I ssh into Linux_Server_1. Then from Linux_Server_1 I ssh into Linux_Server_2.
echo $DISPLAY
<no output>
I try to setup $DISPLAY with localhost:10.0 or 0.0 or even my windows 7 pc ip address:0.0 ....etc Then when I try to run xclock I doesn't work.
I get these error messages: Error: Can't open display: <ip of display>
Also as a side note all our Linux servers are sitting on one subnet. My pc is sitting on another subnet. I use vpn to connect to the subnet where the servers sit from my pc.
View 4 Replies
View Related