How to create desktop launcher?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

How to create desktop launcher?

Postby niemand » Dec 8th, '13, 08:07

How to create desktop launcher for an application? I'm on Mageia 3, Gnome 3.
How can I tell what file those Gnome 3 icons are pointing to?
niemand
 
Posts: 37
Joined: Mar 10th, '13, 07:00

Re: How to create desktop launcher?

Postby doktor5000 » Dec 8th, '13, 19:53

You could use alacarte, the GNOME menu editor, but from what I remember there was an issue quite some time that it crashed when starting. That would be one ways to see the command called by a desktop file.

About how to create new desktop launcher, IIRC GNOME3 doesn't permit that by default.
You may need to install and extension for that from https://extensions.gnome.org/ but don't take my word for granted on this one, as I don't use GNOME.

If you want to put a launcher directly on the desktop, you could also simply copy the .desktop file e.g. from /usr/share/applications into your /home/username/Desktop and adjust that file to your liking ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18071
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to create desktop launcher?

Postby niemand » Dec 8th, '13, 22:17

doktor5000 wrote:If you want to put a launcher directly on the desktop, you could also simply copy the .desktop file e.g. from /usr/share/applications into your /home/username/Desktop and adjust that file to your liking ...


I tried that, and it didn't work. When I clicked on it, it would open the file via gedit.
niemand
 
Posts: 37
Joined: Mar 10th, '13, 07:00

Re: How to create desktop launcher?

Postby doktor5000 » Dec 8th, '13, 22:25

Hmmm, is it marked as executable? Please check via file manager or right-click -> properties.

You may also want to look at some related docs:
https://developer.gnome.org/integration ... es.html.en
http://community.linuxmint.com/tutorial/view/791
https://ask.fedoraproject.org/question/ ... ts-solved/
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18071
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to create desktop launcher?

Postby niemand » Dec 30th, '13, 07:00

After setting the *.desktop file to be executable, the icon in the Desktop folder can launch the application. But the icon under Activities--or whatever that search thing is called--still opens up the *.desktop file in gedit. What's wrong?
I can't even add the icon from the search into the Favorites bar because right-clicking shows no menu for some strange reason.
niemand
 
Posts: 37
Joined: Mar 10th, '13, 07:00


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron