General :: Cron Job - Display A Jpg Image File?

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


ADVERTISEMENT

Programming :: First Image Will Display On The Page, And When A User Puts Their Cursor Over It, Then It Will Load Image 2?

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

Debian :: File Upload Using Firefox - Smaller Image File Is Previewed While Bigger Image File Is Not

Dec 16, 2015

I am trying to upload some pics on my Facebook account using Firefox. When I click on Facebook's file upload icon, Firefox bring up a 'File Upload' window. I noticed that smaller image file is previewed on the lower right hand corner, while bigger image file is not. Is there anyway I can change this behavior or maybe change what Firefox is using to browse my files?

View 2 Replies View Related

General :: Display An Image Using C Code?

Jan 18, 2010

i want to display an image using c program on linux how it is done?

View 1 Replies View Related

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

General :: How To Grab Data And Display Image

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

General :: Image Bigger Than Display - Wallpaper Change

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

General :: Konqueror Doesn't Display Image From Wget

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

General :: Boot - Display A Static Image While Debian Is Booting Up?

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

General :: Display Boot Splash Image On Embedded Device Using Fbsplash?

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

General :: Creating A Cron File And Script?

Aug 17, 2011

create a Cron file and script. I've tried reading through my Linux book but I am just lost here. I need to create a Cron file that will perform a Level 0 backup once per month, a Level 2 dump one day per week, and a Level 5 dump every day that neither a level 0 nor a level 2 dump is performed.

View 5 Replies View Related

General :: Use Of Placing Any File In /etc/cron.d Folder?

Mar 23, 2009

what is the use of placing any file in /etc/cron.d folder , is there any use of it ? will crond daemon run the files automatically which are placed in /etc/cron.d daemon ?

View 1 Replies View Related

General :: Cron / Crontab - Do Not Edit This File

Mar 19, 2011

I am trying to have the files from /user/directory copy every hour to /backup/user/directory. It would seem that cron or crontab is what I need to use. Looking at previous posts and other documentation only shows how much I don't know. When I type crontab -e I get a blank file I can type into, seemingly using vi as the editor. I have no problem with that but when I type cron -l, I get my text after a message about "Do Not Edit this File". What I am reading just makes no sense, I am not understanding even the most fundamental aspects of cron or crontab. Where I can get the most basic of basic instructions to try to understand this function?

View 4 Replies View Related

General :: Cron - Mysqldump Job Creates An Empty Sql File

Apr 14, 2010

My cron job is executing the below mysqldump command but it produces an empty sql file. However, when I run from the command line, it works as expected.

Code:
15 6 * * * root mysqldump -uroot -pXXXXXXX mydbname | gzip > /home/dbbackup/db_`/bin/date +\%Y\%m\%d\%H\%M`.sql.gz

I'm on CentOS 5.4 and use "env EDITOR=nano crontab -e" edit my cron (then paste the above command.

View 5 Replies View Related

General :: Cron To Remove All Files Within Directory Except One File?

Jun 28, 2010

