Fedora Linux Support Community & Resources Center
  #1  
Old 1st October 2011, 10:15 PM
locodude Offline
Registered User
 
Join Date: Oct 2006
Location: Malmo, Sweden
Age: 39
Posts: 45
linuxchrome
Question How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

I recently installed Fedora 16 alpha. It uses Gnome 3.1 and I've run into a problem that I can't seem to find a solution for.
I want to add some custom application launchers to the Applications-menu but using alacarte, which I've been told is the way to go, doesn't work. It crashes with the following error:

Traceback (most recent call last):
File "/usr/bin/alacarte", line 22, in <module>
from Alacarte.MainWindow import MainWindow
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 19, in <module>
import gtk, gmenu, gobject, gio
ImportError: No module named gmenu

I've googled a bit and I'm not the only one experiencing this problem. However, I have yet to see anything close to a solution.

Does anybody know how to fix this or another way to add custom application launchers to the menu in Gnome 3.1?
  #2  
Old 2nd October 2011, 12:54 AM
leigh123linux Online
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,109
linuxfirefox
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

Moved to F16 Development
  #3  
Old 2nd October 2011, 01:13 AM
tox
Guest
 
Posts: n/a
linuxfirefox
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

i get the same crash - just tested it and i can confirm it

---------- Post added at 11:13 AM ---------- Previous post was at 11:08 AM ----------

i just filed a Bug for it https://bugzilla.redhat.com/show_bug.cgi?id=734442

Last edited by tox; 2nd October 2011 at 01:47 AM.
  #4  
Old 2nd October 2011, 09:41 AM
Piotr Pyclik Offline
Registered User
 
Join Date: Dec 2008
Posts: 24
linuxfirefox
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

I have the same problem and I found this app https://github.com/efruchter/Gnome3_AppMenuEditor but, to be honest, I have no idea how to run it.
  #5  
Old 2nd October 2011, 02:43 PM
frostering Offline
Registered User
 
Join Date: Sep 2011
Posts: 4
linuxfirefox
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

You can create a *.desktop file in /usr/share/applications

with:

Code:
[Desktop Entry]
Name=*******
Exec=pathtoapplication
Icon=pathtoicon
Categories=***********
You can open with gedit other *.desktop to see more options.
  #6  
Old 2nd October 2011, 05:50 PM
locodude Offline
Registered User
 
Join Date: Oct 2006
Location: Malmo, Sweden
Age: 39
Posts: 45
linuxchrome
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

BTW, I just updated to Gnome 3.2 and the problem remains. Still crashes instantly and with the same error-message.

@frostering: Thanks. I'll try that until somebody fixes alacarte then.
  #7  
Old 10th October 2011, 12:16 PM
Bazu135 Offline
Registered User
 
Join Date: Aug 2011
Location: Luton, UK
Age: 28
Posts: 291
linuxfirefox
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

Quote:
Originally Posted by frostering View Post
You can create a *.desktop file in /usr/share/applications

with:

Code:
[Desktop Entry]
Name=*******
Exec=pathtoapplication
Icon=pathtoicon
Categories=***********
You can open with gedit other *.desktop to see more options.
I've just had a first go at this, and have specified the following:
Code:
[Desktop Entry]
Name=Home Folder
Exec=nautilus /home/neko
Icon=system-file-manager
Categories=Other
I've saved the file as homefolder.desktop in /usr/share/applications, but it doesn't appear to have actually done anything. I've tried refreshing the desktop (Alt+F2, r) and rebooting, but still can't see it. Any idea what I might be doing wrong?
  #8  
Old 10th October 2011, 01:01 PM
locodude Offline
Registered User
 
Join Date: Oct 2006
Location: Malmo, Sweden
Age: 39
Posts: 45
windows_xp_2003chrome
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

I believe you have to add

Type=Application

to it before it appears amongst the other apps.
  #9  
Old 10th October 2011, 03:15 PM
Bazu135 Offline
Registered User
 
Join Date: Aug 2011
Location: Luton, UK
Age: 28
Posts: 291
linuxfirefox
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

That's done it - thank you
  #10  
Old 7th November 2011, 05:33 PM
Dutchy Online
Registered User
 
Join Date: Aug 2011
Posts: 926
linuxfirefox
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

The 'Create new launcher' context menu is still MIA.
I found this code that enables one to create them.

Code:
gnome-desktop-item-edit ~/Desktop/launcher.desktop --create-new
Just paste it in the Alt-F2 bar and, how ironically, create a launcher with this code so you can easily create other launchers.

Edit: Whoops Google brought me to the wrong topic, it is a bit related though.

Last edited by Dutchy; 7th November 2011 at 08:00 PM.
  #11  
Old 7th November 2011, 08:20 PM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,843
linuxfedorafirefox
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

Hmmmm.

Ok. Thanks for that.
  #12  
Old 7th November 2011, 08:32 PM
leigh123linux Online
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,109
linuxfirefox
Re: How do I add a custom application launcher in Gnome 3.1 / Fedora 16 alpha?

Quote:
Originally Posted by Piotr Pyclik View Post
I have the same problem and I found this app https://github.com/efruchter/Gnome3_AppMenuEditor but, to be honest, I have no idea how to run it.

Nice find.


To run it try

Code:
java -jar Gnome3_AppMenuEditor.jar
 

Tags
add, alpha, application, custom, fedora, gnome, launcher

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create custom application launcher in Gnome 3 cymbaline42 Using Fedora 16 3rd September 2012 05:29 AM
Fedora 15, Gnome 3 application launcher psankovic Using Fedora 5 13th July 2011 04:10 PM
[SOLVED] Custom Application Launcher F15 kalpet89 Using Fedora 8 8th June 2011 09:47 PM
Problem adding custom application launcher wodefey Using Fedora 4 4th June 2011 09:16 PM
Problem with "Custom Application Launcher" marie@dk Using Fedora 7 19th March 2008 01:05 AM


Current GMT-time: 21:09 (Friday, 18-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat