Announcement

Collapse
No announcement yet.

How to make Kalarm do sound file ONLY every 30 minutes?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to make Kalarm do sound file ONLY every 30 minutes?

    Hi... I would like a clock "chime" every 30 minutes on my destop. Kalarm seems to be the program to do this, but it seems to insist on displaying a text message window as well (which needs to be closed manually)..

    How do I set it up just to play a sound file every 30 minutes on the hour with no annoying pop up windows that need to be closed

    Thanks much..

    #2
    Re: How to make Kalarm do sound file ONLY every 30 minutes?

    1. If you want to use KAlarm:

    a) pop up -> Use auto-close:
    Alarm message window
    http://www.astrojar.org.uk/kalarm/do...ge-window.html
    Alarm message windows remain visible until you acknowledge them, unless Auto-close window after late-cancellation time was ticked in the Alarm Edit dialogue.
    b) no pop up -> Use Action > Command
    Command to enter a command to execute.
    http://www.astrojar.org.uk/kalarm/do...-edit-dlg.html
    #

    The Enter a script tickbox lets you choose whether to enter a shell command line or a script.

    If this option is unticked, you can enter a shell command line to execute. The command is passed straight to the default shell (defined by the SHELL environment variable), and may include whatever options, parameters, piped commands etc. are permitted by the shell in a single line command.

    If this option is ticked, you can enter the text of a script to execute. Remember to include a first line such as #!/bin/bash to ensure that the correct command interpreter is invoked.
    Not ticked - Just put in the line (you need sox /1/ ) :
    play /usr/share/sounds/k3b_success1.wav
    SYNOPSIS: play <path to sound>



    2. You could use KCron: K > System > KCron
    or Alt + F2 : kcron

    cron - daemon to execute scheduled commands
    kcron — Views and sets cron daemon configuration.
    KCron is an application for scheduling programs to run in the background.
    It is a graphical user interface to cron, the UNIX system scheduler.
    If you use KCron: /usr/bin/play /usr/share/sounds/k3b_success1.wav
    SYNOPSIS: <path to program> <path to sound>



    /1/
    From man play:
    DESCRIPTION
    play and rec is a command line front end to the sox(1) program. It
    will play/record audio files to/from unix-style audio devices. It can
    optionally apply audio effects to the file.
    Install sox -> You can play sound files from the command line.
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: How to make Kalarm do sound file ONLY every 30 minutes?

      Thanks, Rog...
      I'll try it out

      PS: Krcon did the job for me.... Rog131 I owe you a beer if I ever run into you... Thanks again 8)

      Comment

      Working...
      X