-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

Timer Plasmoid Companion Script

   0.2.0  

KDE Other Utility

Score 60%
ContrastContrast
-
Mike Vaughn 31

United States of America, Georgetown, KY
Last visit 5 hours ago
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--
Timer Plasmoid Companion Script
zoom


Timer Plasmoid Companion Script
zoom


Depends on  KDE 4.x
Downloads:  332
Submitted:  Dec 6 2008
Updated:  Mar 11 2010

Description:

Summary
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.

Instructions
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}").
Optional
Tell the Timer plasmoid (or whatever other program you may want to call it from) to run tpcs, as shown in the first screenshot.

TODO
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.




Changelog:

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




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



Add commentBack




-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

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

Copyright 2003-2013 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.