Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109009 - >=x11-wm/fvwm-2.6.19 installs session .desktop file to wrong location
Summary: >=x11-wm/fvwm-2.6.19 installs session .desktop file to wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 07:54 UTC by Daniel Gryniewicz (RETIRED)
Modified: 2008-01-07 14:46 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.desktop file (fvwm.desktop,5.50 KB, application/octet-stream)
2005-10-12 07:55 UTC, Daniel Gryniewicz (RETIRED)
Details
patch to ebuild to install .desktop file (fvwm-desktop.patch,644 bytes, patch)
2005-10-12 07:56 UTC, Daniel Gryniewicz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gryniewicz (RETIRED) gentoo-dev 2005-10-12 07:54:48 UTC
Modern DMs (such as gdm and kdm) use .desktop files to decide which sessions are
available.  FVWM doesn't install a .desktop file into either of the standard
locations, so it doesn't show up as an option on gdm (kdm installs it's own) 
Here is a .desktop file (from kdm) and a patch to fvwm-2.5.14-r1.ebuild to
install the .desktop file.  With this, I can select fvwm from the list of sessions.
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-10-12 07:55:42 UTC
Created attachment 70453 [details]
.desktop file

.desktop file to start fvwm
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-10-12 07:56:12 UTC
Created attachment 70454 [details, diff]
patch to ebuild to install .desktop file
Comment 3 Renato Caldas 2007-01-15 23:39:00 UTC
(In reply to comment #0)
> Modern DMs (such as gdm and kdm) use .desktop files to decide which sessions
> are
> available.

That depends on what you call "modern" :) To me qingy is really modern. 

fvwm-2.6.19 does install a session file in /etc/X11/Sessions. If those DM's don't support this, IMHO its their bug :)

Anyway, this bug is old. Just "Fix" it or "Wontfix".. Tavis?
Comment 4 Tavis Ormandy (RETIRED) gentoo-dev 2007-01-20 19:23:00 UTC
Where is that file from Daniel? Under what license is it distributed?

(i'm guessing you didnt do all those translations yourself?)
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-01-21 03:44:50 UTC
I honestly don't remember where I found that file, or what license it was under.    I suspect I just googled.  If you'd prefer, eutils.eclass has a function make_desktop_entry to make a desktop entry.
Comment 6 Pacho Ramos gentoo-dev 2007-09-21 09:20:48 UTC
Will this be fixed someday?

Remember that maybe you could use "make_session_desktop" from eutils.eclass...

Thanks a lot
Comment 7 Santiago M. Mola (RETIRED) gentoo-dev 2007-09-22 13:50:44 UTC
This is not only about FVWM. If we consider this is a bug, then we have to ensure every WM has a .desktop entry (and /etc/X11/Sessions if it haven't already?).

@desktop-wm people: what do you think about?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-12-26 11:30:37 UTC
(In reply to comment #3)
> fvwm-2.6.19 does install a session file in /etc/X11/Sessions. If those DM's
> don't support this, IMHO its their bug :)

This stuff belongs to /etc/X11/dm/Sessions/

Comment 9 David Shakaryan (RETIRED) gentoo-dev 2008-01-06 09:22:45 UTC
Closing this WONTFIX. Santiago is right here that this is not necessarily a bug. The package already does install a session file to /etc/X11/Sessions/, which, in my opinion, is sufficient. However, if anybody strongly believes that a .desktop file should be installed to /usr/share/xsessions/, please reopen this bug and I will fix it.
Comment 10 Pacho Ramos gentoo-dev 2008-01-06 13:01:23 UTC
If it isn't to hard to fix, I would prefer get this enhancement in fvwm as some users still use fvwm-2 sometimes and getting an entry in gdm/kdm would be nice

Thanks a lot :-)
Comment 11 David Shakaryan (RETIRED) gentoo-dev 2008-01-07 03:49:37 UTC
Fixed, enjoy. :P
Comment 12 Pacho Ramos gentoo-dev 2008-01-07 14:46:03 UTC
Thanks a lot :-)