Ubuntu :: Show Number Of Days Since January 1 On Orage
Jan 20, 2010
I'm using the XFCE desktop and the orage clock applet.
Is there any way I can display the number of days elapsed since 1st of January of the current year?
Can't seem to fine an strftime function for it.
View 7 Replies
ADVERTISEMENT
Dec 15, 2010
Can someone show me a simple method to find out number of days between 2 dates?
Example: How would I find the number of days between 25-12-2003 to 25-12-2010? Could someone write a line of code that takes in the two dates and outputs the number of days? Or is there a program that can do this?
I know of websites that do this but I'd also like an offline method.
View 9 Replies
View Related
Nov 3, 2010
I want to itemize addition for each type of transactions. The example below is for 3 days,10/13/2010, 10/14/2010, & 10/15/2010.
PROD =89.25+89.25+104.47= 282.97
TAX =9.37+9.37+10.37 = 29.71
ETAX = 1+1+1 = 3
[code]...
View 8 Replies
View Related
Dec 13, 2010
What offline method is there of finding out days since a certain date. Example: How would someone find the number of days from 1-Jan-2003 to 7-Dec-2010? Could someone write a script that takes in the 2 dates and output the number of days?
View 5 Replies
View Related
Aug 26, 2010
Is there a perl module that will let me turn numbers into human readable measures of time? For example, 1280513294 would be "26 days ago". If so, what's its name?
View 2 Replies
View Related
Dec 26, 2010
Is it possible to remove the seconds from the Orage clock? I'm using Xubuntu 10.10, Xfce 4.6 if you need to know.
View 3 Replies
View Related
Apr 6, 2010
I'm trying to set up Conky to show a number of RSS feeds, and while I can get it to show the raw titles of items how would I trim these titles down to a given number of characters (say, 40) and add an ellipsis to the end if text has been cut off? The length of titles by default can vary wildly, so if only for the sake of organisation it'd be nice to have a maximum title length imposed.
I found this thread that does something kind of similar for Transmission torrents, but I have no idea how I'd adapt it for RSS feeds. As it stands, the code (well, a sample at least) is simply:
Code:
SLASHDOT$hr
${rss http://rss.slashdot.org/Slashdot/slashdot/to 5 item_title 0}
${rss http://rss.slashdot.org/Slashdot/slashdot/to 5 item_title 1}
${rss http://rss.slashdot.org/Slashdot/slashdot/to 5 item_title 2}
${rss http://rss.slashdot.org/Slashdot/slashdot/to 5 item_title 3}
${rss http://rss.slashdot.org/Slashdot/slashdot/to 5 item_title 4}
View 1 Replies
View Related
Oct 21, 2010
My folder have some files and I want to show the number of files on folder at "Total file on folder: " Ex: Monday folder have six files and it will show "Total file on folder : 6" when I run a script. This is my code :
#!/bin/sh
if [ -d /home/kenzo/Monday/ ] && {
echo "Monday"
ls -l /home/kenzo/Monday/
[code].....
View 2 Replies
View Related
Feb 1, 2010
i try to install a recent squeeze of this January on a new laptop, HP dv6-2044el. The installation get blocked on the "Detect network hardware" step. The network interface is a "Realtek RTL8168d/8111D Family PCI-E GBE NIC controller".
View 1 Replies
View Related
Oct 1, 2010
how to get the card number and device number on system for attched USb audio device?
View 3 Replies
View Related
May 21, 2011
Why does unix ps -l whows one number in column "PRI" but in same time ps -o pri shows another number? cpu and nice are zero for those processes
View 1 Replies
View Related
Oct 14, 2010
Anyway since I upgraded to Ubuntu 10.10 when I right-click on something and there is another menu in that menu, it doesn't show up for the first time!
for example if I want to create a an "Empty File", I'll right-click on desktop and when I want to go to "Create Document" menu, it doesn't show up! so I must click somewhere else and try again so for the second time it works!!
View 9 Replies
View Related
May 19, 2010
I chose a folder with 1.8 GB for syncing to the ubuntu one server. I have two questions:
1) ubuntuone-syncd has been using 99% cpu (at times) for two days now. Is this normal?
2) the syncing is EXTREMELY slow. I don't have any bandwidth limitations set and there seems to be very little data getting uploaded. Is this normal?
View 6 Replies
View Related
Jul 7, 2010
I hope somebody has a solution to this annoying situation: right after restart my system is very fast (at least for me), but after few days it slows down to the point when using it becomes a waste of time. As soon as I restart everything is OK. Usually I keep open 1-2 Open Office files, couple large PDFs, and some Firefox tabs at the same time, nothing special. No gaming/video on this rig, just basic internet and text processing. Here are my specs:
9.10 Karmic
Kernel Linux 2.6.31-22-generic
GNOME 2.28.1
Memory: 433.1 MiB
Processor: AMD Athlon 64 3200+
Am I wrong thinking that I have enough juice to keep these windows open? Maybe there is a way to tweak something?
View 4 Replies
View Related
Jul 29, 2010
ive been unable to use my computer for almost 3 days and I need it for work.
I installed linux to my xp computer.
I have one hard drive that is 500gb
its partioned to: 440gb {XP} + 60gb {Ubuntu}
Grub will not boot to xp it only boots into linux. i mostly use xp. and even if i wanted to change to ubuntu i only have 60gb of space to do so >.<
and a further notice... i dont want to change to JUST linux.
View 9 Replies
View Related
Sep 13, 2010
See this articleIt says that win 95/98 machines wont work for more than 49.7ys continously. my question is , following the lines of above article , does linux distros (ubuntu in particular) have any such issues ?
View 1 Replies
View Related
Apr 28, 2011
I configured it to use IMAP to access our exchange 2010 server front end on a LAN connection. Our webmail connection is segregated behind Forefront, so it was not connecting/authing that way. Even though smartphones have no problem. (sidenote, is there an activesync linux mail client ?)
I have many root folders and several folders underneath my inbox. total mailsize in inbox is 3.5 GB without subfolders. The sent is likewise as large. And is likewise empty.
Things I checked already:
View is all
Folder subscription is on and local copy is on
More info:
Thunderbird worky fine.
But thunderbird is missing calender
Tried adding lightening, but it won't add into thunderbird.
Will try finding a diff add on, or if anyone knows how to get lightening into thunderbird 3.1.8 on ubuntu 10 that would be great as well.
View 1 Replies
View Related
Feb 24, 2011
I turned on my computer today (running Ubuntu 10.10) and it will go to the login screen where it shows the time at the bottom right and the restart and shutdown button, and also my computer name in the middle of the screen but it does not show my account name. My mouse and keyboard work fine there is just know where to login at. I'm still pretty new to ubuntu so I'm not to sure where to begin.
View 2 Replies
View Related
Apr 13, 2011
My laptop running Ubuntu 10.10 had suddenly go to a dark gray screen that will not take any kind of input other than holding to power button down for 5 seconds. I'm not running any new or odd programs just Firefox, Openofice writer, and Pidgin. When I turn the computer back on I do not see any kind of an error message. I'm looking for any advice that will help me find the cause of the problem.
View 9 Replies
View Related
Jul 13, 2011
I'm running natty server on Rackspace cloud and rsyslogd has been using 197% off my cpu (quad core I believe) for the past few days. Does anyone have an pointers as to how to figure out what is going on?
View 1 Replies
View Related
Aug 1, 2011
We use Ubuntu 10.10 (32 bit) as a backup server.
The machine is quite ild but still working well.
All works very good but every few days it is crashed and freez.
I do not know what real happeny since i do not work on it, but tring to ping it fail and the monitor is blank.
What can I do?
Which log is relevant?
View 5 Replies
View Related
Dec 11, 2010
calculating days' distance?
for instance,
Code:
( 2010-9-16 ) minus (2010-9-1) = 16 days
I have read the date manual
View 4 Replies
View Related
May 21, 2009
I have a folder which generates more than 50000 voice files every week which eats up quite good space..
How to Back up in CD or HDD every 7 days ?
HDD needs to have CentOS or Virgin or Window OS ?
View 1 Replies
View Related
Jan 7, 2010
I upgraded to Mythbuntu 9.10 from 8.10 and things went fairly well. No major problems during the upgrade. The system is just a mythbackend server. The only things that access it are for myth and for the smb mounts for mythtv. Every couple days, the system stops responding to network traffic. No myth connection, no smb, no pings even. All I have to do is wiggle the mouse on the system and everything comes back up instantly. I noticed that after it comes back up, the time is off by hours.
View 1 Replies
View Related
Apr 19, 2010
I have been unable to open my Downloads folder for 2 days now. I've tried everything. I can get into every other folder on my machine though. I also have 103GB free space on my machine. Is there perhaps a limit on the amount of data I can have per folder? I'm running 64bit Ubuntu.
View 1 Replies
View Related
Jul 29, 2010
My macbook is backed up using timemachine on a samba drive. I used this hack for months [URL]his tuto is based on Netatalk, but works perfectly with Samba (or used to), as described in many others blogs.A couple of days ago, I had a strange message from timemachine, like the backup should be reconstructed to improve the security. The sparsebundle has been deleted, and timemachine try to create a new one now. This step failsI tried to create manually a new sparsebundle, using the tuto. It does not work.I have a backup of the sparsebundle ... I can navigate into it ("enter timemachine"), but I cannot backup anymore.
View 7 Replies
View Related
Apr 23, 2011
I want to capture a mms stream daily. All works well with that, but I also want to delete any mpg files that are captured from the stream that are more than 7 days old. Will this command work?
Code:
#!/bin/bash
find /mnt/tera/all_video/thai3 -ctime +7 -name "*.mpg" -exec rm -f {} ; -ls > /var/log/thai3.log 2>&1
[code]....
View 2 Replies
View Related
May 12, 2011
I need to move files to a backup drive if they are over 30 days old. All I could find, when looking for scripts, were ways to sort files by date and the solutions were all over the place and nothing seemed simple or good.
I've thought of building my own running "ls -al > filelist.txt" type of approach and then processing the file, but not sure that is best way. An array would be much easier and eliminate the file, but never done an array in bash.
View 9 Replies
View Related
Mar 6, 2010
My printer no longer prints anything with exception to the TestPrint page.Any other job I give it, it says is "completed" in the queue, though nothing has printed. Installed cups again, after a complete removal. No change. Heres what troubleshooting gave me:
Code:
D [06/Mar/2010:07:26:01 -0500] cupsdSetBusyState: Dirty files
D [06/Mar/2010:07:26:01 -0500] cupsdReadClient: 12 POST / HTTP/1.1
[code]....
View 2 Replies
View Related
May 1, 2010
ok, everything worked fine after a fresh 10.04 install, and after some days now i suddenly got several disconnects from the wifi somehow (all other devices in house does not get disconnected, so its a local issue), tried to restart networking, and when i reboot, it works for some hours, then cuts of again. but, after the latest reboot, the sound card is "gone" i suddenly have no sound and a wifi that disconnects at will 13:24 everything worked 110% in all previous ubuntu versions
lspci says this about my audio device: Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2 wifi device: 09:06.0 Network controller: RaLink RT2561/RT61 802.11g PCI NOTE! THIS IS AN AUDIO ISSUE ( just ellaborated a bit more to explain what I've done to provoke this )
View 2 Replies
View Related