Atanok’s Weblog

2009/10/27

Amarok + Kalarm = alarm clock

Filed under: Uncategorized — atanok @ 05:36

Open Kalarm, create a new command alarm, check Enter a script box and paste this in:

amarok --play
qdbus org.kde.amarok /Player org.freedesktop.MediaPlayer.VolumeSet 100
amixer sset Master 100

Bam! Amarok alarm.

Don’t forget to leave Kalarm turned on for the night.

You may turn off your sound system, given that you have some unnecessarily intricate contraption to turn it on in time, or a programmable time switch.

Also, thanks to the guys at #amarok for pointing me to D-Bus.

Advertisements

3 Comments »

  1. Trying this shit out, after a hilarious alarm malfunction this morning.

    (Equally hilarious blog post forthcoming!)

    Comment by bbot — 2009/12/09 @ 07:37

  2. I have been looking over your Stanly 31200 timer. It has gotton some negative feedback; however, it looks quite interesting to me.
    I don’t need a timer timer. At the present time, I have two.

    Comment by Elena — 2011/03/17 @ 19:34

    • I never bought one of those; it’s there for illustrative purposes.
      I should have mentioned that, being a link to amazon…
      I’ll change it to a link to the relevant Wikipedia article.

      Thank you for the feedback 🙂

      Comment by atanok — 2011/03/22 @ 14:12


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: