137
votes

Please note that right now, most of the information contained below is outdated and cannot be updated. Be careful, most of this won't work on Ubuntu 12.04 and newer.

Creating a custom launcher for Unity is simple. Quicklists provide an easy and efficient way to quickly access commonly used tasks for a specific application.

NOTE: Starting with Ubuntu 11.10, this popup option has vanished. Launchers can now only be created by editing text files in your home folder.

Creating a custom launcher is easy.

  1. Right-click on your desktop and click create a launcher.
  2. Edit the .desktop file using a text editor. (More information can be found here and here.)

So, which custom launchers do you use on Unity?

Note: Please limit yourself to one custom launcher per answer. Also, please provide a screenshot of it in action.

0

46 Answers 46

1
2
11
votes

UMPlayer Quicklist

enter image description here

  • Copy the original .desktop file to your home folder:

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

  • Open that desktop file for editing :

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

  • 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
    
  • Save it and navigate to ~/.local/share/applications/ and then drag it to the launcher .

10
votes

Quicklist for Music Player Daemon (MPD) clients

Screenshot

Adds play/pause, previous, next and stop to the launcher of an MPD client (in this case GMPC, but this can easily be adapted for e.g. xfmpc, Sonata, Ario, Pygmy, pympd, Glurp, Gimmix, gbemol or whatever you fancy). The only requirement is that you install the package mpc (sudo apt-get install mpc).

  1. Copy the global gmpc.desktop file to your home directory:

    cp /usr/share/applications/gmpc.desktop ~/.local/share/applications
    
  2. Edit the file:

    gedit ~/.local/share/applications/gmpc.desktop
    
  3. Paste the following code to the bottom of the file:

    X-Ayatana-Desktop-Shortcuts=Play/Pause;Previous;Next;Stop
    
    [Play/Pause Shortcut Group]
    Name=Play/Pause
    Exec=mpc toggle
    TargetEnvironment=Unity
    
    [Previous Shortcut Group]
    Name=Previous
    Exec=mpc prev
    TargetEnvironment=Unity
    
    [Next Shortcut Group]
    Name=Next
    Exec=mpc next
    TargetEnvironment=Unity
    
    [Stop Shortcut Group]
    Name=Stop
    Exec=mpc stop
    TargetEnvironment=Unity
    

PS. For extra integration, install mpd-sound-menu.

8
votes

Clementine Quicklist

enter image description here

Adds play, pause, stop, next, and back to the clementine launcher.

  1. Copy the global clementine.desktop file to your home directory:

    cp /usr/share/applications/clementine.desktop ~/.local/share/applications
    
  2. Edit the file:

    gedit ~/.local/share/applications/clementine.desktop
    
  3. Paste the following code to the bottom of the file:

    X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Previous;Next  
    
    [Play Shortcut Group]
    Name=Play
    Exec=clementine --play
    TargetEnvironment=Unity
    
    [Pause Shortcut Group]
    Name=Pause
    Exec=clementine --pause
    TargetEnvironment=Unity
    
    [Stop Shortcut Group]
    Name=Stop
    Exec=clementine --stop
    TargetEnvironment=Unity
    
    [Previous Shortcut Group]
    Name=Previous
    Exec=clementine --previous
    TargetEnvironment=Unity
    
    [Next Shortcut Group]
    Name=Next
    Exec=clementine --next
    TargetEnvironment=Unity
    
7
votes

gFTP Quicklist

h

Access directly the bookmarked sites with gFtp. In Launcher is included the script for Bookmarks List generating

  1. Copy the global gftp.desktop file to your home directory:

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

    gedit ~/.local/share/applications/gftp.desktop
    
  3. Paste the following code to the bottom of the file change only the <username> to yours:

    X-Ayatana-Desktop-Shortcuts=GenerateB;EditB
    
    [GenerateB Shortcut Group]
    Name=Create Bookmarks List
    Exec=/home/<username>/.local/share/applications/scripts/addbookmarks generateb
    TargetEnvironment=Unity
    
    [EditB Shortcut Group]
    Name=Edit gFTP Bookmarks
    Exec=/home/<username>/.local/share/applications/scripts/addbookmarks editb
    TargetEnvironment=Unity
    
  4. Create a 'scripts' folder (if not exist) in ~/.local/share/applications folder:

    mkdir ~/.local/share/applications/scripts
    
  5. Create the script file 'addbookmarks' with gedit:

    gedit ~/.local/share/applications/scripts/addbookmarks
    
  6. Add this text to the file

    #!/bin/bash
    
    case $1 in
    generateb)
    echo "[Desktop Entry]" >  $HOME/.local/share/applications/gftp.desktop
    echo "Encoding=UTF-8" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Name=gFTP" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Comment=Download and upload files using multiple file transfer protocols" >>  $HOME/.local/share/applications/gftp.desktop
    echo "GenericName=gFTP" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Exec=gftp %u" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Terminal=false" >>  $HOME/.local/share/applications/gftp.desktop
    echo "X-MultipleArgs=false" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Type=Application" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Icon=gftp.png" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Categories=Application;Network;" >>  $HOME/.local/share/applications/gftp.desktop
    echo "X-GNOME-Bugzilla-Bugzilla=GNOME" >>  $HOME/.local/share/applications/gftp.desktop
    echo "X-GNOME-Bugzilla-Product=gftp" >>  $HOME/.local/share/applications/gftp.desktop
    echo "X-GNOME-Bugzilla-Component=general" >>  /$HOME/.local/share/applications/gftp.desktop
    echo "X-GNOME-Bugzilla-Version=2.0.19" >>  $HOME/.local/share/applications/gftp.desktop
    echo "X-Ubuntu-Gettext-Domain=gftp" >>  $HOME/.local/share/applications/gftp.desktop
    echo "" >>  $HOME/.local/share/applications/gftp.desktop
    echo "X-Ayatana-Desktop-Shortcuts=" >>  $HOME/.local/share/applications/gftp.desktop
    awk 'NR>1{print $1}' RS=[ FS=] $HOME/.gftp/bookmarks > /tmp/gftpbookmarks
    N=0
    while read LINE ; do
        N=$((N+1))
    ay=$(sed -n '/X-Ayatana-Desktop-Shortcuts/p' $HOME/.local/share/applications/gftp.desktop)
    shortname=$(echo "FtpSite$N")
    
    
    sed -i "s/$ay/$ay$shortname;/g" $HOME/.local/share/applications/gftp.desktop
    echo "" >>  $HOME/.local/share/applications/gftp.desktop
    echo "[$shortname Shortcut Group]" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Name=$LINE" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Exec=gftp "bookmark://$LINE"" >>  $HOME/.local/share/applications/gftp.desktop
    echo "TargetEnvironment=Unity" >> $HOME/.local/share/applications/gftp.desktop
    
    done < /tmp/gftpbookmarks
    rm /tmp/gftpbookmarks
    
    ay2=$(sed -n '/X-Ayatana-Desktop-Shortcuts/p' $HOME/.local/share/applications/gftp.desktop)
    ay3="GenerateB;EditB"
    sed -i "s/$ay2/$ay2$ay3/g" $HOME/.local/share/applications/gftp.desktop
    echo "" >>  $HOME/.local/share/applications/gftp.desktop
    echo "[GenerateB Shortcut Group]" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Name=Create Bookmarks List" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Exec=$HOME/.local/share/applications/scripts/addbookmarks generateb" >>  $HOME/.local/share/applications/gftp.desktop
    echo "TargetEnvironment=Unity" >>  $HOME/.local/share/applications/gftp.desktop
    echo "" >>  $HOME/.local/share/applications/gftp.desktop
    echo "[EditB Shortcut Group]" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Name=Edit gFTP Bookmarks" >>  $HOME/.local/share/applications/gftp.desktop
    echo "Exec=$HOME/.local/share/applications/scripts/addbookmarks editb" >>  $HOME/.local/share/applications/gftp.desktop
    echo "TargetEnvironment=Unity" >>  $HOME/.local/share/applications/gftp.desktop
    
    zenity --question --text="Your Bookmarks List has been generated. A restart of Unity Is Required to take effect! Would you like to perform this  now?"
    qq=$?
    if [ "$qq" -eq "0" ] ; then 
        unity --replace &
    else
        exit 1
    fi
    ;;
    
    editb)
    zenity --text-info --filename=$HOME/.gftp/bookmarks > /tmp/gftpbookmarks  --title "Modify gFTP Bookmarks"  --editable --width 850 --height 480
    cp /tmp/gftpbookmarks $HOME/.gftp/bookmarks
    rm /tmp/gftpbookmarks
    ;;
    
    esac
    
  7. Make the file executable:

    chmod +x ~/.local/share/applications/scripts/addbookmarks
    
  8. Drag & Drop the gftp.desktop file from ~/.local/share/applications in nautilus to the Unity Launcher Bar

  9. FIRST RUN !!

    Click on the "Edit gFTP Bookmarks" menu item and edit your gftp bookmarks file. By default file contains a lot of ftp sites which are not used. Remove unused bookmarks and close the file. Next, click on the "Create Bookmark List" and your list is generated.

    List editing is with the same way, at first edit the bookmarks list, next generate the new one.

0
6
votes

Exaile Unity quicklist

Adds play/pause/stop/previous/next entries to Exaile.

Preview:

enter image description here

  1. Copy exaile.desktop to home folder's local share

    cp /usr/share/applications/exaile.desktop ~/.local/share/applications
    
  2. Edit it

    gedit ~/.local/share/applications/exaile.desktop
    
  3. Add the following to the end of the .desktop file

    X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Previous;Next;
    
    [Play Shortcut Group]
    Name=Play
    Exec=exaile --play
    TargetEnvironment=Unity
    
    [Pause Shortcut Group]
    Name=Pause
    Exec=exaile --play-pause
    TargetEnvironment=Unity
    
    [Stop Shortcut Group]
    Name=Stop
    Exec=exaile --stop
    TargetEnvironment=Unity
    
    [Previous Shortcut Group]
    Name=Previous
    Exec=exaile --previous
    TargetEnvironment=Unity
    
    [Next Shortcut Group]
    Name=Next
    Exec=exaile --next
    TargetEnvironment=Unity
    
0
6
votes

Quod Libet Quicklist

(new user not allowed to post image :( )

  1. Copy quodlibet.desktop to home folder's local share

    cp /usr/share/applications/quodlibet.desktop ~/.local/share/applications
    
  2. Edit it

    gedit ~/.local/share/applications/quodlibet.desktop
    
  3. Add the following to the end of the .desktop file

    X-Ayatana-Desktop-Shortcuts=Play;Pause;Previous;Next;Shuffle;InOrder;Focus;Hide;
    
    [Play Shortcut Group]
    Name=Play
    Exec=quodlibet --play
    TargetEnvironment=Unity
    
    [Pause Shortcut Group]
    Name=Pause
    Exec=quodlibet --pause
    TargetEnvironment=Unity
    
    [Previous Shortcut Group]
    Name=Previous
    Exec=quodlibet --previous
    TargetEnvironment=Unity
    
    [Next Shortcut Group]
    Name=Next
    Exec=quodlibet --next
    TargetEnvironment=Unity
    
    [Shuffle Shortcut Group]
    Name=Shuffle
    Exec=quodlibet --order=shuffle
    TargetEnvironment=Unity
    
    [InOrder Shortcut Group]
    Name=InOrder
    Exec=quodlibet --order=inorder
    TargetEnvironment=Unity
    
    [Focus Shortcut Group]
    Name=Focus
    Exec=quodlibet --focus
    TargetEnviroment=Unity
    
    [Hide Shortcut Group]
    Name=Hide
    Exec=quodlibet --hide-window
    TargetEnviroment=Unity
    
6
votes

Quicklist for Sonata (MPD client)

Sonata Quicklists

Main point here is to show simple integration with last.fm through pylast and MPC for any MPD client, without using additional modules

Create custom sonata.desktop file in home folder:

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

Paste contents:

[Desktop Entry]
Name=Sonata
Comment=Elegant GTK+ music client for the Music Player Daemon
Exec=sonata
Terminal=false
Type=Application
Icon=sonata.svg
Categories=GNOME;Application;AudioVideo;
StartupNotify=true
Encoding=UTF-8

X-Ayatana-Desktop-Shortcuts=Play-Pause;Stop;Previous;Next;Love;Ban;Queue;Add-playing-album;Spectrogram;Audacity

[Play-Pause Shortcut Group]
Name=[ ▯▷ ]  Play/Pause
Exec=sonata pp
TargetEnvironment=Unity

[Stop Shortcut Group]
Name=[  ◻  ]  Stop
Exec=sonata stop
TargetEnvironment=Unity

[Previous Shortcut Group]
Name=[ ▯◁ ]  Previous
Exec=sonata prev
TargetEnvironment=Unity

[Next Shortcut Group]
Name=[ ▷▯ ]  Next
Exec=sonata next
TargetEnvironment=Unity

[Love Shortcut Group]
Name=(  ❤  )  Love track
Exec=bash /home/zetah/scripts/mpd-script.sh love
TargetEnvironment=Unity

[Ban Shortcut Group]
Name=(  ✖  )  Ban track
Exec=bash /home/zetah/scripts/mpd-script.sh ban
TargetEnvironment=Unity

[Queue Shortcut Group]
Name=(  ✚  )  Queue similar
Exec=bash /home/zetah/scripts/mpd-script.sh similar
TargetEnvironment=Unity

[Add-playing-album Shortcut Group]
Name=Add Current Album
Exec=bash /home/zetah/scripts/mpd-script.sh add-album
TargetEnvironment=Unity

[Spectrogram Shortcut Group]
Name=Spectrogram
Exec=bash /home/zetah/scripts/mpd-script.sh wavespec
TargetEnvironment=Unity

[Audacity Shortcut Group]
Name=Open with Audacity
Exec=bash /home/zetah/scripts/mpd-script.sh audacity
TargetEnvironment=Unity

For example "Queue similar" adds similar tracks to currently playing according last.fm match query.

Referenced scripts:
mpd-script.sh
pylast-track.py

5
votes

Wine programs Quicklist

Example with menu items for Dreamweaver and Photoshop.

1. Create custom .desktop file for launcher

gedit ~/.local/share/applications/nautilus-wine.desktop

2. Paste the following code and replace the <username> text to match your home folder username. You need also define variable for each program (variable is after the wine_shortcuts) and then save & close:

[Desktop Entry]

Name=Browse C: Drive
Comment=Open your personal folder
TryExec=nautilus
Exec=xdg-open .wine/dosdevices/c:
Icon=wine
Terminal=false
StartupNotify=true
Type=Application
Categories=GNOME;GTK;Core;
OnlyShowIn=GNOME;Unity;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=nautilus
X-GNOME-Bugzilla-Component=general
X-Ubuntu-Gettext-Domain=nautilus

X-Ayatana-Desktop-Shortcuts=Dreamweaver;Photoshop;ConfigureWine;Winetricks
[Dreamweaver Shortcut Group]
Name=Macromedia Dreaweaver
Exec=/home/<username>/.local/share/applications/scripts/wine_shortcuts dreamweaver
TargetEnvironment=Unity


[Photoshop Shortcut Group]
Name=Adobe Photoshop
Exec=/home/<username>/.local/share/applications/scripts/wine_shortcuts photoshop
TargetEnvironment=Unity

[ConfigureWine Shortcut Group]
Name=Configure Wine
Exec=winecfg
TargetEnvironment=Unity

[Winetricks Shortcut Group]
Name=Winetricks
Exec=winetricks
TargetEnvironment=Unity

3. Create a 'scripts' folder (if it does not exist already) in ~/.local/share/applications folder:

mkdir ~/.local/share/applications/scripts

4. Create the script file wine_shortcuts with gedit:

gedit ~/.local/share/applications/scripts/wine_shortcuts

5. Add this text to the file, setup variables used in step 2, open alacarte and get current command prefix for you program (here is posted only example), replace the <command for dreamweaver/photoshop goes here> then save and close:

    #!/bin/bash

    case $1 in
    dreamweaver)
    <command for dreamweaver goes here>
    ;;
    photoshop)
    <command for photoshop goes here>
    ;;
    esac

6. Make the file executable:

chmod +x ~/.local/share/applications/scripts/wine_shortcuts

7.Drag & drop the nautilus-wine.desktop file from ~/.local/share/applications in nautilus to the Unity Launcher Bar

Notice: variable in 2.) must be the same in 4.)

Example for dreamweaver:

2.)

Exec=/home/<username>/.local/share/applications/scripts/wine_shortcuts dreamweaver

4.)

 #!/bin/bash

 case $1 in
 dreamweaver)
0
4
votes

Remmina Quicklist

There is a project in Google Code with a script for automatically creating the quicklist for Remmina, listing saved connections.

Here is the homepage of the project, with installation instructions:
http://code.google.com/p/remmina-unity-launcher/

I have modified the original script, to solve two issues (connection name not correctly found, sort connections by name), here is the script to launch.

#!/bin/bash
# Bash Script to integrate Remmina into Unity Launch bar.
# Creator: Daniel Scholtus
# Version: 2
# Date:    March 23, 2011

if [ -e ~/.local/share/applications/remmina.desktop ]
then
    echo "Deleting old Launcher"
    rm ~/.local/share/applications/remmina.desktop
fi

echo "Creating Base Launcher"
cp /usr/share/applications/remmina.desktop ~/.local/share/applications/remmina.desktop

