When I repeatedly run `date` I get the 8 sec rage hour:When I repeat `hwclock` I get a normal time flow.
(ntpd is stopped)I'm pretty sure the system clock is ok, I check on every reboot.Another issue is that the os fails to shut down. It takes about 40 min, then it goes into runlevel 1 and then I run init 0 And it says: switching runlevel.. INIT: Sending TERM sig...
I'm looking for a method for modifying some jpg photo files last modification date with the corresponding timestamp creation date of each file.The reason is that shotwell import pictures in folders according to last modification date which is stupid on my opinion.
As a photographer I'm constantly taking photos and storing them in folders. Now occasionally I'm using two cameras (either for different settings or an assistant is also taking photos) which means that for one event I can have differently named images.Both cameras have the same time set (which always helps in Windows) but in Ubuntu when trying to sort my folder by date taken I can't.The options I'm given are to sort them: Manually, by Name, by Size, by Type, by Modification date and by Emblem.Now none of those are helpful to me once I've done a few edits to the images.So please if anyone knows, how do you organise a folder with images taken on different cameras by Date Taken rather than Date Edited?
I am using CRON to create a new, blank file, every minute, in a specific location on my web server. After web searching, and reading man pages, I get the impression that the following command is supposed to work:touch /home/mydomain/var/folder/attachments/`date +%H%M`.txtThis should give me a new file with a file name that is the current hour and minute.However, when executed, the CRON mailer reports:touch /home/mydomain/var/folder/attachments/`date +/bin/sh: -c: line 0: unexpected EOF while looking for matching /bin/sh: -c: line 1: syntax error: unexpected end of fileSo, it looks like shell is seeing the plus (+) sign as an EOFObviously, nothing get created.What would be the easiest, single line command to create an empty file, at a given location, with a time based file name
I just switched from a basic digital camera to a more advanced one that stores both Jpeg and Raw (.Nef - it's a Nikon) files for me.When importing files in Digikam, I rename the files so that they start with Date and Time. Example: 20110121-223748.JPG for a photo taken on Jan 21st 2011 at 22:37:48.I was a bit surprised when importing both the JPEG and the Raw version of the same photo, that the filename is different by a few seconds (no constant offset, sometimes they are the same):
20110121-223748.JPG 20110121-223750.NEF
I did some "research" by looking at the exif data of both files (using "exiftool 20110121-223748.JPG" from the command line). Here is what I got back
(amongst other data):20110121-223748.JPG File Modification Date/Time : 2011:01:21 22:37:48+01:00 Modify Date : 2011:01:21 22:37:48 Date/Time Original : 2011:01:21 22:37:48
[code]....
So it seems that Digikam is using the "File Modification Date/Time" (different in the Jpeg's and Raw's of my camera) rather than the "Create Date" (the same for both Jpeg and Raw). (The few seconds difference in "File Modification Date/Time" between the two versions of the same photo is probably due to the time that my camera needs to write away the data on the SD memory card. I guess.) Is there a way to have Digikam use the Create Date? (Or the Date/Time Original?)
I would really like to preserve a file's original modified date and pass it back to the file as the same attribute after a script has worked on it. I get a lot of JPEG files from different places on the Net which I either turn around and upload or burn to disk, and having the "original" date of either download or last mod in a graphics app would be for me, in the long run, a lot more helpful when deciding, for instance, which files to "recycle" or pass on backing up more than once.I've tried doing this on my own every now and then. Where I run into problems is that it appears "stat" and "date" use different formats for date information, and I can't seem to puzzle out how to "translate" one to the other satisfactorily for the latter command.
Just to give an example: stat foo.jpg |grep Modify gives me Modify: 2010-07-12 06:28:56.890625000 -0400
Passing that string as-is to date foo.jpg, I get the errordate: unknown option -- 0 and the usual semi-courteous suggestion to Try 'date --help' for more information.Somehow my TexInfo database got screwed up somewhere along the line and info dategives me the short article on date input formats, not the full documentation for the command
When I clall the "update manager" it tells me if my system is up-to-date or new updates are available. Lets assume I update my system now (I disabled automatic updates).
Then (in a couple of days or weeks) I start the Update Manager again and it tells me again that new updates available. How can I find out now when the last time was when my system was "up-to-date" (=when a complete, successful update took place)?
Is there soemwhere an entry which shows this date?
I just installed OpenSUSE 11.4 - fresh install (no upgrade). However with 11.4 there is a very annoying bug (actually, two of them, but I'll post the other one to a different thread): every few seconds (10 or 15) the system 'freezes' for a split second. anything that is going on (visible) freezes for half a second or so. If you're in the process of moving the mouse, the pointer will stop dead in its tracks for that half second, and then when it resumes (a half-second later) it picks up from where "it would have been" had there not been a freeze (it will jump from one position on the screen to the next, as per the actual movement of the mouse. If I have a window (a terminal window for example) that is scrolling output, the scrolling will stop for the same half-second. I did a quick monitor with 'top' refreshing every tenth of a second, and when this freezing occurs is *seems* to coincide with spikes in the kernel thread 'kworker'. I have a hunch that this *may* be due to new built-in NVIDIA drivers that are in 11.4 that I wasn't using in 11.2 (where I compiled the driver from scratch) as I have seen a few posts about issues with this and the 'nouveau' driver - this is just a hunch. Not that dmesg also reports this log quite frequently:
[code]...
This is a FAST system (3 GHz and four cores) that is otherwise running IDLE, other than logging into KDE. So it's not a case of high CPU usage or I/O usage. The video card is: VGA compatible controller: nVidia Corporation GT216 [GeForce GT 220] (rev a2). I have installed a basic KDE 64-bit distribution, using NO proprietary repositories - it's essentially and "out-of-the-box" install.
So basically, when I was using windows I got 25 second lag spikes 60 seconds inbetween eachother. Obviously this is a huge issue as I'm constantly doing things on the internet and I play a lot of games.
I used to use a program called WLAN Optimizer to kill these lag spikes, and it worked fine! However when I switched to Linux (Ubutu Natty Narwhal), I searched for hours and could find NOTHING on the subject. I tried using Playonlinux to get the program to load, but no such luck. I assume that's because it deals with advanced processes to eliminate the 25 second lag spikes. If anybody could help me get WLAN optimizer working, or simply find a work around that allows me to fix the lag, I would very VERY greatly appreciate it.
Otherwise I'm going to have switch back to vista, and I REALLY don't want to do that. I thought my comp was fried until I installed this OS because of Vista.
I'm trying to figure out how to solve the following problem:I'm generating a PNG every 0.5 seconds (this PNG always overwrites itself)Because a PNG file is too large, I need to convert it to JPG.I made a script:
I'm experiencing some weird short freezing issues in Squeeze and / or unstable. Everything works as usual, then the system will freeze for some seconds if I don't do anything, or resume faster if I move the mouse or hit a key on the keyboard. I thought it was a wifi related problem, as I have an intel iwl4965 , here is what I often see in dmesg: [ 2608.910307] iwl4965 0000:06:00.0: Queue 4 stuck for 2000 ms. [ 2608.910317] iwl4965 0000:06:00.0: On demand firmware reload [ 2608.912832] ieee80211 phy0: Hardware restart was requested
After new installation i can not get USB to work properly, if i insert a usb stick it will not show only if i change ports several times it will show, and will be invisible in dev/tty
I 've just upgraded from f11 to f12 via preupgrade everything went fine, i corrected the rpms in package-cleanup --orphans and i have nothing in --problems and --dupes
The problem is with kde, i get a ~35 sec lag (screen completely frozen, mouse moving but ineffective, keyboard shortcut like ctrl-c, ctrl-alt-backspace and ctrl-alt-fn executed only after the lag) when: starting kde (read below) closing kde (35 secs between the kde close sound and the beginning of any real shutdown) starting programs like: krunner, lancelot, konsole, gnome-terminal, kickoff it does not happen when running most programs, like opera, firefox, gedit, even xterm it does not happen in a gnome-session
Running krunner gives a dbus error message:
So i thought maybe it was a dbus timeout so i tried setting a lower timeout in session.conf and system.conf, but it doesnt change anything xcept kde startup: with the lower timeouts, the kde load screen takes less time, i see the desktop but then it hangs for 35 secs before loading programs and plasmoids with the standard dbus config, the kde load screen takes 35 secs more but then the desktop loads right.
I'm having a buggy problem with rythmbox under F14. Sometimes when I start playing a audio cd or mp3 file Rythmbox will play about 2 seconds of the file then pause playback. When this happens it wont let me restart playback. I have to shutdown Rythmbox and restart it and try again.
I have all the latest updates, running on a Dell Latitude D510 laptop.
I have something that is poling my hard drive about every two seconds. It's really not necessary I don't think. I am not sure how to find out what process it is. My memory usage is pretty low and I am not using any swap.How do I go about tracking the culprit down?
starting vlc gives only 3 seconds sounds, then quits. Message from system: linuxbox kernel: [ 786.386363] ALSA clock.c:233: current rate 0 is different from the runtime rate 44100 All other players like Smplayer
About two weeks ago I installed ubuntu 9.10 desktop with a dualboot to my windows 7, which was already on there. everything went fine, but I couldn't configure my wireless to work, so after a few days I gave it a rest and basically forgot about; I just stuck with windows. anyways, yesterday night I installed a program called solidworks on my system. I woke up this morning, turned on my computer, and this is what happened-
it turns on for about 5 seconds, but when it hits "grub loading", after about half a second it restarts. it's basically an infinite loop, until i throw in a cd or hit f8, but I don't know what to do with either of those options, so I'm kind of stuck.
I'm posting this in the ubuntu forums because I have NO idea what's wrong with it, and no idea of where to start. I've got both installation disks, but I don't know what to do when I put them in. I've got an intel pentium 4 processor, and like i said, i've got a dualboot with windows 7 and ubuntu 9.10.
1. while playing any video file in VLC or any other player, i try to fullscreen or back to normal then the VLC just stopped for 5-7 seconds, video is running but in the screen it does not show running just sound comes.
2. while i open firefox or maximize it from clicking on taskbar, it take time similar thing the nautilus do when its going to maximize.
i don't know what the problem is, sometimes i feel it is because of compiz and emerald effact, but when i was ubuntu8.10 user, there was not such problem, it runs smooth.
After i hit Enter in GRUB, there is a message on top of the screen saying "booting up", and it stays there for 20 to 30 seconds. Then everything proceeds normally. I think i caught a message saying that something couldn't be found, but it flashed too rapidly.
Here is an extract of my dmesg. I'm assuming the part between [] is timestamps, and it takes about 40 seconds to go from GRUB to the Login screen, so it fits. Nothing is happening during 32 seconds.
Code: [ 2.690053] usb 5-1: new full speed USB device using uhci_hcd and address 2 [ 2.894315] usb 5-1: configuration #1 chosen from 1 choice [ 35.053835] udev: starting version 151 [ 35.059728] Adding 1999992k swap on /dev/sda3. Priority:-1 extents:1 across:1999992k
Sometimes while using Open Office, trying to open a file the dialog box takes 15 to 30 seconds of spinning balls until it shows me anything. Then changing a directory takes another 15 to 30 seconds. Visual feedback on selections take several seconds, and often I find myself a couple of subdirectories down from where I wanted to go due to caching of unacknowledged clicks.
My system is usually very, very fast, as one would expect from the specs. This problem happened, well, almost all the time with kernel 2.6.32-21-generic, now it just started happening again with 2.6.32-22-generic.During these slowdowns, opening Dolphin reveals the same problem, exceedingly slow response. While this is happening, top shows the system is not busy, and the hard disk light is not flashing. Idle is over 90% and user and sys are basically nothing. The system is basically doing nothing while making me wait.
I am looking to speed up my boot time; it is currently around the 2-2.5 minute mark from Grub to desktop (including about 15 seconds at the login screen while I type my password).
I have forced ureadahead to reprofile, and have rebooted a few times until the boot time is fairly stable/consistent.
No xorg errors and only one warning ((WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.)
I decided to install ubuntu again and downloaded 10.04. I had some issues installing with the desktop version, but everything installed fine with the alternate version.Now if I want to log in (on the KDE login-screen) the KDE-loading-symbols show up just as they are supposed to do, the desktop shows up (I can see "Desktop Folder and uBlog) and suddenly the mouse/system freezes. Neither Ctrl-Alt-Del isn't working nor Ctrl-Alt-F2 gives any response, all I can do is to reset my computer.
When I use Gnome as a desktop enviroment the computer totally freezes at the login-screen, without giving me any chance of logging in. Things I already tried: noapic, nomodeset, noacpi settings when booting, I successfully installed the latest ATI-Driver for my 3870, I disabled compiz.The kdm log says that there's some problem with an i-bus-daemon. Disabling/restarting the daemon has no effect on the behavior of my installation.
I want to use a cronjob to start a script running streamripper to record radioshows when I'm not at home. I'm running 10.04 server 32 bit.
I've setup a cronjob via Webmin to start the recording. It runs the following script:
Code: ORDNER=`date +%Y"_"%m"_"%d"-"%H"_"%M"(FM4)"` # 'ORDNER' means Folder and creates a folder with time/date to save the stream streamripper http://mp3stream1.apasf.apa.at:8000/ -d /mnt/Samsung/Radio/$ORDNER --xs_padding=2000:500 -a -q -s
[Code]....
Is there any logfile or way to see why the script is killed or what stops the recording? When executing the script manually the recording runs just fine until I kill the process.
I know this is the kind of vague post that people hate. But I'm having a problem. Every now and then (several times a day), my computer stops responding for several seconds.
I notice it most in Firefox. If I'm typing information in a form (like this one) on a web page, everything just stops. If I keep typing, the text eventually appears, apparently having been stored in a keyboard buffer.
But it's not just in Firefox. I have had the same problem in OpenOffice applications. Things just stop. The computer apears to "think" for several seconds, and then things continue.
After several seconds, everything is okay. So some people may say that this is normal. And while I'm no guru, I have been around computers for a long time, so I remember back in the day when this happened all the time. But I haven't seen it (at least to this extent) in previous versions of Ubuntu (or in Windows).
It's a serious problem.
what I should look at? I have a feeling that there is some setting somewhere (cache, etc.) that is set wrong.
Almost every day, for around 15-20 seconds, my computer becomes unresponsive, while the hard disk makes a strange periodic sound (period ~2 seconds, half of it the sound suggests very intense disk activity, the other half - normal disk activity), and the hard disk LED stays on (not flashing, just on). I ran manually all scripts in the /etc/cron.* folders. Only the mlocate script seemed to cause higher than normal disk activity (but still low enough to not cause problems). I still disabled it, but the problem persists.
I've got three user accounts, 10.10 running on eeepc. Two of them work relatively well, but the on the third one firefox keeps crushing every 10 seconds or to be more precise every 2~3 link clicks.
There is a firefox crash info but no specific problem is being suggested. Same goes for terminal - clear.
Doesn't matter if I delete the 'old' third user and put new one. FF behaves always the same on fresh account. It also affects minefield.
I'm having a hard time with my xfce netbook. Yesterday i was adding Tomboy note to my startup applications and i don't know why but since that i'm having a 50 seconds delay between the time i see my wallpaper and icons and the time my startup applications start to load. In this delay my CPU is stable and don't work at all.
Xfce is on my girlfriend netbook too and it seems that we have the same configurations when i look in "session and startup".