LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   dropline with gnome 2.10 released!! (https://www.linuxquestions.org/questions/slackware-14/dropline-with-gnome-2-10-released-308123/)

acidjuice 03-31-2005 03:25 AM

dropline with gnome 2.10 released!!
 
me happy :)

though, i do not get how to make menu editing in gnome 2.10, the 'add new launched to this menu' option has disappeared...? :confused:

...anyone?

woodsb02 03-31-2005 03:49 AM

Menu editor
 
yeah, gnome 2.10 doesnt come with menu editing out of the box.

The dropline guys are still waiting to see what menu editor will be used as the default, or main one.

For now, can use desktop icons to launch stuff... or can manually edit menu files.

Check /usr/share/applications... all the .desktop files corespond to menu entries.

goodluck

acidjuice 03-31-2005 04:07 AM

sure about this?? i thought menu editing had been solved with v2.8 on...

ok i guess i can start back developing my open source gnome menu editor...

MMYoung 03-31-2005 06:40 PM

Quote:

Originally posted by acidjuice
sure about this?? i thought menu editing had been solved with v2.8 on...

ok i guess i can start back developing my open source gnome menu editor...

woodsb02 is correct, for some reason the GNOME devs decided we didn't need to edit our own menus as we had in the past. However you can manually edit them, you just have to track them down. Again, as woodsb02 suggested, looking in /usr/share/applications is a good place to start.

Later,
MMYoung

monkeyking 03-31-2005 06:47 PM

Hi I don't get it.
What does the files in /usr/share/applications contain, and should I edit them.

Thanks in advance

MMYoung 03-31-2005 07:02 PM

Quote:

Originally posted by monkeyking
Hi I don't get it.
What does the files in /usr/share/applications contain, and should I edit them.

Thanks in advance

Please don't take this the wrong way, but I wish someone had told me this very thing when I first started using Slackware.

If you don't know what they are and/or don't know what they do, then no you shouldn't edit them.

I hate to say anything that sounds like RTFM, but before you go editing startup/menu files you need to know something about them.

Now having said that, the files in /usr/share/applications are .desktop files. They are the "shortcuts" to the actual programs. They contain information about what file to run, the name that is displayed by the "shortcut", and the "hover text" that displays when you hover your mouse over it. Here is an example of a .desktop file on my PC:
Code:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=No name
Type=Application
Exec=gpa
TryExec=
Icon=/usr/share/gpa/gpa_icon.png
X-GNOME-DocPath=
Terminal=false
Name[en_US]=Gnu Privacy Assistant
GenericName[en_US]=gpa
Comment[en_US]=Gnome/GTK frontend for Gnu Privacy Guard

Most of it is pretty straight forward, but there's really not a whole lot you want to mess with in actuallity. To make any difference in the menu entries, you will need to edit .xml files that, to be honest with you, I haven't even figured out yet with 2.10. But I'm working on it :).

Of course I'm making the assumption, from the question asked, that you are "fairly" new to Slackware. If that is not the case then please accept my apology.

HTH,
MMYoung

acidjuice 04-01-2005 02:47 AM

Quote:

Originally posted by MMYoung
To make any difference in the menu entries, you will need to edit .xml files that, to be honest with you, I haven't even figured out yet with 2.10. But I'm working on it :)
that's exactly what i was referring to.

it's actually pretty simple: i was developing a menu editor and knew quite a lot about the .xml files used by gnome, in slack with dropline they were into
Code:

/etc/gnome-vfs-2.0/vfolders/applications-all-users.vfolder-info
this file contained the main info (i won't explain it here though).

though on v2.10 the structure has gone wild, using the XDG menu standard. the file here above has completely disappeared, leaving only the .desktop entries (as explained here above) and the .directory ones (same, but for the directories information).

i've contacted the gnome developers and got as answer that 'Be aware though, that there are at least two more people working on menu editors right now :)' as you can see from here.

well, me, i stopped programming and started waiting.

zborgerd 04-02-2005 01:11 PM

We will probably be including a third-party menu editor with Dropline GNOME 2.10 by the time we make the final release.

acidjuice 04-03-2005 05:41 PM

Quote:

Originally posted by zborgerd
We will probably be including a third-party menu editor with Dropline GNOME 2.10 by the time we make the final release.
we? who is we? this is getting interesting :)

...and which third party menu editor?

gbonvehi 04-03-2005 05:49 PM

zborgerd (if i'm not wrong) is one of dropline devolpers.

reddazz 04-03-2005 06:35 PM

Does anyone know why the menu editor is completely disabled in GNOME 2.10.

zborgerd 04-03-2005 11:29 PM

Quote:

Originally posted by acidjuice
we? who is we? this is getting interesting :)

...and which third party menu editor?

We (Heh... The Dropline GNOME developers) haven't decided which editor that we will include, but a lot of people have been requesting that we add something (since GNOME.org decided to exclude it).

acidjuice 04-04-2005 08:04 AM

Quote:

Originally posted by zborgerd
We (Heh... The Dropline GNOME developers) haven't decided which editor that we will include, but a lot of people have been requesting that we add something (since GNOME.org decided to exclude it).
as per the forum link i posted here above, a gnome developer told me that they are working on something right now.

since i already have started on working to a menu editor, but have stopped right now awaiting further gnome notice, please let me know if an open source menu editor targeted for dropline slack could be of any interest. no promises here since i'm overloaded with work, but if there's an interst i'll try doing my best.

cheers, and keep up the good work,

aj.

reddazz 04-04-2005 08:15 AM

I think you should continue development of you menu editor because some people may find it useful regardless of what the GNOME devs decide to do.

acidjuice 04-04-2005 08:29 AM

Quote:

Originally posted by reddazz
I think you should continue development of you menu editor because some people may find it useful regardless of what the GNOME devs decide to do.
hi red,

well, the problem is that since GNOME menus are switching so much (the config files change, the xml of directory structure change,...) i thought i might just as well wait what was going to happen before i have to continuously depend on gnome's choices.

if anyone is interested i might as well post pretty easily and fast a GUI menu creator to ADD new menu entries to the current v2.10. however, no real editing of directory structure is currently possible.


All times are GMT -5. The time now is 04:13 AM.