I would like to create a cronjob that will delete all files within a directory 1 hours after it is created to the folderI found this cron find /path/to/file/* -ctime +1 -exec rm {} ; but it's deleted all files.I want to make an exception, all file should be deleted except one file (letsay file a.zip)

View 16 Replies View Related

General :: Create A Cron File That Will Regularly Perform?

Jul 30, 2011

Will this:

* * 1 1-12 * #dump -0uf /dev/st0/
* * * * 0 #dump -2uf /dev/st0/
* * 2-31 * 1-6 #dump -5uf /dev/st0/

answer this question?How to create a cron file that will regularly perform the following backups:a. Performs a level 0 backup once per monthb.Performs a level 2 dump one day per weekc.Performs a level 5 dump every day that neither a level 0 nor a level 2 dump is performed. If not, I'm I close? This is homework, so I don't want a direct answer

View 14 Replies View Related

General :: Create Device File For Image File?

Sep 8, 2010

Everything in Linux is a file, right? And everything can be represented by a file? Is there some way I could create a block device file that represents (i.e., provides an interface to) this image file? If so, then I could use fdisk on the device file to split it into partitions, format the partitions, and then mount them as directories. I could create a file system within a file system, which would be fun.

View 2 Replies View Related

General :: Create A Cron File That Will Regularly Perform A Level 0 Backup Once Per Month?

Mar 3, 2011

How do you create a cron file that will regularly perform a level 0 backup once per month?

View 2 Replies View Related

General :: Shell Scripting \ (test If A File Is Empty, If It Is Then Display "file Is Empty" Otherwise Display "file Is Not Empty")?

Oct 5, 2010

I am a final year student doign Computer systems engineering and just been introduced to linux. While still strugling to catch up with the commands, I am now given an assignment under shell scripting.I seriously am strugling to understand this question, can you please assist me.Here follows the assignment:

Operating Systems III
Some tips
e.g. (test if a file is empty, if it is then display "file is empty" otherwise display

[code]....

View 10 Replies View Related

General :: Display File From Line # To End Of File?

Oct 27, 2010

I know how to display contents at the end of beginning of a file or even at specific lines but how to you display a file from line # to the end of the file?

View 5 Replies View Related

General :: How To View Image File

Jul 16, 2010

I am working on a linux cluster based on Scientific Linux 5. I have some images in .bmp format. How can i view them from the command line or without downloading to desktop? At present I am connecting from Win7 using Exceed.

View 4 Replies View Related

General :: Get Installalabe OS Image From .iso File?

Aug 2, 2011

I followed the steps provided in the below link which will help me to convert from ISO to image. [URL] After it finished the setup it launched the VNC viewer and stated showing the booted messages and in that I could login to the OS as well (but when I do ifconfig it was showing 127.0.0.1 only though I had configured to virbr0). I copied the image from /var/lib/libvirt/images/ttylinux.img to Opennebula controller(Virtual machine tool kit).

I deployed using Opennebula , but I cloudnt not do SSH to that so I tried with VNC viewer by connecting the running VM , in the viewer shows that Booting from hard disk Boot failed : not a bootable disk No bootable device. How to copy the proper image ..? even I had tried clone the image thorugh virt-manager but same problem .

View 1 Replies View Related

General :: Command To Use To Explore Iso Image File?

Nov 1, 2010

I have used to knoppix to grab an image off a pc to my external hard drive.I then used the command dd if=/sdc1/backup.iso of sda2 bs=4096 conv=notrunc,noerror to another pc I was cloning.This process failed and the hard drive was not seen after that even using fstab.Is there any way I can verify if the iso image i grabbed is good.What command can i use to explore this iso image?

View 3 Replies View Related

General :: How To Get Kernel Version From Image File?

Mar 25, 2011

I know that it is possible to get the kernel version from a running system using "uname" command.I have a kernel image file in linux/arch/arm/boot/uImage.Is it possible to get similar information from this image file? and how?

View 6 Replies View Related

General :: The Background Image Are Not Displayed In A Php File

Apr 26, 2011

I'm programming an web system using LAMP, currently I'm using Ubuntu 10.04, so, when I load the index page the background image is not displayed, it looks like a permission file issue - I guess-, so currently all images have this permissions:

Code:
-rw-r--r--
and the permissions for the php files are:

Code:
-rwxr-xr-x

what permissions should I set to display the background image?

View 1 Replies View Related

General :: Obtain The Raw Image From A Norton Ghost File?

May 19, 2010

I have a Norton Ghost .gho file, and basicly I want to extract the raw image out of this, for example to use with with tools like dd. (So using any symantec/windows tools is not an option). Is there any open source tool which can deal with these .gho files ?

(Note: the.gho file I'm using is a sector based one, and not a file-based one, which implies that things such as Ghost explorer won't work either (see this page)

View 1 Replies View Related

General :: Windows - Creating Compressed Iso Image File?

May 17, 2011

I want to create a compressed ISO image file and mount that file to one of the virtual drives and access the content (read-only) without worrying about manual decompression/extraction.For Windows and Linux (Ubuntu) OSes.

View 1 Replies View Related

General :: C - Mount NTFS Partition Image From File?

May 31, 2011

i need to mount at least for read access NTFS-based partition image on linux from a file. File is binary copy of a partition. Is there any libraries or resources for this?

View 1 Replies View Related

General :: How To Read NTFS Image File In Windows

Sep 26, 2010

I just created a NTFS image file using the following steps:

After this i want to access the contents of this image file in windows. How to do that ?

View 4 Replies View Related

General :: Boot From Disk Image File From Windows?

Mar 24, 2010

Is it possible to boot from a disk image file(containing linux) file that resides inside windows and add a bootloader entry for booting from the disk image.?

View 2 Replies View Related







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