Skip to content

Create

For what shall it profit a man, if he shall gain the whole world, and lose his own soul?

Mark 8:36 (KJV)

CREATE A LAUNCHER TO AN EXISTING FILE

Launch VLC and have it open a playlist.

We’ve previously downloaded and saved the Freedom Kids™ album in the Music folder. In VLC, we’ve also saved a playlist of the songs in 3 different formats (with 3 different extensions); m3u, m3u8 and xspf

"Freedom Kids" album in Music


Method 1: Right-click any empty space on the Desktop and choose Create Launcher… from the drop down.

Create Launcher...


Choose the Icon by clicking the rounded box, selecting Image Files from the drop-down menu and navigating to the image

Select Image Files


Fill out the Create Launcher pop-up form:
Name: Freedom Kids™
Comment: Scripture-Fed and Spirit-Led Music
Command: vlc /home/username/Music/Freedom-Kids/Freedom-Kids.xspf

Note: To change the playlist type, simply change the extension from .xspf to .m3u or .m3u8, (or .asx, or .b4s, or .pls).

Fill out the Create Launcher pop-up form with Name, Comment, Command and choose an Icon

Method 2: Right-click any empty space on the Desktop and choose Create Document > Empty File

Create Document > Empty File
Create a Launcher Manually


Name the file freedom-kids.desktop and click the [Create] button.

Enter the name and click the [Create] button


Right-click and choose to Open With “Mousepad”

Open With "Mousepad"


Copy the following, Paste in the text file, Save and Close

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Freedom Kids™
Comment=Scripture-Fed and Spirit-Led Music
Icon=/home/username/Music/Freedom-Kids/cover.jpg
Exec=vlc /home/username/Music/Freedom-Kids/Freedom-Kids.m3u

Freedom Kids™ Launcher on the Desktop

Confirm you trust the launcher

Method 1: Command-line
Open a Terminal [Ctrl]+[Alt]+[T] and type:
chmod a+x ~/Desktop/freedom-kids.desktop

Method 2: GUI (a)
When you attempt to use the launcher the first time (by double-clicking it), Mark it Executable.

Marking an Untrusted launcher Executable


Method 3: GUI (b)
Right-click the launcher, choose Properties from the drop-down menu, click the Permissions tab, and check the Program: Allow this file to run as a program check box.

Allow this file to run as a program


Whichever way you went about it, the launcher should now be fully functional. Double-click it to play Freedom Kids™ in VLC:

Freedom Kids™ playing in VLC

ADD THE LAUNCHER TO THE MENU

Categorize the launcher by adding the Categories key. Adding a launcher without the Categories key will make the launcher appear in the Menu in (a new) category called Other.

Other menu category


Right-click the Freedom Kids™ launcher and choose to Open With “Mousepad”

Open With "Mousepad"


Add the Categories=AudioVideo;Audio line, Save and Close.

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Freedom Kids™

Comment=Scripture-Fed and Spirit-Led Music
Icon=/home/username/Music/Freedom-Kids/cover.jpg
Exec=vlc /home/username/Music/Freedom-Kids/Freedom-Kids.m3u8
Categories=AudioVideo;Audio;


Method 1: Add the launcher to the menu via command-line

Copy the launcher to ~/.local/share/applications (locally ~ for you only)
Open a Terminal [Ctrl]+[Alt]+[T] and type:
sudo cp ~/Desktop/freedom-kids.desktop ~/.local/share/applications

sudo cp ~/Desktop/freedom-kids.desktop ~/.local/share/applications


Move the launcher to /usr/share/applications (globally ~ for all users)
Open a Terminal [Ctrl]+[Alt]+[T] and type:
sudo mv ~/Desktop/freedom-kids.desktop /usr/share/applications

sudo mv ~/Desktop/freedom-kids.desktop /usr/share/applications
Freedom Kids™ playing in VLC
Freedom Kids™ playing in VLC


