Re: FVWM: fvwm-menu-desktop doesn't recognize --desktop?
Jesús J. Guerrero Botella writes: > Hello. > > It's been long, but I've been looking the lists nonetheless. I know > that something happened in the menu generation tool(s) lately, but I > don't know if it's related to my problem. My fvwm-menu-desktop tool > doesn't seem to recognize the --desktop option any longer. The output > is as follows: > > $ fvwm-menu-desktop --desktop kde-sys > Unknown option: desktop > > Nothing else. So, where should I be looking to diagnose this? I use > Gentoo and fvwm 2.6.1. > > fvwm-menu-desktop alone produces no output. > > Thanks beforehand. Is this a relatively recent Gentoo? I looked around and there really should be an "applications.menu" available. The solution I gave, using lxde-applications should work but I'm reluctant to add that change to Fvwm. The change should be on the Gentoo end unless I can be convinced otherwise.
Re: FVWM: fvwm-menu-desktop doesn't recognize --desktop?
On Wed, Apr 27, 2011 at 09:06:31PM -0400, des...@verizon.net wrote: > Thomas Adam writes: > > > On Tue, Apr 26, 2011 at 09:31:02PM -0400, des...@verizon.net wrote: > >> Jesús J. Guerrero Botella writes: > >> > >> > $ ls /etc/xdg/menus/ > >> > kde-4.6-applications.menu kde-information.menu lxde-applications.menu > >> > > >> > I can send you the files if you need to take a look inside. > >> > >> Yes, send me lxde-applications.menu. > >> It's the only one of those that I don't have. > >> > >> I think kde-4.6-applications would serve as a main menu, but > >> obviously, a name like that is a moving target. > > > > Can't we just glob() for these or do a readdir() on these? > > No, you're on the wrong track. > > All that needs changing is the identifier for the root menu. > > This code: > > my @menu_bases = (qw( > applications > debian-menu > ) > ); > > Just add lxde-applications to that list like this: > > my @menu_bases = (qw( > lxde-applications > applications > debian-menu > ) > ); > > and you'll be in business. > > But none of this makes sense to me. > The code we are using came from arch-linux. > > I'll see if I can figure out what they've been up to. OK -- it seems a bit stupid to me. But: http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html Says: $XDG_CONFIG_DIRS/menus/${XDG_MENU_PREFIX}applications.menu This file contains the XML definition of the main application menu layout. The first file found in the search path should be used; other files are ignored. This implies that if the user has their own ${XDG_MENU_PREFIX}applications.menu, it replaces the system wide one. (Though the user's menu may explicitly merge the system wide one.) Systems that offer multiple desktop environments and that want to use distinct menu layouts in the different environments can use differently prefixed .menu files. In this case the $XDG_MENU_PREFIX environment variable must be set by the system to reflect the .menu file that is being used. For example if a system contains both the GNOME and the KDE desktop environments it can decide to use gnome-applications.menu as the menu layout in GNOME sessions and kde-applications.menu as the menu layout in KDE sessions. To correctly reflect this, it should set the $XDG_MENU_PREFIX environment variable to "gnome-" respectively "kde-". Implementations may chose to use .menu files with other names for tasks or menus other than the main application menu. Such usage is not covered by this specification. But we're not setting or using XDG_MENU_PREFIX, so perhaps we ought to be. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
FVWM: Icon Placement problem
Hi there, we are using fvwm (version 2.4.19) under solaris instead of dtwm with the common desktop environment. Last week I got to know a problem with the icon placement. Our users start a lot of applications and iconify some of them. Then they arrange the icons on the desktop the way they like. Problem: If you raise an application and move another icon to the old place of the icon of the raised application and then iconify the raised application again the icon is placed at the next free position. So far so good... But if you do this once again the icon is NOT placed at the next free position but covers the moved one, so that you get a problem in finding the covered icon. Is this fixed in a later release ? Best regards Stephan Wenders mailto:stephan.wend...@hkm.de Hüttenwerke Krupp Mannesmann GmbH, Ehinger Str. 200, D-47259 Duisburg Geschäftsführung: Peter Gasse, Dr. Rolf Höffken, Dr. Clemens Stewing Vorsitzender des Aufsichtsrats: Dipl.-Betriebswirt Wolfgang Eging Sitz der Gesellschaft: Duisburg Eintragung im Handelsregister: Amtsgericht Duisburg HRB 4716 http://www.hkm.de
Re: FVWM: Icon Placement problem
On Thu, Apr 28, 2011 at 10:57:54AM +0200, Stephan Wenders wrote: > Hi there, > > we are using fvwm (version 2.4.19) under solaris instead of dtwm > with the common desktop environment. Use 2.6.1, please. Then see if this problem remains. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
Re: FVWM: fvwm-menu-desktop doesn't recognize --desktop?
Thomas Adam writes: > On Wed, Apr 27, 2011 at 09:06:31PM -0400, des...@verizon.net wrote: >> Thomas Adam writes: >> >> > On Tue, Apr 26, 2011 at 09:31:02PM -0400, des...@verizon.net wrote: >> >> Jesús J. Guerrero Botella writes: >> >> >> >> > $ ls /etc/xdg/menus/ >> >> > kde-4.6-applications.menu kde-information.menu lxde-applications.menu >> >> > >> >> > I can send you the files if you need to take a look inside. >> >> >> >> Yes, send me lxde-applications.menu. >> >> It's the only one of those that I don't have. >> >> >> >> I think kde-4.6-applications would serve as a main menu, but >> >> obviously, a name like that is a moving target. >> > >> > Can't we just glob() for these or do a readdir() on these? >> >> No, you're on the wrong track. >> >> All that needs changing is the identifier for the root menu. >> >> This code: >> >> my @menu_bases = (qw( >> applications >> debian-menu >> ) >> ); >> >> Just add lxde-applications to that list like this: >> >> my @menu_bases = (qw( >> lxde-applications >> applications >> debian-menu >> ) >> ); >> >> and you'll be in business. >> >> But none of this makes sense to me. >> The code we are using came from arch-linux. >> >> I'll see if I can figure out what they've been up to. > > OK -- it seems a bit stupid to me. But: > > http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html > > Says: > > $XDG_CONFIG_DIRS/menus/${XDG_MENU_PREFIX}applications.menu This file > contains the XML definition of the main application menu layout. The first > file found in the search path should be used; other files are ignored. This > implies that if the user has their own ${XDG_MENU_PREFIX}applications.menu, > it replaces the system wide one. (Though the user's menu may explicitly > merge the system wide one.) > > Systems that offer multiple desktop environments and that want to use > distinct menu layouts in the different environments can use differently > prefixed .menu files. In this case the $XDG_MENU_PREFIX environment variable > must be set by the system to reflect the .menu file that is being used. > > For example if a system contains both the GNOME and the KDE desktop > environments it can decide to use gnome-applications.menu as the menu layout > in GNOME sessions and kde-applications.menu as the menu layout in KDE > sessions. To correctly reflect this, it should set the $XDG_MENU_PREFIX > environment variable to "gnome-" respectively "kde-". > > Implementations may chose to use .menu files with other names for tasks or > menus other than the main application menu. Such usage is not covered by > this specification. > > > But we're not setting or using XDG_MENU_PREFIX, so perhaps we ought to be. I think we're getting emails late? The change I committed a day or 2 ago uses XDG_MENU_PREFIX.
Re: FVWM: fvwm-menu-desktop doesn't recognize --desktop?
On Fri, Apr 29, 2011 at 03:02:56PM -0400, des...@verizon.net wrote: > I think we're getting emails late? > > The change I committed a day or 2 ago uses XDG_MENU_PREFIX. Seems that way, yes. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
Re: FVWM: fvwm-menu-desktop doesn't recognize --desktop?
This is with a checkout from cvs that I just did today. -- Jesús Guerrero Botella
Re: FVWM: fvwm-menu-desktop doesn't recognize --desktop?
2011/4/29 : > The change I committed a day or 2 ago uses XDG_MENU_PREFIX. I am trying but it doesn't seem to work. [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm [Jesus-PC] 23:58:41 $ ls /etc/xdg/menus/ gnome-applications.menu kde-4.6-applications.menu kde-information.menu settings.menu [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm [Jesus-PC] 00:00:15 $ XDG_MENU_PREFIX=gnome- bin/fvwm-menu-desktop ERROR: Can't find root menu file. [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm [Jesus-PC] 00:00:38 $ bin/fvwm-menu-desktop ERROR: Can't find root menu file. If I ln -s the applications.menu file, now it seems to do something. [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm [Jesus-PC] 00:00:44 $ bin/fvwm-menu-desktop DestroyMenu "FvwmMenu" AddToMenu "FvwmMenu" "Aplicaciones" Title Unfortunately the menu is empty. In any case, it seems that the tool still ignore the XDG_MENU_PREFIX variable. Am I missing something here? -- Jesús Guerrero Botella
Re: FVWM: fvwm-menu-desktop doesn't recognize --desktop?
On Sat, Apr 30, 2011 at 12:02:40AM +0200, Jesús J. Guerrero Botella wrote: > 2011/4/29 : > > The change I committed a day or 2 ago uses XDG_MENU_PREFIX. > > I am trying but it doesn't seem to work. > > [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm > [Jesus-PC] 23:58:41 $ ls /etc/xdg/menus/ > gnome-applications.menu kde-4.6-applications.menu > kde-information.menu settings.menu > [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm > [Jesus-PC] 00:00:15 $ XDG_MENU_PREFIX=gnome- bin/fvwm-menu-desktop > ERROR: Can't find root menu file. > [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm > [Jesus-PC] 00:00:38 $ bin/fvwm-menu-desktop > ERROR: Can't find root menu file. > > If I ln -s the applications.menu file, now it seems to do something. > > [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm > [Jesus-PC] 00:00:44 $ bin/fvwm-menu-desktop > DestroyMenu "FvwmMenu" > AddToMenu "FvwmMenu" "Aplicaciones" Title > > Unfortunately the menu is empty. In any case, it seems that the tool > still ignore the XDG_MENU_PREFIX variable. Am I missing something > here? Did you checkout branch-2_6? Only it works fine for me. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
Re: FVWM: fvwm-menu-desktop doesn't recognize --desktop?
Jesús J. Guerrero Botella writes: > 2011/4/29 : >> The change I committed a day or 2 ago uses XDG_MENU_PREFIX. > > I am trying but it doesn't seem to work. > > [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm > [Jesus-PC] 23:58:41 $ ls /etc/xdg/menus/ > gnome-applications.menu kde-4.6-applications.menu > kde-information.menu settings.menu > [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm > [Jesus-PC] 00:00:15 $ XDG_MENU_PREFIX=gnome- bin/fvwm-menu-desktop > ERROR: Can't find root menu file. > [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm > [Jesus-PC] 00:00:38 $ bin/fvwm-menu-desktop > ERROR: Can't find root menu file. > > If I ln -s the applications.menu file, now it seems to do something. > > [Jesus-PC] i92guboj@Jesus-PC:~/tmp/fvwm > [Jesus-PC] 00:00:44 $ bin/fvwm-menu-desktop > DestroyMenu "FvwmMenu" > AddToMenu "FvwmMenu" "Aplicaciones" Title > > Unfortunately the menu is empty. In any case, it seems that the tool > still ignore the XDG_MENU_PREFIX variable. Am I missing something > here? Do: grep XDG_MENU_PREFIX bin/fvwm-menu-desktop