Jump to content

(Archived) Request: Date & Time Stamp


Recommended Posts

  • 2 weeks later...
  • 1 month later...

Are there similar shortcuts for Linux ?

Yes. Xdotool can do this for you and it will work in all applications, not just Evernote.

Xdotool is probably available in your distro's package manager.

Once installed, create a script with this content:

xdotool type $(date +"%H:%M")

Example:

nano /usr/bin/timestamp

Make it executable

chmod +x /usr/bin/timestamp

Run timestamp from a keyboard shortcut or from your desktops command launcher (Alt+F2 in KDE)

Output: 12:06

If you want the date as well, something like this:

xdotool type $(date +"%m/%d/%Y-%H:%M")

Output: 12/02/2012-12:06

Link to comment
  • 2 weeks later...
  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...