Re: FVWM: Auto-menu of Redhat 7.2 Gnome/KDE applets ?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Thu, 3 Jan 2002 18:30:51 +0000

On 02 Jan 2002 23:52:41 -0500, Walter Dnes wrote:
>
> Before re-inventing the wheel, I wanted to check whether someone's
> already done this. Gnome and KDE apps seem to have an associated
> *.desktop file, sort of like a Windows .PIF file. If you execute
> "find / -name *.desktop > x" you'll end up with a whole bunch of files
> in the list. One example is the serviceconf.desktop file
>
> [root_at_localhost root]# cat /etc/X11/applnk/System/serviceconf.desktop
> [Desktop Entry]
> Name=Service Configuration
> Name[ja]=............
> Comment=Configure which services will be running when the system starts
> Comment[ja]=..........................................................
> Icon=serviceconf.xpm
> Exec=/usr/bin/serviceconf
> Type=Application
> Terminal=false
>
> The "Exec=" gives the name of the executable. Type the command
> /usr/bin/serviceconf from a terminal in an X window, and serviceconf
> comes up (asking for root password). Answer, and it runs. What would
> be *REALLY* nice would be a script to list off the files, and parse
> them for "Name=", "Icon=", and "Exec=", and then piperead commands to
> build a menu on-the-fly.

fvwm-menu-desktop script that is installed with fvwm-2.4.x does this.
Read "man fvwm-menu-desktop", there are a lot of options.

Regards,
Mikhael.

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Jan 03 2002 - 12:34:49 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST