Re: I need a data and time clock for my desktop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 11/11/18 12:34 PM, home user via users wrote:
> 
> Does that work for you?  It doesn't work for me.  I know that the man 
> page says it should do that, but it always gave me 12 hour instead.

(f28 and Gnome, both up-to-date as of last Thursday, using "dnf upgrade --refresh")
I get a 24-hour time when I enter "xclock -d".
I get a 24-hour time when I enter "xclock -d -twentyfour".

> Unlikely.  The problem is that xclock would have to interpret the 
> newline character and isn't designed to do that.

The xclock man page lists the "-strftime" option for specifying digital date-time format, and says "This option allows an strftime(3) format string to be specified for the digital clock's display.".  So I would think it would it would interpret the "%n" specifier as does strftime.  Apparently, my thinking is wrong.  I thought xclock was calling strftime.  Apparently not, or maybe it does not know what to do with a part of what strftime returns.

Bill.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux