KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans  .- Knowledge Base  . 

Timer Plasmoid Companion Script


KDE Other Utility

Score 60%
Timer Plasmoid Companion Script

Timer Plasmoid Companion Script

Minimum required   KDE 4.x
Downloads:  383
Submitted:  Dec 6 2008
Updated:  Mar 11 2010


I never really cared much for GUI alarm clocks - they always felt like time wasters when I could just run something like "sleep 30m && mplayer -loop 0 /path/to/sound.file" and be done with it. Then I discovered the outstanding Timer plasmoid that ships with KDE 4.2. It did have one big caveat though: in its current state, there's no convenient way to have it play a sound repeatedly until the user acknowledges the alarm (Yes, I know I could put the aforementioned MPlayer command in the command field, but then I'd have to open a terminal to kill mplayer).

So I did what I always do when I run into an easy problem like that - whipped up a hacky-tacky little script to "fix" it. By default, it uses MPlayer to loop /usr/share/sounds/KDE-Sys-App-Positive.ogg until the user clicks OK in the dialog window that pops up (it uses KDialog for this, hence it being on kde-apps.org). If you don't have MPlayer installed, or you don't like the sound it plays, feel free to change it.

I mostly made this so I could use it with the Timer plasmoid, but you can also run it stand-alone. Run "tpcs --help" for details.

Download the script and put it in your path (~/.local/bin, for example, but make sure ~/.bash_profile contains this line: PATH=~/.local/bin:"${PATH}").
Tell the Timer plasmoid (or whatever other program you may want to call it from) to run tpcs, as shown in the first screenshot.

Make sure MPlayer and the default sound file exist on the user's system; offer option to change them.

I'm open to suggestions for anything else.


0.2.0 (3/11/10)
Use amixer to set Master and PCM volumes to 100% and 90%, respectively
Change default sound file to /usr/share/sounds/KDE-Sys-App-Positive.ogg, as some KDE users may not have Kopete installed
Minor code clean-up

0.0.99b (12/5/08)
Initial release

(Timer Plasmoid Companion Script)
Send to a friend
Other  Apps  from Contrast
Report inappropriate content


 What's the extension please?

 by LaCiccia on: Mar 28 2014
Score 50%

I'm not very familiar with scripting, however I'm eager to learn how to work your script. I've downloaded the file on my Debian 7.3 KDE machine with Google Chrome browser. It saved it automatically as a Download KDE-Apps.org.txt file.
  • Is the extension of the file, ok?

  • Now, where do I move it? I've got nothing in ~/.local/bin, only got a folder in ~/.local/share

  • Where is this ~/.bash_profile file? I can't find it in my system.

  • Can you be a little more specific, please? I have Debian KDE desktop, as mentioned above.

    Reply to this

    Add commentBack

    How do you like Plasma 5?
     The best KDE Desktop ever.
     Definitely a nice improvement.
     Not decided yet. Haven't tried it yet.
     I do not like some of the changes.
     KDE is taking the wrong way.
     I am still sticking with KDE 3.5.
     I have no opinion, but wanted to vote anyway.

     Who we are
    More about us
    Frequently Asked Questions
    Updates on identi.ca
    Updates on Twitter
    Content RSS   
    Events RSS   

    Add App
    Public API
    About KDE-Apps.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Sponsor us
    Report Abuse

    Copyright 2003-2016 KDE-Apps.org Team  
    All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.
    KDE and K Desktop Environment are trademarks of KDE e.V.