Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to add quicklist lines to deadbeef.desktop file ? Because it's my favorite music player ;)

share|improve this question
1  
Thanks a lot, Deadbeef quicklist is OK.i.imgur.com/MsGHY.png –  decent May 4 '11 at 8:16
    
DeaDBeeF new release: 0.5.0.. This release includes quicklist feature for unity icon launchpad.net/~alexey-smirnov/+archive/deadbeef –  decent May 16 '11 at 18:11
add comment

1 Answer

up vote 1 down vote accepted

It sounds like you may already know the basics of quicklists, but I figured I'd better be thorough anyway

  1. Copy launcher file to your home directory:

    cp /usr/share/applications/deadbeef.desktop ~/.local/share/applications
    
  2. Open the file for editing in gedit:

    gedit ~/.local/share/applications/deadbeef.desktop
    
  3. Add this text to the bottom of the file, then close and save:

    X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Next;Prev
    [Play Shortcut Group]
    Name=Play
    Exec=deadbeef --play
    TargetEnvironment=Unity
    
    [Pause Shortcut Group]
    Name=Pause
    Exec=deadbeef --pause
    TargetEnvironment=Unity
    
    [Stop Shortcut Group]
    Name=Stop
    Exec=deadbeef --stop
    TargetEnvironment=Unity
    
    [Next Shortcut Group]
    Name=Next
    Exec=deadbeef --next
    TargetEnvironment=Unity
    
    [Prev Shortcut Group]
    Name=Prev
    Exec=deadbeef --prev
    TargetEnvironment=Unity
    

There are a few other commands in deadbeef -h but these are the only ones that I thought made sense to add.

share|improve this answer
2  
Please add it to askubuntu.com/questions/35488/…. –  Egil May 4 '11 at 7:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.