LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 10-16-2005, 09:20 PM   #1
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Rep: Reputation: 30
GNOME Applications menu: how to populate it?


I just compiled GNOME on my LFS install, and the applications menu is empty. This just won't do, is there a way I can get the applications menu to be populated by the applications I have installed?

The only thing displayed in the app menu is the run command.

Thanks
 
Old 10-16-2005, 10:51 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
I can't give you a straight answer, because I don't know

However, you'll probably find it in one or more of the docs located here:
ftp://ftp.gnome.org/Public/GNOME/teams/docs/users/
 
Old 10-24-2005, 03:10 PM   #3
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Original Poster
Rep: Reputation: 30
That's useless, the docs in the link provided seem to be for an older version of gnome.
 
Old 10-24-2005, 03:54 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Okey dokey... how about here:
http://www.gnome.org/learn/
 
Old 10-24-2005, 04:37 PM   #5
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Original Poster
Rep: Reputation: 30
That has up to date docs, but one thing I don't get is that in order to create entries in the application menu they have you go in to nautilus and type applications:/// in the location bar. But when I do it says it's invalid. Did I miss a step when installing gnome, or did the developers had a brain fart when writing the documentation?

Hmm, for some odd reason, there is .desktop files in the /usr/share/applications folder, they are just not showing up in the applications menu.

Last edited by Seph64; 10-24-2005 at 05:24 PM.
 
Old 10-24-2005, 06:52 PM   #6
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
I played around with this stuff a long time ago and don't recall filenames or anything like that. I think I was messing with local copies of the menu settings.

Anyway, the point is, it was a Red Hat system, and Red Hat was making use of desktop file attributes. In the .desktop files, there were key-value pairs. The personal menu file for the "Foot Menu" was written such that any .desktop file with a specific key-value pair was displayed under a specific sub-menu.

Try to locate the personal menu file. As I recall, it was just a plan text file in XML format. See if the organization scheme is looking for specific key-value pairs. Look at the .desktop files the menu does include and try to figure out the relationship. Then expand or modify it to pull in the other .desktop files you want.

Lastly, if I recall, the menu files were set up in a manner similar to bash startup files. That is, there's a system-wide basic menu and then a personal user menu. If you have multiple users, you may need to transfer any personal changes over to the system-wide menu.

As always, make backups before changing anything, and take any of this information with a grain of salt. It's fuzzy because it's been a while. And that means the Gnome devs may have changed how it works.

EDIT:
Oh forgot... Don't know why the "applications:///" thing doesn't work. My gut would lead me to ask if you compiled and installed everything (required and optional packages). I'd be grasping at straws if I said anything else.

Last edited by Dark_Helmet; 10-24-2005 at 06:54 PM.
 
Old 10-25-2005, 12:00 AM   #7
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Original Poster
Rep: Reputation: 30
I meant to post an update earlier but forgot.

I got the applications menu populated by installed a few apps (mainly pyxdg, pygtk, and smeg) and copying the /etc/xdg/menus/applications.menu file from my gentoo install to my LFS install.

But thanks anyway.
 
Old 11-06-2010, 04:22 AM   #8
dozymoe
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
missing applications.menu

it seems like gnome-menus.2.30.4 created the following file /etc/xdg/menus/gnome-applications.menu while gnome-panel (or somethin') is looking for this file /etc/xdg/menus/applications.menu.

creating a symlink from gnome-applications.menu to applications.menu fix this problem.

I found this thread while looking for the solution myself.

Last edited by dozymoe; 11-06-2010 at 04:24 AM.
 
Old 02-11-2012, 07:11 PM   #9
LCRM
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Thumbs up Thank you very much

The link worked perfectly for me, thank you very much.

I thought I had messed up the install and would have to do it all over again.

This was a quick, direct and easy fix - you saved me hours of research.

Well done to all that contributed to this solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome applications menu refreash? Moebius Linux - Software 1 08-07-2004 05:45 AM
Applications into GNOME Menu? MikTheUser Slackware 1 07-08-2004 06:54 PM
How do I edit the Gnome applications menu Rick485 Slackware 6 04-04-2004 02:43 PM
gnome applications menu versaulis Linux - Software 3 12-19-2003 09:33 AM
KDE applications menu replaced by Gnome style menu denh0 Mandriva 2 11-24-2003 12:14 AM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration