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.
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.
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?
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.
'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
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.
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?
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.
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.
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.
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 ?
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?
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.
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)
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
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.
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
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?
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.
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 .
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?
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?
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?
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)
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.
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?
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.?