echo "Adding shortcuts items declaration"
echo "" >> ~/.local/share/applications/remmina.desktop

AYATANA="X-Ayatana-Desktop-Shortcuts="

mkdir /tmp/remmina-unity

FILES=("`ls ~/.remmina/*.remmina`")
for f in ${FILES}
do
    NAME=`cat $f | grep -G -m 1 ^name= | cut -d= -f2`
    FILE=`basename $f .remmina`
    echo $FILE > "/tmp/remmina-unity/$NAME"
done

FILESTEMP=("`ls /tmp/remmina-unity/*`")
for f in ${FILESTEMP}
do
    FILE=`cat "$f"`
    AYATANA=$AYATANA$FILE";"
done

rm /tmp/remmina-unity/ -R

AYATANA=$AYATANA"Settings;Update;Restart"

echo $AYATANA >> ~/.local/share/applications/remmina.desktop
echo "" >> ~/.local/share/applications/remmina.desktop

echo "Adding shortcuts items descriptions"
echo "" >> ~/.local/share/applications/remmina.desktop

echo " - Settings"
echo "[Settings Shortcut Group]" >> ~/.local/share/applications/remmina.desktop
echo "Name=Settings" >> ~/.local/share/applications/remmina.desktop
echo "Exec=remmina" >> ~/.local/share/applications/remmina.desktop
echo "TargetEnvironment=Unity" >> ~/.local/share/applications/remmina.desktop

echo " - Update"
echo "[Update Shortcut Group]" >> ~/.local/share/applications/remmina.desktop
echo "Name=Update List (needs to re-lock to the panel)" >> ~/.local/share/applications/remmina.desktop
echo "Exec=bash ~/.local/bin/remmina-unity.sh" >> ~/.local/share/applications/remmina.desktop
echo "TargetEnvironment=Unity" >> ~/.local/share/applications/remmina.desktop