Method 2: Add the launcher to the menu via GUI

Right-click the Launcher and Copy (if you want to keep a copy on the Desktop), or Cut (if you don’t). Then open the File Manager (Thunar) as root
Open a Terminal [Ctrl]+[Alt]+[T] and type:
pkexec thunar
to open the File Manager (Thunar) as root and press the [Enter] key

pkexec thunar


Provide your password / passphrase and click the [Authenticate] button.

Authenticate


Click File System on the left pane.

Select File System


Double-click each of the following folders; usr, share and applications. Paste the launcher.

Paste


Freedom Kids™ in the Multimedia Menu:

Freedom Kids showing in (the default) Multimedia sub-menu

LAUNCHER TO AN INTERNET RADIO STATION

The launcher below is to 89.9 The Light, a radio station from Melbourne Australia “dedicated to bringing you positive, safe, family friendly, 100% clean content and a whole lot of fun…” The link to this station was copied from a .pls playlist (downloaded from Internet Radio) and pasted into the Command / Exec key after vlc

89.9 The Light

[Desktop Entry]
Version=1.0
Type=Application
Name=89.9 The Light
Comment=Positive Radio
Exec=vlc http://stream.lightfm.com.au:8138/listen.pls?sid=1
Icon=/usr/share/icons/star.svg.thumb.png
Categories=AudioVideo;Audio;

Remember to save launchers made in Mousepad (or other text editor) with the .desktop extension


LAUNCHER(S) TO CBN RADIO NETWORK STATIONS

The Christian Broadcasting Network in the United States features 11 different radio streams. To change the broadcast to one of the others; just change the word contemporary in the Command / Exec key below to christmas, countrycountry-christmas, fiesta-hoygospel, instrumental, news, praisesouthern-gospel or superbook.

CBN logo from Wikimedia Commons

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=CBN
Comment=Christian Broadcasting Network
Icon=/usr/share/icons/CBN_logo.svg.png
Exec=vlc http://cbnradio.streamguys1.com/contemporary-128K?
Categories=AudioVideo;Audio;Player;

Remember to save launchers made in Mousepad (or other text editor) with the .desktop extension

The icon, CBN_logo.svg.png was downloaded from Wikimedia Commons


LAUNCHER(S) TO LIBREOFFICE DOCUMENTS

The LibreOffice suite features six different applications. To create a launcher to a LibreOffice document, simply make the Command / Exec key show what application the document should open in: Exec=libreoffice –base(or calc, draw, impress, math, or writer)/path/to/Your-Document. If you want to use the default (Elementary-Xfce) LibreOffice document icons, you don’t have to provide a path to them, just the name.

Elementary Xfce LibreOffice Base icon

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=libreoffice --base /path/to/Your DataBase
Icon=libreoffice-base

Elementary Xfce LibreOffice Calc icon

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=libreoffice --calc /path/to/Your Spreadsheet
Icon=libreoffice-calc

Elementary Xfce LibreOffice Draw icon

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=libreoffice --draw /path/to/Your Drawing
Icon=libreoffice-draw

Elementary Xfce LibreOffice Impress icon

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=libreoffice --impress /path/to/Your Presentation
Icon=libreoffice-impress

Elementary Xfce LibreOffice Math icon

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=libreoffice --math /path/to/Your Math File
Icon=libreoffice-math

Elementary Xfce LibreOffice Writer icon

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=libreoffice --writer /path/to/Your Word Processing Doc
Icon=libreoffice-writer

Remember to save launchers made in Mousepad (or other text editor) with the .desktop extension


Xfce Documentation Launcher, Desktop Item Editor, and Launcher Panel Plugin
Internet Radio AccuRadioChristianRadio.comIcecastiHeartRADIOInternet RadioLive365raddio, and SHOUTcast
Links 89.9 The Light, CBN, Freedom Kids, LibreOffice, and VLC