kalarm or the kind

Get help with KDE specific problems
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

kalarm or the kind

Post#1 by francois » 15 Jul 2014, 12:16

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.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: kalarm or the kind

Post#2 by francois » 15 Jul 2014, 12:40

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?
Prendre son temps, profiter de celui qui passe.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: kalarm or the kind

Post#3 by fanthom » 15 Jul 2014, 19:52

added kalarm to my TODO list for next release (please dont ask when it will be available cause i dont know yet).
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: kalarm or the kind

Post#4 by francois » 15 Jul 2014, 20:05

Thanks. :D
Prendre son temps, profiter de celui qui passe.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: kalarm or the kind

Post#5 by fanthom » 20 Sep 2014, 13:50

unfortunately we wont have kalarm in next release as it requires kdepim + friends (nepomuk).
Please add [Solved] to your thread title if the solution was found.

User avatar
Ole
Black ninja
Black ninja
Posts: 73
Joined: 01 Aug 2014, 21:12
Distribution: Porteus 32 / Wifislax / Slackw
Location: Bochum - Germany

Re: kalarm or the kind

Post#6 by Ole » 21 Sep 2014, 06:52

kalarm can be downloaded via SPM for Debian Type...

there is a lot of stuff...

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: kalarm or the kind

Post#7 by francois » 21 Sep 2014, 14:22

On google chrome there is alarm clock and timer an extension. This works very fine for my use. :)
Prendre son temps, profiter de celui qui passe.

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: kalarm or the kind

Post#8 by Slaxmax » 21 Sep 2014, 20:59

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
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: kalarm or the kind

Post#9 by Bogomips » 21 Sep 2014, 23:29

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.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: kalarm or the kind

Post#10 by Ed_P » 22 Sep 2014, 03:26

Very clever Slaxmax. :good:

Some interesting sounds to use can be found here also:

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

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: kalarm or the kind

Post#11 by Ed_P » 22 Sep 2014, 22:17

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?
Ed

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: kalarm or the kind

Post#12 by Slaxmax » 23 Sep 2014, 04:59

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
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: kalarm or the kind

Post#13 by Ed_P » 23 Sep 2014, 13:31

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:
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: kalarm or the kind

Post#14 by Ed_P » 27 Sep 2014, 14:25

=update=

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

Post Reply