Page 1 of 1

kalarm or the kind

Posted: 15 Jul 2014, 12:16
by francois
Once and a while I take a nap in my office.

Kalarm or some similar package would be really handy. Is there a possibility to include it stock in porteus 3.0 ? (it is even not available thru usm or sbo)

Thanks.

Re: kalarm or the kind

Posted: 15 Jul 2014, 12:40
by francois
I found that Lightweight Alarm Clock extension on google is one such application. I wonder how safe it could be to use such an application?

Re: kalarm or the kind

Posted: 15 Jul 2014, 19:52
by fanthom
added kalarm to my TODO list for next release (please dont ask when it will be available cause i dont know yet).

Re: kalarm or the kind

Posted: 15 Jul 2014, 20:05
by francois
Thanks. :D

Re: kalarm or the kind

Posted: 20 Sep 2014, 13:50
by fanthom
unfortunately we wont have kalarm in next release as it requires kdepim + friends (nepomuk).

Re: kalarm or the kind

Posted: 21 Sep 2014, 06:52
by Ole
kalarm can be downloaded via SPM for Debian Type...

there is a lot of stuff...

Re: kalarm or the kind

Posted: 21 Sep 2014, 14:22
by francois
On google chrome there is alarm clock and timer an extension. This works very fine for my use. :)

Re: kalarm or the kind

Posted: 21 Sep 2014, 20:59
by Slaxmax
my simple "kalarm"

Code: Select all

guest@porteus:~$ sleep 10m 30s  ; Xdialog --msgbox "GO TO COLLEGE" 0 0 & mplayer /home/guest/music.mp3 
1 - wait 10 minutes and 30 seconds
2 - Show dialog window "GO TO COLLEGE" and play music.mp3

If you need change time (example)
sleep 1h 30m for wait 1hour and 30minutes
sleep 7m 15s for wait 7minutes and 15seconds

Re: kalarm or the kind

Posted: 21 Sep 2014, 23:29
by Bogomips
While idling through the very long list of Plasmoids, came across an alarm plasmoid that , at the time, it seemed would have suited your needs.

Re: kalarm or the kind

Posted: 22 Sep 2014, 03:26
by Ed_P
Very clever Slaxmax. :good:

Some interesting sounds to use can be found here also:

http://soundbible.com/tags-alarm.html

Re: kalarm or the kind

Posted: 22 Sep 2014, 22:17
by Ed_P
Slaxmax wrote:my simple "kalarm"

Code: Select all

guest@porteus:~$ sleep 10m 30s  ; Xdialog --msgbox "GO TO COLLEGE" 0 0 & mplayer /home/guest/music.mp3 
RazorQT doesn't come with mplayer, it has qmmp and when dbl clicking on a .wav file it plays it. However substituting "mplayer" in the "kalarm" script above with "qmmp -p" doesn't play the same .wav file. Anyone know what parms are needed for qmmp to play a .wav file in terminal mode?

Re: kalarm or the kind

Posted: 23 Sep 2014, 04:59
by Slaxmax
qmmp works for me

Code: Select all

guest@porteus:~$ sleep 5s  ; Xdialog --msgbox "GO TO COLLEGE" 0 0 & qmmp /home/guest/music.mp3
but.. try ffplay

Code: Select all

guest@porteus:~$ sleep 5s  ; Xdialog --msgbox "GO TO COLLEGE" 0 0 & ffplay /home/guest/music.mp3
if you need play ONLY wav files use aplay

Code: Select all

guest@porteus:~$ sleep 5s  ; Xdialog --msgbox "GO TO COLLEGE" 0 0 & aplay /home/guest/music.wav

Re: kalarm or the kind

Posted: 23 Sep 2014, 13:31
by Ed_P
Thank you Slaxmax. :good:

They all work, once I took the stupid space out of the .wav file's name. @#$&@ And while that sounds like an obvious error to catch the error msgs from qmmp did not indicate that to me.

Code: Select all

guest@porteus:~$ qmmp  /home/guest/Sounds/Busy\Signal-SoundBible.com-1695161320.wav
Qmmp: setting ui language to 'auto'
Output: loaded plugin libalsa.so
Output: loaded plugin libnull.so
OutputALSA: setupMixer()
OutputALSA: Failed to find mixer element
General: loaded plugin libconverter.so
General: loaded plugin libcopypaste.so
General: loaded plugin libcovermanager.so
General: loaded plugin libfileops.so
General: loaded plugin libhal.so
General: loaded plugin libhotkey.so
General: loaded plugin libkdenotify.so
General: loaded plugin liblyrics.so
General: loaded plugin libmpris.so
General: loaded plugin libnotifier.so
General: loaded plugin libscrobbler.so
General: loaded plugin libstatusicon.so
General: loaded plugin libstreambrowser.so
General: loaded plugin libtrackchange.so
General: loaded plugin libudisks2.so
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0x2b7
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0x2b7
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0x2b7
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0x2b7
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0x2b7
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0x2b7
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0x2b7
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0x2b7
UiLoader: loaded plugin libqsui.so
UiLoader: loaded plugin libskinned.so
MainWindow: detected wm: Openbox
Skin: using :/default
Skin: cannot find region.txt. Transparency disabled
Visual: loaded plugin libanalyzer.so
WindowSystem: setting sticky state of window 0x440001d to false.
InputSource: loaded plugin libhttp.so
Decoder: loaded plugin libaac.so
Decoder: loaded plugin libcdaudio.so
Decoder: loaded plugin libcue.so
Decoder: loaded plugin libffap.so
Decoder: Cannot load library /usr/lib64/qmmp/Input/libffmpeg.so: (libavcodec.so.54: cannot open shared object file: No such file or directory)
Decoder: loaded plugin libflac.so
Decoder: loaded plugin libmad.so
Decoder: loaded plugin libsndfile.so
Decoder: loaded plugin libvorbis.so
Decoder: loaded plugin libwavpack.so
AbstractEngine: loaded plugin libmplayer.so
PlayListParser: loaded plugin libm3uplaylistformat.so
PlayListParser: loaded plugin libplsplaylistformat.so
PlayListParser: loaded plugin libxspfplaylistformat.so
PlayListManager: saving playlists...
OutputALSA: setupMixer()
OutputALSA: Failed to find mixer element
virtual MainWindow::~MainWindow()
Visual::~Visual()
OutputALSA: setupMixer()
OutputALSA: Failed to find mixer element
PlayListManager: saving playlists...
guest@porteus:~$ 
Lots of msgs but "File not found" not one of them. The original downloaded file's name was "Busy Signal-SoundBible.com-1695161320.wav". Porteus(?) would replace the " " with a "\" which I took to mean it was ok.

Thanks again. :beer:

Re: kalarm or the kind

Posted: 27 Sep 2014, 14:25
by Ed_P
=update=

BTW If Porteus/Bash(?) had replaced the " " with "\ " rather than just "\" I think it might have worked.