echo " - Restart"
echo "" >> ~/.local/share/applications/remmina.desktop
echo "[Restart Shortcut Group]" >> ~/.local/share/applications/remmina.desktop
echo "Name=Update List and restart Unity" >> ~/.local/share/applications/remmina.desktop
echo "Exec=bash ~/.local/bin/remmina-unity.sh & setsid unity --replace" >> ~/.local/share/applications/remmina.desktop
echo "TargetEnvironment=Unity" >> ~/.local/share/applications/remmina.desktop

for f in ${FILES}
do
    NAME=`cat $f | grep -G -m 1 ^name= | cut -d= -f2`

    echo " - "$NAME
    echo "" >> ~/.local/share/applications/remmina.desktop
    echo "[`basename $f .remmina` Shortcut Group]" >> ~/.local/share/applications/remmina.desktop
    echo "Name=$NAME" >> ~/.local/share/applications/remmina.desktop
    echo "Exec=remmina -c $f" >> ~/.local/share/applications/remmina.desktop
    echo "TargetEnvironment=Unity" >> ~/.local/share/applications/remmina.desktop
done
3
votes

Gwibber

There is a quick list by default for Gwibber (a microblogging client that brings the most popular social networking web services to your desktop).

Gwibber quick-list
this program comes with Ubuntu by default


Tip: This programs must be opened(or found in startup menu) to see it's quick-list

2
  • Please split these into separate answers.
    – RolandiXor
    Jan 27, 2012 at 17:56
  • @Roland Taylor done and sorry for late Feb 15, 2012 at 17:18
2
votes

Shutter:

There is a quick list by default for shutter (a program to take screen-shots and edit them) when you install it Ubuntu unity.

shutter quick-list

Download shutter(ppa & .dep) : here


Tip: This programs must be opened(or found in startup menu) to see it's quick-list

1
vote
  1. Copy 'System Settings' launcher file to your home directory:

    cp /usr/share/applications/gnome-control-center.desktop ~/.local/share/applications

  2. Open the file for editing in gedit:

    gedit ~/.local/share/applications/gnome-control-center.desktop

  3. Add this text to the bottom of the file, then close and save:

    X-Ayatana-Desktop-Shortcuts=GnomeTweak;DiskUtility
    [GnomeTweak Shortcut Group]
    Name=Advanced Settings
    Exec=gnome-tweak-tool
    TargetEnvironment=Unity
    [DiskUtility Shortcut Group]
    Name=Disk Utility
    Exec=palimpsest
    TargetEnvironment=Unity
    
  4. Save the launcher and put it on the Unity panel in place of the original. Note that to have the Advanced Settings quicklist shortcut to work, the package "gnome-tweak-tool" must be installed (available in the repositories).

2
  • What exactly does this quicklist do? It sounds to me that this is equivalent to unpinning System Settings from the launcher and pinning Advanced Settings there instead, which could be easily accomplished with some drag-and-drop. Nov 13, 2011 at 0:18
  • No, it allows me to quickly access a bunch of user settings from a single unity launcher instead of hunting them down each time in dash. I still want to keep System Settings on the dash and for that launcher to be the primary shortcut, but I want quicklist shortcut access to Advanced Settings and Disk Utility, even though I use them less often. Dec 3, 2011 at 18:42
0
votes

Audacious Quicklist

Audacious Quicklist

