LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-20-2006, 04:14 PM   #1
Xswitch
Member
 
Registered: Jul 2003
Distribution: Ubuntu, Debian
Posts: 139

Rep: Reputation: 15
Software: Stopwatch


Hey all... I need a simple stopwatch program. I need to be able to set it say for 5 minutes, and then when the 5 min. are up, my PC plays a tune/alarms. What would you recommend?
 
Old 03-21-2006, 12:58 AM   #2
Ipsofacto
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 132

Rep: Reputation: 15
See here:
http://www.astrojar.org.uk/linux/kalarm.html

Only useful if you are using kde...
 
Old 03-21-2006, 06:40 AM   #3
Xswitch
Member
 
Registered: Jul 2003
Distribution: Ubuntu, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
Thanks, but I'm using gnome and I realized that what I really need is something that will "count down" and then sound an alarm. There's gotta be something out there for us gnome users...
 
Old 03-21-2006, 07:37 AM   #4
Ipsofacto
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 132

Rep: Reputation: 15
Have a llok through these from google:

http://www.linuxlinks.com/Software/P...rs/index.shtml

Maybe the Cloxten one?
 
Old 03-21-2006, 07:38 AM   #5
Ipsofacto
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 132

Rep: Reputation: 15
Removed - posted my message twice

Last edited by Ipsofacto; 03-21-2006 at 07:39 AM.
 
Old 03-21-2006, 09:32 AM   #6
Xswitch
Member
 
Registered: Jul 2003
Distribution: Ubuntu, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
Thanks Ipsofacto.... I'll try it out... thanks again..
 
Old 03-21-2006, 11:47 AM   #7
linuxbot
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Rep: Reputation: 0
Alarm

command line

> sleep 300; play soundfile.wav

Not a gui, but effective.
 
Old 03-22-2006, 09:35 AM   #8
Xswitch
Member
 
Registered: Jul 2003
Distribution: Ubuntu, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
WOW!!! ... i love the command line.... Thanks for that, but I keep getting this error

sox: Failed reading Track01.mp3: Do not understand format type: mp3

or

sox: Failed reading xxxx.wav: Sorry, this WAV file is in MPEG Layer 3 format.

How do I fix?
 
Old 03-23-2006, 02:13 PM   #9
linuxbot
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Rep: Reputation: 0
sox

I ran the play command on a Suse 9.1 and 10.0 system (both upgraded with Packman rpms) with both mp3 and wav files and it worked. What version of Suse are you running?

The play command is part of the sox system. Sounds like your sox install isn't supporting mp3.

When you tried the play command on the wav file, was it actually a wav format file or did you rename your mp3 file? Try it on a system wav file.

What version of sox is installed on your system? Run this command:

> rpm -qa | grep sox
 
Old 03-24-2006, 07:50 AM   #10
Xswitch
Member
 
Registered: Jul 2003
Distribution: Ubuntu, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
Tried with .wav and mp3 files. Did not rename any files.

Running SuSE 10

sox ver: sox-12.17.7-6
 
Old 03-24-2006, 09:25 AM   #11
linuxbot
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Rep: Reputation: 0
This is my third post.
 
Old 03-24-2006, 09:25 AM   #12
linuxbot
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Rep: Reputation: 0
this is my fourth post.
 
Old 03-24-2006, 09:26 AM   #13
linuxbot
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Rep: Reputation: 0
this is my fifth post. hopefully I can post links now.
 
Old 03-24-2006, 09:27 AM   #14
linuxbot
LQ Newbie
 
Registered: Mar 2006
Posts: 11

Rep: Reputation: 0
Suse 10

OK, I was wrong, my suse 10 did not play the mp3, but will play wavs. I had the same version: sox-12.17.7-6. Suse must have not compiled mp3 support in that one.

I uninstalled that sox version with Yast then installed the sox-12.17.5-2.i586.rpm from Suse 9.2. That allowed me to play both wavs and mp3s. Not sure if downgrading will cause me other problems, but we'll see. When I uninstalled in Yast there were a couple of packages that were dependent, but hopefully they'll use the older version ok.

You can find the older 9.2 rpm here:
http://rpmfind.net/linux/RPM/suse/9.....5-2.i586.html

Also, your not limited to using the play command from sox. If you have mplayer and/or mpg321 installed from Packman, you can use them on the command line to play mp3s.
> mplayer file.mp3
> mpg321 file.mp3

Get them from Packman
http://packman.links2linux.org/

Easiest is the add Packman repository to your Yast and install the packages from there.
 
Old 03-24-2006, 11:00 AM   #15
Xswitch
Member
 
Registered: Jul 2003
Distribution: Ubuntu, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
> sleep xxx; mplayer xxx.mp3 worked like a charm. I will use that... This is sooooooooooo sweeeeeeeeeeeet....

Thanks Ipsofacto and linuxbot for the help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopwatch for Linux... deft Linux - Software 5 03-01-2006 06:15 AM
LXer: Open Source Software Will Permeate Enterprise Software, Says The ... LXer Syndicated Linux News 0 12-12-2005 08:31 PM
Music Library Software & a List of M$ like Software for Linux MultiUser Linux - Software 2 02-27-2004 08:20 PM
stopwatch rsarson General 4 08-27-2003 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration