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.

It's very useful/great multimedia player and more. Youtube search, watch and saving features, too many file formats that can play etc.

How can I make UMPLAYER quicklist for Unity icon ?

Note : umplayer -h parameters are complicated, I tryed but...

share|improve this question
    
what quicklists do you want ? –  Alaukik May 10 '11 at 7:50
    
Playback options, full screen option etc. –  decent May 10 '11 at 13:02
add comment

1 Answer

up vote 2 down vote accepted
  1. Copy the original .desktop file to your home folder:

    cp /usr/share/applications/umplayer.desktop ~/.local/share/applications/

  2. Open that desktop file for editing :

    gedit ~/.local/share/applications/umplayer.desktop

  3. Add the following at the bottom of the file.

X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Fullscreen;

[Play Shortcut Group]
Name=Play
Exec=umplayer -send-action play
TargetEnvironment=Unity

[Pause Shortcut Group]
Name=Pause
Exec=umplayer -send-action pause
TargetEnvironment=Unity

[Stop Shortcut Group]
Name=Stop
Exec=umplayer -send-action stop
TargetEnvironment=Unity

[Fullscreen Shortcut Group]
Name=Fullscreen
Exec=umplayer -send-action fullscreen
TargetEnvironment=Unity
  1. Save it and navigate to ~/.local/share/applications/ and make the umplayer.desktop executable and then drag it to the launcher .

enter image description here

share|improve this answer
    
Thanks very much. –  decent May 10 '11 at 14:19
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.