General :: Time - Forcing 24-hour Locale?
Aug 24, 2011
Is there any way to force 24-hour time in my locale (for example, 14:00) instead of 12-hour time (2:00 PM)?
I use the en_US locale with a UTF-8 character set on Arch Linux, but this shouldn't matter, I think.
View 1 Replies
ADVERTISEMENT
Jun 17, 2011
I just switched over to Lubuntu, and so far, it's been great.It's rendering quite well with my laptop, even though the fan is constantly running.I've had some small annoyances that I haven't been able to figure out. How do I get the power button and/or other related actions to the 'start' menu? Is there a way to drag and drop applets like in Ubuntu? How do I setup default brightness like in Ubuntu? How do I change the time to normal US time (12 hour instead of 24 hour)How do I change the time to a 12-hour instead of 24-hour?Is there a software center?
View 2 Replies
View Related
Apr 12, 2010
Currently whenever i run date command output is shown like
Mon Apr 12 05:17:21 IST 2010
When its 17:17 Here.
How would i change it so that it should show.
Mon Apr 12 17:17:21 IST 2010
View 9 Replies
View Related
Aug 8, 2010
I was wondering if any one came across that issue before. Everytime I reboot my PC something (I assume GNOME) reset my system clock to an hour behind what is was the last time. So if a reboot twice in a row that'll be two hours behind and so on. It used to work fine until I had to change my system time backward temporally to overcome and issue with GPG. Since I put it back I get that phenomena. It's like it's adjusting it for the Day light saving everytime a boot. Problem is Japan does not have any day light saving. I run OpenSuse 11.2 with Gnome 2.28.2 as my interface. I'm currently located in Japan GMT+9 not DST. /etc/localtime -> /usr/share/zoneinfo/Asia/Tokyo
I suspect a bug in Gnome or Yast. It's not user specific because the time is already altered even before I log it.
View 13 Replies
View Related
Oct 13, 2010
Maverick 10.10 is unable to create Japanese locales on my wife's laptop (Acer Aspire 3000). This machine previously had no such problem. The install is a fresh install, since the machine froze during the upgrade (no fault of Ubuntu's). A possible complication is that it froze several times more during the install, and I have gone through many recovery boots and iterations of dpkg configure. All relevant packages are installed, I believe. Everything else works. Through System, Administration, Language Support, I have installed all components of English and Japanese. Currently English is selected. Japanese should appear in the list but does not. Japanese text appears properly, and I can write in Japanese,But all the menus are in English. Fine by me, but my wife will want Japanese when she uses the computer again (not soon).This mostly likely is a glibc/libc6 problem, as far as I can tell. I can't find any other Ubuntu user with this problem recently.And now, some outputs:1. dpkg-reconfigure locales
sudo dpkg-reconfigure locales
Generating locales...
en_AG.UTF-8... done
[code].....
View 1 Replies
View Related
Aug 31, 2010
Recently moved into amazon's ec2 cloud and noticed our server time was in UTC where we use EST. I did some looking around, and changed using the following;
Followed up setting the correct time using the date command with the correct time, then date showed;
Now, that is correct, but if I do an ntpdate pool.time.org or any other time server, the offset is huge and the date moves back one hour. Is this a daylight settings or something I am just missing?
View 2 Replies
View Related
Mar 31, 2010
I have cron jobs running and the timing is critical, because I'm running Nessus scans on production servers. If I hit them at the wrong time, I'm toast. But when I check the cron log, I see that it is an hour off. Here is the output for the command "clock":
Wed 31 Mar 2010 03:01:26 PM CDT -0.257677 seconds
And this is the tail of the cron log:
Mar 31 16:00:01 nes-001 CROND[8790]: (root) CMD (/Nessus/Targets/NessusScriptDataCenterScan.test)
Mar 31 16:01:02 nes-001 CROND[8822]: (root) CMD (run-parts /etc/cron.hourly)
Mar 31 16:01:02 nes-001 run-parts(/etc/cron.hourly)[8822]: starting 0anacron
Mar 31 16:01:02 nes-001 anacron[8832]: Anacron started on 2010-03-31
Mar 31 16:01:02 nes-001 anacron[8832]: Normal exit (0 jobs run)
Mar 31 16:01:02 nes-001 run-parts(/etc/cron.hourly)[8834]: finished 0anacron
Cron thinks it is 4:00 p.m., but it's really 3:00 p.m. How do I tell Cron what time it is? (Stopping and restarting the crond service did not change it.)
View 1 Replies
View Related
May 17, 2011
I want to know how to change the Digital Clock panel applet to 12 hour time because the default is 24 hour.
View 4 Replies
View Related
Jul 2, 2011
How do I prevent mplayer from sending e-mail by the time mplayer plays the wave file that speaks the time?
Here is the script I use to speak time. I use my natural voice to record like this:
Code:
Last, but not least, I wrote the script:
Code:
Note that I've commented out /bin/cat as a bandage solution to delete mail after mplayer plays the file. I said "bandage solution" because if I have grayson@ubuntu-server forward mail to my e-mail account through SMTP relay, I'm going to be seeing the e-mail messages sent every hour and I need to stop this from happening in the first place.
Example of the mail I've been getting in /var/mail/grayson:
Code:
View 1 Replies
View Related
Mar 24, 2010
I recently decided to try KDE4 and would like the change the clock on the panel to display 12 hour format and not the default 24hour format but i can not find where to change this option currently the clock looks like the attached picture. Gnome has this option and I would like to see it in KDE if it exists in the default clock. I am willing to replace the default KDE clock with a seperate widget if one exists for this.
View 1 Replies
View Related
Aug 5, 2010
I need to change the time displayed in the task bar from a 24 hour clock to a 12 hour format. I could not find the relevant settings in OpenSuse 11.2 and same is the case for 11.3 as well.
how to make the change? I have tried System Settings ---> Computer Administration ---> Date & Time; but I was not able to make the desired change.
Similarly, I have a digital clock widget that shows GMT + 5.5 hours and I need to change that to 12 hour format as well.
View 3 Replies
View Related
Mar 5, 2011
I recently installed language packs for Japanese and changed my system language to it, too. The problem is, now that I try to go back to English, the locale doesn't change back, only the menus are in english. "Apply system wide" in the Language Support didn't do anything; Firefox is in japanese too. Here is my locale output:
LANG=ja_JP.utf8
LANGUAGE=en_US:en
LC_CTYPE="ja_JP.utf8"
[code]....
View 1 Replies
View Related
Apr 21, 2010
I'm trying to use tar to tar files before transfer, so I can keep the entire file path rather than losing it along the way. However, when I try to tar an empty folder, it tells me that it is cowardly refusing to create an empty archive. I want to keep the empty folder on the other end, but don't want to put anything else into the archive to make it non-empty. Is there any way to do this?
View 1 Replies
View Related
Jun 9, 2010
I have a TCP connection (SSH session to some computer for example) Network suddenly goes down and drops all packets (disconnected cable, out of range). TCP resends packets again and again, retrying with increasing delays. I see the problem and plug the cable back (or restore network somehow). TCP connection finally successfully resends some packet and continues.
The problem is that I need to wait for a some timeout on point 5. I want to use my opened SSH session now and not wait for 5-10 seconds until it finds out that connection is working again.
How to force all TCP connections to resend data without delays in GNU/Linux?
View 2 Replies
View Related
Nov 3, 2010
I have set up a linux box running slackware 12.0, along with Apache 2.2.4, on my LAN I have a couple of computers. I want to force them to a webpage under document root, the webpage will be a agreement webpage. Is this possible to do with Apache? This will not be real domain, so my guess it that I would have to tell my DNS server to resolve the ip address to the hostname of my slackware box.
View 14 Replies
View Related
Jan 31, 2010
When I open gedit and also some other applications, I get this message:(gedit:29595): Gtk-WARNING **: Locale not supported by C library.Using the fallback 'C' locale.Why is this happening and should I worry about it? It does not seem to affect my subsequent work.
View 8 Replies
View Related
May 13, 2011
On Slackware64 13.1 the as-installed en_GB locale gave Sunday as the first day of the week. This was not an issue until Xfce's Orage calendar was used when its display of Sunday as the first day of the week was offputting for someone used to Monday. A minor inconvenience but expected to be easy to fix.
At the command line:
Code:
c@CW8:~$ export LANG=en_GB <== same for en_GB.utf8
[code]....
View 2 Replies
View Related
Jul 9, 2011
Under Debian "Expert Installation" once I have chosen installation/system language and location, I get an informative notice, that:
Code:
There is no locale defined for the combination of language and country you have selected.
..and I need to choose one locale available for the selected language. As I understand, locale is just a set of environmental variables used by applications and printed out with locale command?
In addition, is it possible to generate own locale files after the installation, which will match my needs?
View 1 Replies
View Related
Oct 14, 2010
I recently moved from gnome to xfce in my arch linux box. After I added greek to keyboard layout some applications like skype, openoffice and vlc changed their menus in greek characters. English language but greek characters! Anyone got any idea what can I do with this one?
View 1 Replies
View Related
Apr 2, 2010
In accordance with directives - possibly misunderstood - I have reconfigured the Debian "locales" package; I changed the installed locale from en_US.ISO-8859-1 to en_US.UTF-8 and left the default locale for the system as "none". So far so good. In my ".bashrc" file, I have an entry for "LC_LANG".
If this entry is set to "en_US.ISO-8859-1" all my texts are readable on the console but I get warnings like: Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale If I change the LC_LANG entry to "en_US.UTF-8", I no longer get these warnings but the screen-display of Midnight Commander (mc) is a real mess. And even man-pages are no longer able to display hyphens (-) correctly.
View 3 Replies
View Related
Jan 13, 2010
I try to change locale for a program to run my native language with root. I don't know what I made, but can't open gui programs from konsole with root account.
It appear this error:
Code:
When type locale, it appear:
Code:
Yesterday I make run level 4 to skip typing startx in console, and login directly to KDE.
View 7 Replies
View Related
Jan 4, 2010
I am trying to do Multi_key composition...But not able to find which is my character encoding scheme under /usr/share/X11/locale/ I have several direcotries under this folder...How can i come to kno which is my character encoding scheme..Any command for this ?
View 1 Replies
View Related
May 9, 2010
I have an indexer for sphinx, and i want it to run once every hour in linux. How would i do this?
View 8 Replies
View Related
May 20, 2011
Yesterday I configured an NTP Server, and synched a sever with my NTP Server. Now some how my Client clock jumped one hour ahead at 12:00 AM, while HW Clock and NTP Server Clock remained.
Code:
cat /etc/sysconfig/clock
# The ZONE parameter is only evaluated by system-config-date.
# The timezone of the system is defined by the contents of /etc/localtime.
ZONE="Asia/Karachi"
[Code]....
View 2 Replies
View Related
Jan 30, 2011
I would like to detect that with openbox (i avoid xscreensaver) and do manually xset dpms off for the screen.
View 3 Replies
View Related
Mar 23, 2010
I've never observed this problem neither did any of my colleagues trying to SSH into the same system. If I try logging into my server using a wrong username and then press ^C to terminate or exhaust my password attempts, I am locked out for at least an hour. Is there something I can do on my end to fix this problem?
View 1 Replies
View Related
Sep 2, 2010
Very simple question but very frustrating as none of the other threads/bug reports/whatever have had quite the same problem. I want gnome clock to display the time in 12 hour format. The suggested solution is something like right-click the clock -> Preferences and somewhere there will be an option to choose 12/24 hour time. Problem is I don't have that option.
The help has a note that 12 hour time "is not shown if your session language does not use the 12 hour clock" but this really shouldn't be a problem? My language/locale/city, everything I can think of, it's all some variation of en_GB, UK English, Brisbane, Australia: all places which should allow the option of 12 hour clock! So why don't I have that option?
View 4 Replies
View Related
Jan 26, 2011
I have a script(urls.sh) scheduled to run with Crontab at every hour. The script is all good and executes manually with [root@server cron.hourly]# ./urls.sh But the scrip is not executing according to schedule. This is what I see in /var/log/cron every hour:crond[4729]: (root) CMD (run-parts /etc/cron.hourly/urls.sh)My crontab look likes this:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
[code]....
View 2 Replies
View Related
Jun 7, 2010
How I can make sudo Ubuntu 10.04 session an hour and not few minutes?
Now I have to write my password for sudo commands every few minutes.
View 4 Replies
View Related
Jun 24, 2011
I recently assembled a new computer so that all hardware is pretty new. Since then I've been experiencing some problem with IRQs when running Debian 6.0. On random occasions, usually after an hour or so of running I hear a beep and this shows up in dmesg:
[code]....
View 3 Replies
View Related