David J Murray
~ Learn and Do - Excel and Share ~

Creating desktop launchers in Linux Mint Xfce

Dec 12, 2014

Image by Chaos07 from Pixabay

There is a nice feature within Xcfe where you can create a program launcher on the desktop.

You right-click on the desktop and select ‘Create Launcher’ from the displayed menu.

In the name field, start typing the name of the application. A drop-down box will fill with possible options.

In my case, I was adding a launcher for EtherApe:

Entering Ether with dropdown box in Create Launcher dialog box

Entering Ether with drop-down box in Create Launcher dialog box

You may want to drag the right hand side out to clearly display the options in the drop-down display.

I selected the EtherApe as root option and this created the launcher with the options:

All options for launching EtherApe as root.

All options for launching EtherApe as root.

If you look closely, you will see that the program EtherApe is run by executing su-to-root. This small script prompts the user for the user’s password; similar to the sudo command, but within the desktop GUI.

But, with the default install of Linux Mint Xfce, this script is not installed, hence the launcher does not work.

The script is part of the menu package, which must be installed for it to work.

sudo aptitude install menu

Now, when you select the launcher on the desktop, you will be prompted for your password and then the program will launch (run) as root.

About the Author

<a href="https://davidjmurray.org/author/davidjmurray/" target="_self">djm</a>

djm

I have been in the computer/IT industry for over 35 years. After spending half a life-time in highly proprietary database environments, I have succumbed to the WordPress Eco-system and I'm well down the chasm. I am specializing in AWS hosting, Wordpress CMS, Elegant Themes, in particular Divi and Extra themes.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest

Share This