-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 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 
 apps.ownCloud.com ownCloud 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
 VLC-Addons.org Themes and Extensions for VLC
--
-
 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   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

Good Morning

   0.1  

Amarok 2.0 Script

Score 56%
Good Morning
zoom


Minimum required   KDE 4.x
Downloads:  45
Submitted:  Apr 13 2013
Updated:  Apr 13 2013

Description:

This is an alarm script for Amarok.

You can schedule an alarm for every day of the week.
Once the alarm script is enabled, it remains enabled, even after Amarok restarts.
The script will be disabled only when you manually disable it.

The configuration of the script is saved each time enable/disable is clicked.



Usage
Wake up time
  • Usually
    This is where you schedule alarm time for every day. If the day is not
    checked, no alarm is scheduled.

  • Exceptionnally
    You can setup a "one-shot" exception: the script will ignore every
    scheduled alarm and wake you up at the time specified. After the exception
    happens, it is automatically disabled, and the script goes back to the
    "usual" alarms.

  • Music
  • Track
    You can decide which track should be played:
    - First: first track of the playlist.
    - Next: next track relative to current.
    - Last: last track of playlist.
    If unchecked, script will play the current track.

  • Progression
    You can set the track progression. This will change the track progression
    setting of the playlist.
    If unchecked, the current track progression is used.

  • Volume
  • Volume
    Let you decide which volume should be used when playback starts.
    If unchecked, current volume is used.

  • Fade-in
    Decide if you want any fade-in, and how long it should last.
    If unchecked, no fade-in.

  • Computer
  • In case your computer will be suspended to RAM at the alarm time, you must
    check this box. This will schedule a wake-up of the computer through the RTC.
    You must specify the path of the shell script that will do this action.
    Two scripts are provided for that (see below).



  • About the wake-up computer feature
    1. Get it to work
    For this feature to work, a few things needs to be done:
  • Install the rtcwake package.

  • Configure it so that you can run it without root permission.
    There's two main ways to achieve that:
    - You can do that by configuring your sudoer file.
    In this case, the rtcwake script to be used is rtcwake-sudo.sh
    - You can also setuid the rtcwake binary.
    In this case, the rtcwake script to be used is rtcwake-setuid.sh
    - Maybe it's possible to do that another way.
    In this case, you also need to write your own rtcwake script.

  • At last, test it once to see how it goes.


  • 2. If you want to test it
    rtcwake will schedule the wakeup of your computer ONE MINUTE before the alarm time.
    So, if you're just trying the script and want to see if rtcwake works, give it
    at least two minutes, so that you have time to suspend your computer before
    the RTC tries to wake it up.

    3. Suspended to disk
    For this to work, you need a little bit of setup:
  • Be sure that you have a swap partition, check that in /etc/fstab.

  • Assuming that your swap lives on /dev/sdaX, add the following parameter to your
    kernel parameters: "resume=/dev/sdaX".
    If your bootloader is GRUB2, you need to edit the file /etc/default/grub.


  • 4. About dual-boot GNU/Linux - Windows
    The RTC (Real-Time Clock) is a hardware clock that keeps time on your computer
    when it's off.
    With rtcwake, we can ask the RTC to wakeup computer at a given date and time.
    Usually, GNU/Linux keeps the RTC in UTC time, while Windows keeps it in local time.
    GNU/Linux is able to detect that, this information is written in /etc/adjtime.
    So, if you have a dual-boot GNU/Linux and Windows, everything should be fine.
    But I never tested it, so I can't promise anything !
    If you're local timezone is, let's say, 2 hours ahead of UTC, and you notice that
    the computer is awakened 2 hours ahead the time it should, you know you've got a
    problem with RTC.

    5. Daylight saving changes
    The two days of the year when daylight saving changes should cause no problem
    to the script.



    Thanks
    Menu icon comes from the Klear KWeather icon set:
    http://kde-look.org/content/show.php?content=39988



    Git repository
    https://gitorious.org/elboulangero/amarok-good-morning




    LicenseGPL
    Source(amarok-good-morning-01.tar.gz)
    Send to a friend
    Subscribe
    Other  Apps  from elboulangero
    Report inappropriate content



    Add commentBack






    -
    -
    How do you like Plasma 5?
     The best KDE Desktop ever.
     Definitely a nice improvement.
     Not decided yet. Haven't tried it yet.
     I do not like some of the changes.
     KDE is taking the wrong way.
     I am still sticking with KDE 3.5.
     I have no opinion, but wanted to vote anyway.

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