Quicklist for Audacious that allows controlling playback (redundant if using Audacious 3.2+, because you can control it from the Sound Menu), showing and hiding the main window (you can also unhide it by selecting Audacious from the Sound Menu), adding files to the current playlist and jumping to another song in the playlist.

  1. Copy the original launcher file to your home folder:

     mkdir -p ~/.local/share/applications
     cp /usr/share/applications/audacious2.desktop ~/.local/share/applications/
    
  2. Open that file for editing:

     gedit ~/.local/share/applications/audacious2.desktop
    
  3. Add the following at the bottom of the file, then close and save.

     X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Rew;Fwd;Hide;Show;AddFiles;Jump
    
     [Play Shortcut Group]
     Name=Play
     Exec=audacious -p
     TargetEnvironment=Unity
    
     [Pause Shortcut Group]
     Name=Pause
     Exec=audacious -u
     TargetEnvironment=Unity
    
     [Stop Shortcut Group]
     Name=Stop
     Exec=audacious -s
     TargetEnvironment=Unity
    
     [Rew Shortcut Group]
     Name=Previous
     Exec=audacious -r
     TargetEnvironment=Unity
    
     [Fwd Shortcut Group]
     Name=Next
     Exec=audacious -f
     TargetEnvironment=Unity
    
     [Hide Shortcut Group]
     Name=Hide
     Exec=audtool mainwin-show off
     TargetEnvironment=Unity
    
     [Show Shortcut Group]
     Name=Show
     Exec=audtool mainwin-show on
     TargetEnvironment=Unity
    
     [AddFiles Shortcut Group]
     Name=Add files
     Exec=audtool filebrowser-show
     TargetEnvironment=Unity
    
     [Jump Shortcut Group]
     Name=Jump to Song
     Exec=audacious -j
     TargetEnvironment=Unity
    
  4. Log out and log in again to see the changes.

0
votes

Audacious Headless mode Quicklist

Audacious Headless mode Quicklist

Quicklist for Audacious that allows starting the player in headless mode and shutting it down.

While running in headless mode Audacious can be controlled from the Sound Menu (Audacious 3.2+ only), with the multimedia keys (or other keybindings), from the command line with the audacious and the audtool commands and so on.

  1. Copy the original launcher file to your home folder:

     mkdir -p ~/.local/share/applications
     cp /usr/share/applications/audacious2.desktop ~/.local/share/applications/
    
  2. Open that file for editing:

     gedit ~/.local/share/applications/audacious2.desktop
    
  3. Add the following at the bottom of the file, then close and save.

     X-Ayatana-Desktop-Shortcuts=Headless;Shutdown
    
     [Headless Shortcut Group]
     Name=Start in headless mode
     Exec=audacious -h
     TargetEnvironment=Unity
    
     [Shutdown Shortcut Group]
     Name=Shutdown
     Exec=audtool shutdown
     TargetEnvironment=Unity
    
  4. Log out and log in again to see the changes.

0
votes

Nginx Quicklist

Nginx Quicklist

  1. Install nginx-init-ubuntu.

  2. Add create a new file .local/share/applications/ named nginx.desktop and paste this inside:

    [Desktop Entry]
    Name=Nginx
    Comment=Nginx Webserver
    Exec=sudo service nginx start
    Icon=/usr/share/icons/nginx.png
    Type=Application
    Categories=Web;Servers;
    StartupNotify=true
    Terminal=true
    #OnlyShowIn=GNOME;Unity;
    X-Ubuntu-Gettext-Domain=nginx
    X-Ayatana-Desktop-Shortcuts=Start;Stop;Restart;
    
    [Start Shortcut Group]
    Name=Start Nginx
    Exec=sudo service nginx start
    TargetEnvironment=Unity
    
    [Stop Shortcut Group]
    Name=Stop Nginx
    Exec=sudo service nginx stop
    TargetEnvironment=Unity
    
    [Restart Shortcut Group]
    Name=Restart Nginx
    Exec=sudo service nginx restart
    TargetEnvironment=Unity
    
  3. Using your file manager (such as nautilus), drag .local/share/applications/nginx.desktop to the launcher.

0
votes

Wallch:

There is a quick list by default for Wallch (a program to change wallpaper automatically) when you install it Ubuntu unity.

wallch quick-list

Download wallch(ppa & .dep) : here


Tip: This programs must be opened(or found in startup menu) to see it's quick-list

1
2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .