Typing the current date automaticly in any application with a key binding.

2010-07-20 173 words 1 min read

$ xvkbd -xsendevent -text $(date +%Y%m%d) I don&#8217;t want to waste time to all the time type the current date. I have set this snippet in my kde shortcuts with meta+l. All the <a class="zem_slink freebase/en/window_manager" title="Window manager" rel="wikipedia" href="http://en.wikipedia.org/wiki/Window_manager">window managers have <a class="zem_slink freebase/en/keyboard_shortcut" title="Keyboard shortcut" rel="wikipedia" href="http://en.wikipedia.org/wiki/Keyboard_shortcut">key-bindings AFAIK. That works in all softs, <a class="zem_slink freebase/en/command_line_interface" title="Command-line interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Command-line_interface">CLI or <a class="zem_slink freebase/en/graphical_user_interface" title="Graphical user interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Graphical_user_interface">GUI…

  • <a href="http://www.commandlinefu.com/commands/view/4417/typing-the-current-date-automaticly-in-any-application-with-a-key-binding.">View this command to comment, vote or add to favourites
  • <a href="http://feeds2.feedburner.com/commands/by/sputnick">View all commands by <a href="http://feeds2.feedburner.com/commands/by/sputnick">sputnick

<a href="http://www.commandlinefu.com"><img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/header-logo.jpg" alt="commandlinefu.com" align="bottom" />

by David Winterbottom (<a href="http://codeinthehole.com">codeinthehole.com)

<a href="http://feedads.g.doubleclick.net/~a/waNX3LGmdm7Y_6oxTmUdYHME3ok/0/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/waNX3LGmdm7Y_6oxTmUdYHME3ok/0/di" border="0" alt="" align="bottom" />
<a href="http://feedads.g.doubleclick.net/~a/waNX3LGmdm7Y_6oxTmUdYHME3ok/1/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/waNX3LGmdm7Y_6oxTmUdYHME3ok/1/di" border="0" alt="" align="bottom" />

<img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~r/Command-line-fu/~4/Qci94Fwtil0" border="0" alt="" width="1" height="1" align="bottom" />

URL: <a href="http://feedproxy.google.com/~r/Command-line-fu/~3/Qci94Fwtil0/typing-the-current-date-automaticly-in-any-application-with-a-key-binding.">http://feedproxy.google.com/~r/Command-line-fu/~3/Qci94Fwtil0/typing-the-current-date-automaticly-in-any-application-with-a-key-binding.<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://ask.slashdot.org/story/09/12/30/1911204/IDEs-With-VIM-Text-Editing-Capability?from=rss">IDEs With VIM Text Editing Capability? (ask.slashdot.org) <li class="zemanta-article-ul-li"><a href="http://jeremy.zawodny.com/blog/archives/011331.html">How my netbook taught me to love xmonad (jeremy.zawodny.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/965a6651-6d05-46e1-8c90-7473b5a70bcd/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b43.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">


author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it