-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 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 
--
-
 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
--
-
 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    Open-PC.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

Timer Plasmoid Companion Script
zoom


Timer Plasmoid Companion Script
zoom


Depends on:  KDE 4.x
Downloads:  210
Submitted:  Dec 6 2008
Updated:  Mar 11 2010
Score: 
score60%60%score
 60% good
bad   good

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
subscription
other apps from Contrast



add commentback




-
-
all messages
openDesktop.org Facebook App

Partners
Place Your Link Here!
online casino bonus
Online Roulette

-
Favorite Distribution 2010?
 Debian
 Gentoo
 SuSE
 Ubuntu
 Kubuntu
 Linux Mint
 Arch Linux
 Frugalware
 Fedora
 Mandriva
 PC Linux OS
 Other Distribution
 I'm a *BSD user
 Using Windows
 Using Mac OS X
 Other OS
 I don't use Computers and have asked another user to check this option for me.

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