On Sun, 2002-10-06 at 22:57, Jim Hayward wrote:
> On Sun, 2002-10-06 at 14:08, Mr. Adam ALLEN wrote:
> > Were those rpms designed to do the re-arranging upon installation? or
> 
> Yes, it loads the default Gnome menu layout instead of Red Hat's. From
> the code in the new gnome-vfs it appears that in the future a default
> menu layout will be selectable from gconf.
> 
> > was it a tool to. If they wasn't supposed to do the re-arranging then,
> > some random clicking in Nautilus and dragging from the menu- has got
> > some nice menus. (I'm going on about the random mouse clicking... I
> > dragged a few of the icons from the start menu into my home directory...
> > it completely destroyed the menus, logged-out, logged-in, perfect
> > menus).
> 
> home directory? I'm not sure what you did here.
> 
> You can pull up the menu in nautilus by typing applications:
> (note the ':' on the end) in the location bar. Or by clicking start-here
> and then applications. Then you can just create launchers, or drag/drop
> existing ones to where you want them. It seems you still have to create
> folders/subfolders by hand. I haven't had time to play it anymore today.
> 
> The base menu layouts are in /etc/gnome-vfs-2.0/vfolders. Any changes a
> user makes to their menu layout is stored in ~/.gnome2/vfolders.
> 
> Regards,
>       Jim H

The issue with the menu layout is basically that RH hacked
gnome-vfs2.0.2 for their menu layout (looks in desktop-menus first
rather /etc/gnome-vfs-2) so the fixed menu editing reverts to original
(better IMHO) layout

Gnome-vfs-2.0.4 changes a lot of things so if you have created any
personal items obliterate anything in .gnome2/vfolders/ to get the full
picture.

If you really want to you can probably restore by copying files from
/etc/desktop-menus to /etc/gnome-vfs-2/vfolders (havn't tested so I cant
say for sure)

The applications-all-users.vfolder-info file attached should give you
back your RH menus

(also gnome-panel-2.0.7 gives panel based menu item editing)

> 
> 
> -- 
> Psyche-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/psyche-list
-- 
mike <[EMAIL PROTECTED]>
<?xml version="1.0"?>
<VFolderInfo>  

  <!-- where desktop files are supposed to live -->
  <MergeDir>/usr/share/applications</MergeDir>
  <MergeDir>/usr/share/desktop-menu-patches</MergeDir>

  <!-- For now, load up the legacy .desktop trees -->
  <MergeDir>/etc/X11/applnk</MergeDir>
  <MergeDir>/usr/share/gnome/apps</MergeDir>
  <MergeDir>/usr/share/applnk</MergeDir>
  <MergeDir>/etc/X11/desktop-menus</MergeDir>

  <!-- Control panel dirs -->
  <MergeDir>/usr/share/control-center-2.0/capplets/</MergeDir>
  <MergeDir>/usr/share/gnome/capplets/</MergeDir>

  <DesktopDir>/usr/share/desktop-menu-files</DesktopDir>

  <!-- Root folder -->
  <Folder>
    <Name>Applications</Name>
    <Desktop>Applications.directory</Desktop>
    <Exclude>gnome-search-tool.desktop</Exclude>

    <Query>
      <And>
        <Keyword>Core</Keyword>
        <Not>
          <Keyword>Merged</Keyword>
        </Not>
      </And>
    </Query>

    <!-- Accessories -->
    <Folder>
      <Name>Accessories</Name>
      <Desktop>Accessories.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Keyword>Utility</Keyword>
          <Not>
            <Keyword>System</Keyword>
          </Not>
        </And>
      </Query>

      <DontShowIfEmpty/>
    </Folder>

    <!-- Development Tools -->
    <Folder>
      <Name>Programming</Name>
      <Desktop>Development.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Keyword>Development</Keyword>
        </And>
      </Query>
      <Include>emacs.desktop</Include>
      <DontShowIfEmpty/>
    </Folder>

    <!-- Games -->
    <Folder>
      <Name>Games</Name>
      <Desktop>Games.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Keyword>Game</Keyword>
        </And>
      </Query>
      <DontShowIfEmpty/>
    </Folder>

    <!-- Graphics -->
    <Folder>
      <Name>Graphics</Name>
      <Desktop>Graphics.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Keyword>Graphics</Keyword>
        </And>
      </Query>
      <Include>dia.desktop</Include>
      <Include>drawing.desktop</Include>
      <DontShowIfEmpty/>
    </Folder>

    <!-- Internet -->
    <Folder>
      <Name>Internet</Name>
      <Desktop>Internet.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Keyword>Network</Keyword>
        </And>
      </Query>

      <DontShowIfEmpty/>
    </Folder>

    <!-- Multimedia -->
    <Folder>
      <Name>Multimedia</Name>
      <Desktop>Multimedia.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Keyword>AudioVideo</Keyword>
        </And>
      </Query>

      <DontShowIfEmpty/>
    </Folder>

    <!-- Office -->
    <Folder>
      <Name>Office</Name>
      <Desktop>Office.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Or>
            <Keyword>Office</Keyword>
            <Keyword>Spreadsheet</Keyword>
            <Keyword>WordProcessor</Keyword>
            <Keyword>Calendar</Keyword>
            <Keyword>ProjectManagement</Keyword>
          </Or>       
        </And>
      </Query>

      <DontShowIfEmpty/>
    </Folder>

    <!-- Settings -->
    <!-- It's sort of annoying, but you have to keep this in sync 
         with preferences.menu -->

    <Folder>
      <Name>Preferences</Name>
      <Desktop>Settings.directory</Desktop>
      <Query>
        <And>
          <Keyword>Settings</Keyword>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Not>
            <Or>
              <Keyword>Sawfish</Keyword>
              <Keyword>X-GNOME-Sawfish</Keyword>
              <Keyword>System</Keyword>
            </Or>
          </Not>
        </And>
      </Query>

      <Include>gnome-control-center.desktop</Include>

      <Folder>
        <Name>Database</Name>
        <Desktop>KDE-Database.directory</Desktop>
        <Query>
          <Keyword>X-KDE-Database</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>
        
      <Folder>
        <Name>FileBrowsing</Name>
        <Desktop>KDE-FileBrowsing.directory</Desktop>
        <Query>
          <Keyword>X-KDE-FileBrowsing</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>Help</Name>
        <Desktop>KDE-Help.directory</Desktop>
        <Query>
          <Keyword>X-KDE-Help</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>Information</Name>
        <Desktop>KDE-Information.directory</Desktop>
        <Query>
          <Keyword>X-KDE-Information</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>LookNFeel</Name>
        <Desktop>KDE-LookNFeel.directory</Desktop>
        <Query>
          <Keyword>X-KDE-LookNFeel</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>Network</Name>
        <Desktop>KDE-Network.directory</Desktop>
        <Query>
          <Keyword>X-KDE-Network</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>Peripherals</Name>
        <Desktop>KDE-Peripherals.directory</Desktop>
        <Query>
          <Keyword>X-KDE-Peripherals</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>Personalization</Name>
        <Desktop>KDE-Personalization.directory</Desktop>
        <Query>
          <Keyword>X-KDE-Personalization</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>PowerControl</Name>
        <Desktop>KDE-PowerControl.directory</Desktop>
        <Query>
          <Keyword>X-KDE-PowerControl</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>Sound</Name>
        <Desktop>KDE-Sound.directory</Desktop>
        <Query>
          <Keyword>X-KDE-Sound</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>System</Name>
        <Desktop>KDE-System.directory</Desktop>
        <Query>
          <Keyword>X-KDE-System</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

      <Folder>
        <Name>WebBrowsing</Name>
        <Desktop>KDE-WebBrowsing.directory</Desktop>
        <Query>
          <Keyword>X-KDE-WebBrowsing</Keyword>
        </Query>
        <DontShowIfEmpty/>
      </Folder>

    </Folder>

    <!-- System Tools-->
    <Folder>
      <Name>System</Name>
      <Desktop>System.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Keyword>System</Keyword>
          <Not><Keyword>Screensaver</Keyword></Not>
          <Not><Keyword>X-Red-Hat-ServerConfig</Keyword></Not>
          <Not><Keyword>SystemSetup</Keyword></Not>
        </And>
      </Query>

      <Exclude>redhat-authconfig.desktop</Exclude>
      <Exclude>redhat-config-date.desktop</Exclude>
      <Exclude>redhat-config-keyboard.desktop</Exclude>
      <Exclude>redhat-config-language.desktop</Exclude>
      <Exclude>redhat-config-mouse.desktop</Exclude>
      <Exclude>redhat-config-nfs.desktop</Exclude>
      <Exclude>redhat-config-packages.desktop</Exclude>
      <Exclude>redhat-config-rootpassword.desktop</Exclude>
      <Exclude>redhat-config-securitylevel.desktop</Exclude>
      <Exclude>redhat-config-services.desktop</Exclude>
      <Exclude>redhat-config-soundcard.desktop</Exclude>
      <Exclude>redhat-config-users.desktop</Exclude>
      <Exclude>redhat-neat.desktop</Exclude>
      <Exclude>redhat-printconf-gui.desktop</Exclude>
      <Exclude>redhat-rhn-up2date-config.desktop</Exclude>
      <Exclude>redhat-switchdesk.desktop</Exclude>
      <Exclude>redhat-switchmail.desktop</Exclude>
      <Exclude>redhat-switch-printer.desktop</Exclude>

      <DontShowIfEmpty/>
    </Folder>

    <!-- System Settings -->
    <Folder>
      <Name>System Settings</Name>
      <Desktop>SystemConfig.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Keyword>SystemSetup</Keyword>
          <Not><Keyword>X-Red-Hat-ServerConfig</Keyword></Not>
          <Not><Keyword>Screensaver</Keyword></Not>
        </And>
      </Query>

      <Include>redhat-authconfig.desktop</Include>
      <Include>redhat-config-date.desktop</Include>
      <Include>redhat-config-keyboard.desktop</Include>
      <Include>redhat-config-language.desktop</Include>
      <Include>redhat-config-mouse.desktop</Include>
      <Include>redhat-config-nfs.desktop</Include>
      <Include>redhat-config-packages.desktop</Include>
      <Include>redhat-config-rootpassword.desktop</Include>
      <Include>redhat-config-securitylevel.desktop</Include>
      <Include>redhat-config-services.desktop</Include>
      <Include>redhat-config-soundcard.desktop</Include>
      <Include>redhat-config-users.desktop</Include>
      <Include>redhat-neat.desktop</Include>
      <Include>redhat-printconf-gui.desktop</Include>
      <Include>redhat-rhn-up2date-config.desktop</Include>

      <DontShowIfEmpty/>
    </Folder>

    <!-- Server -->
    <Folder>
      <Name>Server</Name>
      <Desktop>ServerConfig.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Application</Keyword>
          <Keyword>X-Red-Hat-ServerConfig</Keyword>
        </And>
      </Query>

      <DontShowIfEmpty/>
    </Folder>

    <!-- Documentation -->
    <Folder>
      <Name>Documentation</Name>
      <Desktop>Documentation.directory</Desktop>
      <Query>
        <And>
          <Keyword>X-Red-Hat-Base</Keyword>
          <Keyword>Documentation</Keyword>
        </And>
      </Query>

      <DontShowIfEmpty/>
    </Folder>

    <!-- Submenu with more stuff. -->

    <Folder>
          <Name>Extras</Name>
          <Desktop>Extras.directory</Desktop>


           <!-- Other -->
          <Folder>
            <Name>Other</Name>
            <Desktop>Other.directory</Desktop>
            <OnlyUnallocated/>
            <Query>
              <And>
                <Keyword>Application</Keyword>
                <Not>
                  <Or>
                    <Keyword>Settings</Keyword>
                    <Keyword>X-Red-Hat-Base-Only</Keyword>
                    <Keyword>X-Red-Hat-Base</Keyword>
                  </Or>
                </Not>
              </And>
            </Query>

            <DontShowIfEmpty/>
          </Folder>

          <!-- Accessories -->
          <Folder>
            <Name>Accessories</Name>
            <Desktop>Accessories.directory</Desktop>
            <Query>
              <And>
                <Keyword>Application</Keyword>
                <Keyword>Utility</Keyword>
                <Not>
                  <Or>
                    <Keyword>System</Keyword>
                    <Keyword>X-Red-Hat-Base-Only</Keyword>
                    <Keyword>X-Red-Hat-Base</Keyword>
                  </Or>
                </Not>
              </And>
            </Query>

            <DontShowIfEmpty/>
          </Folder>

          <!-- Development Tools -->
          <Folder>
            <Name>Programming</Name>
            <Desktop>Development.directory</Desktop>
            <Query>
              <And>
                <Keyword>Application</Keyword>
                <Keyword>Development</Keyword>
                <Not>
                  <Or>
                    <Keyword>X-Red-Hat-Base-Only</Keyword>
                    <Keyword>X-Red-Hat-Base</Keyword>
                  </Or>
                </Not>
              </And>
            </Query>
            <DontShowIfEmpty/>
          </Folder>

          <!-- Games -->
          <Folder>
            <Name>Games</Name>
            <Desktop>Games.directory</Desktop>
            <Query>
              <And>
                <Keyword>Application</Keyword>
                <Keyword>Game</Keyword>
                <Not>
                  <Or>
                    <Keyword>X-Red-Hat-Base-Only</Keyword>
                    <Keyword>X-Red-Hat-Base</Keyword>
                  </Or>
                </Not>
              </And>
            </Query>
            <DontShowIfEmpty/>
          </Folder>

          <!-- Graphics -->
          <Folder>
            <Name>Graphics</Name>
            <Desktop>Graphics.directory</Desktop>
            <Query>
              <And>
                <Keyword>Application</Keyword>
                <Keyword>Graphics</Keyword>
                <Not>
                  <Or>
                    <Keyword>X-Red-Hat-Base-Only</Keyword>
                    <Keyword>X-Red-Hat-Base</Keyword>
                  </Or>
                </Not>
              </And>
            </Query>
            <DontShowIfEmpty/>
          </Folder>

          <!-- Internet -->
          <Folder>
            <Name>Internet</Name>
            <Desktop>Internet.directory</Desktop>
            <Query>
              <And>
                <Keyword>Application</Keyword>
                <Keyword>Network</Keyword>
                <Not>
                  <Or>
                    <Keyword>X-Red-Hat-Base-Only</Keyword>
                    <Keyword>X-Red-Hat-Base</Keyword>
                  </Or>
                </Not>
              </And>
            </Query>

            <DontShowIfEmpty/>
          </Folder>

          <!-- Multimedia -->
          <Folder>
            <Name>Multimedia</Name>
            <Desktop>Multimedia.directory</Desktop>
            <Query>
              <And>
                <Keyword>Application</Keyword>
                <Keyword>AudioVideo</Keyword>
                <Not>
                  <Or>
                    <Keyword>X-Red-Hat-Base-Only</Keyword>
                    <Keyword>X-Red-Hat-Base</Keyword>
                  </Or>
                </Not>
              </And>
            </Query>

            <DontShowIfEmpty/>
          </Folder>

          <!-- Office -->
          <Folder>
            <Name>Office</Name>
            <Desktop>Office.directory</Desktop>
            <Query>
              <And>
                <Keyword>Application</Keyword>
                <Not>
                  <Or>
                    <Keyword>X-Red-Hat-Base-Only</Keyword>
                    <Keyword>X-Red-Hat-Base</Keyword>
                  </Or>
                </Not>
                <Or>
                  <Keyword>Office</Keyword>
                  <Keyword>Spreadsheet</Keyword>
                  <Keyword>WordProcessor</Keyword>
                  <Keyword>Calendar</Keyword>
                  <Keyword>ProjectManagement</Keyword>
                </Or>       
              </And>
            </Query>

            <DontShowIfEmpty/>
          </Folder>

          <!-- Settings -->
          <!-- It's sort of annoying, but you have to keep this in sync 
               with preferences.menu -->

          <Folder>
            <Name>Preferences</Name>
            <Desktop>Settings.directory</Desktop>
            <Query>
              <And>
                <Keyword>Settings</Keyword>
                <Not>
                  <Or>
                    <Keyword>Sawfish</Keyword>
                    <Keyword>X-GNOME-Sawfish</Keyword>
                    <Keyword>System</Keyword>
                    <Keyword>Merged</Keyword>
                    <Keyword>X-Red-Hat-Base-Only</Keyword>
                    <Keyword>X-Red-Hat-Base</Keyword>
                  </Or>
                </Not>
              </And>
            </Query>

            <Folder>
              <Name>Preferences</Name>
              <Desktop>Sawfish.directory</Desktop>
              <Query>
                <And>
                  <Keyword>X-GNOME-Sawfish</Keyword>
                  <Keyword>Settings</Keyword>
                  <Not>
                    <Or>
                      <Keyword>System</Keyword>
                      <Keyword>Merged</Keyword>
                      <Keyword>X-Red-Hat-Base-Only</Keyword>
                      <Keyword>X-Red-Hat-Base</Keyword>
                    </Or>
                  </Not>
                </And>
              </Query>
              <DontShowIfEmpty/>
            </Folder>

            <DontShowIfEmpty/>
          </Folder>

          <!-- System Tools-->
          <Folder>
            <Name>System</Name>
            <Desktop>System.directory</Desktop>
            <Query>
              <And>
                <Keyword>Application</Keyword>
                <Keyword>System</Keyword>
                <Not><Keyword>Screensaver</Keyword></Not>
                <Not><Keyword>X-Red-Hat-Base-Only</Keyword></Not>
                <Not><Keyword>X-Red-Hat-Base</Keyword></Not>
                <Not><Keyword>X-Red-Hat-ServerConfig</Keyword></Not>
                <Not><Keyword>SystemSetup</Keyword></Not>
              </And>
            </Query>


      <Exclude>redhat-authconfig.desktop</Exclude>
      <Exclude>redhat-config-date.desktop</Exclude>
      <Exclude>redhat-config-keyboard.desktop</Exclude>
      <Exclude>redhat-config-language.desktop</Exclude>
      <Exclude>redhat-config-mouse.desktop</Exclude>
      <Exclude>redhat-config-nfs.desktop</Exclude>
      <Exclude>redhat-config-packages.desktop</Exclude>
      <Exclude>redhat-config-rootpassword.desktop</Exclude>
      <Exclude>redhat-config-securitylevel.desktop</Exclude>
      <Exclude>redhat-config-services.desktop</Exclude>
      <Exclude>redhat-config-soundcard.desktop</Exclude>
      <Exclude>redhat-config-users.desktop</Exclude>
      <Exclude>redhat-neat.desktop</Exclude>
      <Exclude>redhat-printconf-gui.desktop</Exclude>
      <Exclude>redhat-rhn-up2date-config.desktop</Exclude>
      <Exclude>redhat-switchdesk.desktop</Exclude>
      <Exclude>redhat-switchmail.desktop</Exclude>
      <Exclude>redhat-switch-printer.desktop</Exclude>

            <DontShowIfEmpty/>
          </Folder>

    <!-- System Settings -->
    <Folder>
      <Name>System Settings</Name>
      <Desktop>SystemConfig.directory</Desktop>
      <Query>
        <And>
          <Keyword>Application</Keyword>
          <Keyword>SystemSetup</Keyword>
          <Not><Keyword>X-Red-Hat-Base-Only</Keyword></Not>
          <Not><Keyword>X-Red-Hat-Base</Keyword></Not>
          <Not><Keyword>X-Red-Hat-ServerConfig</Keyword></Not>
          <Not><Keyword>Screensaver</Keyword></Not>
        </And>
      </Query>

      <Include>redhat-switchdesk.desktop</Include>
      <Include>redhat-switchmail.desktop</Include>
      <Include>redhat-switch-printer.desktop</Include>

      <DontShowIfEmpty/>
    </Folder>

          <!-- Documentation -->
          <Folder>
            <Name>Documentation</Name>
            <Desktop>Documentation.directory</Desktop>
            <Query>
              <And>
                <Not><Keyword>X-Red-Hat-Base-Only</Keyword></Not>
                <Not><Keyword>X-Red-Hat-Base</Keyword></Not>
                <Keyword>Documentation</Keyword>
              </And>
            </Query>

            <DontShowIfEmpty/>
          </Folder>

          <DontShowIfEmpty/>

          <!-- Server -->
          <Folder>
            <Name>Server</Name>
            <Desktop>ServerConfig.directory</Desktop>
            <Query>
              <And>
                <Not><Keyword>X-Red-Hat-Base-Only</Keyword></Not>
                <Not><Keyword>X-Red-Hat-Base</Keyword></Not>
                <Keyword>Application</Keyword>
                <Keyword>X-Red-Hat-ServerConfig</Keyword>
              </And>
            </Query>

            <DontShowIfEmpty/>
          </Folder>


    </Folder> <!-- All Applications -->    
    
  </Folder>
</VFolderInfo>

Reply via email to